1 2009-06-15 Alberto Garcia <agarcia@igalia.com>
4 * hildon/hildon-edit-toolbar-private.h
5 * hildon/hildon-edit-toolbar.c
6 (+hildon_edit_toolbar_set_progress_indicator)
7 (hildon_edit_toolbar_init): Add progress indicator to the
11 (hildon_gtk_window_set_progress_indicator):
12 If the window contains a HildonEditToolbar, enable the progress
15 * hildon/hildon-private.h
16 * hildon/hildon-private.c
17 (+hildon_private_create_animation)
18 * hildon/hildon-banner.c
19 (-hildon_banner_create_animation):
20 Moved to hildon-private.c
22 Fixes: NB#102373 (Progress indicator also for the Edit mode
25 2009-06-15 Alberto Garcia <agarcia@igalia.com>
27 * hildon/hildon-app-menu-private.h
28 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
29 (hildon_app_menu_add_filter, +menu_item_button_event)
30 (hildon_app_menu_button_release, hildon_app_menu_init):
31 Make sure that buttons receive 'button-release-event' in spite of
32 the grab held by HildonAppMenu
34 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
36 2009-06-15 Alberto Garcia <agarcia@igalia.com>
38 * hildon/hildon-app-menu.c
39 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
40 New style property to set the size of the group of filter buttons.
42 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
44 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
49 * configure.ac: Bump version.
50 * debian/changelog: Updates.
52 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
54 * hildon/hildon-main.c: Minor documentation fixes.
56 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
58 * doc/hildon-sections.txt:
59 * hildon/hildon-defines.h: Document the defines, organize them,
60 and mark deprecations as such.
62 Fixes: MB#4463 (Hildon size #defines are undocumented)
64 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
66 * hildon/hildon-animation-actor.c:
67 * hildon/hildon-app-menu.c:
68 * hildon/hildon-button.c:
69 * hildon/hildon-date-editor.c:
70 * hildon/hildon-dialog.c:
71 * hildon/hildon-edit-toolbar.c:
72 * hildon/hildon-entry.c:
73 * hildon/hildon-program.c:
74 * hildon/hildon-remote-texture.c:
75 * hildon/hildon-stackable-window.c:
76 * hildon/hildon-text-view.c:
77 * hildon/hildon-touch-selector.c:
78 * hildon/hildon-window-stack.c:
79 * hildon/hildon-window.c:
81 Remove redundant "represents" wording from most of the documentation.
83 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
85 2009-06-12 Alberto Garcia <agarcia@igalia.com>
90 * hildon/hildon-banner-private.h
91 * hildon/hildon-banner.c:
92 Move HildonBannerPrivate to hildon-banner.c and remove
93 hildon-banner-private.h
94 Use a bit field to store private booleans.
96 2009-06-12 Alberto Garcia <agarcia@igalia.com>
98 * hildon/hildon-app-menu.c (hildon_app_menu_map):
99 Don't install a new idle function if there's already one
104 2009-06-11 Alberto Garcia <agarcia@igalia.com>
106 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
107 (+legacy_menu_realized, +legacy_menu_unmapped)
108 (+set_legacy_menu_type):
109 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
110 they can be identified by the window manager.
112 Fixes: NB#101437 (Invoking CSM on the left side of page area is
113 displayed in wrong location)
115 Fixes: MB#4563 (Popup menu won't locate at the left side of the
118 2009-06-11 Alberto Garcia <agarcia@igalia.com>
120 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
122 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
125 2009-06-11 Alberto Garcia <agarcia@igalia.com>
127 * hildon/hildon-code-dialog.c
128 * hildon/hildon-date-editor.c
129 * hildon/hildon-number-editor.c
130 * hildon/hildon-seekbar.c
131 * hildon/hildon-stackable-window.c
132 * hildon/hildon-window.c:
133 Misc documentation updates
135 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
137 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
138 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
140 Fixes: NB#117931 (Theming issues in accounts dialogs)
142 2009-06-09 Alejandro G. Castro <alex@igalia.com>
144 * hildon/hildon-pannable-area.c,
145 (hildon_pannable_area_button_release_cb): Changed the coordinates
146 of the original release in case we want to discard the release,
147 some widgets in Fremantle do not handle the leave-notify.
149 2009-06-09 Alejandro G. Castro <alex@igalia.com>
151 * hildon/hildon-pannable-area.c,
152 (hildon_pannable_area_button_release_cb): Reviewed the logic of
153 the release using the last refactored functions and avoiding the
154 movement if an element was selected.
156 2009-06-09 Alejandro G. Castro <alex@igalia.com>
158 * hildon/hildon-pannable-area.c,
159 (hildon_pannable_area_check_move),
160 (hildon_pannable_area_handle_move),
161 (hildon_pannable_area_motion_notify_cb): Refactored the
162 motion_notify method using a couple of new functions.
164 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
166 * hildon/hildon-date-selector.c:
167 (hildon_date_selector_construct_ui):
168 * hildon/hildon-time-selector.c:
169 (hildon_time_selector_constructor):
170 * hildon/hildon-touch-selector-entry.c:
171 (hildon_touch_selector_entry_set_text_column),
172 (hildon_touch_selector_entry_get_text_column):
173 * hildon/hildon-touch-selector.c: (_default_print_func),
174 (hildon_touch_selector_new_text): Use
175 hildon_touch_selector_set/get_text_column() instead of
176 setting/getting the "text-column" property.
178 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
180 * doc/hildon-sections.txt: Add the new public methods below.
182 * examples/hildon-picker-button-multicolumn-example.c:
183 (create_touch_selector):
184 * examples/hildon-touch-selector-example.c: (create_selector):
185 * examples/hildon-touch-selector-multi-cells-example.c:
187 Use hildon_touch_selector_column_set_text_column()
189 * hildon/hildon-touch-selector-column.h:
190 * hildon/hildon-touch-selector.c:
191 (hildon_touch_selector_column_set_text_column),
192 (hildon_touch_selector_column_get_text_column):
193 Make hildon_touch_selector_column_set/get_column() public, use
194 them in the inline example, document them, and reference to them
197 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
199 * hildon/hildon-time-selector.c: Fix the docs for
200 hildon_time_selector_new_step().
202 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
204 * hildon/hildon-touch-selector.c: Improve the documentation for
205 hildon_touch_selector_append_column().
207 Fixes MB#4641 (Documentation:
208 hildon_touch_selector_append_column() ref-counting)
210 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
212 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
213 Comment out test 5, since the hildon_controlbar_set_range() range
214 check is broken and fixing it would have side effects. Also,
215 this finally fixes make distcheck.
217 Fixes: NB#101420 (Update unit tests and fix make distcheck)
219 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
221 * tests/TEST-CASES.txt: Remove other bogus test.
222 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
223 Remove bogus test that was setting/retrieving a valid value.
225 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
227 * tests/TEST-CASES.txt: Remove bogus tests.
228 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
229 Remove three bogus tests that were actually setting valid colors.
231 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
233 * configure.ac: post release version bump
234 * debian/changelog: post release version bump
236 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
241 * configure.ac: Bump version.
242 * debian/changelog: Updates.
244 2009-06-08 Christian Dywan <christian@lanedo.com>
248 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
249 Correct errors in hildon_format_file-size_for_display and use
250 translations from the hildon-fm package instead of osso-filemanager.
252 2009-06-08 Alejandro G. Castro <alex@igalia.com>
254 * hildon/hildon-pannable-area.c,
255 (hildon_pannable_area_init): Initialized new values to handle the
257 (hildon_pannable_area_adjust_value_changed): Check if the values
258 changed before even call the redraw function.
259 (hildon_pannable_area_size_allocate),
260 (hildon_pannable_axis_scroll),
261 (hildon_pannable_area_scroll),
262 (hildon_pannable_area_jump_to): Improved the diagonal movement
265 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
268 2009-06-08 Alberto Garcia <agarcia@igalia.com>
270 * examples/hildon-banner-example.c:
271 Several style updates
272 (on_animation_clicked, on_animation_idle)
273 (on_progress_clicked, on_progress_idle):
274 Add additional reference for the cases when the parent window is
277 2009-06-08 Alberto Garcia <agarcia@igalia.com>
279 * doc/hildon-sections.txt
280 * hildon/hildon-pannable-area.c
281 * hildon/hildon-banner.h
282 * hildon/hildon-banner.c: Documentation updates.
284 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
287 2009-06-05 Alejandro G. Castro <alex@igalia.com>
289 * hildon/hildon-calendar-popup.h:
290 * hildon/hildon-caption.h:
291 * hildon/hildon-code-dialog.h:
292 * hildon/hildon-controlbar.h:
293 * hildon/hildon-date-editor.h:
294 * hildon/hildon-dialog.h:
295 * hildon/hildon-get-password-dialog.h:
296 * hildon/hildon-hvolumebar.h:
297 * hildon/hildon-login-dialog.h:
298 * hildon/hildon-note.h:
299 * hildon/hildon-number-editor.h:
300 * hildon/hildon-range-editor.h:
301 * hildon/hildon-seekbar.h:
302 * hildon/hildon-set-password-dialog.h:
303 * hildon/hildon-sort-dialog.h:
304 * hildon/hildon-time-editor.h:
305 * hildon/hildon-time-picker.h:
306 * hildon/hildon-volumebar-range.h:
307 * hildon/hildon-volumebar.h:
308 * hildon/hildon-vvolumebar.h:
309 * hildon/hildon-weekday-picker.h:
310 * hildon/hildon-window.h:
311 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
312 macros with the current replacements
314 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
316 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
318 * hildon/hildon-color-button.c (hildon_color_button_init): Use
319 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
320 itself, to make it fit better with Fremantle style.
322 Fixes: NB#109878 (height and width of focus on color icon is not
323 consistent with other item in the application tool bar)
325 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
327 * hildon/hildon-touch-selector.c:
328 (hildon_touch_selector_optimal_size_request): use the current requisition
329 as the base, in order to include any possible extra widget, like the
330 hildon entry on HildonTouchSelectorEntry
332 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
334 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
336 * configure.ac: post release version bump
337 * debian/changelog: post release version bump
339 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
344 * configure.ac: Bump version.
345 * debian/changelog: Updates.
347 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
349 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
351 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
352 to ensure the banner contents are centered, instead of relying on
353 the expand and fill properties in GtkHBox.
354 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
356 Fixes: NB#108265 (Animation banner not properly centered)
358 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
360 * hildon/hildon-pannable-area.c
361 (hildon_pannable_area_initial_effect): Remove the initial_effect
362 management, check initial_hint
363 (hildon_pannable_are_expose_event): Remove the initial_hint management,
364 set initial_effect to FALSE
365 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
366 by launching the fade_timeout if the scrollbars state has changed and are
368 * examples/hildon-pannable-area-initial-hint-example.c
369 Modified to allow to remove rows too. Add and remove rows one by one.
371 2009-05-28 Alberto Garcia <agarcia@igalia.com>
373 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
374 Don't close the menu if there's an animation actor below it.
376 Fixes: NB#117927 (Application menu not usable with animation
379 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
381 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
382 "focus-on-click" from the dialog button, to avoid stealing the
383 focus from the entry.
385 Fixes: NB#118903 (Account setup wizard: Text in Search field
386 should be focused when "Region" touch list picker is reopened
389 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
391 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
392 (prepare_action_area): Completely hide the dialog separator.
394 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
396 * hildon/hildon-touch-selector-entry.c
397 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
398 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
399 now that the entry is exposed.
401 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
403 * hildon/hildon-touch-selector-entry.c
404 (hildon_touch_selector_entry_init): Change the entry's size
405 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
407 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
409 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
410 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
411 avoid unnecessary scaling.
413 2009-05-27 Alberto Garcia <agarcia@igalia.com>
415 * hildon/hildon-app-menu.c (hildon_app_menu_map):
416 Create grab transfer window before calling parent's map function.
418 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
419 "crushed" button(s) in the top left corner)
421 2009-05-26 Alberto Garcia <agarcia@igalia.com>
423 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
424 Check if the window is already realized when pushing it.
426 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
428 * configure.ac: post release version bump
429 * debian/changelog: post release version bump
431 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
436 * configure.ac: Bump version.
437 * debian/changelog: Updates.
439 2009-05-25 Alberto Garcia <agarcia@igalia.com>
441 * hildon/hildon-app-menu.c: Doc updates.
443 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
445 * hildon/hildon-banner.c: Remove leftover macro.
447 2009-05-25 Alejandro G. Castro <alex@igalia.com>
449 * hildon/hildon-pannable-area.c,
450 (hildon_pannable_area_scroll_indicator_fade),
451 (hildon_pannable_area_button_release_cb): Reviewed vmin
452 conditions, it could cause problems in the fadeout procedure.
454 2009-05-25 Alejandro G. Castro <alex@igalia.com>
456 * hildon/hildon-pannable-area.c
457 (hildon_pannable_area_button_release_cb): Added a threshold to
458 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
460 2009-05-25 Alejandro G. Castro <alex@igalia.com>
462 * hildon/hildon-pannable-area.c,
463 (hildon_pannable_area_set_property): Added code to sync the gtk
464 dnd threshold with the panning threshold.
466 2009-05-25 Alejandro G. Castro <alex@igalia.com>
468 * hildon/hildon-pannable-area.c,
469 (hildon_pannable_area_class_init): Changed some of the default
470 values, now it should be less responsive and more accurate.
472 2009-05-25 Alejandro G. Castro <alex@igalia.com>
474 * hildon/hildon-pannable-area.c,
475 (hildon_pannable_area_init),
476 (hildon_pannable_area_scroll_indicator_fade),
477 (hildon_pannable_area_button_press_cb),
478 (hildon_pannable_axis_scroll),
479 (hildon_pannable_area_timeout),
480 (hildon_pannable_area_motion_notify_cb),
481 (hildon_pannable_area_button_release_cb): Changed the name of the
482 clicked attribute to button_pressed, it is more clear about its use.
484 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
486 * src/hildon-pannable-area.c
487 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
489 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
490 vertical scrollbar visibility, and use the data on private section instead,
491 remove the initial_hint check
492 (hildon_pannable_area_expose_event): add the initial_hint check here
494 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
496 * src/hildon-pannable-area.c
497 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
498 if the fadeout effect was used
499 (hildon_pannable_area_expose_event): check if it is required to
500 manage the initial effect on the begining of the function. Previously
501 it was made at the end, but this doesn't ensure that the scrollbars
502 will be painted on the first show. Do not set to FALSE initial_effect,
503 to ensure that the initial hint is showed the first time the pannable
505 * examples/Makefile.am
506 * examples/hildon-pannable-area-initial-hint-example.c:
507 New example, to show that the initial-hint is showed when the widget
510 Fixes: NB#116607 (Pannable area should always have scrollbar visible
511 initially if the application can be scrolled)
513 2009-05-25 Alberto Garcia <agarcia@igalia.com>
515 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
516 Resize table before adding new items to make sure that
517 gtk_table_resize() is called just once.
519 2009-05-25 Alberto Garcia <agarcia@igalia.com>
521 * hildon/hildon-app-menu-private.h
522 * hildon/hildon-app-menu.c (item_visibility_changed)
523 (filter_visibility_changed, hildon_app_menu_show_all)
524 (hildon_app_menu_hide_all, hildon_app_menu_init):
525 Rearrange items just once when gtk_widget_show_all()/hide_all()
528 2009-05-25 Alberto Garcia <agarcia@igalia.com>
530 * hildon/hildon-app-menu.c
531 (hildon_app_menu_insert, hildon_app_menu_add_filter):
532 Don't call gtk_widget_show() on added items.
534 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
535 automatically when they're added)
537 2009-05-20 Alberto Garcia <agarcia@igalia.com>
539 * hildon/hildon-banner.c
540 (hildon_banner_realize, +hildon_banner_unrealize)
541 (+screen_size_changed, hildon_banner_class_init):
542 Redisplay the banner if the screen is rotated.
544 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
545 on transition from landscape to portrait)
547 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
549 * hildon/hildon-banner.[ch]:
550 (hildon_banner_show_information_override_dnd): remove icon_name from the
551 method definition as it is ignored.
552 * examples/hildon-banner-dnd-example.c: updated with the change on
555 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
557 * hildon/hildon-banner-private.h: new require_override_dnd and
558 overrides_dnd variables
559 * hildon/hildon-banner.h:
560 (hildon_banner_show_information_override_dnd): new method, that shows
561 the information but sets the override flag, in order to show important
563 * hildon/hildon-banner.c
564 (hildon_banner_show_information_override_dnd): new method
565 (hildon_banner_set_override_flag): new utility function
566 (hildon_banner_real_show_information): new utility function, in order to
567 generalize the current hildon_banner_show_information_override_dnd and
568 hildon_banner_show_information_override_dnd
569 * examples/Makefile.am
570 * examples/hildon-banner-dnd-example.c: New example that show how to
571 use the new hildon_banner_show_information_override_dnd
573 Fixes: NB#114874 (There is no possibility to show hildon banners with
576 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
578 * hildon/hildon-pannable-area.c: Add a comment explaining the math
579 behind hildon_pannable_calculate_vel_factor().
581 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
583 * hildon/hildon-pannable-area.c
584 (hildon_pannable_calculate_vel_factor): Correct the sum of the
585 deceleration factors.
587 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
589 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
590 Reduce the default value for 'scroll_time' to 1 second, since the
591 current initial scrolling takes too much time.
593 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
595 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
596 calculate velocity factor during initialization, since the properties
599 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
601 * hildon/hildon-pannable-area.c
602 (hildon_pannable_area_set_property): Calculate the velocity factor
603 after setting the deceleration property and not after.
605 2009-05-20 Alberto Garcia <agarcia@igalia.com>
607 * hildon/hildon-entry.c
608 (hildon_entry_class_init, +set_property, hildon_entry_new)
609 * hildon/hildon-check-button.c
610 (hildon_check_button_class_init)
611 (+set_property, hildon_check_button_new):
612 Make the theme size a property.
614 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
615 others) do too much in the _new function)
617 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
619 * configure.ac: post release version bump
620 * debian/changelog: post release version bump
622 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
627 * configure.ac: Bump version.
628 * debian/changelog: Updates.
630 2009-05-15 Alberto Garcia <agarcia@igalia.com>
632 * hildon/hildon-gtk.h
633 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
634 New API function to take a screenshot of a window
636 Fixes: NB#106374 (Need API to take a loading screenshot)
638 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
640 * hildon/hildon-time-selector.c
641 (update_format_policy): prevent to use hours and minutes unitialized
643 2009-05-15 Alberto Garcia <agarcia@igalia.com>
645 * hildon/hildon-window.c (hildon_window_size_request):
646 Always request the full size of the screen (minus the title bar if
647 not in fullscreen mode).
649 Fixes: NB#107486 (HildonWindow should size itself properly)
651 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
653 * hildon/hildon-note-private.h: Add idle_handler to the private data.
654 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
655 (on_show_cb), (sound_handling): Disconnect the idle handler for
656 the sound when the note is finalized to avoid possible crashes.
658 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
661 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
663 * src/hildon-animation-actor.c,
664 * src/hildon-remote-texture.c:
665 Added proper object cleanup to remove signal handler and object
666 references as HildonAnimationActor and HildonRemoteTexture
667 objects get destroyed.
669 Fixes: NB#116682 (Destroying parented animation actors when
670 parent in unmapped leads to crash)
672 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
674 Based on a patch by Christian Dywan (christian@imendio.com)
676 * doc/hildon-sections.txt:
677 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
678 * hildon/hildon-helper.h: New file size formatting method.
680 * debian/control: Depend on osso-filemanager l10n package for
681 proper localization strings.
683 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
685 * tests/Makefile.am: Include top_srcdir to make possible to build
686 tests in a different builddir.
687 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
688 on a different builddir.
690 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
692 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
693 (hildon_touch_selector_remove): Disconnect model's signal handler
696 Fixes: NB#116289 (Hildon home crashes while adding task
699 2009-05-11 Alberto Garcia <agarcia@igalia.com>
701 * hildon/hildon-button.c
702 (hildon_button_set_title, hildon_button_set_value):
703 Hide labels containing an empty string.
705 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
707 * configure.ac: post release version bump
708 * debian/changelog: post release version bump
710 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
715 * configure.ac: Bump version.
716 * debian/changelog: Updates.
718 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
720 * hildon/hildon-note-private.h: Removed sound_signal_handler
721 * hildon/hildon-note.c
722 (on_show_cb): new callback on note "show" event, this simply adds
723 a idle, with the function sound_handling
724 (sound_handling): removed the sound_signal_handler management
725 (hildon_note_init): connect note "show" event to on_show_cb
726 (hildon_note_realize): remove the connection to "expose-event"
728 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
729 device?' confirmation note)
731 2009-05-08 Alberto Garcia <agarcia@igalia.com>
733 * hildon/hildon-note.c
734 (hildon_note_new_information_with_icon_name)
735 (hildon_note_new_confirmation_with_icon_name):
736 Terminate the list of parameters in g_object_set() calls
738 Fixes: NB#115166 (Formatting memory card is not taking place)
740 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
742 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
743 "dialog-information" role for the sound being played.
745 2009-05-06 Alberto Garcia <agarcia@igalia.com>
747 * hildon/hildon-app-menu.c (hildon_app_menu_init):
748 Don't make the menu a modal window, it causes strange interactions
749 with the pointer grab and it's not really needed.
751 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
753 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
755 * hildon/hildon-touch-selector.[ch]
756 (hildon_touch_selector_optimal_size_request): function added to get a
757 optimal size request from the touch selector, when you want a dialog to
758 show as much of the selector
759 * hildon/hildon-picker-dialog.c:
760 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
761 (hildon_app_menu_class_init):
762 New "max-height-landscape" and "max-height-portrait" style properties
763 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
764 (hildon_picker_dialog_get_max_height): returns the maximum height using
765 the style properties defined and checking the current portrait/landscape
767 (_hildon_picker_dialog_set_selector): removed the set_size_request
769 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
771 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
773 * hildon/hildon-bread-crumb-trail.c:
774 * hildon/hildon-bread-crumb.c:
775 * hildon/hildon-seekbar.c:
776 Add reference to replacements for these deprecated widgets.
778 Fixes: MB#4461 (Documentation: All deprecations should mention
781 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
783 * examples/hildon-remote-texture-example.c
785 Change the include to the hildon-remote-texture in order to compile
786 properly the examples on the installed libhildon1-examples package
788 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
790 * tests/Makefile.am: Add check for HildonPickerButton.
791 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
792 (START_TEST), (create_hildon_picker_button_suite): Add three simple
793 checks for the HildonPickerButton.
794 * tests/check_test.c (configure_tests): Add the test suite.
795 * tests/test_suites.h: likewise.
797 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
799 * hildon/hildon-touch-selector.c
800 (+on_row_changed): Emit HildonTouchSelector:changed when the
801 contents of a selected row change.
802 (_create_new_column), (_hildon_touch_selector_set_model): connect
803 to GtkTreeModel:row-changed on a newly set model.
805 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
807 2009-05-05 Alberto Garcia <agarcia@igalia.com>
809 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
811 * hildon/hildon-banner.c (hildon_banner_destroy)
812 (hildon_banner_show_progress, hildon_banner_set_fraction):
813 Remove the progress bar from HildonBanner and use a progress
816 Fixes: NB#113761 (Update progress banner to use progress
819 2009-05-04 Alberto Garcia <agarcia@igalia.com>
821 * hildon/hildon-banner.c:
822 Calculate size of the banner label using the actual screen width
823 rather than using a fixed value.
825 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
828 2009-05-04 Alejandro G. Castro <alex@igalia.com>
830 * hildon/hildon-pannable-area.c,
831 (hildon_pannable_area_class_init): Fixed signals documentation
834 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
836 * configure.ac: post release version bump
837 * debian/changelog: post release version bump
839 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
844 * configure.ac: Bump version.
845 * debian/changelog: Updates.
847 2009-05-01 Alberto Garcia <agarcia@igalia.com>
849 * hildon/hildon-edit-toolbar.c
850 (hildon_edit_toolbar_init):
851 Don't let buttons in HildonEditToolbar receive focus.
853 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
854 typing on an HW arrows key)
856 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
858 * doc/Makefile.am: Fix build.
860 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
862 * doc/Makefile.am: Do not redefine content_files.
864 2009-04-30 Alberto Garcia <agarcia@igalia.com>
872 Renamed src/ to hildon/
877 Include <hildon/hildon.h> directly in all examples.
879 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
881 * src/hildon-sort-dialog.c
882 (hildon_sort_dialog_add_sort_key_with_sorting)
886 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
888 * src/Makefile.am: Move generated sources to CLEANFILES, so that
889 make distcheck passes.
891 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
893 * Makefile.am: Enable gtk-doc during distcheck.
895 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
897 * Makefile.am: Do not distribute the debian/ directory.
899 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
901 * doc/Makefile.am: Add the extra SGML files to content_files,
902 so that they are distributed properly.
904 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
906 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
909 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
911 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
912 (hildon_note_new_information_with_icon_name): Set the "icon" property
913 to preserve soundness.
915 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
917 * src/hildon-font-selection-dialog.c
918 (hildon_font_selection_dialog_set_property): Fail when the "family"
919 property is set to NULL.
921 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
923 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
926 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
928 * src/hildon-time-selector.h:
929 Added HildonTimeSelectorFormatPolicy
930 * src/hildon-time-selector.c:
931 Added PROP_TIME_FORMAT_POLICY
932 (_check_ampm_format): renamed to check_automatic_ampm_format
933 (update_format_policy), (update_format_dependant_columns): new functions
934 (hildon_time_selector_class_init)
935 (hildon_time_selector_contructor)
936 (hildon_time_selector_init)
937 (hildon_time_selector_get_property)
938 (hildon_time_selector_set_property)
939 (hildon_time_selector_get_time)
940 (hildon_time_selector_set_time)
941 * src/hildon-touch-selector.h: new file
942 * src/hildon-touch-selector.c
943 (hildon_touch_selector_emit_changed)
944 (hildon_touch_selector_block_changed)
945 (hildon_touch_selector_unblock_changed)
946 Added functions to allow to block the emission of the "changed" signal
947 * src/hildon-picker-dialog.c
948 (hildon_picker_dialog_show): call the parent show before the custom code
949 * examples/hildon-time-button-example.c
950 Modified, so now you can configure the time format using the new property
952 Added a new property "time-format-policy" that allow to choose the time
953 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
954 case it uses gconf in order to check if the time selector must use
957 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
960 2009-04-28 Alberto Garcia <agarcia@igalia.com>
962 * src/hildon-note.c (hildon_note_init):
963 Label in HildonNote must be left aligned, not centered. This
964 reverts the last commit in HildonNote.
966 Fixes: NB#112933 (text is not left aligned in confirmation dialog
967 is connectivity dialog)
969 2009-04-27 Alberto Garcia <agarcia@igalia.com>
974 * doc/hildon-sections.txt:
975 Added hildon_gtk_window_set_do_not_disturb()
977 2009-04-27 Alberto Garcia <agarcia@igalia.com>
979 * src/hildon-note.c (hildon_note_init): Center label.
981 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
984 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
989 * configure.ac: Bump version.
990 * debian/changelog: Updates.
992 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
994 * src/hildon-note-private.h: Add button-width to the private data.
995 * src/hildon-note.c (+resize_button),
996 (+hildon_note_orientation_update): methods to repack widgets on orientation
998 (screen_size_changed): Call above method for confirmation notes.
999 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1000 (hildon_note_rebuild): Store the original width request from buttons.
1002 Fixes: NB#109635 (Confirmation notes do not support portrait)
1004 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1006 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1007 when it is a progress note.
1009 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1011 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1012 in the note, since there are no horizontally arranged contents.
1014 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1016 * src/hildon-gtk.c (+set_flag): new generic method to
1017 set/delay a flag setting in a window.
1018 (hildon_gtk_window_set_progress_indicator):
1019 (hildon_gtk_window_set_do_not_disturb),
1020 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1021 avoid code redundance.
1023 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1025 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1027 * src/hildon-gtk.c (set_clear_window_flag),
1028 (do_set_progress_indicator), (do_set_do_not_disturb),
1029 (do_set_portrait_flags),
1030 (hildon_gtk_window_set_progress_indicator),
1031 (hildon_gtk_window_set_do_not_disturb),
1032 (hildon_gtk_window_set_portrait_flags):
1033 Allow setting dnd-flag, progress indicator, and portrait flags
1034 when the window is not realized.
1036 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1038 * src/hildon-pannable-area.c,
1039 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1040 the size request policy function and defines.
1042 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1044 * doc/hildon-sections.txt: Add the new API.
1045 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1046 method to set the portrait flags.
1047 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1049 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1051 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1053 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1054 to allow using this method with other flags.
1055 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1056 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1058 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1060 * src/hildon-touch-selector.c
1061 (hildon_touch_selector_append_text_column):
1062 Make the cell renderer use the smallest width possible.
1064 Fixes: NB#108470 (Selected items in multiple selection are either
1065 having a tick that is cut or not visible at all.)
1067 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1069 * src/hildon-touch-selector.c
1070 (hildon_touch_selector_append_text_column):
1073 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1075 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1076 Use g_strdup_printf() instead of a fixed size buffer.
1078 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1080 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1081 Close banners when a HildonAppMenu is popped up.
1083 Fixes: NB#111027 (Title menu closed immediately if activated when
1084 "Invalid e-mail address" banner is shown)
1086 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1091 * configure.ac: Bump version.
1092 * debian/changelog: Updates.
1094 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1096 * src/hildon-banner.c (hildon_banner_realize):
1097 Mark HildonBanner as supporting portrait mode.
1098 Use GDK to set window properties insetad of direct Xlib calls.
1100 Fixes: NB#111830 (HildonBanner should be marked as supporting
1103 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1105 * src/hildon-note.c (hildon_note_rebuild):
1106 Hide action area in information notes. Prevents text from being
1107 slightly aligned to the left.
1109 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1112 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1114 Patch by Mox Soini (ext-mox.soini@nokia.com)
1116 * src/hildon-banner.c (hildon_banner_create_animation):
1117 Use stylus-sized icons in animation banner.
1119 Fixes: NB#111206 (stylus sized icon for animation banner)
1121 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1125 (+hildon_gtk_window_set_do_not_disturb):
1126 New API to set the do-not-disturb flag.
1128 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1130 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1132 * examples/hildon-progress-indicator-example.c: Fix example
1134 * src/hildon-gtk.c (set_clear_window_flag)
1135 (hildon_gtk_window_set_progress_indicator):
1136 Create a generic function for setting flags to a window.
1137 Use GDK instead of direct Xlib calls.
1139 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1141 * src/hildon-button.c (hildon_button_set_arrangement):
1142 Due to NB#88126, if one of the labels is too long it will be
1143 painted outside the button. The 'value' label is more likely to be
1144 the longest one, so we change its packing options in order to
1145 truncate it if necessary. As a side effect, the 'title' label will
1146 no longer be truncated.
1148 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1150 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1155 * configure.ac: Bump version.
1156 * debian/changelog: Updates.
1158 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1160 Deprecation of the hildon_pannable_area_set_size_request_policy
1161 API, the only policy properly supported in gtk+ nowadays is the
1164 * src/hildon-pannable-area.c,
1165 (hildon_pannable_area_size_request): Added a workaround for the
1166 size_request to avoid the problems of huge pixmaps in case someone
1167 is still using the function.
1168 * src/hildon-pannable-area.h: Deprecated the enum with the
1171 Fixes: NB#110244 (Problems with the
1172 hildon_pannable_area_set_size_request_policy API)
1174 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1176 * src/hildon-pannable-area.c,
1177 (hildon_pannable_area_init),
1178 (hildon_pannable_area_size_request),
1179 (hildon_pannable_area_style_set),
1180 (hildon_pannable_draw_vscroll),
1181 (hildon_pannable_draw_hscroll),
1182 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1183 indicator_width to clarify the use of the attribute.
1185 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1190 * configure.ac: Bump version.
1191 * debian/changelog: Updates.
1193 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1195 * src/hildon-picker-dialog.c
1196 * src/hildon-touch-selector.c
1197 Reverting the change that tried to avoid the hardcoded height on
1198 the picker dialog, as causes problems on the hildon-touch-selector
1201 Fixes: NB#110029 (selectors not scrolling to selected value)
1203 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1205 * src/hildon-touch-selector.c: Fix typos
1207 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1209 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1210 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1211 request more motions after using it.
1213 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1215 * src/hildon-calendar.c (hildon_calendar_expose),
1216 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1217 Remove unused variables.
1219 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1221 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1222 variable assignment.
1224 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1226 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1227 Check the return value of gtk_tree_selection_get_selected()
1230 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1232 * src/hildon-animation-actor.c
1233 * src/hildon-button.c
1235 * src/hildon-pannable-area.c
1236 * src/hildon-picker-button.c
1237 * src/hildon-program.c
1238 * src/hildon-remote-texture.c
1239 * src/hildon-text-view.c
1240 * src/hildon-touch-selector.c
1241 * src/hildon-window-stack.c
1242 * src/hildon-window.c:
1243 Add missing 'Since: 2.2' tags.
1245 * doc/hildon-sections.txt:
1246 Add some missing symbols.
1248 * doc/hildon-docs.sgml:
1249 New 'Other' section for HildonAnimationActor and
1252 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1254 Patch by Iván Gómez (igomez@igalia.com)
1257 * doc/compiling.sgml
1258 * doc/hildon-docs.sgml
1259 * doc/hildon-sections.txt
1260 * doc/migration.sgml
1261 * doc/resources.sgml
1263 New chapters on using the Hildon library.
1264 Updated the general structure of the reference manual.
1265 Other minor documentation fixes.
1267 * src/hildon-calendar-popup.c
1268 * src/hildon-calendar.c
1269 * src/hildon-controlbar.c
1270 * src/hildon-date-editor.c
1271 * src/hildon-dialog.c
1272 * src/hildon-hvolumebar.c
1273 * src/hildon-number-editor.c
1274 * src/hildon-range-editor.c
1275 * src/hildon-sort-dialog.c
1276 * src/hildon-time-editor.c
1277 * src/hildon-time-picker.c
1278 * src/hildon-volumebar-range.c
1279 * src/hildon-volumebar.c
1280 * src/hildon-vvolumebar.c
1281 * src/hildon-weekday-picker.c:
1282 Add deprecation notes
1284 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1285 Document 'horizontal-movement' and 'vertical-movement' signals.
1287 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1292 * configure.ac: Bump version.
1293 * debian/changelog: Updates.
1295 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1297 * src/hildon-pannable-area.c,
1298 (hildon_pannable_area_class_init): increased the minimum velocity.
1299 (hildon_pannable_area_button_release_cb): Updated the
1300 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1301 setup. Review the code to control that last event.
1303 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1306 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1308 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1310 * src/hildon-get-password-dialog.c
1311 (hildon_get_password_set_property),
1312 (hildon_get_password_get_property), (create_contents):
1313 * src/hildon-login-dialog-private.h:
1314 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1315 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1316 (hildon_login_dialog_get_password):
1317 * src/hildon-set-password-dialog-private.h:
1318 * src/hildon-set-password-dialog.c
1319 (hildon_set_password_set_property),
1320 (hildon_set_password_get_property), (create_contents),
1321 (hildon_set_password_response_change),
1322 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1324 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1325 instead and look more Fremantle style.
1327 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1329 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1331 * doc/hildon-sections.txt
1332 * src/hildon-window-stack.h
1333 * src/hildon-window-stack.c
1334 (+hildon_window_stack_get_windows):
1335 New API to obtain the list of windows on a stack.
1337 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1339 * src/hildon-app-menu.c (hildon_app_menu_popup)
1340 (hildon_app_menu_class_init, -hildon_app_menu_show):
1341 Remove hildon_app_menu_show() and move all its checks to
1342 hildon_app_menu_popup()
1344 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1346 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1347 (_hildon_picker_dialog_set_selector): removed call to
1348 gtk_widget_set_size_request
1349 * src/hildon-touch-selector.c
1350 (_create_new_column): change the pannable size request policy
1352 Avoid to use a hardcoded height for the hildon picker dialog. In order
1353 to get that, we needed to change the hildon pannable size request
1355 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1357 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1359 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1360 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1363 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1365 * debian/control: Depend on osso-system-lock localization package.
1366 * src/hildon-code-dialog.c: Obtain the secu_application_title
1367 translation from osso-system-lock.
1368 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1369 for translation the atk related strings, that's not necessary.
1370 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1371 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1372 cancel button, it is not required.
1374 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1376 * src/hildon-pannable-area.c,
1377 (hildon_pannable_area_class_init): Modified the default value of
1378 the overshooting max speed, we have reduced it.
1380 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1382 * doc/hildon-sections.txt
1383 * src/hildon-window-private.h
1384 * src/hildon-window.h
1385 * src/hildon-window.c (hildon_window_class_init)
1386 (hildon_window_init, hildon_window_finalize)
1387 (hildon_window_realize, hildon_window_get_property)
1388 (hildon_window_set_property, hildon_window_update_markup)
1389 (hildon_window_get_markup, hildon_window_set_markup):
1390 New "markup" property and hildon_window_{get,set}_markup() methods.
1392 * examples/hildon-stackable-window-example.c (new_window):
1393 Update example to use hildon_window_set_markup()
1395 Fixes: NB#106375 (Need API to retitle a window with a title
1398 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1400 * src/hildon-pannable-area.c,
1401 (hildon_pannable_area_class_init): Changed the default value of
1402 the initial_hint to TRUE.
1403 (hildon_pannable_area_initial_effect): Changed the initial effect,
1404 not the effect is just the fade-out of the scrollbars.
1406 Fixes: NB#107775 (No scrollbars can be seen when several items are
1407 available in a dialog)
1409 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1411 * src/hildon-program.c (hildon_program_update_top_most):
1414 Fixes: NB#109179 (Memory leak in Hildon program)
1416 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1418 * src/hildon-banner.c (-get_current_app_window):
1419 Remove unused function.
1421 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1423 * src/hildon-pannable-area.c: Modified the documentation of the
1424 get adjustments functions to explain the problem of using the
1425 adjustment directly.
1426 (hildon_pannable_area_class_init): Improved the explanation about
1429 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1431 * src/hildon-app-menu-private.h
1432 * src/hildon-app-menu.c
1433 (hildon_app_menu_class_init):
1434 Bring back the 'external-border' style property
1435 (hildon_app_menu_class_init, hildon_app_menu_init)
1436 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1437 Set a fixed width-request for the menu, independent of the number
1440 Fixes: NB#94957 (Smoothly opened application menu)
1442 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1444 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1446 * src/hildon-banner.c
1447 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1449 Make sure that the banner is correctly placed the first time it's
1451 (hildon_banner_check_position, -check_fullscreen_state):
1452 Show the banner in the same place no matter if the window is in
1453 fullscreen mode or not.
1455 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1457 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1459 * src/hildon-touch-selector.c (_default_print_func): reorder
1460 concatenation for clarity.
1462 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1464 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1465 for multicolumn selectors.
1467 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1469 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1474 * configure.ac: Bump version.
1475 * debian/changelog: Updates.
1477 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1479 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1482 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1484 * configure.ac: removed libcangerra-gtk dependency
1485 * debian/control: removed libcanberra-gtk dependency
1486 * src/Makefile.am: removed libcanberra gtk related flags
1487 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1488 context, and manage a global canberra context instead
1490 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1492 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1494 Patch by Daniel Borgmann (danielb@openismus.com)
1496 * src/hildon-edit-toolbar.c:
1497 Adjust the left padding.
1498 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1499 Paint background of the edit toolbar.
1501 Fixes: NB#107897 (Patch to make editmodetoolbar background
1502 themeable and adjust margin)
1504 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1506 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1508 * src/hildon-program.c (hildon_program_update_top_most):
1509 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1511 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1512 change when the user tasks in/out of an application)
1514 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1516 * configure.ac: added libcangerra-gtk dependency
1517 * debian/control: added libcanberra-gtk dependency
1518 * src/Makefile.am: added libcanberra gtk related flags
1519 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1522 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1524 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1526 * src/hildon-program.c (hildon_program_remove_window)
1527 (hildon_program_add_window): Add checks for the window
1528 parameter. Don't decrease the window counter if the window is not
1531 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1533 * src/hildon-pannable-area.c,
1534 (hildon_pannable_area_realize): Fixed position of the event_window
1535 in the realize method.
1537 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1539 * src/hildon-app-menu-private.h
1540 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1541 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1542 (hildon_app_menu_key_press, hildon_app_menu_init)
1543 (hildon_app_menu_finalize):
1544 Make sure that all idle functions are removed when the widget is
1547 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1549 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1554 * configure.ac: Bump version.
1555 * debian/changelog: Updates.
1557 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1559 * src/hildon-entry.c
1560 (+hildon_entry_show_placeholder),
1561 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1562 that replace hildon_entry_update_contents().
1563 (hildon_entry_set_text),
1564 (hildon_entry_set_placeholder),
1565 (hildon_entry_focus_in_event),
1566 (hildon_entry_focus_out_event): Determine when it is needed
1567 either to show or hide the placeholder and call the above methods.
1569 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1570 when the placeholder text is already set)
1572 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1574 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1575 simple GdkPixbufAnim using the new icons for the banner.
1576 (hildon_banner_show_animation): Use the above mentioned method to
1577 create the animation widget.
1579 Fixes: NB#103564 (Make hildon animation banner use individual
1580 image files as the animation)
1582 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1584 * src/hildon-pannable-area.c,
1585 (hildon_pannable_leave_notify_event): Check if the child is NULL
1586 to avoid sending the leave.
1588 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1590 * src/hildon-pannable-area.c,
1591 (hildon_pannable_area_class_init),
1592 (hildon_pannable_leave_notify_event): Added a handler of the
1593 leave-notify-signal to consider when no motion notify before
1596 Fixes: NB#107494 (Items stay selected when clicking and moving
1597 away when inside pannable area)
1599 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1604 * configure.ac: Bump version.
1605 * debian/changelog: Updates.
1607 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1609 Patch by Alberto Garcia (agarcia@igalia.com)
1611 * src/hildon-date-button.c,
1612 (hildon_date_button_class_init),
1613 (hildon_date_button_init): Removed the construct property handling
1614 and created a default selector in the init method.
1615 * src/hildon-picker-button.c,
1616 (hildon_picker_button_class_init): Removed the construct flag of the
1619 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1621 * src/hildon-main.c (hildon_init):
1622 Don't allow hildon_init() to be called more than once.
1624 Fixes: NB#106607 (hildon_init should issue error message upon
1627 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1629 * examples/hildon-pannable-area-touch-list-example.c
1630 * examples/hildon-pannagle-area-touch-grid-example.c
1631 * examples/hildon-edit-toolbar-example.c
1632 * examples/hildon-touch-selector-multi-cells-example.c
1633 Removed the call to gtk_rc_parse_string, as it is not required since
1636 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1638 * src/hildon-pannable-area.c,
1639 (hildon_pannable_area_class_init): Modified the default panning
1640 threshold of the widget to 6px.
1642 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1643 than the threshold value ) within the button is not sending the
1646 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1648 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1649 for the treeview in the new column. This way, the touch list will never
1652 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1653 be selected manually for the HW keys to work)
1655 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1657 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1658 comparison instead of using strcmp(). Fixes a compiler warning as well.
1660 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1662 * doc/hildon-docs.sgml: Do not set the library version in the
1663 document title, use the releaseinfo tag for that purpose instead.
1665 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1667 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1668 Do not jump to the first item if the text in the entry is removed.
1670 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1675 * configure.ac: Bump version.
1676 * debian/changelog: Updates.
1678 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1680 * src/hildon-entry.c (hildon_entry_refresh_contents):
1681 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1682 Use "ReversedSecondaryTextColor" for the placeholder text.
1684 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1686 * src/hildon-text-view.c: Fix compilation warning.
1688 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1690 * src/hildon-button.c (hildon_button_class_init): Don't make
1691 "title" and "value" construction properties, to prevent them from
1692 overwriting labels set from derived classes.
1694 * src/hildon-picker-button.c
1695 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1696 (hildon_picker_button_class_init): Make touch-selector a
1697 construction property.
1699 * src/hildon-date-button.c (hildon_date_button_class_init)
1700 (+hildon_date_button_constructed): Add a default date selector if
1703 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1705 * src/hildon-touch-selector.c: Small documentation fixes.
1707 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1709 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1711 * src/hildon-entry.c (hildon_entry_refresh_contents),
1712 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1713 widget name, set the logical color directly instead and a boolean
1714 showing_placeholder instead.
1715 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1716 use the widget name here either.
1718 Fixes: NB#105678 (HildonTextView should use logical colours
1719 instead of setting widget name)
1721 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1723 Patch by Daniel Elster (danielk@openismus.com)
1725 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1726 Add user_data parameter.
1727 (hildon_touch_selector_set_print_func_full): New function akin
1728 hildon_touch_selector_set_print_func() but with support for user
1729 data and a destroy callback.
1730 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1731 to clean up the print function user data.
1732 (hildon_touch_selector_class_init): Install dispose function.
1733 (HildonTouchSelectorPrivate::print_user_data),
1734 (HildonTouchSelectorPrivate::print_destroy_func): New private
1736 (hildon_touch_selector_init): Initialize new private members.
1737 (hildon_touch_selector_get_current_text): Pass along user data
1738 to the print function.
1739 (_default_print_func): Add dummy user_data to parameter list.
1740 * hildon-date-selector.c (_custom_print_func): ditto,
1741 * hildon-time-selector.c (_custom_print_func): ditto,
1742 * hildon-touch-selector-entry.c
1743 (hildon_touch_selector_entry_print_func): ditto.
1745 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1747 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1749 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1751 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1753 * src/hildon-pannable-area.c,
1754 (hildon_pannable_area_init),
1755 (hildon_pannable_area_button_press_cb),
1756 (hildon_pannable_area_motion_notify_cb): We have added code to
1757 handle the leave and enter events when using the motion events.
1759 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1761 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1763 * src/hildon-date-button.c (hildon_date_button_get_date)
1764 (hildon_date_button_set_date): Make sure that the button has a
1767 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1769 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1771 * src/hildon-pannable-area.c,
1772 (hildon_pannable_area_class_init),
1773 (hildon_pannable_area_calculate_velocity): Modify the use of the
1774 force and adapt the value.
1776 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1778 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1779 (hildon_app_menu_class_init): Hide the menu if it receives a
1780 delete-event, but don't destroy it
1782 Fixes: NB#104485 (Not able to address the call when application
1783 menu is opened at background)
1785 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1787 * src/hildon-app-menu.c
1788 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1789 Remove the "external-border" style property, let the menu take its
1790 natural size (or the one set by the window manager)
1791 (hildon_app_menu_repack_items):
1792 Don't reshow the menu, avoid flickers.
1794 Partially fixes NB#94957 (Smoothly opened application menu)
1796 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1801 * configure.ac: Bump version.
1802 * debian/changelog: Updates.
1804 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1806 * src/hildon-pannable-area.c,
1807 (hildon_pannable_area_motion_notify_cb): We control that the
1808 direction error margin is used just in case the movement is
1809 allowed in the other direction.
1811 Fixes: NB#105012 (buttons inside a pannable area not getting
1812 release event when dragging/releasing)
1814 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1816 * src/hildon-pannable-area.c,
1817 (hildon_pannable_area_class_init),
1818 (hildon_pannable_area_get_property),
1819 (hildon_pannable_area_set_property),
1820 (hildon_pannable_area_initial_effect),
1821 (hildon_pannable_axis_scroll),
1822 (hildon_pannable_area_button_release_cb): Reviewed the
1823 overshooting effect, now it has its own max
1824 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1825 speed when bouncing.
1827 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1832 * configure.ac: Bump version.
1833 * debian/changelog: Updates.
1835 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1837 * src/hildon-pannable-area.c,
1838 (hildon_pannable_area_class_init): Changed the max speed, now
1839 users can launch the widget very fast. Reduced the default force,
1840 that way it is easier to control the launch speed.
1842 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1844 * src/hildon-pannable-area.c,
1845 (hildon_pannable_area_button_release_cb): Removed this check
1846 because it causes problems when the device is overloaded.
1848 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1850 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1851 add a current_text field to store the text entered in the
1852 touch selector entry.
1853 (_clean_current_selection): clean up the current text as well.
1854 (_save_current_selection), (_restore_current_selection):
1855 Save/restore the text in the entry if the selector is a
1856 HildonTouchSelectorEntry.
1858 Fixes: NB#102541 (value entered in the touch selector entry is not
1859 shown when opened for second time)
1861 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1863 * doc/hildon-sections.txt:
1864 * src/hildon-touch-selector-entry.c
1865 (+hildon_touch_selector_entry_get_entry):
1866 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1868 Fixes: NB#104815 (I need accessor to the entry inside
1869 HildonTouchSelectorEntry)
1871 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1873 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1874 (hildon_app_menu_class_init):
1875 New "filter-vertical-spacing" style property.
1877 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1879 * src/hildon-find-toolbar.c
1880 (hildon_find_toolbar_emit_close)
1881 (hildon_find_toolbar_emit_invalid_input)
1882 (hildon_find_toolbar_entry_activate):
1883 Use g_signal_emit() instead of g_signal_emit_by_name()
1885 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1887 Patch by Mox Soini (ext-mox.soini@nokia.com)
1889 * tests/TEST-CASES.txt
1890 * tests/check-hildon-banner.c
1891 * tests/check-hildon-note.c
1892 * src/hildon-banner.c
1893 * src/hildon-code-dialog.c
1894 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1895 * src/hildon-time-editor.c
1896 * examples/hildon-lookup-example.c (main):
1897 Replace obsolete icon names with new ones.
1899 * src/hildon-find-toolbar-private.h:
1900 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1901 (-hildon_find_toolbar_emit_search):
1902 Remove find button and change icon of close button.
1904 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1906 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1908 * src/hildon-time-button.c (hildon_time_button_new_step):
1909 Use the "touch-selector" property to set the selector directly
1910 when creating the object.
1912 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1914 Added a new example application that allows tuning the pannable
1915 area and replaced defines with properties in order to simplify the
1916 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1917 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1918 PROP_DIRECTION_ERROR_MARGIN.
1920 * examples/hildon-pannable-area-tuning-example.c: New example
1922 * src/hildon-pannable-area.c,
1923 (hildon_pannable_area_class_init),
1924 (hildon_pannable_area_init),
1925 (hildon_pannable_area_get_property),
1926 (hildon_pannable_area_set_property),
1927 (hildon_pannable_area_launch_fade_timeout),
1928 (hildon_pannable_area_adjust_value_changed),
1929 (hildon_pannable_axis_scroll),
1930 (hildon_pannable_area_motion_notify_cb),
1931 (hildon_pannable_area_scroll_cb),
1932 (hildon_pannable_area_button_release_cb): We have converted some
1933 of the defines that control the widget to properties to simplify
1936 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1938 * src/hildon-app-menu.c (hildon_app_menu_map)
1939 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1940 so it's closed if a new window appears.
1942 Fixes: NB#104485 (Not able to address the call when application
1943 menu is opened at background)
1945 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1947 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1948 missing 'break' statement in in 'case' construct to avoid
1951 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1953 * src/hildon-touch-selector-entry.c
1954 (hildon_touch_selector_entry_get_property),
1955 (hildon_touch_selector_entry_set_property): Add missing 'break'
1956 statements in in 'case' constructs to avoid incorrect warnings.
1958 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1960 * src/hildon-time-editor.c
1961 (hildon_time_editor_get_time_separators): Do not crash if
1962 the first label is NULL.
1964 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1966 * src/hildon-date-selector.c (_month_days): Check for month to be
1967 strictly less than 12, since otherwise we may overrun the array.
1969 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1971 * src/hildon-date-button.c (+hildon_date_button_new_full)
1972 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1973 (hildon_date_button_init): Set the date selector using a
1974 construction property, to make it happen after HildonButton's
1975 "value" property is set.
1977 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1978 current date by default)
1980 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1982 * doc/hildon-sections.txt
1983 * src/hildon-program.c
1984 * src/hildon-stackable-window.c
1985 * src/hildon-window.c:
1986 Documentation updates
1988 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1990 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1991 (hildon_window_stack_new, +hildon_window_stack_set_property)
1992 (+hildon_window_stack_get_property)
1993 (hildon_window_stack_class_init)
1994 (+hildon_window_stack_set_window_group)
1995 (+hildon_window_stack_get_window_group):
1996 Make the window group a construction property.
1998 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2000 * doc/hildon-sections.txt
2001 * src/hildon-stackable-window-private.h
2002 * src/hildon-stackable-window.h
2003 * src/hildon-stackable-window.c
2004 (-hildon_stackable_window_set_app_menu)
2005 (-hildon_stackable_window_get_app_menu)
2006 (-hildon_stackable_window_toggle_menu)
2007 (-hildon_stackable_window_finalize)
2008 (hildon_stackable_window_class_init)
2009 (hildon_stackable_window_init)
2010 * src/hildon-window-private.h
2011 * src/hildon-window.h
2012 * src/hildon-window.c (hildon_window_init)
2013 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2014 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2015 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2016 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2017 Moved all HildonAppMenu code to HildonWindow. The menu does not
2018 require a HildonStackableWindow anymore.
2020 * src/hildon-app-menu.c
2021 * src/hildon-program.c
2022 * examples/hildon-app-menu-example.c (main):
2023 Update examples and documentation to reflect HildonAppMenu
2026 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2028 * src/hildon-remote-texture.c
2029 * src/hildon-animation-actor.c:
2030 Don't include unused private headers.
2032 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2034 * src/hildon-program-private.h
2035 * src/hildon-program.c
2036 (hildon_program_set_common_menu)
2037 (hildon_program_get_common_menu)
2038 (hildon_program_set_common_app_menu)
2039 (hildon_program_get_common_app_menu):
2040 Change common menu pointers from GtkWidget* to GtkMenu* and
2041 HildonAppMenu* to avoid unnecessary casts.
2043 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2045 * src/hildon-window.c (hildon_window_set_main_menu):
2046 Removed incorrect 'Since:' tag
2048 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2050 * src/hildon-pannable-area.c,
2051 (hildon_pannable_area_calculate_velocity): We use now the
2052 RATIO_TOLERANCE here to check the distance, fixed typo in the
2054 (hildon_pannable_area_motion_notify_cb): We have to set the type
2055 and time even if we are not sending the motion.
2057 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2059 * doc/hildon-sections.txt
2060 * src/hildon-app-menu.h
2061 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2062 (+hildon_app_menu_get_filters): New methods to get the contents of
2065 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2068 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2070 * src/hildon-app-menu.c (hildon_app_menu_popup):
2073 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2075 * src/hildon-window.h
2076 * src/hildon-window.c (+hildon_window_get_main_menu)
2077 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2078 and deprecated hildon_window_get_menu().
2080 * src/hildon-stackable-window.h
2081 * src/hildon-stackable-window.c
2082 (+hildon_stackable_window_set_app_menu)
2083 (+hildon_stackable_window_get_app_menu)
2084 (hildon_stackable_window_set_main_menu): Created
2085 hildon_stackable_window_{get,set}_app_menu() and deprecated
2086 hildon_stackable_window_set_main_menu().
2088 * doc/hildon-sections.txt
2089 * examples/hildon-app-menu-example.c (main)
2090 * src/hildon-app-menu.c
2091 * src/hildon-program.c:
2092 Updated examples and documentation.
2094 Fixes: NB#103758 (No way to obtain a menu from a
2095 HildonStackableWindow)
2097 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2102 * configure.ac: Bump version.
2103 * debian/changelog: Updates.
2105 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2107 * examples/hildon-remote-texture-example.c: Include
2108 hildon-remote-texture.h explicitely.
2109 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2110 applications not defining _XOPEN_SOURCE which don't require this header.
2112 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2114 * doc/hildon-sections.txt
2115 * src/hildon-app-menu.h
2116 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2117 New function to pop up a HildonAppMenu
2119 * src/hildon-stackable-window.c
2120 (hildon_stackable_window_toggle_menu):
2121 Use hildon_app_menu_popup() to show the menu.
2123 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2125 * src/hildon-app-menu.c (hildon_app_menu_show)
2126 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2127 menu if there's another window between it and its parent window.
2129 Fixes: NB#100468 (Application menu window is launched even when a
2130 new secondary-window/dialog is pending to be shown/realized)
2132 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2134 * src/hildon-window-stack.c (hildon_window_stack_push)
2135 (hildon_window_stack_pop_and_push):
2136 Don't forget to push/pop the first window.
2137 Reverse the window list before calling _push_list()
2139 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2141 * src/hildon-picker-button.h
2142 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2143 Remove "value_changed" slot to avoid ABI breakage
2145 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2147 * src/hildon-pannable-area.c,
2148 (hildon_pannable_area_realize),
2149 (hildon_pannable_area_unrealize),
2150 (hildon_pannable_draw_vscroll),
2151 (hildon_pannable_draw_hscroll): Changed the method to handle the
2152 GC used to draw the transparent scrollbar, this way we avoid
2153 creating the GC all the time when drawing the scrollbars.
2155 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2157 * src/hildon-pannable-area.c,
2158 (hildon_pannable_area_init),
2159 (hildon_pannable_area_remove): Removed some unnecessary casts.
2160 (hildon_pannable_area_dispose): Disconnected some signals before
2161 releasing the adjustments.
2163 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2165 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2166 Make sure that all widgets contained in the toolbar are shown.
2168 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2170 * doc/hildon-sections.txt
2171 * src/hildon-picker-button.h
2172 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2173 (_selection_changed, hildon_picker_button_on_dialog_response)
2174 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2175 New hildon_picker_button_value_changed() method.
2178 * src/hildon-picker-button-private.h
2179 * src/hildon-picker-button.c (hildon_picker_button_init)
2180 (+hildon_picker_button_disable_value_changed): Add protected
2181 function for disabling the "value-changed" signal.
2183 * src/hildon-date-button.c (hildon_date_button_set_date):
2184 Don't emit "value-changed" for each one of the three columns.
2186 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2187 before actual change of values)
2189 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2191 * src/hildon-pannable-area.c,
2192 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2193 for the treeview overshooting.
2195 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2197 * src/hildon-banner.c (+hildon_banner_bind_style):
2198 Renamed from hildon_banner_bind_label_style(), now naming the
2199 banner itself as well.
2200 (hildon_banner_show_information),
2201 (hildon_banner_show_information_with_markup),
2202 (hildon_banner_show_animation), (hildon_banner_show_progress):
2203 Name the widgets and labels, based on their type.
2205 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2208 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2210 * src/hildon-note.c (hildon_note_set_property): call
2211 hildon_note_rename() on HildonNote:note-type set.
2212 (hildon_note_rename): Name the note and its label, based on the
2213 HildonNote:note-type property.
2215 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2218 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2220 * src/hildon-pannable-area.c,
2221 (hildon_pannable_area_class_init),
2222 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2223 panning parameters, increased SPS and deceleration factor. Added
2224 also a margin to control fake directions.
2226 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2228 Patch by Sven Herzberg (sven@imendio.com)
2230 * configure.ac: Add missing AM_PROG_CC_C_0
2231 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2233 See NB#101420 (Update unit tests and fix make check)
2235 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2237 This patch was applied before but reverted because it caused
2238 problems, we have changed the main condition and tested the
2239 regressions we detected before and they work ok. We have done a
2240 complete review of the topmost algorithm in order to get a more
2243 * src/hildon-pannable-area.c,
2244 (hildon_pannable_area_get_topmost): Added a new parameter to
2245 filter the the windows that do not include those events.
2246 (hildon_pannable_area_button_press_cb),
2247 (hildon_pannable_area_button_release_cb),
2248 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2249 topmost function, we have added the new parameter.
2251 Fixes: NB#97458 (Pannable area prevents propagation of button
2254 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2256 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2257 if all columns in the selector have an item selected.
2258 (_on_dialog_response): Stop "response" signal emission if there is
2259 any selector column without selected items.
2261 Fixes: NB#101889 (Picker dialog should not close when nothing is
2262 selected in multiple selection list)
2264 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2266 * src/hildon-font-selection-dialog.c
2267 (hildon_font_selection_dialog_class_init),
2268 (hildon_font_selection_dialog_init): Remove the preview
2269 button and dialog, since previewing with default theming is likely
2270 to be overcomplicated. The :preview property has now no effect.
2271 Update documentation blurbs to inform about this.
2273 Fixes: NB#92297 (Preview content is not clearly visible for
2274 default colour text)
2276 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2278 Reviewed the geometry that handles the children size and
2279 scrollbar, now it tries a size and reviews the results depending
2280 on the scrollbars visibility.
2282 * src/hildon-pannable-area.c,
2283 (hildon_pannable_area_realize): Fixed a typo.
2284 (hildon_pannable_area_child_allocate_calculate): Added this
2285 function to calculate the child allocation.
2286 (hildon_pannable_area_size_allocate): Reviewed the allocation
2288 (hildon_pannable_area_check_scrollbars),
2289 (hildon_pannable_area_refresh): Refactored refresh function, this
2290 way we can call the code handling the scrollbars without causing a
2291 size_request, it is interesting in the allocate.
2292 (hildon_pannable_area_init): Replace the callbacks of the
2293 value_changed and changed signals to propertly deal with the
2295 (hildon_pannable_area_grab_notify),
2296 (hildon_pannable_area_initial_effect),
2297 (hildon_pannable_area_launch_fade_timeout),
2298 (hildon_pannable_area_adjust_changed),
2299 (hildon_pannable_area_adjust_value_changed),
2300 (hildon_pannable_area_redraw),
2301 (hildon_pannable_area_button_press_cb),
2302 (hildon_pannable_area_button_release_cb),
2303 (hildon_pannable_area_scroll_cb),
2304 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2305 code and use the new functions adjust_changed and
2306 adjust_value_changed.
2308 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2309 Contact editor dialog)
2311 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2316 * configure.ac: Bump version.
2317 * debian/changelog: Updates.
2319 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2321 * src/hildon-pannable-area.c,
2322 (hildon_pannable_area_get_topmost),
2323 (hildon_pannable_area_button_press_cb),
2324 (hildon_pannable_area_button_release_cb),
2325 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2326 topmost function adding the event mask. We have to try a
2327 differente approach because it is still causing problems (NB#9745,
2330 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2332 * src/hildon-banner.c:
2333 Update the maximum width of timed banners.
2334 (force_to_wrap_truncated): Enforce the maximum text width if the
2337 Fixes: NB#102413 (The text margins (wrapping) in information
2338 banner should be HILDON_MARGIN_TRIPLE)
2340 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2342 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2344 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2345 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2346 bound when calculating the scroll indicator position.
2348 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2349 treat ->lower correctly)
2351 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2353 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2354 expose event handling, since it is not necessary to draw the focus
2357 Fixes: NB#102467 (Do not show highlight on the text in
2360 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2362 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2363 full height of the toolbar for the button and the label.
2365 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2367 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2368 padding before the label and after the button.
2370 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2372 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2374 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2375 Add a GtkVSeparator between the button and the back arrow.
2376 Let the button have automatic size.
2377 Set a name to the widget for theming handling.
2379 Fixes: NB#101793 (Make edit toolbar the same height as window
2380 title bar (use title area theming))
2382 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2384 * src/hildon-helper.c (attach_new_color_element): Fix memory
2387 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2389 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2391 * examples/hildon-button-example.c (common_buttons_window): Don't
2394 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2396 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2397 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2399 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2401 * src/hildon-gtk.c: Check that the window is realized.
2403 Fixes: NB#102225 (Crash setting the progress indicator to a non
2406 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2408 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2409 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2410 instead of modifying the one in the widget style.
2412 Fixes: NB#101043 (Second row of all the command button are
2413 displayed in transparent mode.)
2415 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2417 * src/hildon-date-button.c
2418 * src/hildon-time-button.c: Add gettext macros
2420 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2422 * src/hildon-date-button.c (hildon_date_button_new):
2423 * src/hildon-time-button.c (hildon_time_button_new_step):
2424 Use new logical strings to set the button default title.
2426 Fixes: NB#99915 (Date and Time options are not localised in Date
2429 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2431 * src/hildon-pannable-area.c
2432 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2433 the PANNING_THRESHOLD.
2435 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2437 * src/hildon-pannable-area.c,
2438 (hildon_pannable_area_class_init): Increased the maximum speed.
2439 (hildon_pannable_area_get_property),
2440 (hildon_pannable_area_set_property),
2441 (hildon_pannable_area_timeout): Added a new low friction mode, it
2442 allows the user avoid friction when launching the widget fast
2443 enough. It is interesting to traverse long lists.
2445 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2447 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2448 (+hildon_stackable_window_delete_event): Ignore delete events if
2449 the window is not the topmost one.
2451 Fixes: NB#101698 (Back button long press and delete-event handling)
2453 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2455 * src/hildon-pannable-area.c,
2456 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2457 gtk-dnd-drag-threshold, it was too big. We have defined our own
2458 dnd define and set a smaller value: PANNIG_THRESHOLD.
2460 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2462 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2463 user-defined icons, use always the default one.
2465 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2467 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2469 This patch was applied before but reverted because it caused
2470 problems, we have changed the main condition and tested the
2471 regressions we detected before and they work ok.
2473 * src/hildon-pannable-area.c,
2474 (hildon_pannable_area_get_topmost): Added a new parameter to
2475 filter the the windows that do not include those events. Added
2476 also a condition when finding the window to filter windows that do
2477 not ask for those events.
2478 (hildon_pannable_area_button_press_cb),
2479 (hildon_pannable_area_button_release_cb),
2480 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2481 topmost function, we have added the new parameter.
2483 Fixes: NB#97458 (Pannable area prevents propagation of button
2486 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2488 * tests/check-hildon-color-button.c (START_TEST): do not leak
2491 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2493 * src/hildon-font-selection-dialog.c
2494 (hildon_font_selection_dialog_get_preview_text): Return NULL
2495 instead of FALSE on the g_return_val_if_fail().
2497 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2499 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2500 * src/hildon-date-selector.c
2501 (hildon_date_selector_select_current_date):
2502 Do not compare unsigned integers to be greater than or equal 0,
2503 because it's always TRUE.
2505 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2507 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2508 (hildon_date_selector_constructor): Do not select the current
2509 date until we are handle the "changed" signal, to avoid having bogus
2510 elements in the days model.
2512 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2514 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2515 for num_days, since _month_days() can return a negative value.
2517 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2519 * src/hildon-caption.c (hildon_caption_size_allocate):
2520 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2521 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2523 Initialize allocation variables to 0, to avoid eventually using
2524 unitialized variables.
2526 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2528 * src/hildon-bread-crumb-trail.c
2529 (hildon_bread_crumb_trail_size_allocate):
2530 * src/hildon-calendar.c (hildon_calendar_set_background):
2531 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2532 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2533 * src/hildon-seekbar.c (hildon_seekbar_init):
2534 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2535 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2536 * src/hildon-touch-selector-entry.c
2537 (hildon_touch_selector_get_text_from_model):
2538 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2539 * src/hildon-window.c (hildon_window_finalize):
2541 Remove many unused variables.
2543 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2545 * src/hildon-seekbar.c: (hildon_seekbar_init),
2546 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2548 Remove unnecessary g_assert() calls.
2550 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2552 * src/hildon-caption.c: (hildon_caption_expose),
2553 (hildon_caption_set_property), (hildon_caption_init),
2554 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2555 (hildon_caption_size_request), (hildon_caption_size_allocate),
2556 (hildon_caption_forall), (hildon_caption_set_separator),
2557 (hildon_caption_activate), (hildon_caption_set_child_expand),
2558 (hildon_caption_set_label_text),
2559 (hildon_caption_get_label_alignment):
2561 Remove unnecessary g_assert() calls.
2563 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2565 * src/hildon-banner.c
2566 (hildon_banner_map, hildon_banner_init): Make banner temporary
2567 before mapping it to avoid closing other temporary windows, but
2568 make it non-temporary afterwards to avoid being closed by other
2569 non-temporary windows.
2570 (-hildon_banner_client_event, hildon_banner_init):
2571 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2573 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2576 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2578 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2581 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2583 * src/hildon-remote-texture.c
2584 * src/hildon-remote-texture.h
2585 * src/hildon-remote-texture-private.h
2586 * examples/hildon-remote-texture-example.c:
2587 Updates/fixes to remote-texture and its example.
2589 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2591 Patch by Mox Soini (ext-mox.soini@nokia.com)
2593 * src/hildon-code-dialog.c: Update logical id.
2594 * src/hildon-set-password-dialog.c: Update logical id.
2596 Fixes: NB#100646 (Logical strings is shown for ok in set
2597 password,Password needed dialogs)
2599 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2602 * src/hildon-remote-texture.c
2603 * src/hildon-remote-texture.h
2604 * src/hildon-remote-texture-private.h
2606 Added remote texture widget (for Clutter shared memory textures)
2608 * examples/hildon-remote-texture-example.c
2609 * examples/Makefile.am
2610 Added example file for remote texture usage
2612 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2614 * configure.ac: post release version bump.
2615 * debian/changelog: version bump.
2617 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2622 * configure.ac: Bump version.
2623 * debian/changelog: Updates.
2625 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2627 * src/hildon-date-selector.c (hildon_date_selector_init)
2628 (hildon_date_selector_constructor): Don't connect to the "changed"
2629 signal until the selector is completely constructed.
2631 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2633 * src/hildon-touch-selector.c: (_create_new_column),
2634 (hildon_touch_selector_append_column),
2635 (hildon_touch_selector_set_column_selection_mode),
2636 (hildon_touch_selector_set_active),
2637 (hildon_touch_selector_select_iter):
2638 Emit the HildonTouchSelector::changed signal every time selection
2639 is changed in any of the methods above. This behavior was already
2640 documented but not fully functional.
2642 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2643 selection is programmatically changed)
2645 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2647 * doc/hildon-sections.txt: Remove obsolete icon
2648 sizes from here as well.
2650 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2652 * examples/hildon-stackable-window-example.c (add_window): Remove
2655 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2657 * src/hildon-app-menu.c
2658 (hildon_app_menu_show): Check whether the parent window of a menu
2659 is topmost before popping it up.
2661 Fixes: NB#100468 (Application menu window is launched even when a
2662 new secondary-window/dialog is pending to be shown/realized.)
2664 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2666 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2669 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2671 Patch by Mox Soini (ext-mox.soini@nokia.com)
2673 * src/hildon-banner.c: (hildon_banner_show_animation):
2674 use stylus size instead of obsolete note size.
2675 * src/hildon-defines.h: Update icon sizes.
2677 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2679 * src/hildon-touch-selector-entry.c:
2680 (hildon_touch_selector_entry_init): Disable unsupported
2682 (hildon_touch_selector_entry_get_text_column): Emit a warning
2683 if an unsupported input modes is used and explicitile state
2684 these modes in the documentation.
2686 Fixes: NB#99802 (Hildon touch selector entry not working properly
2687 for some of the input modes)
2689 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2691 * src/hildon-pannable-area.c,
2692 (hildon_pannable_area_init): Added the changed signal handlers of
2695 Fixes: NB#100320 (HildonPannableArea does not listen to
2696 GtkAdjustment "change" signals)
2698 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2700 * doc/hildon-sections.txt
2701 * src/hildon-window-private.h
2702 * src/hildon-window.h
2703 * src/hildon-window.c (hildon_window_init)
2704 (hildon_window_realize, hildon_window_unrealize)
2705 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2706 (hildon_window_size_request, hildon_window_size_allocate)
2707 (hildon_window_forall, hildon_window_show_all)
2708 (hildon_window_destroy, +paint_edit_toolbar)
2709 (+hildon_window_set_edit_toolbar):
2710 New hildon_window_set_edit_toolbar() method, to add a
2711 HildonEditToolbar to a window without having to pack it manually.
2713 Reorganize hildon_window_size_allocate()
2715 * src/hildon-edit-toolbar.c: Update documentation.
2717 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2718 example to use the new API.
2720 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2722 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2724 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2725 Remove from stack before calling parent's hide.
2727 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2729 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2730 window is removed from the middle of the stack, update the
2731 transiency of the previous one.
2733 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2736 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2738 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2739 block/unblock the signal handler if it's not actually being used.
2740 Fixes some critical warnings.
2742 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2744 Based on a patch by Iván Gómez (igomez@igalia.com)
2746 * src/hildon-banner.c
2750 * src/hildon-pannable-area.c
2751 * src/hildon-picker-dialog.c
2752 * src/hildon-wizard-dialog.h
2753 * src/hildon-wizard-dialog.c: Documentation updates.
2755 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2756 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2758 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2760 * configure.ac: post release version bump.
2761 * debian/changelog: version bump.
2763 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2768 * configure.ac: Bump version.
2769 * debian/changelog: Updates.
2771 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2773 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2774 a stock icon nor change the relief of the back arrow.
2776 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2777 graphics from theme)
2779 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2781 * src/hildon-button.c (hildon_button_set_alignment): Use
2782 priv->alignment if the button has no child yet.
2784 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2786 * src/hildon-button.c: (hildon_button_init): Set the
2787 button style during initialization to give it the proper
2790 Fixes: NB#99713 (HildonButton value label color is wrong)
2792 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2794 * src/hildon-touch-selector.c: Document
2795 hildon_touch_selector_center_on_selected()
2797 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2799 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2800 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2801 all menu items, but not the menu itself.
2802 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2803 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2804 items after adding them to the menu so keyboard accelerators work.
2805 (hildon_app_menu_show): Don't show the menu if it contains items
2806 but none of them are visible.
2808 * examples/hildon-app-menu-example.c (create_menu): Use
2809 gtk_widget_show_all() to show all menu items.
2811 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2813 * src/hildon-picker-dialog.c:
2814 (-_update_title_on_selector_changed_cb),
2815 (-_dialog_update_title): Removed.
2816 (_select_on_selector_changed_cb), (_on_dialog_response),
2817 (on_selector_columns_changed): Do not update the dialog title.
2818 (setup_interaction_mode): Do not connect to
2819 HildonTouchSelector::changed signal if there's a "done" button, as
2820 the dialog title doesn't need to be updated.
2822 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2825 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2827 Patch by Kristian Rietveld (kris@imendio.com)
2829 * src/hildon-touch-selector.c: (_create_new_column): Use new
2830 GtkTreeView::hildon-row-tapped signal to react to user interactions
2831 instead of ::changed.
2833 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2834 with some dynamic tree model)
2836 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2838 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2839 (+screen_size_changed, +label_size_request)
2840 (hildon_note_class_init): Make the Hildon information note have a
2841 minimum height, and make its text hvae a maximum width.
2843 Fixes: NB#98614 (Hildon information note (background) should have
2844 minimum height and maximum text width)
2846 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2848 * src/hildon-banner.h
2849 * src/hildon-banner.c (hildon_banner_show_information)
2850 (hildon_banner_show_informationf)
2851 (hildon_banner_show_information_with_markup): Update documentation
2852 to reflect that the icon_name parameter is not used anymore.
2853 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2854 Remove all code from these functions and mark them as deprecated.
2855 (hildon_banner_show_progress): Mark as deprecated.
2857 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2859 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2861 * src/hildon-pannable-area.c,
2862 (hildon_pannable_area_class_init),
2863 (tranparency_color),
2864 (hildon_pannable_draw_vscroll),
2865 (hildon_pannable_draw_hscroll),
2866 (hildon_pannable_area_expose_event): Added a new way to render the
2867 scrollbars of the pannable area avoiding using cairo at all. This
2868 way we improve the performance of the pannable area rendering. The
2869 cairo rendering procedure is still in the code, we can control
2870 which one to use changing the value of the define
2871 USE_CAIRO_SCROLLBARS.
2873 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2875 * configure.ac: post release version bump.
2876 * debian/changelog: version bump.
2878 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2883 * configure.ac: Bump version.
2884 * debian/changelog: Updates.
2886 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2888 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2889 banners instead of destroying them when they receive a button
2892 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2894 Reverted commit 34028, it was causing regressions, probably the
2895 topmost condition is not correct, we have to check it in more
2896 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2897 propagation of button press events)
2899 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2901 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2902 that the selection is not empty before attempting to retrieve the
2903 current ampm selection.
2905 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2907 * src/hildon-picker-button.c:
2908 (hildon_picker_button_on_dialog_response): Directly update the
2909 button contents when required instead of calling _selection_changed.
2911 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2913 * src/hildon-program.c (hildon_program_update_top_most): Update
2914 'is-topmost' property also when wm_hints is not set.
2916 Fixes: NB#98383 (is-topmost signal is not emitted when task
2917 switcher is clicked.)
2919 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2921 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2925 * src/hildon-animation-actor.c,
2926 * src/hildon-animation-actor.h: Added the animation actor class,
2927 this widget represents an animation actor for WM-assisted
2928 animation effects in the Hildon framework.
2930 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2932 * src/hildon-window-stack-private.h
2933 * src/hildon-window-stack.c
2934 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2935 Avoid calling gtk_widget_show() again indirectly from
2936 hildon_stackable_window_show()
2938 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2940 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2943 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2945 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2946 (hildon_time_selector_init): Move the construction of the hours and
2947 ampm columns to the constructor to preserve the order the columns
2950 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2952 * src/hildon-picker-dialog.c:
2953 (hildon_picker_dialog_class_init): Connect a realize method.
2954 (+hildon_picker_dialog_realize): Setup the interaction mode here
2956 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2957 yet, do it during the realize instead.
2958 (_on_dialog_response):
2959 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2960 if the widget is not realized, to avoid the dialog response before it
2963 Avoid premature responses in the HildonPickerDialog that can cause it
2964 to be hidden before it's even shown.
2966 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2968 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2969 (on_selector_columns_changed), (requires_done_button),
2970 (+prepare_action_area), (setup_interaction_mode),
2971 (_hildon_picker_dialog_set_selector):
2973 Split the interaction mode setup into preparation of the
2974 action area (prepare_action_area()) and the connection of
2975 the signals in setup_interaction_mode() and update the code to
2978 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2980 * src/hildon-pannable-area.c,
2981 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2982 per second to 15, we will check if this is ok regarding
2985 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2987 * src/hildon-pannable-area.c,
2988 (hildon_pannable_axis_scroll): Avoid resize if we already have
2989 reached overshoot_max.
2991 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2993 * src/hildon-pannable-area.c,
2994 (hildon_pannable_area_init),
2995 (hildon_pannable_area_realize),
2996 (hildon_pannable_area_size_allocate),
2997 (hildon_pannable_area_map),
2998 (hildon_pannable_area_unmap),
2999 (hildon_pannable_draw_vscroll),
3000 (hildon_pannable_draw_hscroll),
3001 (hildon_pannable_area_expose_event),
3002 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3003 pannable are to avoid the expose events go to the window and
3004 redraw the window. We save this way that part of the stack and the
3005 paint_boxes. We had to change the positions of the elements when
3008 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3010 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3011 * src/hildon-color-chooser-dialog.c:
3012 (hildon_color_chooser_dialog_init):
3013 * src/hildon-font-selection-dialog.c:
3014 (hildon_font_selection_dialog_init),
3015 (hildon_font_selection_dialog_show_preview):
3016 * src/hildon-get-password-dialog.c:
3017 * src/hildon-login-dialog.c:
3018 * src/hildon-set-password-dialog.c:
3019 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3020 * src/hildon-time-picker.c: (hildon_time_picker_init):
3022 Remove obsolete logical string IDs and update to the appropriate ones.
3024 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3026 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3028 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3029 that happens if the window hasn't been realized yet.
3031 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3032 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3034 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3036 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3037 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3040 Fixes: NB#98537 (Device hangs in account settings dialog)
3042 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3044 * configure.ac: post release version bump.
3045 * debian/changelog: version bump
3047 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3052 * configure.ac: Bump version.
3053 * debian/changelog: Updates.
3055 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3057 Added a new function to the HildonTimeButton widget that allows to
3058 change the step of the minutes in the selector associated with the
3059 button: hildon_time_button_new_step
3061 * src/hildon-time-button.c,
3062 (hildon_time_button_init),
3063 (hildon_time_button_new),
3064 (hildon_time_button_new_step):
3065 * src/hildon-time-button.h: Added the new function and refactored
3067 * examples/hildon-time-button-example.c,
3068 (main): We have replaced the function without parameters with the
3069 function with the steps set to 5
3071 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3073 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3075 * src/hildon-time-selector.c,
3076 (hildon_time_selector_class_init),
3077 (hildon_time_selector_constructor),
3078 (hildon_time_selector_get_property),
3079 (hildon_time_selector_set_property),
3080 (_create_minutes_model),
3081 (hildon_time_selector_new_step),
3082 (hildon_time_selector_set_time),
3083 * src/hildon-time-selector.h: Added a new property to the
3084 HildonTimeSelector (minutes-step), we use that property to control
3085 the steps between the minutes in the list of the selector. We have
3086 added a new function to the API to create a widget changing the
3087 step: hildon_time_selector_new_step.
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_init): Overrided the construct function when
3095 creating the time selector object. We have moved the minutes model
3096 handling code from the init to the new construction function:
3097 hildon_time_selector_constructor.
3099 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3101 * examples/hildon-date-button-example.c: (main): Use the new
3102 hildon_date_button_new_with_year_range() method in the example.
3103 * src/hildon-date-button.c:
3104 (+hildon_date_button_new_with_year_range): New public method
3105 to conveniently create a HildonDateButton with a custom year range
3106 in its HildonDateSelector.
3107 * src/hildon-date-button.h: Add the new public method definition.
3109 Fixes: NB#97908 (Not possible to change the year range in
3110 HildonDateSelector/HildonDateButton)
3112 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3114 * src/hildon-date-selector.c:
3115 (+hildon_date_selector_set_property),
3116 (+hildon_date_selector_get_property),
3117 (hildon_date_selector_class_init): Install new properties "min-year"
3118 and "max-year" to define boundaries for the year column.
3119 (_create_year_model): Use the boundary properties to populate the model.
3120 (+hildon_date_selector_new_with_year_range): New public method to
3121 create a HildonDateSelector with a user defined year range.
3122 (hildon_date_selector_select_current_date): Use the new boundaries to
3123 calculate the iterator of current year.
3124 * src/hildon-date-selector.h: Add the new public method definition.
3126 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3128 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3129 Install a constructor method.
3130 (+hildon_date_selector_construct_ui): construct the widget.
3131 (+hildon_date_selector_constructor): new constructor.
3132 (+hildon_date_selector_init): move out widget construction code to
3133 the new constructor.
3135 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3137 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3138 that there's actually a month or year selected before obtaining them.
3139 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3140 of the HildonTouchSelector::changed signal, as it was emitted on every
3141 single item selection.
3143 Fix some warnings and possible crashers due to the selection restoring.
3145 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3147 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3148 the signal handlers only after creating the dialog instead of on every
3151 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3153 * src/hildon-button.c (hildon_button_init)
3154 * src/hildon-check-button.c (hildon_check_button_init)
3155 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3156 focus when clicked by default.
3158 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3160 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3163 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3165 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3166 Alejandro G. Castro (alex@igalia.com)
3168 * src/hildon-picker-dialog.c:
3169 (hildon_picker_dialog_class_init): install new "center-on-show"
3171 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3172 (hildon_picker_dialog_set_property): add setter code for the new
3174 (hildon_picker_dialog_get_property): add getter code for the new
3176 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3177 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3180 Fixes: NB#92849 (Selected item is not always visible when
3181 HildonTouchSelector is shown)
3183 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3185 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3186 Alejandro G. Castro (alex@igalia.com)
3188 * src/hildon-touch-selector.c:
3189 (_create_new_column): Do not connect to the "realize" signal of the
3191 (hildon_touch_selector_append_column): center on the selected items
3192 when a new column is appended.
3193 (hildon_touch_selector_select_iter): Factor out the code to select a
3194 column to hildon_touch_selector_scroll_to().
3195 (+search_nearest_element): Method to retrieve the nearest selected
3196 element to the visible area of the pannable area in a column.
3197 (+on_realize_cb): scroll to the initially selected item.
3198 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3199 the pannable area is realized, otherwise delay this until it is.
3200 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3201 selected items of a given column.
3202 (+hildon_touch_selector_center_on_selected): Public method to center
3203 all columns on the nearest selected item.
3204 * src/hildon-touch-selector.h: Add definition for
3205 hildon_touch_selector_center_on_selected().
3207 Implement public API to ensure visibility of all selected items in
3208 a HildonTouchSelector.
3210 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3212 Fixed a problem in the fading when calling the scroll_to API, and
3213 improve scrollbar fading handling.
3215 * src/hildon-pannable-area.c,
3216 (hildon_pannable_area_grab_notify): avoid the timeout when the
3218 (hildon_pannable_area_button_press_cb),
3219 (hildon_pannable_area_motion_notify_cb): Code style changes.
3220 (hildon_pannable_area_button_release_cb): Review the conditions
3221 when releasing the mouse button to avoid unrequired fading
3223 (hildon_pannable_area_scroll_to): Do not calculate and set the
3224 velocity if the scroll is not required.
3226 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3228 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3229 Don't check whether the new selector is NULL: it cannot be.
3230 Hold a reference to the selector while doing the replacement.
3232 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3234 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3235 unnecessary size_request in a removed widget.
3237 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3239 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3240 an unnecessary reference tracking that was leaking.
3242 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3244 Added delayed motion notify event handling, this way we can
3245 discard redrawing if more than 25 events arrive per second.
3247 * src/hildon-pannable-area.c,
3248 (hildon_pannable_area_init): Initialized the new private atributes
3249 controlling this timeout
3250 (hildon_pannable_area_dispose): Remove the timeout that controls
3251 the motion notify events.
3252 (hildon_pannable_area_scroll): Added a condition to control the
3253 use of the acceleration.
3254 (hildon_pannable_area_motion_event_scroll_timeout),
3255 (hildon_pannable_area_motion_event_scroll): Added this two
3256 functions, they handle the motion notify events inside the
3258 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3259 to the scroll method with the new function.
3260 (hildon_pannable_area_button_release_cb): We have to remove the
3261 timeout handler and move to the last position if the last motion
3262 events were not handled.
3264 Fixes: NB#97028 (Pannable area updates on every motion event)
3266 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3268 * src/hildon-pannable-area.c,
3269 (hildon_pannable_area_get_topmost): Added a new parameter to
3270 filter the the windows that do not include those events. Added
3271 also a condition when finding the window to filter windows that do
3272 not ask for those events.
3273 (hildon_pannable_area_button_press_cb),
3274 (hildon_pannable_area_button_release_cb),
3275 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3276 topmost function, we have added the new parameter.
3278 Fixes: NB#97458 (Pannable area prevents propagation of button
3281 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3283 * src/hildon-pannable-area.c,
3284 (hildon_pannable_area_initial_effect): Added controls before
3285 launching the timeout and the idle functions.
3286 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3287 of the method, in some situations it can return with TRUE and 0 in
3289 (hildon_pannable_area_button_press_cb): We do not need to set
3290 DELAY for fading out here.
3292 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3294 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3296 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3297 post-cleaning if the selection is not NULL.
3299 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3301 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3302 all items before restoring the selection.
3304 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3306 * src/hildon-touch-selector.c:
3307 (+hildon_touch_selector_unselect_all):
3308 * src/hildon-touch-selector.h: New API to unselect all items in a
3309 column of the touch selector.
3311 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3313 * src/hildon-pannable-area.c,
3314 (hildon_pannable_area_redraw): Added a call to the refresh
3315 function inside the redraw because apparently in some cases the
3316 change in the adjustment does not imply a size allocate.
3318 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3319 despite the view not being scrollable)
3321 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3323 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3324 leak. Check for NULL before attempting to set the window title.
3326 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3328 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3329 whether to show or not the 'Done' button each time the dialog is
3330 shown, as it depends on the HildonTouchSelector selection mode.
3332 Fixes: NB#96226 (In multiple selection mode Done button is shown
3333 sometimes in listpicker)
3335 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3337 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3338 for the number of columns in the HildonTouchSelector more than once.
3340 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3342 * src/hildon-touch-selector.c: Minor documentation fixes.
3344 * src/hildon-picker-dialog.c (+_dialog_update_title)
3345 (_select_on_selector_changed_cb)
3346 (_update_title_on_selector_changed_cb)
3347 (on_selector_columns_changed): Update dialog title when there's no
3348 'Done' button and also when the number of columns in the selector
3352 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3353 (+_selection_changed, hildon_picker_button_on_dialog_response)
3354 (hildon_picker_button_selector_selection_changed)
3355 (+hildon_picker_button_selector_columns_changed)
3356 (hildon_picker_button_set_selector): Update button value and emit
3357 'value-changed' when the number of columns in the selector
3361 Fixes: NB#96225 (Dialog titles are not shown according to the
3362 values selected in the list picker)
3364 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3366 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3367 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3368 New "arrow-width" and "arrow-height" style properties to set the
3369 size of the arrow button.
3370 Set name of arrow button ("hildon-edit-toolbar-arrow").
3372 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3373 graphics from theme)
3375 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3377 * src/hildon-picker-button.c:
3378 (hildon_picker_button_selector_selection_changed): Use
3379 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3380 the dialog is present.
3382 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3383 the selection is accepted in the dialog)
3385 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3387 * src/hildon-color-chooser.h
3388 * src/hildon-color-chooser-dialog.h:
3389 Added G_BEGIN_DECLS and G_END_DECLS
3391 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3393 (_clean_current_selection): plug a leak in the list.
3395 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3397 * src/hildon-picker-dialog.c:
3398 (+free_path_list): Method to free a GList of GtkTreePaths.
3399 (_clean_current_selection), (_save_current_selection),
3400 (_restore_current_selection): Save the current selection in
3401 as a list of lists, to support multiple selection properly.
3403 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3405 patch by Claudio Saavedra (csaavedra@igalia.com)
3407 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3408 Store the press position.
3409 (+hildon_text_view_button_release_event): If the release position is
3410 close enough to the press position, move the cursor here. Otherwise,
3412 (hildon_text_view_class_init): Override GtkTextView press, release, and
3413 motion event handlers, disabling this way text selection through
3414 pointer interaction, and allowing the container widget to handle the
3417 Fixes: NB#95828 (HildonTextView functionality)
3419 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3421 Based on a patch by Iván Gómez (igomez@igalia.com)
3423 * src/hildon-button.[ch]
3424 * src/hildon-calendar.c
3425 * src/hildon-check-button.c
3426 * src/hildon-date-editor.c
3427 * src/hildon-date-selector.c
3428 * src/hildon-picker-button.c
3429 * src/hildon-time-editor.c
3430 * src/hildon-time-selector.c
3431 * src/hildon-touch-selector.[ch]:
3432 Documentation updates
3434 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3436 * src/hildon-pannable-area.c,
3437 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3438 threshold, it was required due to X events handling.
3440 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3442 * src/hildon-pannable-area.c,
3443 (hildon_pannable_area_grab_notify),
3444 (hildon_pannable_area_initial_effect),
3445 (hildon_pannable_area_button_press_cb),
3446 (hildon_pannable_area_button_release_cb),
3447 (hildon_pannable_area_scroll_cb),
3448 (hildon_pannable_area_scroll_to): Review the timeout management of
3449 the scrollbar, the frecuency was incorrectly set.
3451 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3453 * src/hildon-picker-button.c:
3454 (+hildon_picker_button_on_dialog_response),
3455 (hildon_picker_button_clicked): Present the dialog instead of
3456 running it with gtk_dialog_run().
3458 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3461 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3463 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3464 (hildon_app_menu_finalize): When a window is hidden it doesn't
3465 emit notify::is-topmost, so make sure than the menu also
3466 disappears in that case.
3467 (parent_window_topmost_notify): Renamed from parent_window_hidden
3469 Fixes: NB#94460 (stackable window's menu is not closed when its
3472 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3474 * src/hildon-touch-selector-entry.c:
3475 (+hildon_touch_selector_entry_set_input_mode),
3476 (+hildon_touch_selector_entry_get_input_mode):
3477 * src/hildon-touch-selector-entry.h: New methods to access the input
3478 mode in the selector's entry.
3480 Fixes: NB#93410 (API required for setting IM mode in
3481 HildonTouchSelectorEntry)
3483 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3485 * configure.ac: post release version bump.
3486 * debian/changelog: version bump
3488 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3493 * configure.ac: Bump version.
3494 * debian/changelog: Updates.
3496 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3498 * src/hildon-touch-selector.c:
3499 (_hildon_touch_selector_has_multiple_selection): No need
3500 to initialize the variables here.
3502 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3504 * src/hildon-note-private.h
3505 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3506 (hildon_note_finalize, hildon_note_rebuild): Close information
3507 notes when they receive a button press.
3509 Fixes: NB#89890 (Information notes does not get disappeared after
3512 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3514 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3515 mark from the wizard title, as it's not really necessary. Also,
3516 do not display the page title if not set.
3518 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3520 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3521 (parent_window_hidden): Use the window's "is-topmost" property to
3522 detect when to hide the menu.
3524 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3526 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3527 (hildon_app_menu_finalize): If the parent window of the menu is
3528 hidden, hide the menu too.
3530 Fixes: NB#94460 (stackable window's menu is not closed when its
3533 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3536 * debian/libhildon1-examples.install
3538 * examples/Makefile.am:
3539 Use dh_install to install all examples.
3540 Use DEB_SRCDIR instead of defining SOURCE_DIR
3542 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3544 * configure.ac: post release version bump.
3545 * debian/changelog: version bump
3547 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3552 * configure.ac: bump version
3553 * debian/changelog: updates
3554 * debian/control: bump gtk+ dependency
3556 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3558 patch by Christian Dywan (christian@imendio.com)
3560 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3561 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3563 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3565 * src/hildon-check-button.c (hildon_check_button_init)
3566 (hildon_check_button_class_init, hildon_check_button_style_set)
3567 (hildon_check_button_apply_style):
3568 New "checkbox-size" style property.
3570 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3571 larger / configurable size)
3573 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3575 * configure.ac: post release version bump.
3576 * debian/changelog: version bump
3578 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3583 * configure.ac: bump version
3584 * debian/changelog: updates
3586 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3588 * doc/hildon-sections.txt
3589 * src/hildon-pannable-area.c
3590 * src/hildon-program.c
3591 * src/hildon-time-editor.c
3592 * src/hildon-touch-selector-entry.c:
3594 More documentation updates.
3596 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3598 * doc/hildon-sections.txt
3599 * src/hildon-caption.c
3600 * src/hildon-code-dialog.c
3601 * src/hildon-color-button.c
3602 * src/hildon-controlbar.c
3603 * src/hildon-date-editor.c
3604 * src/hildon-date-selector.c
3605 * src/hildon-edit-toolbar.c
3606 * src/hildon-find-toolbar.c
3607 * src/hildon-font-selection-dialog.c
3609 * src/hildon-program.c
3610 * src/hildon-range-editor.c
3611 * src/hildon-seekbar.c
3612 * src/hildon-time-editor.c
3613 * src/hildon-time-selector.c
3614 * src/hildon-volumebar-range.c
3615 * src/hildon-volumebar.c
3616 * src/hildon-vvolumebar.c
3617 * src/hildon-weekday-picker.c
3618 * src/hildon-window.c
3619 * src/hildon-wizard-dialog.c:
3621 Lots of documentation fixes.
3623 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3625 Patch contributed by Iván Gómez (igomez@igalia.com)
3627 * src/hildon-check-button.c:
3628 * src/hildon-date-button.c:
3629 * src/hildon-date-selector.c:
3630 * src/hildon-dialog.c:
3631 * src/hildon-edit-toolbar.c:
3632 * src/hildon-entry.c:
3633 * src/hildon-picker-button.c:
3634 * src/hildon-program.c:
3635 * src/hildon-text-view.c:
3636 * src/hildon-time-button.c:
3637 * src/hildon-touch-selector-entry.c:
3638 * src/hildon-window-stack.c:
3640 Add more "since" tags to the new API.
3642 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3644 * doc/hildon-sections.txt: Add below method.
3645 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3646 version for the hildonized scale.
3647 * src/hildon-gtk.h: Add the definition.
3649 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3651 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3653 * doc/hildon-sections.txt: Add missing entries for new methods.
3655 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3657 Added API to pannable are in order to get its adjustments. We
3658 added two properties to manage the values we had in the private
3661 * src/hildon-pannable-area.c:
3662 (hildon_pannable_area_class_init): Added hadjustment and
3663 vadjustment properties in order to expose horizontal and vertical
3665 (hildon_pannable_area_get_property),
3666 (hildon_pannable_area_set_property): Added code to handle the new
3668 (hildon_pannable_area_get_hadjustment),
3669 (hildon_pannable_area_get_vadjustment): API functions to get the
3671 * src/hildon-pannable-area.h:
3672 (hildon_pannable_area_get_hadjustment),
3673 (hildon_pannable_area_get_vadjustment): API functions to get the
3676 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3678 Fixed some leaks, after valgrinding.
3680 * src/hildon-touch-selector.c:
3681 (_default_print_func): Fixed a leak.
3682 (hildon_touch_selector_append_column): Fixed a leak.
3683 * src/hildon-date-button.c:
3684 (hildon_date_button_init): Fixed a leak.
3685 * src/hildon-date-selector.c
3686 (hildon_date_selector_finalize): Fixed a leak.
3688 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3690 Based on a patch by Christian Dywan (christian@imendio.com)
3692 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3694 * src/hildon-gtk.h: Add definition.
3696 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3698 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3700 * src/hildon-picker-button.c: (hildon_picker_button_init),
3701 (hildon_picker_button_new): Set the HildonButton::style property
3702 in the init method, to propagate the value to the derived classes.
3704 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3706 * src/hildon-button.c: (hildon_button_class_init): Do not make
3707 the "style" property a construct property.
3709 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3711 * src/hildon-wizard-dialog.h
3712 * src/hildon-wizard-dialog.c
3713 (hildon_wizard_dialog_set_forward_page_func)
3714 * src/hildon-pannable-area.h
3715 * src/hildon-pannable-area.c
3716 (hildon_pannable_area_set_size_request_policy):
3717 Documentation fixes.
3719 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3721 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3723 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3725 * doc/hildon-sections.txt: Added sections file.
3727 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3730 * src/*.[ch]: Updates.
3732 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3734 * examples/hildon-progress-indicator-example.c: new file
3735 * examples/Makefile.am: include the new example program
3737 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3739 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3741 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3743 * configure.ac: post release version bump
3744 * debian/changelog: version bump
3746 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3751 * configure.ac: bump version
3752 * debian/changelog: updates
3753 * debian/control: bump gtk+ dependency
3755 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3757 * src/hildon-dialog.c: Mark as deprecated.
3758 * src/hildon-dialog.h: Mark as deprecated.
3759 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3760 from HildonDialog and still work, even if
3761 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3762 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3764 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3765 maemo changes) instead)
3767 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3769 * src/hildon-pannable_area.h:
3770 * src/hildon-pannable_area.c:
3771 (hildon_pannable_area_class_init),
3772 (hildon_pannable_area_set_property),
3773 (hildon_pannable_area_get_property),
3774 (hildon_pannable_area_size_request),
3775 (hildon_pannable_area_get_size_request_policy),
3776 (hildon_pannable_area_set_size_request_policy): Added new API
3777 allowing applications to control the request policy. Now they can
3778 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3779 children allocation (HILDON_MOVEMENT_CHILDREN).
3781 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3785 (hildon_gtk_tree_view_set_ui_mode)
3786 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3787 mode of treeviews and iconviews.
3789 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3791 * src/hildon-touch-selector-entry.c:
3792 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3793 of a GtkEntry to get proper theming.
3795 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3796 widget, not GtkEntry)
3798 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3800 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3801 no HildonWizardDialogPageFunc.
3803 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3805 Patch contributed by Iván Gómez (igomez@igalia.com)
3807 * src/hildon-app-menu.c:
3808 * src/hildon-button.c:
3809 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3810 * src/hildon-stackable-window.c:
3811 * src/hildon-time-selector.c:
3812 * src/hildon-touch-selector.c:
3813 * src/hildon-window.c:
3815 Add more "since" tags to the new API in hildon 2.2.
3817 2008-12-05 Tim Janik <timj@imendio.com>
3819 Patch contributed by Christian Dywan (christian@imendio.com)
3821 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3822 HildonSizeType, which are supplied by Gtk+ now.
3824 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3826 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3827 (with maemo changes) instead)
3829 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3831 Patch contributed by Iván Gómez (igomez@igalia.com)
3833 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3836 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3838 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3839 (some_page_func), (main): Update the example to use a
3840 HildonWizardDialogPageFunc function.
3842 * src/hildon-wizard-dialog-private.h: Add private data for
3843 the HildonWizardDialogPageFunc function usage.
3845 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3846 (destroy), (hildon_wizard_dialog_init), (response),
3847 (hildon_wizard_dialog_set_forward_page_func):
3848 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3849 that applications can use to stop a HildonWizardDialog to jump to
3852 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3855 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3857 * src/hildon-program.h
3858 * src/hildon-program-private.h
3859 * src/hildon-program.c (hildon_program_init)
3860 (hildon_program_set_common_app_menu)
3861 (hildon_program_get_common_app_menu):
3862 New API for setting a common HildonAppMenu for all
3863 HildonStackableWindows registered with the HildonProgram.
3865 * src/hildon-stackable-window.c
3866 (hildon_stackable_window_toggle_menu):
3867 Use the common HildonAppMenu if a window doesn't have a specific
3870 * src/hildon-app-menu-private.h
3871 * src/hildon-app-menu.c
3872 (hildon_app_menu_get_parent_window):
3873 Function to obtain the window a HildonAppMenu is attached to.
3874 (hildon_app_menu_set_parent_window):
3875 Hide the menu if the parent window is set to NULL.
3877 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3879 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3880 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3881 search widget to popup.
3883 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3885 * configure.ac: post release version bump
3886 * debian/changelog: version bump
3888 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3893 * configure.ac: bump version
3894 * debian/changelog: updates
3896 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3898 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3900 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3901 (hildon_window_stack_window_realized)
3902 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3903 Set the leader GdkWindow when a window is stacked and realized,
3904 unset it when it's unstacked.
3905 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3907 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3909 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3911 * src/hildon-stackable-window.h
3912 * src/hildon-window-stack.h:
3913 Protect definition of HildonWindowStack using the preprocessor.
3915 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3917 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3918 Fix warning if all menu items are hidden.
3920 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3922 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3924 * src/hildon-controlbar.c:
3925 * src/hildon-hvolumebar.c:
3926 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3927 Multiple scale size defines updates.
3929 Fixes: NB#94322 (Scale Updates)
3931 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3933 * examples/hildon-app-menu-example.c (create_menu)
3934 Show items after adding them to the menu, as in the future the
3935 menu will no longer call gtk_widget_show() on the added items.
3937 * src/hildon-app-menu.c:
3938 Update example as explained above.
3940 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3942 * src/hildon-app-menu.c
3943 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3944 Make sure that all menu items have finger height.
3946 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3948 * src/hildon-picker-dialog.c:
3949 (_on_dialog_response), (_save_current_selection),
3950 (_restore_current_selection), (_clean_current_selection),
3951 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3952 Defined new functions in order to save the current internal selector
3953 selection previous open the dialog, in case that the use cancel the
3954 interaction, so the widget restores the previous selection.
3956 Fixes: NB#92032 (In calendar application, date values in 'new event'
3959 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3961 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3963 * src/hildon-button.c: Add a reference to the button examples in
3964 hildon-button-example.c
3966 * examples/hildon-button-example.c: Added examples of the most
3967 common button layouts.
3969 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3971 * src/hildon-app-menu.c (hildon_app_menu_show)
3972 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3974 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3976 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3978 * src/hildon-picker-dialog.c:
3979 (hildon_picker_dialog_init): Initialize the signal id for
3980 HildonTouchSelector::columns-changed.
3981 (+on_selector_columns_changed): Set up the interaction mode everytime a
3982 column is added or removed from the HildonTouchSelector.
3983 (_hildon_picker_dialog_set_selector): Connect to
3984 HildonTouchSelector::columns-changed and keep track of it.
3986 Make sure to update the interaction mode of the dialog everytime a
3987 column is added or removed in the HildonTouchSelector.
3989 Fixes: NB#93228 (Done button is not shown always in listpicker)
3991 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3993 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3994 a new ::columns-changed signal.
3995 (hildon_touch_selector_append_column): Emit ::columns-changed.
3996 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3998 Add a ::columns-changed signal, emitted when the number of columns in a
3999 HildonTouchSelector changes.
4001 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4003 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4004 (_hildon_picker_dialog_set_selector): Factor out the code
4005 to set up the dialog interaction mode.
4007 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4009 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4010 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4011 to signal_changed_id.
4013 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4015 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4018 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4020 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4021 Updated the logical ids related to ampm format, as now it is required to
4022 show it correctly localized even on languages with no default
4023 abbreviations for am or pm
4024 (_check_am_pm_format): check correctly the 24h format gconf property
4026 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4028 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4030 * src/hildon-button.c: Documentation updates.
4032 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4034 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4035 * src/hildon-caption.c: (hildon_caption_class_init):
4036 * src/hildon-color-button.c: (hildon_color_button_class_init):
4037 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4038 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4039 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4040 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4042 Remove deprecated GTK+ marshalers and replace them with the ones
4043 provided by GLib, for those available, add a marshaler for
4044 BOOLEAN:VOID, which is not available in GLib, and use it.
4046 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4048 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4049 the text from the previous column if there is no
4050 HildonTouchSelectorColumn::text-property set.
4052 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4054 * src/hildon-button.h
4055 * src/hildon-button.c (hildon_button_set_property)
4056 (hildon_button_get_property, hildon_button_class_init)
4057 (hildon_button_set_style, hildon_button_get_style):
4058 New "style" property to change the visual appearance of the
4061 * src/hildon-picker-button.c (hildon_picker_button_new):
4062 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4064 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4065 HildonButton look like PickerButton)
4067 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4069 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4070 column while building the default string.
4072 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4074 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4075 scroll indicator by default.
4077 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4079 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4081 * src/hildon-main.c: Fix the documentation for hildon_init()
4083 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4085 * doc/hildon-docs.sgml
4089 * src/hildon-window-stack-private.h
4090 * src/hildon-window-stack.h
4091 * src/hildon-window-stack.c:
4092 New HildonWindowStack object, that adds support for multiple
4093 stacks of windows per process.
4095 * src/hildon-stackable-window-private.h
4096 * src/hildon-stackable-window.h
4097 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4098 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4099 (hildon_stackable_window_show, hildon_stackable_window_hide)
4100 (hildon_stackable_window_class_init)
4101 (hildon_stackable_window_init):
4102 Use HildonWindowStack for stack management.
4104 * src/hildon-program.c (hildon_program_pop_window_stack)
4105 (hildon_program_peek_window_stack)
4106 (hildon_program_go_to_root_window):
4107 Add a fallback implementation to the deprecated functions using
4110 * examples/hildon-stackable-window-example.c:
4111 Use the new HildonWindowStack API.
4113 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4115 * src/hildon-stackable-window-private.h
4116 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4117 (hildon_stackable_window_hide, hildon_stackable_window_init):
4118 Remove all window stack management.
4120 * src/hildon-program-private.h
4121 * src/hildon-program.h
4122 * src/hildon-program.c (hildon_program_init)
4123 (hildon_program_pop_window_stack)
4124 (hildon_program_peek_window_stack)
4125 (hildon_program_go_to_root_window):
4126 Remove all window stack management and mark functions as
4129 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4131 * src/hildon-app-menu.c (hildon_app_menu_realize):
4132 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4134 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4136 * configure.ac: post release version bump
4137 * debian/changelog: version bump
4139 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4144 * configure.ac: bump version
4145 * debian/changelog: updates
4147 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4149 Based on initial code by Christian Dywan (christian@imendio.com)
4151 * doc/hildon-docs.sgml: Add section for hildon-main.
4152 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4153 * src/Makefile.am: Add new hildon-main.[ch]
4154 * src/hildon-defines.h: Update the icon sizes.
4155 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4156 new library initialization files and register icon sizes.
4157 * src/hildon-main.h: New declarations.
4158 * src/hildon.h: Include hildon-main.h
4160 Add new initialization functions to the library. These methods
4161 will register the hildon specific icon sizes and can be used in the
4162 future for other hildon specific bits.
4164 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4166 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4168 * src/hildon-window.c: (hildon_window_realize),
4169 (hildon_window_notify), (-hildon_window_update_title): Do not set
4170 the application name in the window title.
4172 Fixes: NB#89754 (Applications shouldn't display their names in the
4175 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4177 * src/hildon-note-private.h:
4178 * src/hildon-note.c: (hildon_note_set_property),
4179 (hildon_note_get_property), (hildon_note_class_init),
4180 (hildon_note_init), (hildon_note_finalize),
4181 (hildon_note_new_confirmation_with_icon_name),
4182 (hildon_note_new_information_with_icon_name):
4184 No need to mark as deprecated the actual code. Revert
4185 to avoid missing symbols in widgets using deprecated API.
4187 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4189 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4191 * src/hildon-volumebar.h
4192 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4193 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4195 * src/hildon-helper.h
4196 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4197 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4199 * examples/Makefile.am:
4200 Deprecate hildon-insensitive-example
4202 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4204 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4206 * examples/hildon-pannable-area-buttons-scroll-example.c:
4207 Make all buttons finger height
4209 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4211 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4213 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4214 update the day model only if it is really required, and to avoid the
4215 full-reconstruction aproach. Now it only add or remove the required days.
4217 The purpose of this is avoid superfluous HildonTouchSelector::changed
4220 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4221 with strange parameters)
4223 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4225 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4227 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4228 the WINDOW_TYPE property.
4230 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4232 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4235 Fix dependency to allow parallel compilation with make -jX
4237 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4239 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4240 color frame and some minor tweaks to make it more consistent with
4243 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4244 highlighted but not visible)
4246 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4248 * examples/Makefile.am: Fixed typo in the Makefile.am.
4250 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4252 Reviewed the use of MAEMO_GTK define, now we add the define in the
4253 compilation line, and we also add it to the pc file.
4255 * configure.ac: Added MAEMO_GTK define to the compilation command
4256 and removed it from the config.h.
4258 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4259 do not have to take care about this define if the library was
4263 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4265 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4267 * examples/Makefile.am,
4268 * examples/hildon-pannable-area-buttons-scroll-example.c,
4269 * examples/hildon-pannable-area-gesture-signals-example.c,
4270 * examples/hildon-pannable-area-scroll-jump-example.c,
4271 * examples/hildon-pannable-area-tree-view-example.c:
4272 Renamed the pannable area examples, now they have more meaningful
4275 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4277 * src/hildon-touch-selector.c:
4278 (hildon_touch_selector_set_column_selection_mode): Used of
4279 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4280 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4281 to avoid re-seting the same selection mode.
4283 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4284 breaks HildonPickerDialog)
4286 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4288 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4289 conditional in the Makefile.am
4291 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4293 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4294 Remove unused methods.
4296 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4298 * src/hildon-button.c (hildon_button_init):
4299 Make button images center-aligned by default
4301 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4304 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4305 activated, we have to think about how to deal with both defines
4306 MAEMO_GTK and MAEMO_CHANGES.
4308 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4310 * examples/hildon-app-menu-example.c (create_menu): Make all
4311 buttons finger size.
4313 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4315 Fixed the compilation without maemo gtk adding ifdefs with
4316 MAEMO_GTK define to the code, we have to check this version more
4319 * examples/Makefile.am: Added control to avoid some examples that
4320 just make sense with maemo gtk.
4323 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4324 hildon modes with the define.
4326 * examples/hildon-edit-toolbar-example.c,
4327 (create_icon_view): Create the icon view without hildon-gtk
4328 helpers if we are not using maemo gtk.
4330 * src/hildon-touch-selector.c,
4331 (_create_new_column): Create the treeview without hildon-gtk
4332 helpers if we are not using maemo gtk.
4334 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4336 * src/hildon-pnnable-area.c,
4337 (hildon_pannable_area_dispose),
4338 (hildon_pannable_area_button_press_cb),
4339 (hildon_pannable_area_child_mapped),
4340 (hildon_pannable_area_add),
4341 (hildon_pannable_area_remove): Added code to control the position
4342 of the event_window when adding and removing children from the
4343 pannable. We have to raise the event window when the child is
4346 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4347 selection mode using custom widget inside pannable)
4349 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4351 * configure.ac: post release version bump
4352 * debian/changelog: version bump
4354 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4359 * configure.ac: bump version
4360 * debian/changelog: updates
4362 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4364 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4365 search mode, in order to avoid lose the focus on the treeview when
4366 a hw key (like enter) is pressed.
4368 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4369 in HildonDateSelector dialog)
4371 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4373 * debian/rules: Added --enable-maintainer-mode
4374 * Makefile.am: Added ACLOCAL_AMFLAGS
4376 This allows to properly regenerate the Makefiles if you modify the
4377 configure.ac or any Makefile.am.
4379 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4381 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4382 properties, not needed at all.
4384 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4386 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4388 * src/hildon-note.c: (hildon_note_set_property),
4389 (hildon_note_get_property), (hildon_note_class_init),
4390 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4391 (hildon_note_new_confirmation_add_buttons): Remove icons.
4392 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4393 (hildon_note_new_information_with_icon_name): Deprecate.
4394 (hildon_note_new_confirmation): Act directly, without calling
4395 the deprecated constructor.
4396 (hildon_note_new_information): Act directly, without calling
4397 the deprecated constructor.
4398 * src/hildon-note.h: Mark deprecate methods as such.
4399 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4400 not run tests on the deprecated methods if built with deprecation
4403 Fixes: NB#91688 (Never show icons in information notes/confirmation
4406 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4408 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4409 (hildon_app_menu_key_press): Remove leftover usage of the
4410 private structure in HildonAppMenu struct.
4411 * src/hildon-app-menu.h: Remove leftover private structure
4412 from the HildonAppMenu struct.
4414 Fixes a crasher when using the HildonAppMenu.
4416 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4418 * src/hildon-picker-dialog.c: Use appropriate logical id
4419 for the default "Done" text.
4421 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4423 * configure.ac: post release version bump
4424 * debian/changelog: version bump
4426 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4428 Modified the way to scroll to the current selection just when the touch
4429 selector is shown on the screen, avoiding a g_idle. Added too a property
4430 to configure this behaviour. See hildon_pannable_area_jump_to_child
4431 documentation for more information.
4433 * src/hildon-touch-selector.c
4434 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4435 Added 'initial-scroll' property
4436 (hildon_touch_selector_set_property): Added
4437 (hildon_touch_selector_map): Removed as not required anymore
4438 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4439 only a concrete column, instead of iterate along all the columns
4441 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4446 * configure.ac: bump version
4447 * debian/changelog: updates
4449 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4451 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4452 compilation time warnings.
4454 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4456 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4457 the default value for HildonPannableArea::mov-mode to
4458 HILDON_PANNABLE_AREA_MODE_VERT.
4460 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4462 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4464 Reverting following commit:
4466 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4468 * src/hildon-app-menu-private.h
4469 * src/hildon-app-menu.[ch]
4470 * src/hildon-button.[ch]
4471 * src/hildon-check-button.[ch]
4472 * src/hildon-entry.[ch]
4473 * src/hildon-pannable-area.[ch]
4474 * src/hildon-text-view.[ch]:
4475 Added private field to the object's structure.
4477 because it causes an ABI breakage. We will need to introduce these
4478 changes later at some point. See NB#91636 for an extensive
4479 explanation and status.
4481 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4483 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4485 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4486 remove special cases that are no longer necessary.
4488 Fixes: NB#91016 (Change toolbar sizes, simplification)
4490 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4492 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4493 is shown in the cancel note.
4495 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4497 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4498 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4499 (hildon_seekbar_init): Remove steppers, remove expose event.
4500 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4502 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4504 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4506 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4507 label font to "SmallSystemFont" for vertically arranged buttons.
4509 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4512 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4514 * src/hildon-check-button.c
4515 (hildon_check_button_set_active, hildon_check_button_clicked):
4516 Don't access private parts directly, use getters instead.
4518 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4520 * src/hildon-check-button.c (hildon_check_button_new):
4521 Align the contents of the check button to the left.
4523 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4525 * src/hildon-pannable-area.c,
4526 (hildon_pannable_area_scroll_to),
4527 (hildon_pannable_area_jump_to),
4528 (hildon_pannable_area_scroll_to_child),
4529 (hildon_pannable_area_jump_to_child): Replace the mapped
4530 precondition of these functions with the realized, it is the
4531 correct state of the widget in this case. Changed the
4532 documentation according to this modification.
4534 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4536 Added a new EXTRA_CFLAGS option to add the deprecated define to
4537 the compilation command. This way we can avoid using the define in
4538 the documentation compilation.
4540 * configure.ac: Defined EXTRA_CFLAGS.
4542 * examples/Makefile.am:
4544 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4546 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4548 * src/hildon-picker-dialog.c:
4549 Defined a utility macro with the desired touch selector height
4550 Removed currently unused separator, and title_label variables from
4552 (hildon_picker_dialog_init): Removed code related to the creation
4553 of unused private variables title_label and separator.
4554 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4555 to ensure correct visualization of the touch selector inside the dialog.
4556 * src/hildon-touch-selector.c
4557 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4558 ensure a concrete height of the widget.
4560 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4563 * tests/Makefile.am:
4565 Remove spurious whitespaces.
4567 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4569 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4570 compilation warning after the cancel button removal.
4572 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4574 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4576 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4577 Makefile.am, that way we can choose not to compile some examples
4578 and tests of the deprecated widgets.
4580 * examples/Makefile.am: Divided the sources in deprecated and
4583 * src/Makefile.am: Added undef statement of the deprecated
4584 symbol to the enums file generation process.
4586 * src/hildon-color-chooser-dialog.c
4587 * src/hildon-color-chooser-dialog.h
4588 * src/hildon-color-button.c
4589 * src/hildon-color-button.h
4590 * src/hildon-color-chooser.c
4591 * src/hildon-color-chooser.h
4592 * src/hildon-controlbar.c
4593 * src/hildon-controlbar.h
4594 * src/hildon-date-editor.c
4595 * src/hildon-date-editor.h
4596 * src/hildon-hvolumebar.c
4597 * src/hildon-hvolumebar.h
4598 * src/hildon-private.c
4599 * src/hildon-private.h
4600 * src/hildon-range-editor.c
4601 * src/hildon-range-editor.h
4602 * src/hildon-seekbar.c
4603 * src/hildon-seekbar.h
4604 * src/hildon-time-editor.c
4605 * src/hildon-time-editor.h
4606 * src/hildon-time-picker.c
4607 * src/hildon-time-picker.h
4608 * src/hildon-volumebar.c
4609 * src/hildon-volumebar.h
4610 * src/hildon-vvolumebar.c
4611 * src/hildon-vvolumebar.h
4612 * src/hildon-bread-crumb-trail.h
4613 * src/hildon-bread-crumb-trail.c
4614 * src/hildon-calendar-popup.c
4615 * src/hildon-calendar-popup.h
4616 * src/hildon-weekday-picker.c:
4617 * src/hildon-weekday-picker.h:
4618 * src/hildon-bread-crumb-widget.c:
4619 * src/hildon-bread-crumb-widget.h:
4620 * src/hildon-bread-crumb.c:
4621 * src/hildon-bread-crumb.h:
4622 * src/hildon-calendar.c:
4623 * src/hildon-calendar.h:
4624 * src/hildon-caption.c:
4625 * src/hildon-code-dialog.c:
4626 * src/hildon-code-dialog.h:
4627 * src/hildon-font-selection-dialog.c:
4628 * src/hildon-font-selection-dialog.h:
4629 * src/hildon-get-password-dialog.c:
4630 * src/hildon-get-password-dialog.h:
4631 * src/hildon-login-dialog.c:
4632 * src/hildon-login-dialog.h:
4633 * src/hildon-number-editor.c:
4634 * src/hildon-number-editor.h:
4635 * src/hildon-set-password-dialog.c:
4636 * src/hildon-set-password-dialog.h:
4637 * src/hildon-sort-dialog.c:
4638 * src/hildon-sort-dialog.h: This is the list of deprecated
4641 * src/hildon-touch-selector.c:
4642 * src/hildon-window.c: Added undef statement to avoid compilation
4645 * tests/Makefile.am: Divided the sources in deprecated and
4648 * tests/check_test.c,
4649 (configure_tests): Marked the deprecated code that was adding
4650 suites with deprecated tests.
4652 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4654 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4656 * src/hildon-touch-selector.c: (_default_print_func): Do not
4657 duplicate a string returned by gtk_tree_model_get(), it is already
4660 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4663 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4665 * src/hildon-pannable-area.c
4666 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4667 method, it had problems when adding a widget with viewport the
4668 second time. Now checks if it already has a viewport and uses it.
4670 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4673 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4675 * src/hildon-pannable-area.c,
4676 (hildon_pannable_area_scroll_to),
4677 (hildon_pannable_area_jump_to),
4678 (hildon_pannable_area_scroll_to_child),
4679 (hildon_pannable_area_jump_to_child): Added a precondition to the
4680 scroll and jump to functions: the widget must be mapped before we
4681 can safely call these functions. We have also added documentation
4682 to the functions to explain how to use them in this situation.
4685 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4687 Reviewed the threading handling of the pannable widget, we have
4688 used the gdk_threads_add_timeout function instead of the usual
4689 glib handlers. This avoids some problems with the threads.
4691 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4692 (hildon_pannable_area_initial_effect),
4693 (hildon_pannable_area_scroll_indicator_fade),
4694 (hildon_pannable_area_button_press_cb),
4695 (hildon_pannable_area_timeout),
4696 (hildon_pannable_area_motion_notify_cb),
4697 (hildon_pannable_area_button_release_cb),
4698 (hildon_pannable_area_scroll_cb),
4699 (hildon_pannable_area_scroll_to): Removed the
4700 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4701 gdk_threads_add_timeout.
4703 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4705 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4710 * configure.ac: bump version
4711 * debian/changelog: updates
4713 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4715 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4716 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4717 * src/hildon-color-chooser-dialog.c:
4718 (hildon_color_chooser_dialog_init):
4719 * src/hildon-font-selection-dialog.c:
4720 (hildon_font_selection_dialog_init):
4721 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4723 Remove all cancel/close-like dialogs, as these are not going to be
4726 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4728 * src/hildon-note.c: (hildon_note_rebuild),
4729 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4732 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4734 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4736 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4737 sure all buttons are shown, even the Cancel/Close-like ones.
4739 Fixes: NB#90861 (Custom Confirmation dialogs should be
4740 protected from cancel button removal)
4742 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4744 * debian/control: Change libhildon1-examples dependency from libhildon1
4746 * debian/libhildon1-examples.install
4748 * Makefile.am: Modified the final install directory for the examples on
4749 package libhildon1-examples
4750 * Makefile.static: Update clean target in order to remove all the binary
4753 Changes suggested by Claudio after review new libhildon1-examples package
4755 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4757 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4758 * src/hildon-touch-selector.c: Ditto.
4760 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4762 * debian/control: Added new package libhildon1-examples, in order to pack
4763 the current hildon examples as documentation
4764 * debian/rules: Not to compress .c files, modify some includes on the
4765 examples (as normally are compiled locally, but when installed it will
4766 require to include the installed libhildon1 library), and rename
4768 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4769 install all the example files on the new example package
4770 * examples/Makefile.static: Added static makefile that can be used to
4771 compile the examples, once installed the new example package
4772 * examples: Most of the examples were modified in order to grant that
4773 all use only '#include "hildon.h"', in order to be easy to prepare
4774 it on the example package
4776 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4779 * debian/libhildon1-dev.install
4780 * debian/libhildon1-doc.install:
4781 Move all gtk-doc files to a separate libhildon1-doc package.
4783 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4785 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4787 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4789 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4791 * debian/rules: Fixed a error in order to avoid unnecessary calls
4792 to autogen.sh on package building
4794 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4796 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4798 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4800 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4803 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4805 * src/hildon-picker-button.c
4806 (hildon_picker_button_finalize):
4807 Free priv->done_button_text
4809 * src/hildon-time-button.c
4810 (hildon_time_button_set_time)
4811 * src/hildon-picker-button.c
4812 (hildon_picker_button_clicked)
4813 (hildon_picker_button_selector_selection_changed)
4814 (hildon_picker_button_set_selector)
4815 * src/hildon-date-button.c
4816 (hildon_date_button_set_date):
4817 Free strings returned by hildon_touch_selector_get_current_text()
4819 * src/hildon-button.c (hildon_button_construct_child):
4820 Fix leaks in priv->image and priv->label_box
4822 Fixes: NB#90535 (Memory leak in picker button)
4824 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4826 * src/hildon-button.c: (hildon_button_get_property): Do not access
4827 private elements directly, use getters instead.
4829 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4831 * src/hildon-app-menu-private.h
4832 * src/hildon-app-menu.c
4833 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4834 Store the menu's parent window.
4836 * src/hildon-stackable-window.c
4837 (hildon_stackable_window_toggle_menu)
4838 (hildon_stackable_window_finalize):
4839 Set the menu's parent window when the menu is shown, unset it when
4842 * src/hildon-app-menu.c
4843 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4844 (hildon_app_menu_class_init):
4845 Send unhandled keyboard accelerators to the parent window.
4847 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4849 * src/hildon-stackable-window.c
4850 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4852 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4854 * configure.ac: post release version bump
4856 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4859 * configure.ac: Bump version
4860 * debian/changelog: Updates
4861 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4864 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4866 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4869 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4870 GtkMenu with Hildon style.
4872 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4874 * src/hildon-picker-button.c:
4875 (hildon_picker_button_set_done_button_text): Set the dialog's
4876 done button text here as well.
4878 Fixes: NB#90232 (Picker button does not set the label on done button
4879 for the second time)
4881 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4883 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4886 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4888 * src/hildon-app-menu.c (hildon_app_menu_insert)
4889 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4890 the HildonAppMenu to be activatable using keyboard accelerators
4891 when the menu is not being shown.
4893 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4895 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4897 * src/hildon-stackable-window.c
4898 (hildon_stackable_window_show):
4899 Don't hide old windows automatically when new windows are shown:
4900 this is now a task for the window manager.
4901 (hildon_stackable_window_class_init)
4902 (hildon_stackable_window_hide):
4903 Remove windows from the stack everytime they're hidden.
4904 (hildon_stackable_window_realize):
4905 Don't change the _NET_WM_WINDOW_TYPE property. Use
4906 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4907 it as a stackable window.
4909 * src/hildon-program.c
4910 (hildon_program_pop_window_stack):
4911 Just hide the window to remove it from the stack.
4912 (hildon_program_go_to_root_window):
4913 Don't call gtk_widget_show(), this is now a task for the window
4916 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4918 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4920 * src/hildon-button.c
4921 (hildon_button_construct_child):
4922 Don't pack anything in the button until text or image are
4923 set. This allows adding a custom child after creating the button
4924 with hildon_button_new().
4925 (hildon_button_finalize, hildon_button_class_init)
4926 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4927 alignment and the label box even when they're not packed in the
4930 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4932 * src/hildon-touch-selector.h:
4933 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4934 currently the type definition was using GTK_TYPE_VBOX
4935 * src/hildon-touch-selector.c:
4936 Added some implementation notes in order to clarify that any other widget
4937 added without the column related API will not be included on the
4938 selection logic, and how the widget is freed, as some people ask about
4940 (hildon_touch_selector_remove): Reimplemented in order to free properly
4941 the column related data when you remove the private hbox.
4942 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4943 to get a proper HildonTouchSelectorColumn documentation
4945 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4947 * src/hildon-touch-selector-entry.c:
4948 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4949 text in the GtkEntry and there is no item selected. Fixes a
4952 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4954 * src/hildon-app-menu-private.h
4955 * src/hildon-app-menu.[ch]
4956 * src/hildon-button.[ch]
4957 * src/hildon-check-button.[ch]
4958 * src/hildon-entry.[ch]
4959 * src/hildon-pannable-area.[ch]
4960 * src/hildon-text-view.[ch]:
4961 Added private field to the object's structure.
4963 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4965 * configure.ac: post-release version bump
4967 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4971 * configure.ac: pre-release version bump
4973 * debian/changelog: updates.
4975 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4977 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4978 Disconnect the handler for HildonTouchSelector::changed.
4980 (hildon_picker_button_selector_selection_changed): Update the button
4981 value if the selection change was not triggered by the
4984 (hildon_picker_button_set_selector): connect to
4985 HildonTouchSelector::changed.
4987 Fixes: NB#89650 (Picker button is not updated, when selection in
4988 selector has changed)
4990 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4992 * src/hildon-picker-dialog.c
4993 (hildon_picker_dialog_realize): Removed as not required
4994 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4995 * src/hildon-picker-button.c
4996 (_current_selector_empty): New function, checks if the selector is empty
4997 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4998 if the current selector is empty, in order to avoid to show the dialog
4999 close the dialog in this case (and shows a g_warning).
5001 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5003 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5005 * src/hildon-pannable-area.c,
5006 (hildon_pannable_area_scroll): Added clause to stop movement when
5007 the child of pannable is smaller than one page.
5008 (hildon_pannable_area_scroll_to): Added conditions to avoid
5009 starting the scrolling movement if the child is smaller than one
5010 page, the complete child is in the screen, we do not have to move.
5012 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5014 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5016 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5017 this is managed automatically by the widget when the size of the
5020 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5022 * src/hildon-picker-button.c
5023 (hildon_picker_button_set_done_button_text): Make a copy of the
5024 text, and free the previous value.
5026 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5028 * src/hildon-touch-selector-entry.c:
5029 (hildon_touch_selector_entry_print_func): Return the selected row's
5030 text if the entry is empty.
5032 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5035 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5037 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5039 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5042 * src/hildon-check-button.h
5043 * src/hildon-check-button.c
5044 * examples/hildon-check-button-example.c:
5045 HildonCheckButton is now a new widget. 'toggled' signal added.
5047 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5049 * src/hildon-program-private.h
5050 * src/hildon-program.c (hildon_program_init)
5051 (hildon_program_finalize): Removed unused variables group_leader
5052 and name from HildonProgramPrivate.
5054 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5056 * src/hildon-check-button.c (hildon_check_button_set_active)
5057 (hildon_check_button_get_active, hildon_check_button_new): Use
5058 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5060 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5062 * src/hildon-touch-selector.h
5063 (hildon_touch_selector_set_column_attributes): added deprecation
5064 guard HILDON_DISABLE_DEPRECATED
5065 * src/hildon-time-selector.c
5066 (hildon_time_selector_set_time)
5067 (hildon_time_selector_get_time): Fixed a typo on documentation
5068 * src/hildon-touch-selector.c: update HildonTouchSelector and
5069 HildonTouchSelectorColumn documentation
5070 * src/hildon-touch-selector-entry.c: update "text-column" property
5072 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5073 to be added to the general documentation.
5075 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5077 * examples/hildon-pannable-area-example-4.c,
5079 * examples/hildon-pannable-area-example.c,
5080 (main): Modified the code in order to use the container add, with
5081 viewport treeviews could have problems if they are really big.
5083 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5085 * src/hildon-weekday-picker.c,
5086 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5087 the agreement regarding deprecation in the library.
5089 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5091 * examples/hildon-picker-button-multicolumn-example.c:
5092 (main): Use custom "done" button text.
5094 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5095 (hildon_picker_button_set_property),
5096 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5097 (hildon_picker_button_init),
5098 (+hildon_picker_button_get_done_button_text),
5099 (+hildon_picker_button_set_done_button_text): New methods to customize
5100 the "done" button label in the launched HildonPickerDialog. Also,
5103 * src/hildon-picker-button.h: add the public API.
5105 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5107 * src/hildon-date-selector.h:
5108 * src/hildon-picker-dialog.h:
5109 * src/hildon-time-selector.h:
5110 * src/hildon-touch-selector-column.h:
5111 * src/hildon-touch-selector.h:
5113 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5114 declarations. Fixes gtk-doc warnings.
5116 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5118 * src/hildon-picker-dialog.h
5119 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5120 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5122 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5123 long text is set as label for done button)
5125 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5127 * src/hildon-dialog.c (hildon_dialog_add_button):
5128 Set fixed width to all buttons in the HildonDialog.
5130 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5132 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5134 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5135 Set widget name using class name plus "-finger" or "-thumb".
5137 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5139 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5140 'clicked' when the state of the button is manually changed.
5142 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5144 * src/hildon-app-menu.c (hildon_app_menu_realize)
5145 (hildon_app_menu_unrealize, hildon_app_menu_init)
5146 (hildon_app_menu_class_init, item_visibility_changed):
5147 Change the menu layout when the size of the screen changes.
5148 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5149 Show warning only when changing the number of colums using the
5152 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5154 * debian/compat: Set to 5
5155 * debian/control: Update dependencies.
5156 * debian/libhildon1-dbg.install: Remove.
5157 * debian/libhildon1-dev.install: Update according to cdbs paths.
5158 * debian/libhildon1.install: Update according to cdbs paths.
5159 * debian/rules: Switch to cdbs.
5161 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5163 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5164 'item' variable renamed to 'filter'
5166 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5168 * src/hildon-app-menu.c (hildon_app_menu_insert)
5169 (hildon_app_menu_add_filter, remove_item_from_list)
5170 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5171 Don't leak hidden items when the menu is destroyed.
5173 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5175 * src/hildon-app-menu.c (hildon_app_menu_insert)
5176 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5177 (hildon_app_menu_set_columns, item_visibility_changed)
5178 (filter_visibility_changed, hildon_app_menu_repack_filters)
5179 (hildon_app_menu_repack_items):
5180 Repack items and filters separately.
5182 Don't repack all items, change only the ones that are needed to
5185 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5187 * src/Makefile.am: added hildon-touch-selector-column.h
5189 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5191 * src/hildon-touch-selector.c: added the property "text-column" to the
5192 class HildonTouchSelectorColumn, and related get/set functions
5193 (_default_printf_func): updated to use "text-column" property
5194 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5195 "text-column" in his documentation, as this is now included on
5196 HildonTouchSelectorColumn. The get/set_property can still be used,
5197 working as a wrapper to the concrete column "text-column" property
5198 (_text_column_modified): callback added in order to handle the signal
5199 "notify::text-column" of the concrete HildonTouchSelectorColumn
5200 (hildon_touch_selector_entry_get_text_column)
5201 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5202 modified in order to use the HildonTouchSelectorColumn "text-column"
5204 * src/hildon-time-selector.c:
5205 * src/hildon-date-selector.c:
5206 * examples/hildon-touch-selector-example.c
5207 * examples/hildon-touch-selector-multi-cells-example.c
5208 * examples/hildon-picker-button-multicolumn-example.c
5209 Set the right value to "text-column" property on the creation of a new
5210 column using hildon_touch_selector_append_column()
5212 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5214 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5216 * src/hildon-app-menu.c
5217 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5218 updating the layout of the menu, don't create all widgets again,
5219 just repack the items in their new places.
5221 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5223 * src/hildon-time-selector.c
5224 (hildon_time_selector_get_time)
5225 (hildon_time_selector_set_time)
5226 Added documentation of these public methods
5228 * src/hildon-date-button.h
5229 * src/hildon-touch-selector-column.h
5230 * src/hildon-time-button.h
5231 * src/hildon-picker-dialog.h
5232 * src/hildon-time-selector.h
5233 * src/hildon-picker-button.h
5234 * src/hildon-touch-selector.h
5235 * src/hildon-time-picker.h
5236 * src/hildon-date-selector.h
5237 * src/hildon-touch-selector-entry.h
5238 Modified in order to use hildon-widgets code style
5240 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5242 Added deprecated support to the compilation process using
5243 HILDON_DISABLE_DEPRECATED
5245 * configure.ac: Added the --disable-deprecated to the configure
5248 * src/hildon-weekday-picker.c:
5249 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5250 to use the deprecated support. We will update the other deprecated
5251 widgets status in a new patch.
5253 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5255 * configure.ac: Fixed typo with fatal warnings support, the
5256 variable name was not correct
5258 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5260 * src/hildon-app-menu.c
5261 * src/hildon-program.c: Update documentation.
5263 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5265 * configure.ac: Post-release version bump.
5267 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5272 * configure.ac: Pre-release version bump.
5273 * debian/changelog: Updates.
5275 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5277 * NEWS: Update news for previous releases.
5279 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5281 * examples/hildon-touch-selector-multi-cells-example.c:
5282 (create_selector): Update the example to use
5283 hildon_touch_selector_append_column() with a NULL renderer and set
5284 the renderers later.
5285 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5286 passed a NULL renderer. This is documented behavior now.
5288 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5289 This must be used if the developer wants full control on the layout of
5290 the renderers to be added to the column.
5292 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5294 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5296 * src/hildon-touch-selector.c: Documentation fixes.
5298 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5300 * src/hildon-wizard-dialog-private.h: Remove image and box.
5301 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5302 (hildon_wizard_dialog_set_property), (response): Completely remove
5303 image/icon support, and the containers required for the layout.
5305 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5307 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5309 * src/hildon-app-menu.c: Updated documentation.
5311 * src/hildon-stackable-window.c
5312 (hildon_stackable_window_set_main_menu): Unref the old menu after
5313 ref'ing the new one.
5315 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5317 * src/hildon-stackable-window.c
5318 (hildon_stackable_window_set_main_menu): Unref the previous menu
5319 instead of destroying it.
5321 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5322 floating reference and set has_user_ref_count to FALSE to make
5323 HildonAppMenu act like a normal ref-counted widget and not a
5326 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5329 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5331 * src/hildon-touch-selector-column.h: new file
5332 * src/hildon-touch-selector.h
5333 * src/hildon-touch-selector.c
5334 Implemented GtkCellLayout interface, in order to allow to configure
5335 the cell layout on each individual selector column
5336 (hildon_touch_selector_set_column_attributes): marked as deprecated
5337 * examples/hildon-touch-selector-multi-cells-example.c
5338 Example of how to use the GtkCellLayout interface on the selector
5340 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5342 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5344 * src/hildon-app-menu.h
5345 * src/hildon-app-menu.c
5346 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5347 (hildon_app_menu_append, hildon_app_menu_prepend):
5348 New methods to prepend, insert and move items in the menu.
5350 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5352 * src/hildon-wizard-dialog.c:
5354 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5356 (create_title): Update logical IDs and related code.
5357 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5359 * src/hildon-wizard-dialog.h: Note that
5360 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5361 point, as it is not used anymore.
5363 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5365 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5367 * src/hildon-note.c:
5368 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5369 shown. Do not display an icon in confirmation notes nor information
5371 (hildon_note_set_button_text): Update logical ID for cancel button.
5373 Fixes: NB#88850 (Update HildonNote button strings + signals)
5375 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5377 * src/hildon-stackable-window.c
5378 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5380 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5382 * src/hildon-app-menu-private.h
5383 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5384 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5385 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5386 temporary property 'columns' to change the number of columns.
5388 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5390 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5392 * examples/hildon-note-example.c: (on_information_clicked),
5393 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5394 debugging information.
5395 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5397 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5398 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5399 in order to close: this will be handled by the WM from now on.
5401 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5403 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5405 * src/hildon-app-menu-private.h
5406 * src/hildon-app-menu.c
5407 (hildon_app_menu_append, hildon_app_menu_add_filter)
5408 (button_visibility_changed, hildon_app_menu_apply_style)
5409 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5410 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5411 layout everytime a button (item or filter) is shown or hidden.
5413 * src/hildon-stackable-window.c
5414 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5417 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5419 * src/hildon-touch-selector.c:
5420 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5421 that the treeview inside the touch selector is in fremantle hildon mode
5422 * examples/hildon-date-button-example.c
5423 * examples/hildon-picker-button-multicolumn-example.c
5424 * examples/hildon-touch-selector-entry-example.c
5425 * examples/hildon-touch-selector-example.c
5426 * examples/hildon-time-button-example.c
5427 * examples/hildon-picker-button-example.c:
5428 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5430 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5432 * examples/hildon-text-view-example.c: (main): Remove the
5433 gtkrc bits, now handled by the theme.
5435 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5437 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5440 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5442 * po/Makefile.am: Install properly the mo files.
5443 * po/en_GB.po: Update translation, to ease testing purposes.
5445 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5447 * examples/hildon-picker-button-example.c: (main): Select an item
5448 in the selector before setting it to the button.
5450 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5452 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5453 Update button's value if the selector has an item active.
5455 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5456 'value' with the selector)
5458 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5460 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5461 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5462 (hildon_picker_button_class_init): Plug the finalize method.
5463 (hildon_picker_button_set_selector): If there's a previously set
5464 selector, unref'it before setting a new one.
5466 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5467 HildonTouchSelector)
5469 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5471 * src/hildon-touch-selector-entry.c:
5472 (hildon_touch_selector_entry_changed): Check if there is no text
5473 selected before setting the entry text.
5476 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5478 * src/hildon-touch-selector.h
5479 * src/hildon-touch-selector.c
5480 (hildon_touch_selector_get_active)
5481 (hildon_touch_selector_set_active): New methods to set/get the
5482 index of the selected item.
5484 * src/hildon-picker-button.h
5485 * src/hildon-picker-button.c
5486 (hildon_picker_button_get_active)
5487 (hildon_picker_button_set_active): New methods to set/get the
5488 index of the selected item.
5490 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5492 * configure.ac: post-release version bump.
5494 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5498 * configure.ac: Pre-release version bump.
5499 * debian/changelog: Updates.
5500 * debian/control: Add myself as maintainer and depend on l10n
5503 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5505 * src/hildon-window.c
5506 (hildon_window_set_main_menu)
5507 * src/hildon-stackable-window.c
5508 (hildon_stackable_window_set_main_menu):
5509 Updated documentation.
5511 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5513 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5514 Don't free selector->priv manually.
5517 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5520 (hildon_gtk_window_set_progress_indicator):
5521 * src/hildon-gtk.h: Added the new API
5522 hildon_gtk_window_set_progress_indicator, it changes the state of
5523 the window progress hint.
5525 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5527 * src/hildon-button.c
5528 * src/hildon-stackable-window.c: Minor documentation updates.
5530 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5532 * src/hildon-stackable-window.c: Updated documentation.
5534 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5536 * src/hildon-defines.h: Update margins definitions
5537 to the Fremantle sizes.
5540 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5542 * src/hildon-touch-selector.c,
5543 (_hildon_touch_selector_set_model): Cleaning the code after
5544 review, removed g_print and #if 0 from the code.
5546 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5548 * src/hildon-edit-toolbar.c: Update documentation.
5550 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5552 * src/hildon-check-button.h
5553 * src/hildon-check-button.c
5554 (hildon_check_button_set_label, hildon_check_button_get_label)
5555 * examples/hildon-check-button-example.c
5556 (button_clicked_cb):
5557 Removed deprecated methods.
5559 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5561 * src/hildon-text-view.c:
5562 Add sample code to the documentation.
5564 * src/hildon-entry.h
5565 * src/hildon-text-view.h:
5566 Minor cosmetic changes.
5568 * src/hildon-entry.c:
5569 Add sample code to the documentation.
5570 (hildon_entry_init, hildon_entry_refresh_contents):
5571 Don't allow NULL values in the placeholder.
5573 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5575 * doc/hildon-docs.sgml
5577 * examples/Makefile.am
5578 * examples/hildon-text-view-example.c
5580 * src/hildon-text-view.c
5581 * src/hildon-text-view.h
5583 New HildonTextView widget, with example.
5585 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5587 * po/POTFILES.in: Add missing files with translatable strings.
5588 Partially fixes NB#88287.
5590 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5592 * examples/hildon-pannable-area-example-2.c: (main): No need to
5593 set the cellrenderer height inside hildon touch lists, the theme does
5596 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5598 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5599 they are integrated in the theme.
5601 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5603 * examples/hildon-entry-example.c: Update the example adding
5604 widgets to modify the text and the placeholder of the HildonEntry.
5606 * src/hildon-entry.c: Show the placeholder everytime the widget
5607 is empty and loses the focus.
5609 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5611 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5613 * src/hildon-pannable-area.c,
5614 (hildon_pannable_area_size_request): Fixed bug in height
5615 requisition, avoid increasing size and add border twice.
5617 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5619 * configure.ac: postrelease version bump.
5621 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5625 * configure.ac: Prerelease version bump.
5626 * debian/changelog: update.
5627 * debian/rules: make -dbg package contain useful debugging symbols.
5629 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5631 * src/hildon-dialog.h
5632 * src/hildon-dialog.c
5633 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5634 New methods to add buttons with finger size.
5635 (hildon_dialog_new_with_buttons):
5636 Create buttons with finger size.
5638 * examples/hildon-dialog-example.c (main): Use HildonDialog
5639 methods to add buttons.
5641 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5643 * src/hildon-entry.c: Updated HildonButton documentation.
5645 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5647 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5648 button value label with (FALSE, FALSE) to prevent NB#88126 from
5651 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5653 * examples/hildon-pannable-area-example.c,
5654 (main): Removed examples panning a vbox inside a pannable
5655 area. Check bug NB#87965
5657 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5659 Patch contributed by Kris Rietveld (kris@imendio.com)
5661 * src/hildon-pannable-area.c,
5662 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5663 get_size and get_position, this saves an X server roundtrip.
5665 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5667 * doc/hildon-docs.sgml
5669 * examples/Makefile.am
5670 * examples/hildon-entry-example.c
5672 * src/hildon-entry.c
5673 * src/hildon-entry.h
5675 New HildonEntry widget, with example.
5677 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5679 * src/hildon-button.c (hildon_button_construct_child): Pack the
5680 image with expand == fill == FALSE. This is a workaround for a bug
5683 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5685 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5686 labels for the text column, to make it more look more dynamic.
5688 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5690 * src/hildon-time-selector.c
5691 Define gettext auxiliar macro N_
5692 (_create_minutes_model)
5693 (_create_hours_model)
5694 (_create_ampm_model): use of strftime in order to fill the model
5695 * src/hildon-date-selector.c
5696 (hildon_date_selector_finalize):
5697 (_locales_init): remove the logic related to get the name of the months
5698 using nl_langinfo, as it is not required anymore
5700 (_create_year_model)
5701 (_create_month_model)
5702 (_update_day_model): use of strftime in order to fill the model properly
5705 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5707 * src/hildon-button.h
5708 * src/hildon-button.c (hildon_button_get_image): New method to
5711 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5713 * src/hildon-touch-selector.c:
5714 (hildon_touch_selector_remove_column): Remove from the correct parent
5715 and also remove the list element and free it.
5718 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5720 * src/hildon-time-selector.c
5721 (_create_hours_model): change the range on 12h ampm format in order to use
5722 a 12-11 range instead of previous 01-12 range
5723 (hildon_time_selector_set_time): change the way to select the current time
5724 on 12h ampm format, due the change on the range
5725 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5728 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5730 * src/hildon-touch-selector.c
5731 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5732 in order to allow use this function on multiple row selection mode if
5733 the column is different that the first one
5736 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5738 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5739 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5741 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5743 * src/hildon-date-selector.h: clean some comments, now on the .c
5744 * src/hildon-date-selector.c
5745 (hildon_date_selector_select_month): first implementation
5746 (hildon_date_selector_select_day): added documentation, reimplemented
5747 using hildon_date_selector_select_current_date to avoid repeat code
5750 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5752 Reviewed interaction logic based on device experiences, refactored
5755 * src/hildon-pannable-area.c,
5756 (hildon_pannable_area_class_init): Updated default vmax speed.
5757 (hildon_pannable_area_calculate_velocity): Added this function, it
5758 avoids duplicate valocity calculation. Adjusted calculation to
5759 avoid problems with zero dist events.
5761 (hildon_pannable_area_motion_notify_cb): Now we use the
5762 calculate_velocity function.
5764 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5766 * src/hildon-date-selector.c
5767 (hildon_date_selector_select_current_date): fix the day range check
5768 as it failed using the last day of the current month
5771 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5773 * src/hildon-touch-selector.c
5774 (hildon_touch_selector_get_num_columns): added a parameter validation
5777 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5779 * examples/Makefile.am
5780 * examples/hildon-edit-toolbar-example.c: Example of the
5781 HildonEditToolbar widget.
5783 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5785 * configure.ac: postrelease version bump.
5787 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5791 * configure.ac: prerelease version bump.
5792 * debian/changelog: update.
5794 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5796 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5797 renderer to display stock icons in the touch list. Also, set the sizes
5798 to the recommended in the style guide.
5800 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5801 * src/hildon-touch-selector.h
5802 (hildon_touch_selector_set_active_iter): renamed, now is
5803 hildon_touch_selector_select_iter
5804 (hildon_touch_selector_get_active_iter): renamed, now is
5805 hildon_touch_selector_get_selected
5806 (hildon_touch_selector_unselect_iter): added
5807 * src/hildon-touch-selector.c
5808 Update after API modification (methods renamed)
5809 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5810 order to avoid problems selecting multiple elements on the column
5811 (hildon_touch_selector_unselect_iter): added the implementation
5812 * src/hildon-time-selector.c
5813 * src/hildon-date-selector.c
5814 * src/hildon-touch-selector-entry.c
5815 Update methods calls after hildon-touch-selector.h API modification (methods
5818 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5820 * src/hildon-stackable-window.c
5821 (hildon_stackable_window_finalize): Call the parent class's finalize.
5823 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5825 * examples/hildon-touch-selector-example.c: (create_selector): Use
5826 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5829 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5831 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5832 set a cell background color, to respect theming.
5834 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5836 * doc/hildon-docs.sgml
5839 * src/hildon-edit-toolbar.c
5840 * src/hildon-edit-toolbar.h
5841 * src/hildon.h: New HildonEditToolbar widget.
5843 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5845 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5848 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5849 * src/hildon-touch-selector.c
5850 (_create_new_column): use g_object_set instead of two g_object_set_property
5852 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5853 * src/hildon-touch-selector.c
5854 (_create_new_column): use of hildon_gtk_tree_view_new to create
5855 the treeview, instead of use directly g_object_new
5856 (_create_new_column): update the property name "vindicator-mode" for the
5857 new one "vscrollbar-policy"
5858 * examples/hildon-date-button-example.c
5859 * examples/hildon-picker-button-multicolumn-example.c
5860 * examples/hildon-touch-selector-entry-example.c
5861 * examples/hildon-touch-selector-example.c
5862 * examples/hildon-time-button-example.c
5863 * examples/hildon-picker-button-example.c
5864 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5865 to all the treeviews inside a pannable area.
5867 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5869 * src/hildon-button.h
5870 * src/hildon-button.c (hildon_button_init)
5871 (hildon_button_set_arrangement, hildon_button_set_alignment)
5872 (hildon_button_set_title_alignment)
5873 (hildon_button_set_value_alignment)
5874 (hildon_button_set_image_alignment)
5875 (hildon_button_construct_child): New methods to set the alignment
5876 of the individual components of the button (title, value,
5877 image). Also, new method to alter the xscale and yscale properties
5878 of the GtkAlignment inside the button, so more complex layouts can
5881 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5883 * src/hildon-button.c (hildon_button_style_set)
5884 (hildon_button_class_init, hildon_button_set_arrangement)
5885 (hildon_button_construct_child): Apply style properties
5886 correctly. Use the 'image-spacing' style property too.
5888 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5890 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5891 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5894 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5896 * src/hildon-pannable-area.c,
5897 (hildon_pannable_area_size_request): Fixed problem with
5898 pannable-area size_request.
5900 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5902 Added management for the grab-focus to a child widget, like a
5903 range, we need to fade out the scrollbar when releasing.
5905 * src/hildon-pannable-area.c,
5906 (hildon_pannable_area_init): Connected the grab-focus signal to
5908 (hildon_pannable_area_grab_notify): Added this function in order
5909 to manage the situation when the grab-focus ends. We have to
5910 fade-out the scrollbar.
5912 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5914 * src/hildon-app-menu.c: Minor documentation update.
5916 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5918 * src/hildon-app-menu.c
5919 * examples/hildon-app-menu-example.c (create_menu): Update
5920 examples and documentation to explain how to connect callbacks.
5922 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5924 * examples/hildon-button-example.c
5925 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5926 hildon_stackable_window_new instead of gtk_window_new
5928 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5930 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5931 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5932 (hildon_pannable_area_set_property),
5933 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5934 (hildon_pannable_area_unrealize),
5935 (hildon_pannable_area_size_request),
5936 (hildon_pannable_area_size_allocate),
5937 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5938 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5939 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5940 (hildon_pannable_area_initial_effect),
5941 (hildon_pannable_area_redraw),
5942 (hildon_pannable_area_scroll_indicator_fade),
5943 (hildon_pannable_area_expose_event),
5944 (hildon_pannable_area_get_topmost), (synth_crossing),
5945 (hildon_pannable_area_button_press_cb),
5946 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5947 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5948 (hildon_pannable_area_motion_notify_cb),
5949 (hildon_pannable_area_button_release_cb),
5950 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5951 (hildon_pannable_area_remove),
5952 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5953 chage the code layout to a more GtkWidget like. Review the use of
5956 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5958 * examples/hildon-pannable-area-example-4.c,
5959 (main): Modified the name of the hindicator_mode to
5962 * src/hildon-pannable-area.c,
5963 (hildon_pannable_area_class_init),
5964 (hildon_pannable_area_motion_notify_cb),
5965 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5966 we have reduced the amount of signals and managed reviewed its
5967 rationale. Changed the default decelerate value.
5969 (hildon_pannable_area_add),
5970 (hildon_pannable_area_redraw): Refactored functions.
5972 (hildon_pannable_area_init),
5973 (hildon_pannable_area_get_property),
5974 (hildon_pannable_area_set_property):
5975 (hildon_pannable_draw_vscroll),
5976 (hildon_pannable_draw_hscroll),
5977 (hildon_pannable_area_initial_effect),
5978 (hildon_pannable_area_expose_event),
5979 (hildon_pannable_area_scroll),
5980 (hildon_pannable_area_button_press_cb),
5981 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5982 and vindicator_mode with hscrollbar_policy and
5983 vscrollbar_policy. Replaced hscroll and vscroll with
5984 hscroll_visible and vscroll_visible.
5986 (hildon_pannable_area_refresh): Refactor the function, remove
5987 variables and check the calls to this function, added resize
5988 conditions in case the children change their layout.
5990 (hildon_pannable_area_size_request): Added more detailed
5991 size_request calculation.
5994 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5996 * src/hildon-color-chooser.c
5997 (init_borders): use the correct gtk_border_free instead of g_free, to
5998 avoid a crash when this widget is used (ie: the three color selection
6001 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6003 * src/hildon-check-button.c,
6004 (hildon_check_button_set_active): Fixed problem when setting the
6005 active value, the widget was not redrawn.
6007 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6009 * src/hildon-pannable-area.c,
6010 (hildon_pannable_area_refresh),
6011 (hildon_pannable_area_scroll),
6012 (hildon_pannable_area_motion_notify_cb): Small code style change.
6014 (hildon_pannable_area_class_init): Default initial_hint set to
6015 FALSE, it is not in the specs.
6017 (hildon_pannable_area_initial_effect),
6018 (hildon_pannable_area_expose_event),
6019 (hildon_pannable_area_map),
6020 (hildon_pannable_area_init): Moved the launching point of the
6021 initial effect, it was in map but the sizes where not correct in
6022 that method so we do not know if we have the reproduce it. Now it
6023 is placed in the expose_event method and uses a variable to
6024 reproduce it just once.
6026 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6028 * src/hildon-pannable-area.c,
6029 (hildon_pannable_draw_vscroll),
6030 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6031 position allowed for the scrollbars.
6033 (hildon_pannable_area_size_allocate): Small style change.
6035 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6037 * src/hildon-pannable-area.c,
6038 (hildon_pannable_area_scroll_indicator_fade),
6039 (hildon_pannable_area_button_press_cb),
6040 (hildon_pannable_area_button_release_cb),
6041 (hildon_pannable_area_scroll_cb),
6042 (hildon_pannable_area_expose_event),
6043 (hildon_pannable_area_init): Added the define parameter
6044 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6045 and refactor the fade variable.
6047 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6049 * src/hildon-pannable-area.c,
6050 (hildon_pannable_area_redraw),
6051 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6052 lines, we were reimplemeting the redraw code.
6054 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6056 * src/hildon-pannable-area.c,
6057 (hildon_pannable_area_scroll_cb),
6058 (hildon_pannable_area_realize),
6059 (hildon_pannable_area_class_init): Added scroll_event management
6060 for pannable area, now we can scroll the usual desktop method.
6062 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6063 initialization of the parameters should depend on idle_id.
6065 (hildon_pannable_area_init),
6066 (hildon_pannable_area_map): Small code style modifications
6068 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6070 * src/hildon-pannable-area.c
6071 (hildon_pannable_area_button_press_cb),
6072 (hildon_pannable_area_motion_notify_cb),
6073 (hildon_pannable_area_button_release_cb),
6074 (hildon_pannable_area_size_allocate),
6075 (hildon_pannable_area_scroll_to): Improved the timeouts
6076 management, we avoid creating them each time.
6078 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6080 * src/hildon-pannable-area.c:
6081 (hildon_pannable_area_refresh),
6082 (hildon_pannable_area_motion_notify_cb),
6083 (hildon_pannable_area_class_init):
6084 * src/hildon-pannable-area.h:
6085 * src/hildon-touch-selector.c
6086 (_create_new_column):
6087 * examples/hildon-pannable-area-example-4.c:
6088 (horizontal_movement),
6089 (vertical_movement),
6091 Replaced the names of enums in the HildonPannableArea:
6092 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6093 HILDON_MOVEMENT_MODE_*
6094 - HILDON_PANNABLE_AREA_MOV_* ->
6096 - Removed HildonPannableAreaIndicatorMode, now we
6099 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6101 * examples/hildon-pannable-area-touch-grid-example.c
6102 * examples/hildon-pannable-area-touch-list-example.c: Fix
6103 compilation warnings.
6105 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6107 * src/hildon-gtk.c (hildon_gtk_button_new)
6108 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6109 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6110 images overriding the value of the "gtk-button-images" setting.
6112 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6114 * src/hildon-check-button.c (hildon_check_button_new):
6115 Instead of using a custom container, display the label and the
6116 checkbox using the standard GtkButton API.
6118 * examples/hildon-check-button-example.c (main): Don't use
6119 hildon_check_button_set_label() anymore
6121 * src/hildon-check-button.h
6122 * src/hildon-check-button.c
6123 (hildon_check_button_set_label, hildon_check_button_get_label):
6124 Set as deprecated, now we're using gtk_button_{get,set}_label()
6126 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6128 * src/hildon-pannable-area.c,
6129 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6130 GtkTreeview first line we detected it after the inclusion of the
6131 GtkWindowImpl in gtk+. We now check if the window is visible, not
6132 just if the pointer is over the window.
6133 (hildon_pannable_axis_scroll),
6134 (hildon_pannable_area_expose_event): Small style changes.
6136 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6138 * src/hildon-button.c: Update documentation.
6140 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6142 * examples/hildon-button-example.c: Add a switch to show images in
6145 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6147 * doc/hildon-docs.sgml: Some docs reorganization.
6149 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6151 * examples/hildon-pannable-area-touch-list-example.c
6153 * examples/hildon-pannable-area-touch-grid-example.c
6154 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6155 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6156 Fix memory leak when setting the tree model.
6158 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6162 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6164 * doc/hildon.types: Remove duplicated hildon_window_get_type
6165 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6166 documentation comment.
6168 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6170 * doc/Makefile.am: Complete list of private headers.
6172 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6174 * doc/hildon-docs.sgml
6175 * src/hildon-app-menu.c
6176 * src/hildon-bread-crumb.c
6177 * src/hildon-button.c
6179 * src/hildon-program.c
6180 * src/hildon-stackable-window.c
6181 * src/hildon-window.c: Lots of documentation updates.
6183 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6185 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6187 * configure.ac: Require Gtk+ 2.12.9 at least
6189 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6191 * src/hildon-pannable-area.c
6192 (hildon_pannable_area_scroll_indicator_fade),
6193 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6194 to protect the return of this timeout callbacks, avoiding deadlocks.
6196 2008-08-12 Christian Dywan <christian@imendio.com>
6199 * src/hildon-*.h: Ensure a consistent include order,
6200 include <gtk/gtk.h> instead of particular files and
6201 only include the topmost header in the gtk stack. See NB #39857
6203 2008-08-12 Christian Dywan <christian@imendio.com>
6205 * src/hildon-picker-dialog.c
6206 * src/hildon-touch-selector.c: Fix warnings about unused and
6207 uninitialized variables.
6209 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6211 * examples/Makefile.am
6212 * examples/hildon-check-button-example.c: Example of the hildon
6215 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6217 * src/hildon-window.h
6218 * src/hildon-window.c (hildon_window_class_init)
6219 (hildon_window_unset_program): Don't make
6220 hildon_window_unset_program a virtual function anymore.
6222 * src/hildon-stackable-window.c: Update documentation
6224 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6227 * doc/hildon-docs.sgml
6228 * doc/visual_index.xml
6229 * src/hildon-defines.c
6231 * src/hildon-helper.c
6232 * src/hildon-range-editor.c: Lots of documentation fixes.
6234 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6236 * examples/hildon-picker-button-multicolumn-example.c
6237 (create_touch_selector): Fix compilation warning.
6239 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6241 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6242 (hildon_pannable_area_button_release_cb)
6243 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6245 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6247 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6250 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6252 * src/hildon-bread-crumb-trail.h
6253 * src/hildon-date-editor.c
6254 * src/hildon-date-selector.c
6255 * src/hildon-pannable-area.c
6256 * src/hildon-picker-dialog.c
6257 * src/hildon-time-selector.c
6258 * src/hildon-touch-selector-entry.c
6259 * src/hildon-touch-selector.c
6260 * src/hildon-touch-selector.h: Misc documentation fixes
6262 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6264 * examples/hildon-date-editor-example.c (main): Updated date
6267 * examples/hildon-note-example.c (on_confirmation_clicked):
6268 Updated confirmation note example.
6270 * src/hildon-date-editor.c
6271 * src/hildon-note.c: Updated sample programs in documentation.
6274 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6276 * src/hildon-date-button.h:
6277 * src/hildon-picker-button.h:
6278 * src/hildon-time-button.c:
6279 * src/hildon-time-button.h:
6281 Some declarations changes to allow gtk-doc to document the widgets
6284 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6286 * src/hildon-date-button.c: Document the widget.
6287 * src/hildon-time-button.c: Document the widget.
6289 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6291 * src/hildon-picker-button.c: Document the widget.
6292 * src/hildon-touch-selector-entry.c: Document the widget.
6294 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6296 * doc/hildon-docs.sgml
6299 * src/hildon-check-button.h
6300 * src/hildon-check-button.c: New functions to create the Hildon
6304 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6306 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6308 * src/hildon-button.h
6309 * src/hildon-button.c
6310 (hildon_button_add_title_size_group)
6311 (hildon_button_add_value_size_group)
6312 (hildon_button_add_image_size_group)
6313 (hildon_button_add_size_groups): New functions to set size groups
6314 for the button labels and image.
6315 (hildon_button_new_full): Removed
6317 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6319 * src/hildon-time-selector.c
6320 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6321 in order to avoid a crash if gconf is not available
6323 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6325 * src/hildon-button.c (hildon_button_set_arrangement)
6326 (hildon_button_construct_child): Don't construct the button child
6327 before setting the arrangement.
6329 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6331 * src/hildon-program-private.h
6332 * src/hildon-program.c
6333 * src/hildon-program.h
6334 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6335 (hildon_program_peek_window_stack)
6336 (hildon_program_pop_window_stack)
6337 (hildon_program_go_to_root_window): HildonProgram now has a
6338 separate list for stackable windows. Functions are provided to
6339 manage that list with a stack-like API.
6341 * src/hildon-stackable-window.c: Stackable window management is
6342 now much simpler with the new HildonProgram API. Windows no
6343 longer need to be manually added to the program, they're
6344 automatically pushed to the top of the stack when shown.
6346 * examples/hildon-stackable-window-example.c: Updated example to
6347 reflect the API changes.
6349 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6351 * src/hildon-touch-selector.c: Comment out unimplemented
6352 hildon_touch_selector_insert_column() to avoid a compile warning.
6354 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6356 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6357 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6358 (hildon_touch_selector_set_column_selection_mode),
6359 (_hildon_touch_selector_set_model),
6360 (hildon_touch_selector_set_model):
6362 Complete review of HildonTouchSelector documentation.
6364 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6366 * doc/hildon-docs.sgml
6370 * src/hildon-gtk.c: Convenience functions for standard Gtk
6371 widgets, used to easily perform frequent operations.
6373 * src/hildon-button-helpers.h
6374 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6376 * src/hildon-helper.h
6377 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6378 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6380 * src/hildon-button.h
6381 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6383 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6385 * src/hildon-button.c (hildon_button_init)
6386 (hildon_button_set_arrangement, hildon_button_construct_child):
6387 Pack the image and the labels inside the same GtkAlignment so
6388 gtk_button_set_alignment() can be used
6390 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6392 * src/hildon-button.h
6393 * src/hildon-button.c
6394 (hildon_button_init, hildon_button_set_image)
6395 (hildon_button_set_image_position)
6396 (hildon_button_construct_child): New functions to add an image to
6399 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6401 * src/hildon-date-button.c
6402 * src/hildon-picker-button.c
6403 * src/hildon-time-button.c
6404 * src/hildon-button.c:
6405 (hildon_button_class_init): "size-flags" renamed to "size"
6406 (hildon_button_set_title): Hide the title label if set to NULL.
6408 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6410 HildonButtonFlags split into HildonButtonArrangement (to set the
6411 button layout) and HildonSizeType (which can be used for any
6414 * src/hildon-button.h
6415 * src/hildon-button.c
6416 (hildon_button_class_init)
6417 (hildon_button_set_arrangement)
6418 (hildon_button_set_property): New "size-flags"
6419 property. "arrangement-flags" renamed to "arrangement".
6420 (hildon_button_new, hildon_button_new_with_text)
6421 (hildon_button_new_full): Constructors updated to reflect type changes.
6423 * src/hildon-helper.h
6424 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6425 to set the size of a widget.
6429 * src/hildon-button-helpers.c
6430 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6432 * src/hildon-date-button.c
6433 * src/hildon-date-button.h
6434 * src/hildon-picker-button.c
6435 * src/hildon-picker-button.h
6436 * src/hildon-time-button.c
6437 * src/hildon-time-button.h: Updated widgets to reflect
6438 HildonButton API changes.
6440 * examples/hildon-button-example.c
6441 * examples/hildon-date-button-example.c
6442 * examples/hildon-picker-button-example.c
6443 * examples/hildon-picker-button-multicolumn-example.c
6444 * examples/hildon-time-button-example.c
6445 * examples/hildon-touch-selector-entry-example.c
6446 * examples/hildon-touch-selector-example.c: Updated examples to
6447 reflect HildonButton API changes.
6449 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6451 * doc/hildon-docs.sgml:
6453 * examples/Makefile.am:
6454 * examples/hildon-touch-selector-entry-example.c:
6456 * src/hildon-touch-selector-entry.c:
6457 * src/hildon-touch-selector-entry.h:
6460 Moved HildonTouchSelectorEntry from sandbox. Added its
6461 documentation and examples.
6463 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6465 * src/hildon-touch-selector.h:
6466 * examples/hildon-picker-button-multicolumn-example.c:
6467 (hildon_touch_selector_append_text_column): Add a gboolean
6468 parameter to determine if text must be centered in the column.
6470 * src/hildon-date-selector.c: (hildon_date_selector_init):
6471 * src/hildon-time-selector.c: (hildon_time_selector_init):
6472 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6473 (create_touch_selector): Update widgets and example to reflect
6476 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6478 * src/hildon-touch-selector.c:
6479 (hildon_touch_selector_set_active_iter): Set also the cursor in
6482 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6484 * doc/hildon-docs.sgml
6487 * src/hildon-toggle-button.c
6488 * src/hildon-toggle-button.h
6489 * src/hildon.h: Removed HildonToggleButton widget, a derived
6490 class is not necessary for this.
6492 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6494 * src/hildon-pannable-area.c,
6495 (hildon_pannable_area_realize),
6496 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6499 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6501 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6502 "done" button the default widget for the dialog.
6504 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6506 * src/hildon-touch-selector.c:
6507 (hildon_touch_selector_class_init),
6508 (hildon_touch_selector_get_property),
6509 (_hildon_touch_selector_set_model),
6510 (_hildon_touch_selector_has_multiple_selection),
6511 (hildon_touch_selector_has_multiple_selection):
6512 Add a "has-multiple-selection" property with a virtual
6513 has_multiple_selection() method to allow derived classes to
6514 override the default value for it. See the method and property
6515 documentation for details.
6517 * src/hildon-touch-selector.h: Add the new API.
6519 * src/hildon-picker-dialog.c: (requires_done_button): Call
6520 hildon_touch_selector_has_multiple_selection() instead of
6521 determining the need for a button itself.
6523 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6525 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6526 (_hildon_touch_selector_set_model),
6527 (hildon_touch_selector_set_model): Move working code to
6528 _hildon_touch_selector_set_mode(). Call the class method instead.
6530 * src/hildon-touch-selector.h: Add (*set_model) to
6531 HildonTouchSelectorClass.
6533 Make hildon_touch_selector_set_model() a virtual method, so that
6534 derived classes can extend it and do fancy stuff with the model.
6536 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6538 * configure.ac: Set back the tarname in AC_INIT to hildon.
6540 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6544 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6545 instead of libesd (NB#86876). Volume handling is still an open issue.
6547 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6550 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6552 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6553 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6554 derived class to ease placement of an entry widget in
6555 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6556 end, where the selector columns are packed now.
6558 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6560 * src/hildon-picker-button.c: Removed the simple _text() API.
6561 * src/hildon-picker-button.h: Likewise.
6563 * src/hildon-touch-selector.h:
6564 * src/hildon-touch-selector.c:
6565 (hildon_touch_selector_new_text),
6566 (hildon_touch_selector_append_text),
6567 (hildon_touch_selector_prepend_text),
6568 (hildon_touch_selector_insert_text):
6570 Moved the simple _text() API from HildonPickerButton to
6571 HildonTouchPicker, to provide better escalability and not to tie
6572 that API to HildonPickerButton.
6574 * examples/hildon-picker-button-example.c: (main): Example updated.
6576 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6578 * src/hildon-button.c: Updated documentation.
6580 * examples/hildon-button-example.c: Add the posibility to create
6581 the buttons using horizontal layout for title and value.
6583 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6585 * src/hildon-app-menu-private.h
6586 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6587 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6588 GtkSizeGroup for the filters, use the 'homogeneous' property of
6591 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6593 * examples/hildon-button-example.c: Updated example.
6595 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6597 * doc/hildon-docs.sgml:
6600 Update documentation.
6602 * examples/Makefile.am: Update renamed examples.
6604 * examples/hildon-picker-button-multicolumn-example.c:
6605 (create_touch_selector), (main): Update after the rename.
6607 * examples/hildon-touch-picker-example.c: Removed.
6608 * examples/hildon-touch-selector-example.c: (value_changed),
6609 (create_selector), (get_visible_content), (main): Renamed from
6610 hildon-touch-picker-example.c
6612 * src/Makefile.am: Updated renamed files.
6614 * src/hildon-date-button.c: (hildon_date_button_init),
6615 (hildon_date_button_get_date), (hildon_date_button_set_date):
6616 * src/hildon-date-selector.c: (hildon_date_selector_init),
6617 (_custom_print_func), (_update_day_model),
6618 (_manage_selector_change_cb),
6619 (hildon_date_selector_select_current_date),
6620 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6621 * src/hildon-date-selector.h:
6622 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6623 (hildon_picker_button_set_property),
6624 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6625 (hildon_picker_button_init), (hildon_picker_button_new_text),
6626 (hildon_picker_button_append_text),
6627 (hildon_picker_button_prepend_text),
6628 (hildon_picker_button_insert_text),
6629 (hildon_picker_button_set_selector),
6630 (hildon_picker_button_get_selector):
6631 * src/hildon-picker-button.h:
6632 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6633 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6634 (_update_title_on_selector_changed_cb), (requires_done_button),
6635 (_hildon_picker_dialog_set_selector),
6636 (hildon_picker_dialog_set_selector),
6637 (hildon_picker_dialog_get_selector):
6638 * src/hildon-picker-dialog.h:
6639 * src/hildon-time-button.c: (hildon_time_button_init),
6640 (hildon_time_button_get_time), (hildon_time_button_set_time):
6641 * src/hildon-time-selector.c: (hildon_time_selector_init),
6642 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6643 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6644 * src/hildon-time-selector.h:
6647 Massive code updates after the rename.
6649 * src/hildon-touch-picker.c: Removed.
6650 * src/hildon-touch-picker.h: Removed.
6652 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6653 (hildon_touch_selector_init), (hildon_touch_selector_map),
6654 (hildon_touch_selector_remove), (_default_print_func),
6655 (_selection_changed_cb), (_create_new_column),
6656 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6657 (hildon_touch_selector_append_text_column),
6658 (hildon_touch_selector_remove_column),
6659 (hildon_touch_selector_set_column_attributes),
6660 (hildon_touch_selector_insert_column),
6661 (hildon_touch_selector_get_num_columns),
6662 (hildon_touch_selector_get_column_selection_mode),
6663 (hildon_touch_selector_set_column_selection_mode),
6664 (hildon_touch_selector_set_print_func),
6665 (hildon_touch_selector_get_print_func),
6666 (hildon_touch_selector_get_active_iter),
6667 (hildon_touch_selector_set_active_iter),
6668 (hildon_touch_selector_get_selected_rows),
6669 (hildon_touch_selector_get_model),
6670 (hildon_touch_selector_set_model),
6671 (hildon_touch_selector_get_current_text),
6672 (_hildon_touch_selector_center_on_selected_items):
6673 * src/hildon-touch-selector.h: Renamed from
6674 hildon-touch-picker.[ch]
6676 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6677 references, code examples, and related documentation.
6679 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6681 * doc/hildon-docs.sgml
6684 * src/hildon-toggle-button.c
6685 * src/hildon-toggle-button.h
6686 * src/hildon.h: New HildonToggleButton widget.
6688 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6690 * src/hildon-button.c: Add API documentation.
6691 (hildon_button_set_size_groups): Check input parameters
6693 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6695 * src/hildon-pannable-area.c
6696 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6697 effect after reaching the movement thredshold. This way we start
6698 using the distance after passing the thredshold.
6700 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6702 * src/hildon-button.c: (hildon_button_set_property): Use the
6703 appropriate g_value_get_flags() method.
6705 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6707 * doc/hildon-docs.sgml:
6710 Add the touch pickers, picker dialogs, and picker button widgets
6711 to the documentation.
6713 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6715 * src/hildon-button.c: (hildon_button_set_property),
6716 (hildon_button_class_init): Make "arrangement-flags" a proper
6717 G_TYPE_FLAGS derived property.
6719 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6721 * examples/Makefile.am: Add below examples.
6722 * examples/hildon-date-button-example.c:
6723 * examples/hildon-picker-button-example.c:
6724 * examples/hildon-picker-button-multicolumn-example.c:
6725 * examples/hildon-time-button-example.c:
6726 * examples/hildon-touch-picker-example.c:
6728 Add examples for the recently added touch pickers,
6729 picker dialogs, and picker button widgets.
6731 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6733 * src/hildon-button.c: Add some API documentation
6735 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6737 * src/hildon-button.h
6738 * src/hildon-button.c
6740 (hildon_button_new_with_text): New constructor to create a button
6741 with no text at all.
6742 (hildon_button_init, hildon_button_set_arrangement)
6743 (hildon_button_set_title, hildon_button_set_value)
6744 (hildon_button_set_text)
6745 (hildon_button_construct_child): Hide the value when it's not used
6746 so the rest of the text is properly aligned.
6747 Allow creating buttons with arbitrary widgets inside (not just
6748 title/value labels).
6750 * examples/hildon-button-example.c (vertical_buttons_window)
6751 (horizontal_buttons_window): Update example to use new API.
6753 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6755 * src/Makefile.am: Added HildonTimeButton.
6756 * src/hildon-time-button.c: Added missing LGPL header.
6757 * src/hildon-time-button.h: Added missing LGPL header.
6758 * src/hildon.h: Add hildon-time-button.h
6760 Copied HildonTimeButton from sandbox to trunk. Future work on this
6761 widget must take place in trunk.
6763 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6765 * src/Makefile.am: Added HildonDateButton.
6766 * src/hildon-date-button.c: Update includes.
6767 * src/hildon.h: Add hildon-date-button.h
6769 Copied HildonDateButton from sandbox to trunk. Future work on this
6770 widget must take place in trunk.
6772 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6774 * src/Makefile.am: Added HildonPickerButton.
6775 * src/hildon-picker-button.h: Update includes.
6776 * src/hildon.h: Add hildon-picker-button.h
6778 Copied HildonPickerButton from sandbox to trunk. Future work on
6779 this widget must take place in trunk.
6781 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6783 * src/Makefile.am: Added HildonPickerDialog.
6784 * src/hildon-picker-dialog.c: Update includes.
6785 * src/hildon.h: Add hildon-picker-dialog.h
6787 Copied HildonPickerDialog from sandbox to trunk. Future work
6788 on this widget must take place in trunk.
6790 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6792 * src/Makefile.am: Added HildonTimeSelector.
6793 * src/hildon.h: Add hildon-time-selector.h
6795 Copied HildonTimeSelector widget from sandbox to trunk. Future
6796 work on this widget must happen in trunk.
6798 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6800 * src/Makefile.am: Added HildonDateSelector.
6801 * src/hildon.h: Add hildon-date-selector.h
6803 Copied HildonDateSelector widget from sandbox to trunk. Future
6804 work on this widget must happen in trunk.
6806 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6808 * src/Makefile.am: Added HildonTouchPicker.
6809 * src/hildon-touch-picker.c: Update includes.
6810 * src/hildon.h: Add hildon-touch-picker.h
6812 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6813 on this widget must happen in trunk.
6815 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6817 * src/hildon-pannable-area.c:
6818 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6820 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6822 * examples/hildon-app-menu-example.c (main): Let the window
6825 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6827 * src/hildon-pannable-area.c
6828 (hildon_pannable_area_class_init): Set the min value of the
6829 overshoot properties to zero, which points out that not
6830 overshooting allowed.
6832 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6834 Modified the procedure to get the widget at a point inside the
6835 pannable area when using the movement type signals. Now the user
6836 has to call a function to get the child, that way we just
6837 calculate the child in case the user really want to use it and not
6840 * src/hildon-marshalers.list: Modified the marshallers, now we do
6841 not have the widget as a parameter.
6843 * src/hildon-pannable-area.c
6844 (hildon_pannable_area_motion_notify_cb),
6845 (hildon_pannable_area_class_init),
6846 (hildon_pannable_get_child_widget_at): Removed the widget
6847 parameter from the signal callback. We have also refactored the
6848 emission of the signals.
6850 * src/hildon-pannable-area.h: Added a new method to the API to
6851 calculate a widget at a point inside the pannable area,
6852 hildon_pannable_get_child_widget_at.
6854 * examples/hildon-pannable-area-example-4.c
6855 (horizontal_movement): Modified the example to use the new API,
6856 added condition to control which widget is under the event. This
6857 way we can avoid scrolling laterally over other widgets.
6859 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6861 * src/hildon-pannable-area.c
6862 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6863 modes, we stop getting the pointer events due to returning the
6864 callback without properly calling the get pointer again. Fixed
6865 also an error using the hscroll and vscroll.
6867 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6869 * src/hildon-app-menu-private.h
6870 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6871 (hildon_app_menu_button_release, hildon_app_menu_init)
6872 (hildon_app_menu_class_init): Don't hide the menu on button
6873 release if the user didn't press outside first.
6875 * src/hildon-window.h
6876 * src/hildon-window.c (hildon_window_toggle_menu)
6877 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6878 hildon_window_toggle_menu a virtual function for the stackable
6879 window to override it.
6881 * src/hildon-stackable-window.h
6882 * src/hildon-stackable-window-private.h
6883 * src/hildon-stackable-window.c
6884 (hildon_stackable_window_realize)
6885 (hildon_stackable_window_finalize)
6886 (hildon_stackable_window_class_init)
6887 (hildon_stackable_window_init)
6888 (hildon_stackable_window_set_main_menu): New function to set the
6889 app menu of a HildonStackableWindow.
6891 * examples/hildon-app-menu-example.c: Remove the button to show
6892 the app menu, now it'll be shown when clicking on the title bar
6895 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6897 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6898 set the widget name if the arrangement flags do not specify
6901 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6903 * src/hildon-button.c: (hildon_button_set_property),
6904 (hildon_button_class_init), (hildon_button_new_full),
6905 (hildon_button_set_arrangement): Added "arrangement-flags"
6908 Make the HildonButtonFlags a construction-only property, to allow
6909 subclasses to set them properly.
6911 2008-07-21 Tim Janik <timj@imendio.com>
6913 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6914 insertion position after backspace, so additional digits are appended,
6917 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6919 * src/hildon-pannable-area.c,
6920 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6921 TODO list, it was complete and removed the g_debug and g_print
6924 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6926 Added the movement modes to the hildon-pannable-area, with this
6927 modes the developers can control in which directions the widget
6928 can scroll. They can also connect to signals in order to do
6929 something when that happens, allowing applications scroll. There
6930 is an example uploaded showing how to use it.
6932 * examples/Makefile.am:
6933 * examples/hildon-pannable-area-example-4.c: Added this example of
6934 an application using the modes.
6936 * src/hildon-marshalers.list: Added a new marshaller for the new
6939 * src/hildon-pannable-area.h: Added new enumerations and flags in
6940 order to control the movement modes and the new signals to warn
6941 about the movements in the area.
6943 * src/hildon-pannable-area.c:
6944 (hildon_pannable_axis_scroll),
6945 (hildon_pannable_area_scroll),
6946 (hildon_pannable_area_motion_notify_cb),
6947 (hildon_pannable_area_get_property),
6948 (hildon_pannable_area_set_property),
6949 (hildon_pannable_area_map),
6950 (hildon_pannable_area_class_init),
6951 (hildon_pannable_area_init),
6952 (hildon_pannable_area_jump_to): Added the modes to control the
6953 movement in the widget. We have added properties to control it,
6954 signals to warn about the movements and refactored some code.
6956 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6958 Changes required in order to allow vfast_factor set to zero to
6961 * src/hildon-pannable-area.c:
6962 (hildon_pannable_area_button_press_cb): Changed the condition, it
6963 is required for not allowing click when vfast_factor is zero.
6964 (hildon_pannable_area_timeout): Initialized velocity variables
6965 when we stop moving, it was less than 1 but not zero and we need
6966 to check zero in some situations.
6967 (hildon_pannable_area_class_init): Changed the default value of
6968 the speed factor, now the button_press is just sent in case the
6969 speed is 2 per cent of the max speed.
6970 (hildon_pannable_area_init): Initialization with 0.
6972 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6974 * src/hildon-pannable-area.c,
6975 (hildon_pannable_area_get_topmost): replaced
6976 gdk_window_get_children with gdk_window_peek_children, this way we
6977 do not have to free the list because it is not a copy.
6979 (hildon_pannable_axis_scroll),
6980 (hildon_pannable_area_scroll),
6981 (hildon_pannable_area_timeout),
6982 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6983 two parameters that were only used inside the
6984 hildon_pannable_area_scroll function.
6986 * examples/hildon-pannable-area-example.c,
6987 (get_sawtooth_label): Fixed small memory leak.
6989 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6991 More checks for the case where the overshoot is bigger than the
6994 * src/hildon-pannable-area.c:
6995 (hildon_pannable_draw_vscroll),
6996 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6997 to draw the slider of the scrollbar under the other scrollbar.
6998 (hildon_pannable_area_expose_event): added new checks to control
6999 the drawing of the overshooting area rectangle, in case it is too
7000 big for the area of the widget.
7001 (hildon_pannable_area_size_allocate): add more checks to avoid
7002 setting a position to the child widget outside the area.
7004 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7006 * src/hildon-pannable-area.c
7007 (hildon_pannable_area_size_allocate): Added conditions to control
7008 when overshooting is bigger than the allocated space for the
7009 children, this avoids negative allocations.
7011 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7013 * doc/hildon-docs.sgml
7015 * examples/Makefile.am
7016 * examples/hildon-button-example.c
7018 * src/hildon-button.c
7019 * src/hildon-button.h
7020 * src/hildon.h: Initial version of the new HildonButton widget,
7023 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7025 * src/hildon-pannable-area.c:
7026 (hildon_pannable_area_button_press_cb),
7027 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7028 (hildon_pannable_area_motion_notify_cb),
7029 (hildon_pannable_area_button_release_cb),
7030 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7031 (hildon_pannable_area_jump_to_child):
7033 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7035 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7037 * examples/Makefile.am
7038 * examples/hildon-pannable-area-touch-grid-example.c
7039 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7040 the Hildon Touch List and Hildon Touch Grid using the
7041 HildonPannableArea widget.
7043 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7045 * src/hildon-pannable-area.c,
7046 (hildon_pannable_area_button_press_cb),
7047 (hildon_pannable_area_refresh),
7048 (hildon_pannable_area_scroll),
7049 (hildon_pannable_area_motion_notify_cb),
7050 (hildon_pannable_area_button_release_cb),
7051 (hildon_pannable_area_expose_event),
7052 (hildon_pannable_area_add),
7053 (hildon_pannable_area_remove),
7054 (hildon_pannable_area_realize),
7055 (hildon_pannable_area_size_allocate),
7056 (hildon_pannable_area_class_init),
7057 (hildon_pannable_area_init),
7058 (hildon_pannable_area_scroll_to_child),
7059 (hildon_pannable_area_jump_to_child): Fixed the problem of
7060 removing the child from the GtkBin, we have rearranged the widget
7061 hierarchy, now there is no GtkAlignment which was not doing
7062 anything interesting but breaking some of the assumptions of
7063 GtkContainer. Now developers if they want to add a GtkAlignment
7064 they could, but it is not inside the area.
7066 We had to review the whole allocation/expose process, now it is
7067 improved and we save at least three signals which would be saving
7068 some time when rendering the widget. The allocation of the
7069 scrollbars is now made in the allocate method as usual.
7071 We have also added some conditions in order to control when there
7072 is no child of the pannable area. Maybe we will need more work
7075 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7077 * src/hildon-pannable-area.c,
7078 (hildon_pannable_area_dispose): Released the fade-out timeout when
7079 disposing the widget.
7081 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7083 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7084 zero, we are going to use that property in order to deactivate the
7086 (hildon_pannable_axis_scroll),
7087 (hildon_pannable_area_size_allocate): Added conditions to control
7088 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7089 call, now it is called in all situations and we can remove calls
7090 in the allocate method.
7091 (hildon_pannable_area_map): Control the situation when
7092 overshoot_max is zero, we do not need the timeout.
7093 (hildon_pannable_area_class_init): Added documentation in order to
7094 point out that setting zero to overshoot_max means deactivate
7097 NOTE: removed trailing whitespaces from my previous comments of
7100 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7102 * src/hildon-pannable-area.c
7103 (hildon_pannable_area_get_property),
7104 (hildon_pannable_area_set_property),
7105 (hildon_pannable_area_map),
7106 (hildon_pannable_area_class_init),
7107 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7108 to cause the widget give a hint about its panning abilities upon
7111 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7113 * src/hildon-pannable-area.c: Several documentation improvements.
7115 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7117 * src/hildon-program.c
7118 * src/hildon-stackable-window.c: Update documentation.
7120 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7122 * src/hildon-stackable-window.c (get_previous_window_if_last):
7123 Renamed get_last_window()
7124 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7125 (hildon_stackable_window_unset_program):
7127 (get_previous_window_if_last):
7128 Detect if the window hasn't been added to a HildonProgram.
7130 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7132 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7134 * src/hildon-pannable-area.c
7135 (hildon_pannable_area_button_press_cb),
7136 (hildon_pannable_axis_scroll),
7137 (hildon_pannable_area_scroll),
7138 (hildon_pannable_area_timeout),
7139 (hildon_pannable_calculate_vel_factor),
7140 (hildon_pannable_area_get_property),
7141 (hildon_pannable_area_set_property),
7142 (hildon_pannable_area_class_init),
7143 (hildon_pannable_area_init),
7144 (hildon_pannable_area_scroll_to),
7145 (hildon_pannable_area_jump_to),
7146 (hildon_pannable_area_scroll_to_child),
7147 (hildon_pannable_area_jump_to_child):
7148 * src/hildon-pannable-area.h: Added the new API functions:
7149 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7150 hildon_pannable_area_scroll_to_child,
7151 hildon_pannable_area_jump_to_child
7154 * examples/Makefile.am
7155 * examples/hildon-pannable-area-example-2.c
7156 * examples/hildon-pannable-area-example-3.c: Added these two new
7157 examples in order to test and show how the new APIs work.
7159 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7161 * examples/hildon-stackable-window-example.c (new_window):
7162 * src/Makefile.am (noinst_HEADERS):
7163 * src/hildon-program.c (hildon_program_go_to_root_window):
7164 * src/hildon-program.h:
7165 * src/hildon-stackable-window-private.h:
7166 * src/hildon-stackable-window.c:
7167 * src/hildon-stackable-window.h:
7168 Create hildon-stackable-window-private.h
7169 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7171 * examples/hildon-app-menu-example.c (create_menu):
7172 * examples/hildon-hvolumebar-insensitive-example.c (main):
7173 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7174 * examples/hildon-toolbar-seekbar-example.c (main):
7175 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7176 * src/hildon-banner.c (hildon_banner_set_property):
7177 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7178 Fix compilation warnings
7180 * src/hildon-window.c:
7183 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7185 * src/hildon-stackable-window.c
7186 (hildon_stackable_window_unset_program):
7187 Calculate correctly whether to show the previous window if the
7188 last one is removed from the stack.
7189 (hildon_stackable_window_go_to_root_window):
7190 Send delete events starting from the topmost window.
7191 Stop if one of the windows is not destroyed.
7193 (hildon_stackable_window_delete_event)
7194 (hildon_stackable_window_class_init):
7195 Ignore the delete event if the window is not the topmost one.
7197 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7199 * src/hildon-pannable-area.c
7200 (hildon_pannable_area_expose_event): Fixed a problem when
7201 selecting the background color of the scrollbars.
7203 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7205 * examples/hildon-stackable-window-example.c
7206 * src/hildon-stackable-window.c
7207 * src/hildon-stackable-window.h
7208 hildon_stackable_window_go_home() renamed to
7209 hildon_stackable_window_go_to_root_window()
7210 Send delete events to windows rather than closing them with
7211 gtk_widget_destroy()
7213 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7215 * src/hildon-pannable-area.c
7216 (hildon_pannable_area_button_release_cb): Fix overshooting in
7219 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7221 * src/hildon-pannable-area.c
7222 (hildon_pannable_area_init): Initially show the scroll indicators.
7223 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7225 Add initial effect showing the widget is pannable.
7227 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7229 * src/hildon-pannable-area.c
7230 (hildon_pannable_area_class_init)
7231 (hildon_pannable_area_set_property)
7232 (hildon_pannable_area_get_property)
7233 (hildon_pannable_area_button_press_cb):
7234 New 'velocity_fast_factor' property to decide which velocity is
7237 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7239 * src/hildon-pannable-area.c
7240 (hildon_pannable_draw_hscroll)
7241 (hildon_pannable_draw_vscroll):
7242 Use float variables to calculate the size of the scrollbars to
7243 avoid error propagation and resizing during scrolling.
7245 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7247 * src/hildon-pannable-area.c
7248 (hildon_pannable_draw_vscroll)
7249 (hildon_pannable_draw_hscroll):
7250 Define a minimum size for the scroll bars
7252 * src/hildon-stackable-window.c
7253 (hildon_stackable_window_go_home): Fix compilation warning
7254 (get_last_window): Minor optimizations
7255 (hildon_stackable_window_class_init): Fix initialization of
7258 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7260 * src/hildon-stackable-window.c: Fixed typos in doc
7262 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7264 * src/hildon-pannable-area.c
7265 (hildon_pannable_area_scroll):
7266 Calculate here whether we need to scroll instead of using the booleans
7267 that tell us whether to /draw/ the scrolling bars.
7269 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7271 * src/hildon-app-menu.h
7273 * src/hildon-app-menu.c
7274 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7275 multiple filter groups related code and API. Now we support only
7277 * examples/hildon-app-menu-example.c:
7279 Update to reflect API changes.
7281 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7283 * src/hildon-stackable-window.c
7284 (hildon_stackable_window_class_init):
7285 Add hildon_stackable_window_realize.
7286 (hildon_stackable_window_realize):
7287 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7288 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7289 to apply theming and behavior specific to HildonStackableWindow
7292 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7294 * src/hildon-note.c (hildon_note_button_release):
7295 Close information notes also when tapping on them
7297 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7299 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7300 ELASTICITY, refactor and review, fix some issues with drawing
7303 * src/hildon-pannable-area.c:
7304 (hildon_pannable_area_button_press_cb): removed the conditions to
7305 avoid clicks when overshooting. It is not required
7307 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7308 define. Refatored and reviewed the code, now we do not need to
7309 manage velocity in motion_notify.
7311 (hildon_pannable_area_motion_notify_cb): We have moved the code
7312 that controls the area_scroll to the axis_scroll function and get
7313 rid of duplicated code.
7315 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7317 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7319 (hildon_pannable_draw_vscroll),
7320 (hildon_pannable_draw_hscroll): Fixed the problems with the
7321 scrollbar drawing, now we do not use two surfaces, it is easier
7322 and saves resources.
7324 (hildon_pannable_area_get_property): Style modification.
7326 (hildon_pannable_area_class_init): Changed some default values.
7328 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7330 * src/hildon-stackable-window.c: Fix some typos in the
7333 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7335 * src/hildon-dialog.c:
7336 Change indentation style
7339 (hildon_note_button_release):
7340 Use root coordinates to check if the release event happened
7343 * src/hildon-app-menu.c
7344 (hildon_app_menu_button_release):
7345 Remove unnecessary check
7347 * examples/hildon-app-menu-example.c
7349 Add cast to fix warning
7351 * src/hildon-app-menu.c
7352 (hildon_app_menu_class_init):
7353 New inner-border style property.
7354 Set all default spacings to 16
7355 (hildon_app_menu_init):
7356 Use vertical-spacing to set the space between filter buttons and
7357 regular menu buttons.
7358 Set the default container border using the inner-border value.
7360 * examples/hildon-app-menu-example.c
7362 Don't set the menu border explicitly, now we have the inner-border
7363 style property for that.
7365 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7367 * src/hildon-app-menu.c (hildon_app_menu_init):
7368 Make the window modal
7370 * src/hildon-note.c (hildon_note_map)
7371 * src/hildon-app-menu.c (hildon_app_menu_map):
7372 Destroy the grab window if we're unable to grab the pointer
7374 * src/hildon-app-menu-private.h
7375 * src/hildon-app-menu.c
7376 (hildon_app_menu_init, hildon_app_menu_finalize)
7377 (hildon_app_menu_map, hildon_app_menu_unmap)
7378 (hildon_app_menu_button_release)
7379 (grab_transfer_window_get):
7380 Bring back the grab window
7381 (hildon_app_menu_realize):
7382 Decorate the window, set WM hint for Matchbox
7384 * src/hildon-note.c (hildon_note_realize):
7385 * src/hildon-banner.c (hildon_banner_realize):
7386 Add WM hints for Matchbox
7388 2008-06-10 Alberto Garcia <agarcia@igalia.com>
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 Remove the grab window, it's not needed anymore
7397 * src/hildon-program.c
7398 Fixed typo in documentation
7400 * src/hildon-app-menu.h
7401 * src/hildon-app-menu.c
7402 * examples/hildon-app-menu-example.c
7403 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7405 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7408 Added new transfer_window and close_if_pressed_outside private
7410 (hildon_note_rebuild):
7411 Don't add a cancel button to the information note. It will be
7412 closed when tapping outside
7413 Remove the comment about the OK button in the documentation
7414 (hildon_note_realize):
7415 Set the notification type hint
7416 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7417 Grab/ungrab pointer and keyboard if the note has to be closed when
7419 (hildon_note_button_release):
7420 Close the note when tapping outside (if applicable)
7422 * src/hildon-app-menu.c
7423 Grab/ungrab pointer and keyboard on map/unmap
7424 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7425 Close the menu on button release, not button press
7427 * src/hildon-banner.c
7428 (hildon_banner_set_property)
7429 (hildon_banner_check_position):
7430 Make the banner use the full width of the screen
7431 (hildon_banner_show_information)
7432 (hildon_banner_show_information_with_markup):
7433 Don't display an icon by default
7435 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7437 Added fading scrollbars and adapted all the overshooting code to
7438 horizontal scrolling. We have also fixed bugs with overshooting
7439 and current fading implementation.
7441 * src/hildon-pannable-area.c
7442 (hildon_pannable_area_scroll_indicator_fade): Time out function
7443 used to change the transparency of the scrollbars.
7445 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7446 control and fixed a problem with fading, we now remove the fade
7447 timeout before adding a new one.
7449 (hildon_pannable_axis_scroll):
7450 (hildon_pannable_area_scroll):
7451 (hildon_pannable_area_timeout): Added this functions so we can use
7452 the scroll code both for vertical and horizontal.
7454 (hildon_pannable_area_motion_notify_cb):
7455 (hildon_pannable_area_button_release_cb): Added the horizontal
7456 scrolling control, fixed a problem with the overshooting timeout.
7458 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7459 painting of the scrolls.
7461 (hildon_pannable_draw_vscroll):
7462 (hildon_pannable_draw_hscroll):
7463 (hildon_pannable_area_expose_event):
7464 Draw both scrollbars and rectangles in the overshooting area.
7466 (hildon_pannable_area_get_property):
7467 (hildon_pannable_area_set_property):
7468 Modified the overshoot property to overshoot_max
7470 (hildon_pannable_area_map):
7471 Replaced the comments symbols.
7473 (hildon_pannable_area_size_allocate):
7474 (hildon_pannable_area_class_init):
7475 (hildon_pannable_area_init): Added horizontal scroll, fading
7476 effect properties, fixed a problem when overshooting in the bottom
7479 * examples/hildon-pannable-area-example.c:
7480 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7481 looks better in the example.
7483 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7485 * src/hildon-window.c
7486 * src/hildon-window.h
7487 (hildon_window_class_init)
7488 (hildon_window_unset_program)
7489 (hildon_window_unset_program_real):
7490 Make unset_program a virtual function
7492 * src/hildon-stackable-window.c
7493 * src/hildon-stackable-window.h
7494 Added hildon_stackable_window_go_home()
7496 * examples/Makefile.am
7497 * examples/hildon-stackable-window-example.c
7498 HildonStackableWindow example
7500 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7502 * hildon-pannable-area.c: Added the overshoot property and removed
7503 the OVERSHOOT define. Fixed an indent style error.
7504 (hildon_pannable_area_motion_notify_cb):
7505 (hildon_pannable_area_get_property):
7506 (hildon_pannable_area_set_property): Add overshoot property.
7508 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7511 (hildon_pannable_area_class_init): Installed the new property.
7513 * hildon-pannable-area-example.c: Added a sawtooth function, this
7514 way it is easier to check the movement in the pannable.
7515 (get_sawtooth_label): Added this function.
7516 (main): Now we get the labels from the new get_sawtooth_label
7519 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7521 * src/hildon-app-menu.h
7522 * src/hildon-app-menu.c
7523 Renamed API variables for consistency
7525 (hildon_app_menu_popup): Use also the default window size to
7526 decide where to place the menu
7528 (hildon_app_menu_init, hildon_app_menu_class_init): New
7529 external-border style property
7531 2008-05-26 Michael Natterer <mitch@imendio.com>
7533 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7534 widget_class->tap_and_hold_setup signal slot doesn't exist any
7535 longer, stop overriding it.
7537 (hildon_time_editor_init): g_signal_connect() to the
7538 tap-and-hold-setup signal instead.
7540 (hildon_time_editor_entry_keypress): add cast to fix warning.
7542 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7544 * doc/hildon-docs.sgml
7546 * examples/Makefile.am
7547 * examples/hildon-app-menu-example.c
7549 * src/hildon-app-menu-private.h
7550 * src/hildon-app-menu.c
7551 * src/hildon-app-menu.h
7553 New HildonAppMenu widget
7555 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7557 Rearranged the inheritance of the pannable area, now it inherits
7558 from GtkBin. This will allow us to control the event_window and
7559 the allocation process of the widget, required for some effects.
7561 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7562 GtkBin structures. * src/hildon-pannable-area.c: Added the
7563 event_window variable.
7564 (hildon_pannable_area_button_press_cb):
7565 (hildon_pannable_area_button_release_cb):
7566 (hildon_pannable_area_motion_notify_cb):
7567 Changed the signature of the method, now we override the event
7568 callback instead of connecting to the signal.
7570 (hildon_pannable_area_realize):
7571 (hildon_pannable_area_unrealize):
7572 (hildon_pannable_area_map):
7573 (hildon_pannable_area_unmap):
7574 (hildon_pannable_area_size_allocate):
7575 Added functions to control the widget construction. We add a
7576 INPUT_ONLY window and we put it over the widgets inside the
7577 container, this event_window handles the events.
7579 (hildon_pannable_area_class_init):
7580 Replaced the signal connections with overrides of the event
7583 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7585 Bouncing effect added when touching the borders, you can change
7586 the elasticity of the border changing the ELASTICITY define.
7588 * src/hildon-pannable-area.c: Added ELASTICITY define.
7589 (hildon_pannable_area_timeout): Added inverse velocity when
7590 touching the border of the child widget, that causes a bounce.
7592 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7594 Improved performance, we now do not go to the X server in order to
7595 get the list of window children. Apparently the effect is the
7596 same, we have to be careful and check if this breaks something in
7599 * src/hildon-pannable-area.c:
7600 (get_ordered_children): Removed this function.
7601 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7602 the children windows function with gdk_window_get_children.
7604 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7606 * src/hildon-pannable-area.c:
7607 (hildon_pannable_area_dispose): Fixed a crash when closing the
7608 window and kinetics is activated.
7610 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7612 * src/hildon-pannable-area.h
7613 * src/hildon-pannable-area.c
7614 Changed indentation style to meet the one used in Hildon
7616 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7618 Reviewed the interaction of the AUTO mode, now we use the time
7619 attribute of the events and calculate the velocity in the motion,
7620 doing a gimp like calculation. The velocity is calculated in each
7621 motion event using the last velocity and the current one, the
7622 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7624 * src/hildon-pannable-area.c: Replaced the time based algorithm
7626 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7627 timeout for the AUTO mode when we are still moving the cursor. We
7628 added also the velocity calculation in this function.
7629 (hildon_pannable_area_button_release_cb): launch the timeout in
7630 case we are in AUTO mode. There are still some constants here that
7631 come from the old implementation that should be reviewed and
7634 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7636 * doc/hildon-docs.sgml
7639 * src/hildon-stackable-window.c
7640 * src/hildon-stackable-window.h
7642 New HildonStackableWindow widget
7644 * examples/hildon-dialog-example.c
7645 * examples/hildon-pannable-area-example.c
7648 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7650 * src/hildon-dialog.c
7651 (hildon_dialog_new_with_buttons): New constructor.
7653 * examples/hildon-dialog-example.c
7654 (main): Update the example to use the new
7655 hildon_dialog_new_with_buttons().
7657 * examples/hildon-pannable-area-example.c
7658 (main): Update example.
7660 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7662 * doc/hildon-docs.sgml
7664 Added HildonPannableArea to the documentation.
7666 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7668 * doc/visual_index.xml
7669 Fix reference to HildonLoginDialog in documentation
7671 * doc/hildon-docs.sgml
7673 * examples/Makefile.am
7674 * examples/hildon-dialog-example.c
7676 * src/hildon-dialog.c
7677 * src/hildon-dialog.h
7679 New HildonDialog widget.
7681 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7683 * src/hildon-pannable-area.c
7684 Merge latest changes (r4318, r4342) from libmokoui trunk
7686 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7688 * examples/Makefile.am
7689 * examples/hildon-pannable-area-example.c
7691 * src/hildon-pannable-area.c
7692 * src/hildon-pannable-area.h
7694 New HildonPannableArea widget.
7696 2008-04-15 18:05:19 <timj@imendio.com>
7698 * src/hildon-banner.c: revert the recent change, that introduced
7699 gtk_window_present() calls. this reopens:
7700 Bug 78481 - [freetest] information banners are hidden under browser menu
7701 But resolves another variant of:
7702 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7704 2008-04-15 13:21:13 <timj@imendio.com>
7706 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7707 recreated its layout, spotted by Kris. this fixes all remaining
7708 artefacts and stability issues with the banner code. in particular:
7709 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7711 2008-04-14 16:52:59 <timj@imendio.com>
7713 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7714 operating on unrealized widgets, fixes:
7715 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7717 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7719 2008-04-09 Kristian Rietveld <kris@imendio.com>
7721 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7722 makes banner disappear.
7723 Fixes: NB#79182: info banner flickering with certain message lengts.
7725 * src/hildon-banner.c (hildon_banner_constructor),
7726 (hildon_banner_init), (hildon_banner_set_text),
7727 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7728 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7729 FALSE, reset size requests of label and banner,
7730 (force_to_wrap_truncated): when the text is too wide, always enforce
7731 the maximum possible width instead of recalculating it from the
7732 layout; enforce the maximum banner height of 3 lines,
7733 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7734 nicer wrapping and no truncated chars if space gets tight.
7736 * src/hildon-banner-private.h: add has_been_wrapped and
7737 has_been_truncated fields.
7739 2008-04-07 Sven Herzberg <sven@imendio.com>
7741 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7742 local values in hildon_date_editor_size_allocate
7744 * src/hildon-date-editor.c: moved the real allocation code into the
7747 2008-04-07 Sven Herzberg <sven@imendio.com>
7749 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7750 local values in hildon_date_editor_size_allocate
7752 * src/hildon-date-editor.c: merged the two if() branches together
7754 2008-04-07 Sven Herzberg <sven@imendio.com>
7756 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7757 local values in hildon_date_editor_size_allocate
7759 * src/hildon-date-editor.c: changed the arguments of the if()
7762 2008-04-07 Sven Herzberg <sven@imendio.com>
7764 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7765 local values in hildon_date_editor_size_allocate
7767 * src/hildon-date-editor.c: split the calculation of the allocation
7768 from the real allocation
7770 2008-03-27 Michael Natterer <mitch@imendio.com>
7772 Fixes: NB#81696: The passcode is not overwritten even after
7775 * src/hildon-code-dialog.c
7776 (hildon_code_dialog_button_clicked)
7777 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7778 because that doesn't overwrite selected text. Instead, emit the
7779 "commit" signal on the entry's im_context so the entry's normal
7780 insert logic is triggered. Set the cursor to the end of the entry
7781 after each insert operation so that we *only* insert in the middle
7782 of the text if something was selected.
7784 2008-03-27 Michael Natterer <mitch@imendio.com>
7786 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7787 selector cannot be opened
7789 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7790 when the popup color selector is created. Please connect to this
7791 signal in order to set the dialog's help ID.
7793 2008-03-25 Sven Herzberg <sven@imendio.com>
7795 Fixes: MB#1212: Hide info banners (infoprints) on click
7797 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7798 extracted the close event simulation into an extra function
7799 (hildon_banner_button_press_event): simulate a close event and destroy
7800 the widget if the event wasn't handled
7801 (hildon_banner_class_init): added the button_press_event handler
7802 (hildon_banner_init): added button-press events to the widget
7804 2008-03-25 Sven Herzberg <sven@imendio.com>
7806 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7807 Patch from: Mohammad Anwari <mdamt@maemo.org>
7809 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7810 instead of the right in RTL mode
7811 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7812 breadcrumb button list in RTL mode
7813 * src/hildon-caption.c: mirror the appearance of the caption widget in
7815 * src/hildon-date-editor.c: mirror appearance of the date editor in
7817 * src/hildon-time-editor.c: mirror appearance of the time editor in
7819 * src/hildon-window.c: fix the position of the popup in RTL mode
7821 2008-03-25 Sven Herzberg <sven@imendio.com>
7823 Amendment to the fix of NB#22072. Fix compilation.
7825 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7827 2008-03-19 Sven Herzberg <sven@imendio.com>
7829 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7832 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7833 timeout id properly when the timeout will disappear this leaves no
7834 artifacts around in the destroy(); there will only be the timeout
7835 created by hildon_banner_ensure_timeout() and adding a new timeout
7836 will also work if the timeout gets removed because the timeout_handler
7839 2008-03-19 Michael Natterer <mitch@imendio.com>
7841 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7843 * src/hildon-volumebar.c
7844 * src/hildon-vvolumebar.c
7845 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7846 the widget becomes focussable at all.
7848 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7849 set the focus to wither the mute button or the volumebar.
7851 Remove own "can-focus" property and instead listen to
7852 notify::can-focus in order to update the widget's state.
7854 Implement GtkWidget::focus() and make sure we can also *leave* the
7855 widget, not only enter it, depending on volumebar orientation and
7856 requested focus direction.
7858 Clean up set_mute() to cooperate nicely with all the above.
7860 2008-03-04 Michael Natterer <mitch@imendio.com>
7862 Fixes: NB#78481: information banners are hidden under browser menu
7864 * src/hildon-banner.c: call gtk_window_present() on the banners so
7865 they are risen if they are already visible.
7867 2008-03-03 Sven Herzberg <sven@imendio.com>
7869 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7871 * examples/hildon-window-menu-example.c: (main): extended the window
7872 menu example to serve as a testcase for automatically added
7873 accelerator groups, too
7874 * src/hildon-window.c: (hildon_window_add_accel_group),
7875 (hildon_window_set_menu): added patch by Tommi Komulainen
7877 2008-03-03 Sven Herzberg <sven@imendio.com>
7879 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7881 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7882 knowledge about the border allocators used within GTK+
7884 2008-02-26 Sven Herzberg <sven@imendio.com>
7886 Fixes: MB#2981: Build with asserts broken
7888 * src/hildon-date-editor.c,
7889 * src/hildon-number-editor.c,
7890 * src/hildon-time-editor.c,
7891 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7892 the proper GType instance check
7894 2008-02-25 Sven Herzberg <sven@imendio.com>
7896 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7898 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7899 * examples/hildon-window-menu-example.c: (main): explicitly show
7901 * src/hildon-window.c:
7902 (hildon_window_set_main_menu): moved most of the code from set_menu()
7903 to this place; skipped the call to gtk_widget_show_all(); also didn't
7904 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7905 (hildon_window_set_menu): removed most of the code, just keep the
7906 questionable gtk_widget_show_all()
7907 * src/hildon-window.h: added the new function and deprecate the old
7910 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7916 * debian/changelog: Updating.
7918 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7921 * pkgconfig/Makefile.am:
7922 * pkgconfig/hildon.pc.in:
7925 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7926 use newly created API_MAJOR_VERSION.
7928 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7934 * debian/changelog: Updating.
7936 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7938 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7940 Add outer_border style property, we use it but don't define it (!).
7944 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7946 * examples/hildon-bread-crumb-trail-example.c (main):
7950 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7952 Fix logic for the bread crumb trail node removal.
7956 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7962 * debian/changelog: Updating.
7964 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7966 Patch by Alejandro to get/set passwords dialogs accesibility.
7968 * hildon-1/src/hildon-get-password-dialog.c:
7969 * hildon-1/src/hildon-set-password-dialog.c:
7970 Set atk_set_name to the passwd entries in order to allow
7971 accessibility by name on this entries.
7973 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7978 * debian/control: Updating gtk dep.
7980 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7982 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7983 USE_MAEMO_GTK is enabled.
7985 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7987 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7988 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7990 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7996 * debian/changelog: Updating.
7998 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8000 * examples/Makefile.am:
8001 * examples/hildon-logical-color-example.c:
8002 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8003 applied + adding a test case. Fixes: NB#71660.
8005 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8007 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8008 to be visible, fixes warning on map for windows without toolbars.
8010 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8012 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8013 2.11.0, add a check for that besides the MAEMO_GTK check.
8015 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8021 * debian/changelog: Updating.
8023 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8025 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8026 visibility. Fixes: NB#70842 and MB#615.
8028 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8030 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8031 set the separator as no-show-all so it doesn't unintentionally appear when
8032 someone does a show_all.
8034 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8036 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8037 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8038 toplevel item. Fixes: NB#62031
8040 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8042 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8043 fix the name of the function in the docs.
8045 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8051 * debian/changelog: Updating.
8053 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8055 * examples/hildon-banner-long-example.c: Adding a test-case for long
8058 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8060 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8062 * src/hildon-color-chooser-dialog.c:
8063 * src/hildon-color-chooser.c:
8064 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8065 memory leaks in font selector and color selector. Fixes: NB#70499 and
8068 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8070 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8072 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8074 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8075 little bit bigger. Fixes: #NB63694.
8077 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8083 * debian/changelog: Updating.
8085 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8088 * doc/hildon-docs.sgml:
8089 * doc/images/bread-crumb-trail.png:
8090 * doc/images/calendar-popup.png:
8091 * doc/images/caption.png:
8092 * doc/images/code-dialog.png:
8093 * doc/images/color-button.png:
8094 * doc/images/color-chooser-dialog.png:
8095 * doc/images/color-chooser.png:
8096 * doc/images/controlbar.png:
8097 * doc/images/date-editor.png:
8098 * doc/images/font-selection-dialog.png:
8099 * doc/images/get-password-dialog.png:
8100 * doc/images/hvolumebar.png:
8101 * doc/images/login-dialog.png:
8102 * doc/images/note.png:
8103 * doc/images/number-editor.png:
8104 * doc/images/range-editor.png:
8105 * doc/images/seekbar.png:
8106 * doc/images/set-password-dialog.png:
8107 * doc/images/sort-dialog.png:
8108 * doc/images/time-editor.png:
8109 * doc/images/time-picker.png:
8110 * doc/images/vvolumebar.png:
8111 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8112 Adding the bread-crumb-trial and helpers to the documentation.
8114 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8116 * examples/hildon-find-toolbar-example.c:
8117 * src/hildon-find-toolbar.c:
8118 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8119 actually continue firing the other handlers if connected. Adding a new
8121 hildon_find_toolbar_get_last_index that gets the index of the most
8122 recently added (last) item. Fixes: NB#52301.
8124 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8126 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8127 behaviour. Fixes: NB#68610.
8129 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8131 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8134 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8136 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8137 when realizing the banner. Should make the infonbanner effect a bit more
8140 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8142 * src/hildon-volumebar.c:
8143 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8144 hildon_volumebar_set_range_insensitive_message and
8145 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8147 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8149 * src/hildon-window.c: Fixing the border freeing on destroy.
8151 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8153 * src/hildon-code-dialog-private.h:
8154 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8155 kw keyboard support in HildonCodeDialog.
8157 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8163 * debian/changelog: Updating.
8165 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8167 * src/hildon-date-editor.c:
8168 * src/hildon-number-editor.c:
8169 * src/hildon-private.c:
8170 * src/hildon-private.h:
8171 * src/hildon-time-editor.c:
8172 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8173 handling in subclassed composite widgets. Fixes: NB#66628.
8175 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8177 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8178 from destroy_ callback as it introduces problems in async dbus signal
8179 handlers. Fixes NB#66673.
8181 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8183 * examples/hildon-hvolumebar-example.c:
8184 * src/hildon-volumebar.c: Improving the focus handling in the
8185 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8186 set_property accessor so that "mute" property can be actually set. I'm
8187 scared that nobody noticed it's totally broken.
8189 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8191 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8194 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8196 * src/hildon-calendar.c:
8197 * src/hildon-number-editor.c:
8198 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8199 matches the spec of 6 chars per second. Fixes: NB#60489.
8201 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8203 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8204 gtk_style_lookup_color sometime returns FALSE even though color was
8205 found and values were filled properly. Weird. Removing the warning for the
8208 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8210 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8211 expand vertically. Adding some extra space to the find toolbar buttons to
8212 make them thumbable. Fixes NB#66060.
8214 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8216 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8217 popup with "Ok" and "Cancel". Fixes NB#59299.
8219 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8221 * src/hildon-calendar.c: Process all window updates before executing next
8222 timeout. Fixes: NB#54146.
8224 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8230 * debian/changelog: Updating.
8232 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8234 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8235 the client event and ignore it, since we use the delete event to close
8238 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8240 * src/hildon-helper.c: Remove the bogus warning about color not being
8241 found. Fixes NB#58352.
8243 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8245 * examples/Makefile.am:
8246 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8247 HildonSeekbar widget inside a toolbar.
8249 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8251 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8252 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8253 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8254 don't want to be closed by non-temporary windows on map.
8256 Also use G_DEFINE_TYPE instead of manually typed code.
8258 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8265 * debian/rules: Updating.
8267 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8269 * examples/Makefile.am:
8270 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8271 bug NB#61128. Strangely it works.
8273 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8275 * src/hildon-date-editor.c: When the date editor entry has been changed
8276 but the numbers of characters < max, turn off the skip validation flag.
8277 Prevents a situation when we enter first a valid year and later re-write
8278 it with an invalid one. Fixes NB#60154.
8280 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8282 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8283 code dialog. Fixes NB#64355.
8285 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8287 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8288 switching the page. Fixes NB#49374.
8290 * examples/Makefile.am:
8291 * examples/hildon-wizard-dialog-example.c: Adding an example for
8292 HildonWizardDialog that shows how to handle manual sensitivity setting on
8295 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8299 * src/hildon-version.h.in:
8300 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8302 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8304 * src/hildon-volumebar.c: Updating the docs.
8306 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8312 * debian/changelog: Updating.
8314 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8316 * src/hildon-find-toolbar.c:
8317 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8318 selected item: hildon_find_toolbar_set_active,
8319 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8320 hildon_find_toolbar_get_active_iter . They correspond to respective
8321 GtkComboBox functions.
8323 * examples/Makefile.am:
8324 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8327 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8329 * examples/Makefile.am:
8330 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8333 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8334 when font size > 32 and we pack a focusable widget inside. Actually using
8335 the default response would work too, but since we don't show default
8336 response state in any way (no theming) it would not be visible to the
8337 user. Fixes NB#63430.
8339 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8341 * src/hildon-date-editor.c: Adding the missing variable setter in the
8342 set_property handler. Fixes NB#54182.
8344 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8346 * src/hildon-window.h: Changing the long key press time from 1500ms to
8347 800ms as requested in NB#63700. I have a bad feeling about this, let's
8348 see... Fixes NB#63700.
8350 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8352 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8353 hildon_time_picker_map, hildon_time_picker_realize,
8354 hildon_time_picker_style_set): Split the contents of map to more
8355 appropriate functions; set window decorations on realize and update
8356 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8358 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8363 * debian/changelog: Updating.
8365 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8367 * src/Makefile.am: fixed installation of the header files
8369 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8375 * debian/changelog: Updating.
8377 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8379 * configure.ac: Removing some remaining of --enable-xan.
8381 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8383 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8384 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8386 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8387 2.10.12-osso6 because the move-focus signal needs to be available in
8390 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8392 * examples/Makefile.am:
8393 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8394 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8395 fine. Prolly NB#61128 is fixed now.
8397 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8399 * src/hildon-volumebar.c:
8400 * src/hildon-volumebar.h: Adding the
8401 hildon_volumebar_set_range_insensitive_message and
8402 hildon_volumebar_set_range_insensitive_messagef functions to set
8403 insensitive message on the slider of the volumebar. Fixes NB#61129.
8405 * examples/Makefile.am:
8406 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8407 test the new insensitive messsage functionality on HildonVolumebar.
8409 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8411 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8414 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8416 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8417 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8418 button on after clearing the trail.
8420 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8422 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8424 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8426 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8427 by splitting the installed headers in generated and non-generated groups. Use
8428 only the non-generated headers to create the hildon-enum-types.h file.
8430 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8432 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8434 * src/hildon-window.c: Hide the window before performing the destroy.
8435 Should make the app closing a little tiny bit more snappy.
8437 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8439 * src/hildon-seekbar.c: add gtkrange.h header
8440 * src/hildon-caption.c: remove unused variable
8442 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8444 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8447 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8453 * debian/changelog: Updating.
8455 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8457 * src/hildon-window.c (hildon_window_window_state_event,
8458 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8459 escape timeout on focus-out-event rather than notify::is-topmost; the
8460 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8462 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8464 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8465 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8467 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8469 * src/hildon-window: actually, you need to use the macro always, there's
8470 no private pointer in the instance structure. We should have cleaned this up
8471 when we had the chance...
8473 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8475 * src/hildon-window.c: do not get the private date from HildonWindow before
8476 it passes the g_return_if_fail check. Once it's passed the test, there's no
8477 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8478 if you are only going to access the data once. Whitespace cleanups.
8480 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8482 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8483 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8485 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8491 * debian/changelog: Updating.
8493 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8495 * src/hildon-window.c: When destroying the window, remove (if exists) the
8496 escape timeout handler. Fixes #NB59276.
8498 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8500 * src/hildon-banner.c: When realizing the widget, set the window
8501 transiency. Setting the transiency in the gobject constructor is not
8502 good, as the widget is not realized at that point. Fixes: #NB56624.
8504 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8506 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8507 Add padding for future expansions.
8509 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8511 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8512 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8513 will fake an activation on the previous to the last item of the trail, so
8514 the effect can be overrided by the developer as usual.
8515 Also change the callback for the back button to do the same thing, so its
8516 effect can be overrided too. Fixes: NB#58982
8518 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8520 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8521 HildonCaption. Fixes NB#52379.
8523 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8525 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8526 the internal state of the trail after the user has had the chance of executing
8527 his handler for the signal. Specifically, it may happen that the activated button
8528 is removed and the user still lets the default handler run. This would segfault
8531 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8533 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8534 scrollbar to the preview dialog. Fixes NB#54147.
8536 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8538 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8539 max/min year properties can be altered, so the client can modify it
8540 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8542 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8544 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8545 hildonlike by default. Fixing a problem with disappearing arrows when
8546 scrolling through months and years. Fixes NB#54127.
8548 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8550 * examples/hildon-date-editor-example.c: Adding error callback to the date
8553 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8559 * configure.ac: Updating.
8561 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8563 * configure.ac: Adding a special '--enable-xan' configure option that
8564 turns off the -Werror compilation setting. Usefull for development.
8566 * src/hildon-calendar.c:
8567 * src/hildon-number-editor.c:
8568 * src/hildon-time-picker.c: Adding the 5* multiplier to
8571 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8573 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8574 instead of g_object_ref + gtk_object_sink.
8576 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8582 * debian/changelog: Updating.
8584 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8586 * src/hildon-color-chooser-dialog.c:
8587 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8588 straight from Tommi labs.
8590 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8592 * examples/hildon-finger-example.c: Correcting the header file path.
8594 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8595 the changed signal. Fixes a small memory leak.
8597 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8601 * src/hildon-banner.c: Importing several usefull fixes from the
8602 ubuntu-mobile branch.
8604 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8606 * examples/Makefile.am:
8607 * examples/hildon-finger-example.c: Adding a finger-checking code
8610 * src/hildon-font-selection-dialog.c: Do not allocate the color
8611 structure using the g_new. Fixes NB#54061.
8613 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8615 * src/hildon-helper.c: Correcting tabs in file.
8617 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8619 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8620 control the visibility of the children.
8622 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8624 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8630 * debian/changelog: Updating.
8632 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8634 * src/hildon-bread-crumb-trail.c:
8635 (hildon_bread_crumb_trail_size_allocate):
8637 Make the back button always a square.
8639 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8641 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8642 from the .c file as it's a private file.
8644 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8646 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8647 uses slightly bigger height.
8649 * src/hildon-font-selection-dialog.c: Adding some checks before
8650 freeing memory in the font selection dialog.
8652 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8654 * src/hildon-font-selection-dialog.c: Adding a small check when
8657 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8658 buttons sensitivity on page switching.
8660 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8662 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8663 internal details of adding a bread crumb to the trail.
8665 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8671 * debian/changelog: Updating.
8673 * src/hildon-bread-crumb-trail.h:
8674 * src/hildon-bread-crumb.h: Changing the API guard to
8675 HILDON_ENABLE_UNSTABLE_API.
8677 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8685 * src/hildon-helper.h: Updating.
8687 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8695 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8699 * src/hildon-helper.h: Small fix to make the package actually compile.
8701 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8703 * src/hildon-bread-crumb-trail.h:
8704 * src/hildon-bread-crumb.h:
8706 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8707 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8709 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8711 * examples/hildon-bread-crumb-trail-example.c:
8713 * src/hildon-bread-crumb-trail.c:
8714 * src/hildon-bread-crumb-trail.h:
8715 * src/hildon-bread-crumb.c:
8716 * src/hildon-bread-crumb.h:
8717 * src/hildon-marshalers.list:
8718 * src/hildon-bread-crumb-widget.c:
8719 * src/hildon-bread-crumb-widget.h:
8721 Slight change in the widget design. The bread crumb trail API is
8722 unchanged, but HildonBreadCrumb is now an interface. A *private*
8723 implementation, hildon-bread-crumb-widget, is provided and used
8724 internally by the trail for the push_text/push_icon functions.
8726 The generic push API is still available, so anyone can implement
8727 and use its own bread crumb widget.
8729 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8731 * debian/rules: Fixing the shlibs.
8733 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8735 * src/hildon-banner.c: Fixing a problem with timed banners having
8736 their parrent destroyed before they are.
8738 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8740 * src/hildon-bread-crumb.c:
8741 * src/hildon-bread-crumb.h:
8743 Make the get_natural_size function a vfunc.
8745 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8747 * src/hildon-bread-crumb.c:
8748 * src/hildon-bread-crumb-trail.c:
8752 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8759 * debian/changelog: Updating for release.
8761 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8763 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8764 don't leak the pango layout.
8766 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8769 * examples/hildon-bread-crumb-trail-example.c:
8773 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8775 * debian/changelog: Removing the bug-fixed entries that were actually
8776 resolved as WONTFIX.
8778 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8781 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8783 * src/hildon-bread-crumb-trail.c:
8784 * src/hildon-bread-crumb-trail.h:
8785 * src/hildon-bread-crumb.c:
8786 * src/hildon-bread-crumb.h:
8790 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8792 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8793 until it's passed the type check.
8795 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8797 * examples/hildon-bread-crumb-trail-example.c
8801 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8803 * examples/Makefile.am
8804 * examples/hildon-bread-crumb-trail-example.c
8806 * src/hildon-bread-crumb-trail.c
8807 * src/hildon-bread-crumb-trail.h
8808 * src/hildon-bread-crumb.c
8809 * src/hildon-bread-crumb.h
8811 New HildonBreadCrumbTrail widget.
8813 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8815 * src/hildon-range-editor.c (hildon_range_editor_init),
8816 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8817 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8818 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8819 hildon_time_editor_class_init, hildon_time_editor_init),
8820 src/hildon-get-password-dialog.c (invalid_input,
8821 hildon_get_password_set_property, hildon_get_password_get_property,
8822 create_contents, hildon_get_password_dialog_set_max_characters),
8823 src/hildon-set-password-dialog.c (create_contents),
8824 src/hildon-date-editor.c (hildon_date_editor_init),
8825 src/hildon-login-dialog.c (hildon_login_dialog_init),
8826 src/hildon-number-editor.c (hildon_number_editor_init),
8827 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8828 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8829 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8830 configure option and adding the respective checks in the code.
8831 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8832 hildon_calendar_drag_data_received): fixed some build warnings.
8834 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8836 * debian/changelog: A 1.0.0 release notes.