1 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-main.c: Minor documentation fixes.
5 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
7 * doc/hildon-sections.txt:
8 * hildon/hildon-defines.h: Document the defines, organize them,
9 and mark deprecations as such.
11 Fixes: MB#4463 (Hildon size #defines are undocumented)
13 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
15 * hildon/hildon-animation-actor.c:
16 * hildon/hildon-app-menu.c:
17 * hildon/hildon-button.c:
18 * hildon/hildon-date-editor.c:
19 * hildon/hildon-dialog.c:
20 * hildon/hildon-edit-toolbar.c:
21 * hildon/hildon-entry.c:
22 * hildon/hildon-program.c:
23 * hildon/hildon-remote-texture.c:
24 * hildon/hildon-stackable-window.c:
25 * hildon/hildon-text-view.c:
26 * hildon/hildon-touch-selector.c:
27 * hildon/hildon-window-stack.c:
28 * hildon/hildon-window.c:
30 Remove redundant "represents" wording from most of the documentation.
32 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
34 2009-06-12 Alberto Garcia <agarcia@igalia.com>
39 * hildon/hildon-banner-private.h
40 * hildon/hildon-banner.c:
41 Move HildonBannerPrivate to hildon-banner.c and remove
42 hildon-banner-private.h
43 Use a bit field to store private booleans.
45 2009-06-12 Alberto Garcia <agarcia@igalia.com>
47 * hildon/hildon-app-menu.c (hildon_app_menu_map):
48 Don't install a new idle function if there's already one
53 2009-06-11 Alberto Garcia <agarcia@igalia.com>
55 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
56 (+legacy_menu_realized, +legacy_menu_unmapped)
57 (+set_legacy_menu_type):
58 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
59 they can be identified by the window manager.
61 Fixes: NB#101437 (Invoking CSM on the left side of page area is
62 displayed in wrong location)
64 Fixes: MB#4563 (Popup menu won't locate at the left side of the
67 2009-06-11 Alberto Garcia <agarcia@igalia.com>
69 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
71 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
74 2009-06-11 Alberto Garcia <agarcia@igalia.com>
76 * hildon/hildon-code-dialog.c
77 * hildon/hildon-date-editor.c
78 * hildon/hildon-number-editor.c
79 * hildon/hildon-seekbar.c
80 * hildon/hildon-stackable-window.c
81 * hildon/hildon-window.c:
82 Misc documentation updates
84 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
86 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
87 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
89 Fixes: NB#117931 (Theming issues in accounts dialogs)
91 2009-06-09 Alejandro G. Castro <alex@igalia.com>
93 * hildon/hildon-pannable-area.c,
94 (hildon_pannable_area_button_release_cb): Changed the coordinates
95 of the original release in case we want to discard the release,
96 some widgets in Fremantle do not handle the leave-notify.
98 2009-06-09 Alejandro G. Castro <alex@igalia.com>
100 * hildon/hildon-pannable-area.c,
101 (hildon_pannable_area_button_release_cb): Reviewed the logic of
102 the release using the last refactored functions and avoiding the
103 movement if an element was selected.
105 2009-06-09 Alejandro G. Castro <alex@igalia.com>
107 * hildon/hildon-pannable-area.c,
108 (hildon_pannable_area_check_move),
109 (hildon_pannable_area_handle_move),
110 (hildon_pannable_area_motion_notify_cb): Refactored the
111 motion_notify method using a couple of new functions.
113 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
115 * hildon/hildon-date-selector.c:
116 (hildon_date_selector_construct_ui):
117 * hildon/hildon-time-selector.c:
118 (hildon_time_selector_constructor):
119 * hildon/hildon-touch-selector-entry.c:
120 (hildon_touch_selector_entry_set_text_column),
121 (hildon_touch_selector_entry_get_text_column):
122 * hildon/hildon-touch-selector.c: (_default_print_func),
123 (hildon_touch_selector_new_text): Use
124 hildon_touch_selector_set/get_text_column() instead of
125 setting/getting the "text-column" property.
127 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
129 * doc/hildon-sections.txt: Add the new public methods below.
131 * examples/hildon-picker-button-multicolumn-example.c:
132 (create_touch_selector):
133 * examples/hildon-touch-selector-example.c: (create_selector):
134 * examples/hildon-touch-selector-multi-cells-example.c:
136 Use hildon_touch_selector_column_set_text_column()
138 * hildon/hildon-touch-selector-column.h:
139 * hildon/hildon-touch-selector.c:
140 (hildon_touch_selector_column_set_text_column),
141 (hildon_touch_selector_column_get_text_column):
142 Make hildon_touch_selector_column_set/get_column() public, use
143 them in the inline example, document them, and reference to them
146 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
148 * hildon/hildon-time-selector.c: Fix the docs for
149 hildon_time_selector_new_step().
151 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
153 * hildon/hildon-touch-selector.c: Improve the documentation for
154 hildon_touch_selector_append_column().
156 Fixes MB#4641 (Documentation:
157 hildon_touch_selector_append_column() ref-counting)
159 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
161 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
162 Comment out test 5, since the hildon_controlbar_set_range() range
163 check is broken and fixing it would have side effects. Also,
164 this finally fixes make distcheck.
166 Fixes: NB#101420 (Update unit tests and fix make distcheck)
168 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
170 * tests/TEST-CASES.txt: Remove other bogus test.
171 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
172 Remove bogus test that was setting/retrieving a valid value.
174 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
176 * tests/TEST-CASES.txt: Remove bogus tests.
177 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
178 Remove three bogus tests that were actually setting valid colors.
180 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
182 * configure.ac: post release version bump
183 * debian/changelog: post release version bump
185 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
190 * configure.ac: Bump version.
191 * debian/changelog: Updates.
193 2009-06-08 Christian Dywan <christian@lanedo.com>
197 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
198 Correct errors in hildon_format_file-size_for_display and use
199 translations from the hildon-fm package instead of osso-filemanager.
201 2009-06-08 Alejandro G. Castro <alex@igalia.com>
203 * hildon/hildon-pannable-area.c,
204 (hildon_pannable_area_init): Initialized new values to handle the
206 (hildon_pannable_area_adjust_value_changed): Check if the values
207 changed before even call the redraw function.
208 (hildon_pannable_area_size_allocate),
209 (hildon_pannable_axis_scroll),
210 (hildon_pannable_area_scroll),
211 (hildon_pannable_area_jump_to): Improved the diagonal movement
214 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
217 2009-06-08 Alberto Garcia <agarcia@igalia.com>
219 * examples/hildon-banner-example.c:
220 Several style updates
221 (on_animation_clicked, on_animation_idle)
222 (on_progress_clicked, on_progress_idle):
223 Add additional reference for the cases when the parent window is
226 2009-06-08 Alberto Garcia <agarcia@igalia.com>
228 * doc/hildon-sections.txt
229 * hildon/hildon-pannable-area.c
230 * hildon/hildon-banner.h
231 * hildon/hildon-banner.c: Documentation updates.
233 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
236 2009-06-05 Alejandro G. Castro <alex@igalia.com>
238 * hildon/hildon-calendar-popup.h:
239 * hildon/hildon-caption.h:
240 * hildon/hildon-code-dialog.h:
241 * hildon/hildon-controlbar.h:
242 * hildon/hildon-date-editor.h:
243 * hildon/hildon-dialog.h:
244 * hildon/hildon-get-password-dialog.h:
245 * hildon/hildon-hvolumebar.h:
246 * hildon/hildon-login-dialog.h:
247 * hildon/hildon-note.h:
248 * hildon/hildon-number-editor.h:
249 * hildon/hildon-range-editor.h:
250 * hildon/hildon-seekbar.h:
251 * hildon/hildon-set-password-dialog.h:
252 * hildon/hildon-sort-dialog.h:
253 * hildon/hildon-time-editor.h:
254 * hildon/hildon-time-picker.h:
255 * hildon/hildon-volumebar-range.h:
256 * hildon/hildon-volumebar.h:
257 * hildon/hildon-vvolumebar.h:
258 * hildon/hildon-weekday-picker.h:
259 * hildon/hildon-window.h:
260 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
261 macros with the current replacements
263 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
265 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
267 * hildon/hildon-color-button.c (hildon_color_button_init): Use
268 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
269 itself, to make it fit better with Fremantle style.
271 Fixes: NB#109878 (height and width of focus on color icon is not
272 consistent with other item in the application tool bar)
274 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
276 * hildon/hildon-touch-selector.c:
277 (hildon_touch_selector_optimal_size_request): use the current requisition
278 as the base, in order to include any possible extra widget, like the
279 hildon entry on HildonTouchSelectorEntry
281 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
283 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
285 * configure.ac: post release version bump
286 * debian/changelog: post release version bump
288 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
293 * configure.ac: Bump version.
294 * debian/changelog: Updates.
296 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
298 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
300 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
301 to ensure the banner contents are centered, instead of relying on
302 the expand and fill properties in GtkHBox.
303 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
305 Fixes: NB#108265 (Animation banner not properly centered)
307 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
309 * hildon/hildon-pannable-area.c
310 (hildon_pannable_area_initial_effect): Remove the initial_effect
311 management, check initial_hint
312 (hildon_pannable_are_expose_event): Remove the initial_hint management,
313 set initial_effect to FALSE
314 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
315 by launching the fade_timeout if the scrollbars state has changed and are
317 * examples/hildon-pannable-area-initial-hint-example.c
318 Modified to allow to remove rows too. Add and remove rows one by one.
320 2009-05-28 Alberto Garcia <agarcia@igalia.com>
322 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
323 Don't close the menu if there's an animation actor below it.
325 Fixes: NB#117927 (Application menu not usable with animation
328 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
330 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
331 "focus-on-click" from the dialog button, to avoid stealing the
332 focus from the entry.
334 Fixes: NB#118903 (Account setup wizard: Text in Search field
335 should be focused when "Region" touch list picker is reopened
338 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
340 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
341 (prepare_action_area): Completely hide the dialog separator.
343 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
345 * hildon/hildon-touch-selector-entry.c
346 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
347 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
348 now that the entry is exposed.
350 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
352 * hildon/hildon-touch-selector-entry.c
353 (hildon_touch_selector_entry_init): Change the entry's size
354 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
356 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
358 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
359 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
360 avoid unnecessary scaling.
362 2009-05-27 Alberto Garcia <agarcia@igalia.com>
364 * hildon/hildon-app-menu.c (hildon_app_menu_map):
365 Create grab transfer window before calling parent's map function.
367 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
368 "crushed" button(s) in the top left corner)
370 2009-05-26 Alberto Garcia <agarcia@igalia.com>
372 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
373 Check if the window is already realized when pushing it.
375 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
377 * configure.ac: post release version bump
378 * debian/changelog: post release version bump
380 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
385 * configure.ac: Bump version.
386 * debian/changelog: Updates.
388 2009-05-25 Alberto Garcia <agarcia@igalia.com>
390 * hildon/hildon-app-menu.c: Doc updates.
392 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
394 * hildon/hildon-banner.c: Remove leftover macro.
396 2009-05-25 Alejandro G. Castro <alex@igalia.com>
398 * hildon/hildon-pannable-area.c,
399 (hildon_pannable_area_scroll_indicator_fade),
400 (hildon_pannable_area_button_release_cb): Reviewed vmin
401 conditions, it could cause problems in the fadeout procedure.
403 2009-05-25 Alejandro G. Castro <alex@igalia.com>
405 * hildon/hildon-pannable-area.c
406 (hildon_pannable_area_button_release_cb): Added a threshold to
407 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
409 2009-05-25 Alejandro G. Castro <alex@igalia.com>
411 * hildon/hildon-pannable-area.c,
412 (hildon_pannable_area_set_property): Added code to sync the gtk
413 dnd threshold with the panning threshold.
415 2009-05-25 Alejandro G. Castro <alex@igalia.com>
417 * hildon/hildon-pannable-area.c,
418 (hildon_pannable_area_class_init): Changed some of the default
419 values, now it should be less responsive and more accurate.
421 2009-05-25 Alejandro G. Castro <alex@igalia.com>
423 * hildon/hildon-pannable-area.c,
424 (hildon_pannable_area_init),
425 (hildon_pannable_area_scroll_indicator_fade),
426 (hildon_pannable_area_button_press_cb),
427 (hildon_pannable_axis_scroll),
428 (hildon_pannable_area_timeout),
429 (hildon_pannable_area_motion_notify_cb),
430 (hildon_pannable_area_button_release_cb): Changed the name of the
431 clicked attribute to button_pressed, it is more clear about its use.
433 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
435 * src/hildon-pannable-area.c
436 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
438 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
439 vertical scrollbar visibility, and use the data on private section instead,
440 remove the initial_hint check
441 (hildon_pannable_area_expose_event): add the initial_hint check here
443 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
445 * src/hildon-pannable-area.c
446 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
447 if the fadeout effect was used
448 (hildon_pannable_area_expose_event): check if it is required to
449 manage the initial effect on the begining of the function. Previously
450 it was made at the end, but this doesn't ensure that the scrollbars
451 will be painted on the first show. Do not set to FALSE initial_effect,
452 to ensure that the initial hint is showed the first time the pannable
454 * examples/Makefile.am
455 * examples/hildon-pannable-area-initial-hint-example.c:
456 New example, to show that the initial-hint is showed when the widget
459 Fixes: NB#116607 (Pannable area should always have scrollbar visible
460 initially if the application can be scrolled)
462 2009-05-25 Alberto Garcia <agarcia@igalia.com>
464 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
465 Resize table before adding new items to make sure that
466 gtk_table_resize() is called just once.
468 2009-05-25 Alberto Garcia <agarcia@igalia.com>
470 * hildon/hildon-app-menu-private.h
471 * hildon/hildon-app-menu.c (item_visibility_changed)
472 (filter_visibility_changed, hildon_app_menu_show_all)
473 (hildon_app_menu_hide_all, hildon_app_menu_init):
474 Rearrange items just once when gtk_widget_show_all()/hide_all()
477 2009-05-25 Alberto Garcia <agarcia@igalia.com>
479 * hildon/hildon-app-menu.c
480 (hildon_app_menu_insert, hildon_app_menu_add_filter):
481 Don't call gtk_widget_show() on added items.
483 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
484 automatically when they're added)
486 2009-05-20 Alberto Garcia <agarcia@igalia.com>
488 * hildon/hildon-banner.c
489 (hildon_banner_realize, +hildon_banner_unrealize)
490 (+screen_size_changed, hildon_banner_class_init):
491 Redisplay the banner if the screen is rotated.
493 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
494 on transition from landscape to portrait)
496 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
498 * hildon/hildon-banner.[ch]:
499 (hildon_banner_show_information_override_dnd): remove icon_name from the
500 method definition as it is ignored.
501 * examples/hildon-banner-dnd-example.c: updated with the change on
504 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
506 * hildon/hildon-banner-private.h: new require_override_dnd and
507 overrides_dnd variables
508 * hildon/hildon-banner.h:
509 (hildon_banner_show_information_override_dnd): new method, that shows
510 the information but sets the override flag, in order to show important
512 * hildon/hildon-banner.c
513 (hildon_banner_show_information_override_dnd): new method
514 (hildon_banner_set_override_flag): new utility function
515 (hildon_banner_real_show_information): new utility function, in order to
516 generalize the current hildon_banner_show_information_override_dnd and
517 hildon_banner_show_information_override_dnd
518 * examples/Makefile.am
519 * examples/hildon-banner-dnd-example.c: New example that show how to
520 use the new hildon_banner_show_information_override_dnd
522 Fixes: NB#114874 (There is no possibility to show hildon banners with
525 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
527 * hildon/hildon-pannable-area.c: Add a comment explaining the math
528 behind hildon_pannable_calculate_vel_factor().
530 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
532 * hildon/hildon-pannable-area.c
533 (hildon_pannable_calculate_vel_factor): Correct the sum of the
534 deceleration factors.
536 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
538 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
539 Reduce the default value for 'scroll_time' to 1 second, since the
540 current initial scrolling takes too much time.
542 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
544 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
545 calculate velocity factor during initialization, since the properties
548 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
550 * hildon/hildon-pannable-area.c
551 (hildon_pannable_area_set_property): Calculate the velocity factor
552 after setting the deceleration property and not after.
554 2009-05-20 Alberto Garcia <agarcia@igalia.com>
556 * hildon/hildon-entry.c
557 (hildon_entry_class_init, +set_property, hildon_entry_new)
558 * hildon/hildon-check-button.c
559 (hildon_check_button_class_init)
560 (+set_property, hildon_check_button_new):
561 Make the theme size a property.
563 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
564 others) do too much in the _new function)
566 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
568 * configure.ac: post release version bump
569 * debian/changelog: post release version bump
571 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
576 * configure.ac: Bump version.
577 * debian/changelog: Updates.
579 2009-05-15 Alberto Garcia <agarcia@igalia.com>
581 * hildon/hildon-gtk.h
582 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
583 New API function to take a screenshot of a window
585 Fixes: NB#106374 (Need API to take a loading screenshot)
587 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
589 * hildon/hildon-time-selector.c
590 (update_format_policy): prevent to use hours and minutes unitialized
592 2009-05-15 Alberto Garcia <agarcia@igalia.com>
594 * hildon/hildon-window.c (hildon_window_size_request):
595 Always request the full size of the screen (minus the title bar if
596 not in fullscreen mode).
598 Fixes: NB#107486 (HildonWindow should size itself properly)
600 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
602 * hildon/hildon-note-private.h: Add idle_handler to the private data.
603 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
604 (on_show_cb), (sound_handling): Disconnect the idle handler for
605 the sound when the note is finalized to avoid possible crashes.
607 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
610 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
612 * src/hildon-animation-actor.c,
613 * src/hildon-remote-texture.c:
614 Added proper object cleanup to remove signal handler and object
615 references as HildonAnimationActor and HildonRemoteTexture
616 objects get destroyed.
618 Fixes: NB#116682 (Destroying parented animation actors when
619 parent in unmapped leads to crash)
621 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
623 Based on a patch by Christian Dywan (christian@imendio.com)
625 * doc/hildon-sections.txt:
626 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
627 * hildon/hildon-helper.h: New file size formatting method.
629 * debian/control: Depend on osso-filemanager l10n package for
630 proper localization strings.
632 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
634 * tests/Makefile.am: Include top_srcdir to make possible to build
635 tests in a different builddir.
636 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
637 on a different builddir.
639 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
641 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
642 (hildon_touch_selector_remove): Disconnect model's signal handler
645 Fixes: NB#116289 (Hildon home crashes while adding task
648 2009-05-11 Alberto Garcia <agarcia@igalia.com>
650 * hildon/hildon-button.c
651 (hildon_button_set_title, hildon_button_set_value):
652 Hide labels containing an empty string.
654 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
656 * configure.ac: post release version bump
657 * debian/changelog: post release version bump
659 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
664 * configure.ac: Bump version.
665 * debian/changelog: Updates.
667 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
669 * hildon/hildon-note-private.h: Removed sound_signal_handler
670 * hildon/hildon-note.c
671 (on_show_cb): new callback on note "show" event, this simply adds
672 a idle, with the function sound_handling
673 (sound_handling): removed the sound_signal_handler management
674 (hildon_note_init): connect note "show" event to on_show_cb
675 (hildon_note_realize): remove the connection to "expose-event"
677 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
678 device?' confirmation note)
680 2009-05-08 Alberto Garcia <agarcia@igalia.com>
682 * hildon/hildon-note.c
683 (hildon_note_new_information_with_icon_name)
684 (hildon_note_new_confirmation_with_icon_name):
685 Terminate the list of parameters in g_object_set() calls
687 Fixes: NB#115166 (Formatting memory card is not taking place)
689 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
691 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
692 "dialog-information" role for the sound being played.
694 2009-05-06 Alberto Garcia <agarcia@igalia.com>
696 * hildon/hildon-app-menu.c (hildon_app_menu_init):
697 Don't make the menu a modal window, it causes strange interactions
698 with the pointer grab and it's not really needed.
700 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
702 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
704 * hildon/hildon-touch-selector.[ch]
705 (hildon_touch_selector_optimal_size_request): function added to get a
706 optimal size request from the touch selector, when you want a dialog to
707 show as much of the selector
708 * hildon/hildon-picker-dialog.c:
709 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
710 (hildon_app_menu_class_init):
711 New "max-height-landscape" and "max-height-portrait" style properties
712 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
713 (hildon_picker_dialog_get_max_height): returns the maximum height using
714 the style properties defined and checking the current portrait/landscape
716 (_hildon_picker_dialog_set_selector): removed the set_size_request
718 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
720 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
722 * hildon/hildon-bread-crumb-trail.c:
723 * hildon/hildon-bread-crumb.c:
724 * hildon/hildon-seekbar.c:
725 Add reference to replacements for these deprecated widgets.
727 Fixes: MB#4461 (Documentation: All deprecations should mention
730 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
732 * examples/hildon-remote-texture-example.c
734 Change the include to the hildon-remote-texture in order to compile
735 properly the examples on the installed libhildon1-examples package
737 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
739 * tests/Makefile.am: Add check for HildonPickerButton.
740 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
741 (START_TEST), (create_hildon_picker_button_suite): Add three simple
742 checks for the HildonPickerButton.
743 * tests/check_test.c (configure_tests): Add the test suite.
744 * tests/test_suites.h: likewise.
746 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
748 * hildon/hildon-touch-selector.c
749 (+on_row_changed): Emit HildonTouchSelector:changed when the
750 contents of a selected row change.
751 (_create_new_column), (_hildon_touch_selector_set_model): connect
752 to GtkTreeModel:row-changed on a newly set model.
754 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
756 2009-05-05 Alberto Garcia <agarcia@igalia.com>
758 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
760 * hildon/hildon-banner.c (hildon_banner_destroy)
761 (hildon_banner_show_progress, hildon_banner_set_fraction):
762 Remove the progress bar from HildonBanner and use a progress
765 Fixes: NB#113761 (Update progress banner to use progress
768 2009-05-04 Alberto Garcia <agarcia@igalia.com>
770 * hildon/hildon-banner.c:
771 Calculate size of the banner label using the actual screen width
772 rather than using a fixed value.
774 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
777 2009-05-04 Alejandro G. Castro <alex@igalia.com>
779 * hildon/hildon-pannable-area.c,
780 (hildon_pannable_area_class_init): Fixed signals documentation
783 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
785 * configure.ac: post release version bump
786 * debian/changelog: post release version bump
788 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
793 * configure.ac: Bump version.
794 * debian/changelog: Updates.
796 2009-05-01 Alberto Garcia <agarcia@igalia.com>
798 * hildon/hildon-edit-toolbar.c
799 (hildon_edit_toolbar_init):
800 Don't let buttons in HildonEditToolbar receive focus.
802 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
803 typing on an HW arrows key)
805 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
807 * doc/Makefile.am: Fix build.
809 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
811 * doc/Makefile.am: Do not redefine content_files.
813 2009-04-30 Alberto Garcia <agarcia@igalia.com>
821 Renamed src/ to hildon/
826 Include <hildon/hildon.h> directly in all examples.
828 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
830 * src/hildon-sort-dialog.c
831 (hildon_sort_dialog_add_sort_key_with_sorting)
835 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
837 * src/Makefile.am: Move generated sources to CLEANFILES, so that
838 make distcheck passes.
840 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
842 * Makefile.am: Enable gtk-doc during distcheck.
844 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
846 * Makefile.am: Do not distribute the debian/ directory.
848 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
850 * doc/Makefile.am: Add the extra SGML files to content_files,
851 so that they are distributed properly.
853 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
855 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
858 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
860 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
861 (hildon_note_new_information_with_icon_name): Set the "icon" property
862 to preserve soundness.
864 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
866 * src/hildon-font-selection-dialog.c
867 (hildon_font_selection_dialog_set_property): Fail when the "family"
868 property is set to NULL.
870 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
872 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
875 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
877 * src/hildon-time-selector.h:
878 Added HildonTimeSelectorFormatPolicy
879 * src/hildon-time-selector.c:
880 Added PROP_TIME_FORMAT_POLICY
881 (_check_ampm_format): renamed to check_automatic_ampm_format
882 (update_format_policy), (update_format_dependant_columns): new functions
883 (hildon_time_selector_class_init)
884 (hildon_time_selector_contructor)
885 (hildon_time_selector_init)
886 (hildon_time_selector_get_property)
887 (hildon_time_selector_set_property)
888 (hildon_time_selector_get_time)
889 (hildon_time_selector_set_time)
890 * src/hildon-touch-selector.h: new file
891 * src/hildon-touch-selector.c
892 (hildon_touch_selector_emit_changed)
893 (hildon_touch_selector_block_changed)
894 (hildon_touch_selector_unblock_changed)
895 Added functions to allow to block the emission of the "changed" signal
896 * src/hildon-picker-dialog.c
897 (hildon_picker_dialog_show): call the parent show before the custom code
898 * examples/hildon-time-button-example.c
899 Modified, so now you can configure the time format using the new property
901 Added a new property "time-format-policy" that allow to choose the time
902 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
903 case it uses gconf in order to check if the time selector must use
906 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
909 2009-04-28 Alberto Garcia <agarcia@igalia.com>
911 * src/hildon-note.c (hildon_note_init):
912 Label in HildonNote must be left aligned, not centered. This
913 reverts the last commit in HildonNote.
915 Fixes: NB#112933 (text is not left aligned in confirmation dialog
916 is connectivity dialog)
918 2009-04-27 Alberto Garcia <agarcia@igalia.com>
923 * doc/hildon-sections.txt:
924 Added hildon_gtk_window_set_do_not_disturb()
926 2009-04-27 Alberto Garcia <agarcia@igalia.com>
928 * src/hildon-note.c (hildon_note_init): Center label.
930 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
933 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
938 * configure.ac: Bump version.
939 * debian/changelog: Updates.
941 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
943 * src/hildon-note-private.h: Add button-width to the private data.
944 * src/hildon-note.c (+resize_button),
945 (+hildon_note_orientation_update): methods to repack widgets on orientation
947 (screen_size_changed): Call above method for confirmation notes.
948 (hildon_note_realize): Always connect to the "screen-size" changed signal.
949 (hildon_note_rebuild): Store the original width request from buttons.
951 Fixes: NB#109635 (Confirmation notes do not support portrait)
953 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
955 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
956 when it is a progress note.
958 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
960 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
961 in the note, since there are no horizontally arranged contents.
963 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
965 * src/hildon-gtk.c (+set_flag): new generic method to
966 set/delay a flag setting in a window.
967 (hildon_gtk_window_set_progress_indicator):
968 (hildon_gtk_window_set_do_not_disturb),
969 (hildon_gtk_window_set_portrait_flags): use set_flag() to
970 avoid code redundance.
972 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
974 Based on a patch by Alberto Garcia (agarcia@igalia.com)
976 * src/hildon-gtk.c (set_clear_window_flag),
977 (do_set_progress_indicator), (do_set_do_not_disturb),
978 (do_set_portrait_flags),
979 (hildon_gtk_window_set_progress_indicator),
980 (hildon_gtk_window_set_do_not_disturb),
981 (hildon_gtk_window_set_portrait_flags):
982 Allow setting dnd-flag, progress indicator, and portrait flags
983 when the window is not realized.
985 2009-04-24 Alejandro G. Castro <alex@igalia.com>
987 * src/hildon-pannable-area.c,
988 * src/hildon-pannable-area.h: Add the hildon deprecated define to
989 the size request policy function and defines.
991 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
993 * doc/hildon-sections.txt: Add the new API.
994 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
995 method to set the portrait flags.
996 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
998 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1000 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1002 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1003 to allow using this method with other flags.
1004 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1005 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1007 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1009 * src/hildon-touch-selector.c
1010 (hildon_touch_selector_append_text_column):
1011 Make the cell renderer use the smallest width possible.
1013 Fixes: NB#108470 (Selected items in multiple selection are either
1014 having a tick that is cut or not visible at all.)
1016 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1018 * src/hildon-touch-selector.c
1019 (hildon_touch_selector_append_text_column):
1022 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1024 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1025 Use g_strdup_printf() instead of a fixed size buffer.
1027 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1029 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1030 Close banners when a HildonAppMenu is popped up.
1032 Fixes: NB#111027 (Title menu closed immediately if activated when
1033 "Invalid e-mail address" banner is shown)
1035 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1040 * configure.ac: Bump version.
1041 * debian/changelog: Updates.
1043 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1045 * src/hildon-banner.c (hildon_banner_realize):
1046 Mark HildonBanner as supporting portrait mode.
1047 Use GDK to set window properties insetad of direct Xlib calls.
1049 Fixes: NB#111830 (HildonBanner should be marked as supporting
1052 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1054 * src/hildon-note.c (hildon_note_rebuild):
1055 Hide action area in information notes. Prevents text from being
1056 slightly aligned to the left.
1058 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1061 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1063 Patch by Mox Soini (ext-mox.soini@nokia.com)
1065 * src/hildon-banner.c (hildon_banner_create_animation):
1066 Use stylus-sized icons in animation banner.
1068 Fixes: NB#111206 (stylus sized icon for animation banner)
1070 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1074 (+hildon_gtk_window_set_do_not_disturb):
1075 New API to set the do-not-disturb flag.
1077 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1079 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1081 * examples/hildon-progress-indicator-example.c: Fix example
1083 * src/hildon-gtk.c (set_clear_window_flag)
1084 (hildon_gtk_window_set_progress_indicator):
1085 Create a generic function for setting flags to a window.
1086 Use GDK instead of direct Xlib calls.
1088 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1090 * src/hildon-button.c (hildon_button_set_arrangement):
1091 Due to NB#88126, if one of the labels is too long it will be
1092 painted outside the button. The 'value' label is more likely to be
1093 the longest one, so we change its packing options in order to
1094 truncate it if necessary. As a side effect, the 'title' label will
1095 no longer be truncated.
1097 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1099 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1104 * configure.ac: Bump version.
1105 * debian/changelog: Updates.
1107 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1109 Deprecation of the hildon_pannable_area_set_size_request_policy
1110 API, the only policy properly supported in gtk+ nowadays is the
1113 * src/hildon-pannable-area.c,
1114 (hildon_pannable_area_size_request): Added a workaround for the
1115 size_request to avoid the problems of huge pixmaps in case someone
1116 is still using the function.
1117 * src/hildon-pannable-area.h: Deprecated the enum with the
1120 Fixes: NB#110244 (Problems with the
1121 hildon_pannable_area_set_size_request_policy API)
1123 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1125 * src/hildon-pannable-area.c,
1126 (hildon_pannable_area_init),
1127 (hildon_pannable_area_size_request),
1128 (hildon_pannable_area_style_set),
1129 (hildon_pannable_draw_vscroll),
1130 (hildon_pannable_draw_hscroll),
1131 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1132 indicator_width to clarify the use of the attribute.
1134 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1139 * configure.ac: Bump version.
1140 * debian/changelog: Updates.
1142 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1144 * src/hildon-picker-dialog.c
1145 * src/hildon-touch-selector.c
1146 Reverting the change that tried to avoid the hardcoded height on
1147 the picker dialog, as causes problems on the hildon-touch-selector
1150 Fixes: NB#110029 (selectors not scrolling to selected value)
1152 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1154 * src/hildon-touch-selector.c: Fix typos
1156 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1158 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1159 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1160 request more motions after using it.
1162 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1164 * src/hildon-calendar.c (hildon_calendar_expose),
1165 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1166 Remove unused variables.
1168 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1170 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1171 variable assignment.
1173 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1175 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1176 Check the return value of gtk_tree_selection_get_selected()
1179 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1181 * src/hildon-animation-actor.c
1182 * src/hildon-button.c
1184 * src/hildon-pannable-area.c
1185 * src/hildon-picker-button.c
1186 * src/hildon-program.c
1187 * src/hildon-remote-texture.c
1188 * src/hildon-text-view.c
1189 * src/hildon-touch-selector.c
1190 * src/hildon-window-stack.c
1191 * src/hildon-window.c:
1192 Add missing 'Since: 2.2' tags.
1194 * doc/hildon-sections.txt:
1195 Add some missing symbols.
1197 * doc/hildon-docs.sgml:
1198 New 'Other' section for HildonAnimationActor and
1201 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1203 Patch by Iván Gómez (igomez@igalia.com)
1206 * doc/compiling.sgml
1207 * doc/hildon-docs.sgml
1208 * doc/hildon-sections.txt
1209 * doc/migration.sgml
1210 * doc/resources.sgml
1212 New chapters on using the Hildon library.
1213 Updated the general structure of the reference manual.
1214 Other minor documentation fixes.
1216 * src/hildon-calendar-popup.c
1217 * src/hildon-calendar.c
1218 * src/hildon-controlbar.c
1219 * src/hildon-date-editor.c
1220 * src/hildon-dialog.c
1221 * src/hildon-hvolumebar.c
1222 * src/hildon-number-editor.c
1223 * src/hildon-range-editor.c
1224 * src/hildon-sort-dialog.c
1225 * src/hildon-time-editor.c
1226 * src/hildon-time-picker.c
1227 * src/hildon-volumebar-range.c
1228 * src/hildon-volumebar.c
1229 * src/hildon-vvolumebar.c
1230 * src/hildon-weekday-picker.c:
1231 Add deprecation notes
1233 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1234 Document 'horizontal-movement' and 'vertical-movement' signals.
1236 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1241 * configure.ac: Bump version.
1242 * debian/changelog: Updates.
1244 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1246 * src/hildon-pannable-area.c,
1247 (hildon_pannable_area_class_init): increased the minimum velocity.
1248 (hildon_pannable_area_button_release_cb): Updated the
1249 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1250 setup. Review the code to control that last event.
1252 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1255 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1257 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1259 * src/hildon-get-password-dialog.c
1260 (hildon_get_password_set_property),
1261 (hildon_get_password_get_property), (create_contents):
1262 * src/hildon-login-dialog-private.h:
1263 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1264 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1265 (hildon_login_dialog_get_password):
1266 * src/hildon-set-password-dialog-private.h:
1267 * src/hildon-set-password-dialog.c
1268 (hildon_set_password_set_property),
1269 (hildon_set_password_get_property), (create_contents),
1270 (hildon_set_password_response_change),
1271 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1273 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1274 instead and look more Fremantle style.
1276 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1278 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1280 * doc/hildon-sections.txt
1281 * src/hildon-window-stack.h
1282 * src/hildon-window-stack.c
1283 (+hildon_window_stack_get_windows):
1284 New API to obtain the list of windows on a stack.
1286 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1288 * src/hildon-app-menu.c (hildon_app_menu_popup)
1289 (hildon_app_menu_class_init, -hildon_app_menu_show):
1290 Remove hildon_app_menu_show() and move all its checks to
1291 hildon_app_menu_popup()
1293 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1295 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1296 (_hildon_picker_dialog_set_selector): removed call to
1297 gtk_widget_set_size_request
1298 * src/hildon-touch-selector.c
1299 (_create_new_column): change the pannable size request policy
1301 Avoid to use a hardcoded height for the hildon picker dialog. In order
1302 to get that, we needed to change the hildon pannable size request
1304 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1306 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1308 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1309 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1312 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1314 * debian/control: Depend on osso-system-lock localization package.
1315 * src/hildon-code-dialog.c: Obtain the secu_application_title
1316 translation from osso-system-lock.
1317 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1318 for translation the atk related strings, that's not necessary.
1319 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1320 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1321 cancel button, it is not required.
1323 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1325 * src/hildon-pannable-area.c,
1326 (hildon_pannable_area_class_init): Modified the default value of
1327 the overshooting max speed, we have reduced it.
1329 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1331 * doc/hildon-sections.txt
1332 * src/hildon-window-private.h
1333 * src/hildon-window.h
1334 * src/hildon-window.c (hildon_window_class_init)
1335 (hildon_window_init, hildon_window_finalize)
1336 (hildon_window_realize, hildon_window_get_property)
1337 (hildon_window_set_property, hildon_window_update_markup)
1338 (hildon_window_get_markup, hildon_window_set_markup):
1339 New "markup" property and hildon_window_{get,set}_markup() methods.
1341 * examples/hildon-stackable-window-example.c (new_window):
1342 Update example to use hildon_window_set_markup()
1344 Fixes: NB#106375 (Need API to retitle a window with a title
1347 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1349 * src/hildon-pannable-area.c,
1350 (hildon_pannable_area_class_init): Changed the default value of
1351 the initial_hint to TRUE.
1352 (hildon_pannable_area_initial_effect): Changed the initial effect,
1353 not the effect is just the fade-out of the scrollbars.
1355 Fixes: NB#107775 (No scrollbars can be seen when several items are
1356 available in a dialog)
1358 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1360 * src/hildon-program.c (hildon_program_update_top_most):
1363 Fixes: NB#109179 (Memory leak in Hildon program)
1365 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1367 * src/hildon-banner.c (-get_current_app_window):
1368 Remove unused function.
1370 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1372 * src/hildon-pannable-area.c: Modified the documentation of the
1373 get adjustments functions to explain the problem of using the
1374 adjustment directly.
1375 (hildon_pannable_area_class_init): Improved the explanation about
1378 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1380 * src/hildon-app-menu-private.h
1381 * src/hildon-app-menu.c
1382 (hildon_app_menu_class_init):
1383 Bring back the 'external-border' style property
1384 (hildon_app_menu_class_init, hildon_app_menu_init)
1385 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1386 Set a fixed width-request for the menu, independent of the number
1389 Fixes: NB#94957 (Smoothly opened application menu)
1391 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1393 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1395 * src/hildon-banner.c
1396 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1398 Make sure that the banner is correctly placed the first time it's
1400 (hildon_banner_check_position, -check_fullscreen_state):
1401 Show the banner in the same place no matter if the window is in
1402 fullscreen mode or not.
1404 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1406 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1408 * src/hildon-touch-selector.c (_default_print_func): reorder
1409 concatenation for clarity.
1411 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1413 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1414 for multicolumn selectors.
1416 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1418 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1423 * configure.ac: Bump version.
1424 * debian/changelog: Updates.
1426 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1428 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1431 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1433 * configure.ac: removed libcangerra-gtk dependency
1434 * debian/control: removed libcanberra-gtk dependency
1435 * src/Makefile.am: removed libcanberra gtk related flags
1436 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1437 context, and manage a global canberra context instead
1439 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1441 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1443 Patch by Daniel Borgmann (danielb@openismus.com)
1445 * src/hildon-edit-toolbar.c:
1446 Adjust the left padding.
1447 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1448 Paint background of the edit toolbar.
1450 Fixes: NB#107897 (Patch to make editmodetoolbar background
1451 themeable and adjust margin)
1453 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1455 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1457 * src/hildon-program.c (hildon_program_update_top_most):
1458 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1460 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1461 change when the user tasks in/out of an application)
1463 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1465 * configure.ac: added libcangerra-gtk dependency
1466 * debian/control: added libcanberra-gtk dependency
1467 * src/Makefile.am: added libcanberra gtk related flags
1468 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1471 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1473 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1475 * src/hildon-program.c (hildon_program_remove_window)
1476 (hildon_program_add_window): Add checks for the window
1477 parameter. Don't decrease the window counter if the window is not
1480 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1482 * src/hildon-pannable-area.c,
1483 (hildon_pannable_area_realize): Fixed position of the event_window
1484 in the realize method.
1486 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1488 * src/hildon-app-menu-private.h
1489 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1490 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1491 (hildon_app_menu_key_press, hildon_app_menu_init)
1492 (hildon_app_menu_finalize):
1493 Make sure that all idle functions are removed when the widget is
1496 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1498 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1503 * configure.ac: Bump version.
1504 * debian/changelog: Updates.
1506 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1508 * src/hildon-entry.c
1509 (+hildon_entry_show_placeholder),
1510 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1511 that replace hildon_entry_update_contents().
1512 (hildon_entry_set_text),
1513 (hildon_entry_set_placeholder),
1514 (hildon_entry_focus_in_event),
1515 (hildon_entry_focus_out_event): Determine when it is needed
1516 either to show or hide the placeholder and call the above methods.
1518 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1519 when the placeholder text is already set)
1521 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1523 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1524 simple GdkPixbufAnim using the new icons for the banner.
1525 (hildon_banner_show_animation): Use the above mentioned method to
1526 create the animation widget.
1528 Fixes: NB#103564 (Make hildon animation banner use individual
1529 image files as the animation)
1531 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1533 * src/hildon-pannable-area.c,
1534 (hildon_pannable_leave_notify_event): Check if the child is NULL
1535 to avoid sending the leave.
1537 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1539 * src/hildon-pannable-area.c,
1540 (hildon_pannable_area_class_init),
1541 (hildon_pannable_leave_notify_event): Added a handler of the
1542 leave-notify-signal to consider when no motion notify before
1545 Fixes: NB#107494 (Items stay selected when clicking and moving
1546 away when inside pannable area)
1548 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1553 * configure.ac: Bump version.
1554 * debian/changelog: Updates.
1556 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1558 Patch by Alberto Garcia (agarcia@igalia.com)
1560 * src/hildon-date-button.c,
1561 (hildon_date_button_class_init),
1562 (hildon_date_button_init): Removed the construct property handling
1563 and created a default selector in the init method.
1564 * src/hildon-picker-button.c,
1565 (hildon_picker_button_class_init): Removed the construct flag of the
1568 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1570 * src/hildon-main.c (hildon_init):
1571 Don't allow hildon_init() to be called more than once.
1573 Fixes: NB#106607 (hildon_init should issue error message upon
1576 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1578 * examples/hildon-pannable-area-touch-list-example.c
1579 * examples/hildon-pannagle-area-touch-grid-example.c
1580 * examples/hildon-edit-toolbar-example.c
1581 * examples/hildon-touch-selector-multi-cells-example.c
1582 Removed the call to gtk_rc_parse_string, as it is not required since
1585 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1587 * src/hildon-pannable-area.c,
1588 (hildon_pannable_area_class_init): Modified the default panning
1589 threshold of the widget to 6px.
1591 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1592 than the threshold value ) within the button is not sending the
1595 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1597 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1598 for the treeview in the new column. This way, the touch list will never
1601 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1602 be selected manually for the HW keys to work)
1604 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1606 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1607 comparison instead of using strcmp(). Fixes a compiler warning as well.
1609 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1611 * doc/hildon-docs.sgml: Do not set the library version in the
1612 document title, use the releaseinfo tag for that purpose instead.
1614 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1616 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1617 Do not jump to the first item if the text in the entry is removed.
1619 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1624 * configure.ac: Bump version.
1625 * debian/changelog: Updates.
1627 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1629 * src/hildon-entry.c (hildon_entry_refresh_contents):
1630 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1631 Use "ReversedSecondaryTextColor" for the placeholder text.
1633 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1635 * src/hildon-text-view.c: Fix compilation warning.
1637 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1639 * src/hildon-button.c (hildon_button_class_init): Don't make
1640 "title" and "value" construction properties, to prevent them from
1641 overwriting labels set from derived classes.
1643 * src/hildon-picker-button.c
1644 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1645 (hildon_picker_button_class_init): Make touch-selector a
1646 construction property.
1648 * src/hildon-date-button.c (hildon_date_button_class_init)
1649 (+hildon_date_button_constructed): Add a default date selector if
1652 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1654 * src/hildon-touch-selector.c: Small documentation fixes.
1656 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1658 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1660 * src/hildon-entry.c (hildon_entry_refresh_contents),
1661 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1662 widget name, set the logical color directly instead and a boolean
1663 showing_placeholder instead.
1664 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1665 use the widget name here either.
1667 Fixes: NB#105678 (HildonTextView should use logical colours
1668 instead of setting widget name)
1670 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1672 Patch by Daniel Elster (danielk@openismus.com)
1674 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1675 Add user_data parameter.
1676 (hildon_touch_selector_set_print_func_full): New function akin
1677 hildon_touch_selector_set_print_func() but with support for user
1678 data and a destroy callback.
1679 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1680 to clean up the print function user data.
1681 (hildon_touch_selector_class_init): Install dispose function.
1682 (HildonTouchSelectorPrivate::print_user_data),
1683 (HildonTouchSelectorPrivate::print_destroy_func): New private
1685 (hildon_touch_selector_init): Initialize new private members.
1686 (hildon_touch_selector_get_current_text): Pass along user data
1687 to the print function.
1688 (_default_print_func): Add dummy user_data to parameter list.
1689 * hildon-date-selector.c (_custom_print_func): ditto,
1690 * hildon-time-selector.c (_custom_print_func): ditto,
1691 * hildon-touch-selector-entry.c
1692 (hildon_touch_selector_entry_print_func): ditto.
1694 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1696 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1698 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1700 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1702 * src/hildon-pannable-area.c,
1703 (hildon_pannable_area_init),
1704 (hildon_pannable_area_button_press_cb),
1705 (hildon_pannable_area_motion_notify_cb): We have added code to
1706 handle the leave and enter events when using the motion events.
1708 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1710 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1712 * src/hildon-date-button.c (hildon_date_button_get_date)
1713 (hildon_date_button_set_date): Make sure that the button has a
1716 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1718 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1720 * src/hildon-pannable-area.c,
1721 (hildon_pannable_area_class_init),
1722 (hildon_pannable_area_calculate_velocity): Modify the use of the
1723 force and adapt the value.
1725 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1727 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1728 (hildon_app_menu_class_init): Hide the menu if it receives a
1729 delete-event, but don't destroy it
1731 Fixes: NB#104485 (Not able to address the call when application
1732 menu is opened at background)
1734 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1736 * src/hildon-app-menu.c
1737 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1738 Remove the "external-border" style property, let the menu take its
1739 natural size (or the one set by the window manager)
1740 (hildon_app_menu_repack_items):
1741 Don't reshow the menu, avoid flickers.
1743 Partially fixes NB#94957 (Smoothly opened application menu)
1745 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1750 * configure.ac: Bump version.
1751 * debian/changelog: Updates.
1753 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1755 * src/hildon-pannable-area.c,
1756 (hildon_pannable_area_motion_notify_cb): We control that the
1757 direction error margin is used just in case the movement is
1758 allowed in the other direction.
1760 Fixes: NB#105012 (buttons inside a pannable area not getting
1761 release event when dragging/releasing)
1763 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1765 * src/hildon-pannable-area.c,
1766 (hildon_pannable_area_class_init),
1767 (hildon_pannable_area_get_property),
1768 (hildon_pannable_area_set_property),
1769 (hildon_pannable_area_initial_effect),
1770 (hildon_pannable_axis_scroll),
1771 (hildon_pannable_area_button_release_cb): Reviewed the
1772 overshooting effect, now it has its own max
1773 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1774 speed when bouncing.
1776 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1781 * configure.ac: Bump version.
1782 * debian/changelog: Updates.
1784 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1786 * src/hildon-pannable-area.c,
1787 (hildon_pannable_area_class_init): Changed the max speed, now
1788 users can launch the widget very fast. Reduced the default force,
1789 that way it is easier to control the launch speed.
1791 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1793 * src/hildon-pannable-area.c,
1794 (hildon_pannable_area_button_release_cb): Removed this check
1795 because it causes problems when the device is overloaded.
1797 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1799 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1800 add a current_text field to store the text entered in the
1801 touch selector entry.
1802 (_clean_current_selection): clean up the current text as well.
1803 (_save_current_selection), (_restore_current_selection):
1804 Save/restore the text in the entry if the selector is a
1805 HildonTouchSelectorEntry.
1807 Fixes: NB#102541 (value entered in the touch selector entry is not
1808 shown when opened for second time)
1810 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1812 * doc/hildon-sections.txt:
1813 * src/hildon-touch-selector-entry.c
1814 (+hildon_touch_selector_entry_get_entry):
1815 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1817 Fixes: NB#104815 (I need accessor to the entry inside
1818 HildonTouchSelectorEntry)
1820 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1822 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1823 (hildon_app_menu_class_init):
1824 New "filter-vertical-spacing" style property.
1826 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1828 * src/hildon-find-toolbar.c
1829 (hildon_find_toolbar_emit_close)
1830 (hildon_find_toolbar_emit_invalid_input)
1831 (hildon_find_toolbar_entry_activate):
1832 Use g_signal_emit() instead of g_signal_emit_by_name()
1834 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1836 Patch by Mox Soini (ext-mox.soini@nokia.com)
1838 * tests/TEST-CASES.txt
1839 * tests/check-hildon-banner.c
1840 * tests/check-hildon-note.c
1841 * src/hildon-banner.c
1842 * src/hildon-code-dialog.c
1843 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1844 * src/hildon-time-editor.c
1845 * examples/hildon-lookup-example.c (main):
1846 Replace obsolete icon names with new ones.
1848 * src/hildon-find-toolbar-private.h:
1849 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1850 (-hildon_find_toolbar_emit_search):
1851 Remove find button and change icon of close button.
1853 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1855 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1857 * src/hildon-time-button.c (hildon_time_button_new_step):
1858 Use the "touch-selector" property to set the selector directly
1859 when creating the object.
1861 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1863 Added a new example application that allows tuning the pannable
1864 area and replaced defines with properties in order to simplify the
1865 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1866 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1867 PROP_DIRECTION_ERROR_MARGIN.
1869 * examples/hildon-pannable-area-tuning-example.c: New example
1871 * src/hildon-pannable-area.c,
1872 (hildon_pannable_area_class_init),
1873 (hildon_pannable_area_init),
1874 (hildon_pannable_area_get_property),
1875 (hildon_pannable_area_set_property),
1876 (hildon_pannable_area_launch_fade_timeout),
1877 (hildon_pannable_area_adjust_value_changed),
1878 (hildon_pannable_axis_scroll),
1879 (hildon_pannable_area_motion_notify_cb),
1880 (hildon_pannable_area_scroll_cb),
1881 (hildon_pannable_area_button_release_cb): We have converted some
1882 of the defines that control the widget to properties to simplify
1885 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1887 * src/hildon-app-menu.c (hildon_app_menu_map)
1888 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1889 so it's closed if a new window appears.
1891 Fixes: NB#104485 (Not able to address the call when application
1892 menu is opened at background)
1894 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1896 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1897 missing 'break' statement in in 'case' construct to avoid
1900 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1902 * src/hildon-touch-selector-entry.c
1903 (hildon_touch_selector_entry_get_property),
1904 (hildon_touch_selector_entry_set_property): Add missing 'break'
1905 statements in in 'case' constructs to avoid incorrect warnings.
1907 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1909 * src/hildon-time-editor.c
1910 (hildon_time_editor_get_time_separators): Do not crash if
1911 the first label is NULL.
1913 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1915 * src/hildon-date-selector.c (_month_days): Check for month to be
1916 strictly less than 12, since otherwise we may overrun the array.
1918 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1920 * src/hildon-date-button.c (+hildon_date_button_new_full)
1921 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1922 (hildon_date_button_init): Set the date selector using a
1923 construction property, to make it happen after HildonButton's
1924 "value" property is set.
1926 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1927 current date by default)
1929 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1931 * doc/hildon-sections.txt
1932 * src/hildon-program.c
1933 * src/hildon-stackable-window.c
1934 * src/hildon-window.c:
1935 Documentation updates
1937 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1939 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1940 (hildon_window_stack_new, +hildon_window_stack_set_property)
1941 (+hildon_window_stack_get_property)
1942 (hildon_window_stack_class_init)
1943 (+hildon_window_stack_set_window_group)
1944 (+hildon_window_stack_get_window_group):
1945 Make the window group a construction property.
1947 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1949 * doc/hildon-sections.txt
1950 * src/hildon-stackable-window-private.h
1951 * src/hildon-stackable-window.h
1952 * src/hildon-stackable-window.c
1953 (-hildon_stackable_window_set_app_menu)
1954 (-hildon_stackable_window_get_app_menu)
1955 (-hildon_stackable_window_toggle_menu)
1956 (-hildon_stackable_window_finalize)
1957 (hildon_stackable_window_class_init)
1958 (hildon_stackable_window_init)
1959 * src/hildon-window-private.h
1960 * src/hildon-window.h
1961 * src/hildon-window.c (hildon_window_init)
1962 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1963 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1964 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1965 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1966 Moved all HildonAppMenu code to HildonWindow. The menu does not
1967 require a HildonStackableWindow anymore.
1969 * src/hildon-app-menu.c
1970 * src/hildon-program.c
1971 * examples/hildon-app-menu-example.c (main):
1972 Update examples and documentation to reflect HildonAppMenu
1975 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1977 * src/hildon-remote-texture.c
1978 * src/hildon-animation-actor.c:
1979 Don't include unused private headers.
1981 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1983 * src/hildon-program-private.h
1984 * src/hildon-program.c
1985 (hildon_program_set_common_menu)
1986 (hildon_program_get_common_menu)
1987 (hildon_program_set_common_app_menu)
1988 (hildon_program_get_common_app_menu):
1989 Change common menu pointers from GtkWidget* to GtkMenu* and
1990 HildonAppMenu* to avoid unnecessary casts.
1992 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1994 * src/hildon-window.c (hildon_window_set_main_menu):
1995 Removed incorrect 'Since:' tag
1997 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1999 * src/hildon-pannable-area.c,
2000 (hildon_pannable_area_calculate_velocity): We use now the
2001 RATIO_TOLERANCE here to check the distance, fixed typo in the
2003 (hildon_pannable_area_motion_notify_cb): We have to set the type
2004 and time even if we are not sending the motion.
2006 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2008 * doc/hildon-sections.txt
2009 * src/hildon-app-menu.h
2010 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2011 (+hildon_app_menu_get_filters): New methods to get the contents of
2014 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2017 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2019 * src/hildon-app-menu.c (hildon_app_menu_popup):
2022 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2024 * src/hildon-window.h
2025 * src/hildon-window.c (+hildon_window_get_main_menu)
2026 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2027 and deprecated hildon_window_get_menu().
2029 * src/hildon-stackable-window.h
2030 * src/hildon-stackable-window.c
2031 (+hildon_stackable_window_set_app_menu)
2032 (+hildon_stackable_window_get_app_menu)
2033 (hildon_stackable_window_set_main_menu): Created
2034 hildon_stackable_window_{get,set}_app_menu() and deprecated
2035 hildon_stackable_window_set_main_menu().
2037 * doc/hildon-sections.txt
2038 * examples/hildon-app-menu-example.c (main)
2039 * src/hildon-app-menu.c
2040 * src/hildon-program.c:
2041 Updated examples and documentation.
2043 Fixes: NB#103758 (No way to obtain a menu from a
2044 HildonStackableWindow)
2046 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2051 * configure.ac: Bump version.
2052 * debian/changelog: Updates.
2054 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2056 * examples/hildon-remote-texture-example.c: Include
2057 hildon-remote-texture.h explicitely.
2058 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2059 applications not defining _XOPEN_SOURCE which don't require this header.
2061 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2063 * doc/hildon-sections.txt
2064 * src/hildon-app-menu.h
2065 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2066 New function to pop up a HildonAppMenu
2068 * src/hildon-stackable-window.c
2069 (hildon_stackable_window_toggle_menu):
2070 Use hildon_app_menu_popup() to show the menu.
2072 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2074 * src/hildon-app-menu.c (hildon_app_menu_show)
2075 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2076 menu if there's another window between it and its parent window.
2078 Fixes: NB#100468 (Application menu window is launched even when a
2079 new secondary-window/dialog is pending to be shown/realized)
2081 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2083 * src/hildon-window-stack.c (hildon_window_stack_push)
2084 (hildon_window_stack_pop_and_push):
2085 Don't forget to push/pop the first window.
2086 Reverse the window list before calling _push_list()
2088 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2090 * src/hildon-picker-button.h
2091 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2092 Remove "value_changed" slot to avoid ABI breakage
2094 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2096 * src/hildon-pannable-area.c,
2097 (hildon_pannable_area_realize),
2098 (hildon_pannable_area_unrealize),
2099 (hildon_pannable_draw_vscroll),
2100 (hildon_pannable_draw_hscroll): Changed the method to handle the
2101 GC used to draw the transparent scrollbar, this way we avoid
2102 creating the GC all the time when drawing the scrollbars.
2104 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2106 * src/hildon-pannable-area.c,
2107 (hildon_pannable_area_init),
2108 (hildon_pannable_area_remove): Removed some unnecessary casts.
2109 (hildon_pannable_area_dispose): Disconnected some signals before
2110 releasing the adjustments.
2112 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2114 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2115 Make sure that all widgets contained in the toolbar are shown.
2117 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2119 * doc/hildon-sections.txt
2120 * src/hildon-picker-button.h
2121 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2122 (_selection_changed, hildon_picker_button_on_dialog_response)
2123 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2124 New hildon_picker_button_value_changed() method.
2127 * src/hildon-picker-button-private.h
2128 * src/hildon-picker-button.c (hildon_picker_button_init)
2129 (+hildon_picker_button_disable_value_changed): Add protected
2130 function for disabling the "value-changed" signal.
2132 * src/hildon-date-button.c (hildon_date_button_set_date):
2133 Don't emit "value-changed" for each one of the three columns.
2135 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2136 before actual change of values)
2138 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2140 * src/hildon-pannable-area.c,
2141 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2142 for the treeview overshooting.
2144 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2146 * src/hildon-banner.c (+hildon_banner_bind_style):
2147 Renamed from hildon_banner_bind_label_style(), now naming the
2148 banner itself as well.
2149 (hildon_banner_show_information),
2150 (hildon_banner_show_information_with_markup),
2151 (hildon_banner_show_animation), (hildon_banner_show_progress):
2152 Name the widgets and labels, based on their type.
2154 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2157 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2159 * src/hildon-note.c (hildon_note_set_property): call
2160 hildon_note_rename() on HildonNote:note-type set.
2161 (hildon_note_rename): Name the note and its label, based on the
2162 HildonNote:note-type property.
2164 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2167 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2169 * src/hildon-pannable-area.c,
2170 (hildon_pannable_area_class_init),
2171 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2172 panning parameters, increased SPS and deceleration factor. Added
2173 also a margin to control fake directions.
2175 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2177 Patch by Sven Herzberg (sven@imendio.com)
2179 * configure.ac: Add missing AM_PROG_CC_C_0
2180 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2182 See NB#101420 (Update unit tests and fix make check)
2184 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2186 This patch was applied before but reverted because it caused
2187 problems, we have changed the main condition and tested the
2188 regressions we detected before and they work ok. We have done a
2189 complete review of the topmost algorithm in order to get a more
2192 * src/hildon-pannable-area.c,
2193 (hildon_pannable_area_get_topmost): Added a new parameter to
2194 filter the the windows that do not include those events.
2195 (hildon_pannable_area_button_press_cb),
2196 (hildon_pannable_area_button_release_cb),
2197 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2198 topmost function, we have added the new parameter.
2200 Fixes: NB#97458 (Pannable area prevents propagation of button
2203 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2205 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2206 if all columns in the selector have an item selected.
2207 (_on_dialog_response): Stop "response" signal emission if there is
2208 any selector column without selected items.
2210 Fixes: NB#101889 (Picker dialog should not close when nothing is
2211 selected in multiple selection list)
2213 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2215 * src/hildon-font-selection-dialog.c
2216 (hildon_font_selection_dialog_class_init),
2217 (hildon_font_selection_dialog_init): Remove the preview
2218 button and dialog, since previewing with default theming is likely
2219 to be overcomplicated. The :preview property has now no effect.
2220 Update documentation blurbs to inform about this.
2222 Fixes: NB#92297 (Preview content is not clearly visible for
2223 default colour text)
2225 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2227 Reviewed the geometry that handles the children size and
2228 scrollbar, now it tries a size and reviews the results depending
2229 on the scrollbars visibility.
2231 * src/hildon-pannable-area.c,
2232 (hildon_pannable_area_realize): Fixed a typo.
2233 (hildon_pannable_area_child_allocate_calculate): Added this
2234 function to calculate the child allocation.
2235 (hildon_pannable_area_size_allocate): Reviewed the allocation
2237 (hildon_pannable_area_check_scrollbars),
2238 (hildon_pannable_area_refresh): Refactored refresh function, this
2239 way we can call the code handling the scrollbars without causing a
2240 size_request, it is interesting in the allocate.
2241 (hildon_pannable_area_init): Replace the callbacks of the
2242 value_changed and changed signals to propertly deal with the
2244 (hildon_pannable_area_grab_notify),
2245 (hildon_pannable_area_initial_effect),
2246 (hildon_pannable_area_launch_fade_timeout),
2247 (hildon_pannable_area_adjust_changed),
2248 (hildon_pannable_area_adjust_value_changed),
2249 (hildon_pannable_area_redraw),
2250 (hildon_pannable_area_button_press_cb),
2251 (hildon_pannable_area_button_release_cb),
2252 (hildon_pannable_area_scroll_cb),
2253 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2254 code and use the new functions adjust_changed and
2255 adjust_value_changed.
2257 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2258 Contact editor dialog)
2260 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2265 * configure.ac: Bump version.
2266 * debian/changelog: Updates.
2268 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2270 * src/hildon-pannable-area.c,
2271 (hildon_pannable_area_get_topmost),
2272 (hildon_pannable_area_button_press_cb),
2273 (hildon_pannable_area_button_release_cb),
2274 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2275 topmost function adding the event mask. We have to try a
2276 differente approach because it is still causing problems (NB#9745,
2279 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2281 * src/hildon-banner.c:
2282 Update the maximum width of timed banners.
2283 (force_to_wrap_truncated): Enforce the maximum text width if the
2286 Fixes: NB#102413 (The text margins (wrapping) in information
2287 banner should be HILDON_MARGIN_TRIPLE)
2289 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2291 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2293 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2294 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2295 bound when calculating the scroll indicator position.
2297 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2298 treat ->lower correctly)
2300 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2302 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2303 expose event handling, since it is not necessary to draw the focus
2306 Fixes: NB#102467 (Do not show highlight on the text in
2309 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2311 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2312 full height of the toolbar for the button and the label.
2314 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2316 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2317 padding before the label and after the button.
2319 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2321 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2323 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2324 Add a GtkVSeparator between the button and the back arrow.
2325 Let the button have automatic size.
2326 Set a name to the widget for theming handling.
2328 Fixes: NB#101793 (Make edit toolbar the same height as window
2329 title bar (use title area theming))
2331 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2333 * src/hildon-helper.c (attach_new_color_element): Fix memory
2336 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2338 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2340 * examples/hildon-button-example.c (common_buttons_window): Don't
2343 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2345 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2346 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2348 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2350 * src/hildon-gtk.c: Check that the window is realized.
2352 Fixes: NB#102225 (Crash setting the progress indicator to a non
2355 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2357 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2358 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2359 instead of modifying the one in the widget style.
2361 Fixes: NB#101043 (Second row of all the command button are
2362 displayed in transparent mode.)
2364 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2366 * src/hildon-date-button.c
2367 * src/hildon-time-button.c: Add gettext macros
2369 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2371 * src/hildon-date-button.c (hildon_date_button_new):
2372 * src/hildon-time-button.c (hildon_time_button_new_step):
2373 Use new logical strings to set the button default title.
2375 Fixes: NB#99915 (Date and Time options are not localised in Date
2378 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2380 * src/hildon-pannable-area.c
2381 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2382 the PANNING_THRESHOLD.
2384 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2386 * src/hildon-pannable-area.c,
2387 (hildon_pannable_area_class_init): Increased the maximum speed.
2388 (hildon_pannable_area_get_property),
2389 (hildon_pannable_area_set_property),
2390 (hildon_pannable_area_timeout): Added a new low friction mode, it
2391 allows the user avoid friction when launching the widget fast
2392 enough. It is interesting to traverse long lists.
2394 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2396 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2397 (+hildon_stackable_window_delete_event): Ignore delete events if
2398 the window is not the topmost one.
2400 Fixes: NB#101698 (Back button long press and delete-event handling)
2402 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2404 * src/hildon-pannable-area.c,
2405 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2406 gtk-dnd-drag-threshold, it was too big. We have defined our own
2407 dnd define and set a smaller value: PANNIG_THRESHOLD.
2409 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2411 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2412 user-defined icons, use always the default one.
2414 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2416 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2418 This patch was applied before but reverted because it caused
2419 problems, we have changed the main condition and tested the
2420 regressions we detected before and they work ok.
2422 * src/hildon-pannable-area.c,
2423 (hildon_pannable_area_get_topmost): Added a new parameter to
2424 filter the the windows that do not include those events. Added
2425 also a condition when finding the window to filter windows that do
2426 not ask for those events.
2427 (hildon_pannable_area_button_press_cb),
2428 (hildon_pannable_area_button_release_cb),
2429 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2430 topmost function, we have added the new parameter.
2432 Fixes: NB#97458 (Pannable area prevents propagation of button
2435 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2437 * tests/check-hildon-color-button.c (START_TEST): do not leak
2440 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2442 * src/hildon-font-selection-dialog.c
2443 (hildon_font_selection_dialog_get_preview_text): Return NULL
2444 instead of FALSE on the g_return_val_if_fail().
2446 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2448 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2449 * src/hildon-date-selector.c
2450 (hildon_date_selector_select_current_date):
2451 Do not compare unsigned integers to be greater than or equal 0,
2452 because it's always TRUE.
2454 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2456 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2457 (hildon_date_selector_constructor): Do not select the current
2458 date until we are handle the "changed" signal, to avoid having bogus
2459 elements in the days model.
2461 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2463 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2464 for num_days, since _month_days() can return a negative value.
2466 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2468 * src/hildon-caption.c (hildon_caption_size_allocate):
2469 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2470 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2472 Initialize allocation variables to 0, to avoid eventually using
2473 unitialized variables.
2475 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2477 * src/hildon-bread-crumb-trail.c
2478 (hildon_bread_crumb_trail_size_allocate):
2479 * src/hildon-calendar.c (hildon_calendar_set_background):
2480 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2481 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2482 * src/hildon-seekbar.c (hildon_seekbar_init):
2483 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2484 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2485 * src/hildon-touch-selector-entry.c
2486 (hildon_touch_selector_get_text_from_model):
2487 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2488 * src/hildon-window.c (hildon_window_finalize):
2490 Remove many unused variables.
2492 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2494 * src/hildon-seekbar.c: (hildon_seekbar_init),
2495 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2497 Remove unnecessary g_assert() calls.
2499 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2501 * src/hildon-caption.c: (hildon_caption_expose),
2502 (hildon_caption_set_property), (hildon_caption_init),
2503 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2504 (hildon_caption_size_request), (hildon_caption_size_allocate),
2505 (hildon_caption_forall), (hildon_caption_set_separator),
2506 (hildon_caption_activate), (hildon_caption_set_child_expand),
2507 (hildon_caption_set_label_text),
2508 (hildon_caption_get_label_alignment):
2510 Remove unnecessary g_assert() calls.
2512 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2514 * src/hildon-banner.c
2515 (hildon_banner_map, hildon_banner_init): Make banner temporary
2516 before mapping it to avoid closing other temporary windows, but
2517 make it non-temporary afterwards to avoid being closed by other
2518 non-temporary windows.
2519 (-hildon_banner_client_event, hildon_banner_init):
2520 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2522 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2525 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2527 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2530 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2532 * src/hildon-remote-texture.c
2533 * src/hildon-remote-texture.h
2534 * src/hildon-remote-texture-private.h
2535 * examples/hildon-remote-texture-example.c:
2536 Updates/fixes to remote-texture and its example.
2538 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2540 Patch by Mox Soini (ext-mox.soini@nokia.com)
2542 * src/hildon-code-dialog.c: Update logical id.
2543 * src/hildon-set-password-dialog.c: Update logical id.
2545 Fixes: NB#100646 (Logical strings is shown for ok in set
2546 password,Password needed dialogs)
2548 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2551 * src/hildon-remote-texture.c
2552 * src/hildon-remote-texture.h
2553 * src/hildon-remote-texture-private.h
2555 Added remote texture widget (for Clutter shared memory textures)
2557 * examples/hildon-remote-texture-example.c
2558 * examples/Makefile.am
2559 Added example file for remote texture usage
2561 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2563 * configure.ac: post release version bump.
2564 * debian/changelog: version bump.
2566 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2571 * configure.ac: Bump version.
2572 * debian/changelog: Updates.
2574 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2576 * src/hildon-date-selector.c (hildon_date_selector_init)
2577 (hildon_date_selector_constructor): Don't connect to the "changed"
2578 signal until the selector is completely constructed.
2580 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2582 * src/hildon-touch-selector.c: (_create_new_column),
2583 (hildon_touch_selector_append_column),
2584 (hildon_touch_selector_set_column_selection_mode),
2585 (hildon_touch_selector_set_active),
2586 (hildon_touch_selector_select_iter):
2587 Emit the HildonTouchSelector::changed signal every time selection
2588 is changed in any of the methods above. This behavior was already
2589 documented but not fully functional.
2591 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2592 selection is programmatically changed)
2594 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2596 * doc/hildon-sections.txt: Remove obsolete icon
2597 sizes from here as well.
2599 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2601 * examples/hildon-stackable-window-example.c (add_window): Remove
2604 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2606 * src/hildon-app-menu.c
2607 (hildon_app_menu_show): Check whether the parent window of a menu
2608 is topmost before popping it up.
2610 Fixes: NB#100468 (Application menu window is launched even when a
2611 new secondary-window/dialog is pending to be shown/realized.)
2613 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2615 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2618 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2620 Patch by Mox Soini (ext-mox.soini@nokia.com)
2622 * src/hildon-banner.c: (hildon_banner_show_animation):
2623 use stylus size instead of obsolete note size.
2624 * src/hildon-defines.h: Update icon sizes.
2626 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2628 * src/hildon-touch-selector-entry.c:
2629 (hildon_touch_selector_entry_init): Disable unsupported
2631 (hildon_touch_selector_entry_get_text_column): Emit a warning
2632 if an unsupported input modes is used and explicitile state
2633 these modes in the documentation.
2635 Fixes: NB#99802 (Hildon touch selector entry not working properly
2636 for some of the input modes)
2638 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2640 * src/hildon-pannable-area.c,
2641 (hildon_pannable_area_init): Added the changed signal handlers of
2644 Fixes: NB#100320 (HildonPannableArea does not listen to
2645 GtkAdjustment "change" signals)
2647 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2649 * doc/hildon-sections.txt
2650 * src/hildon-window-private.h
2651 * src/hildon-window.h
2652 * src/hildon-window.c (hildon_window_init)
2653 (hildon_window_realize, hildon_window_unrealize)
2654 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2655 (hildon_window_size_request, hildon_window_size_allocate)
2656 (hildon_window_forall, hildon_window_show_all)
2657 (hildon_window_destroy, +paint_edit_toolbar)
2658 (+hildon_window_set_edit_toolbar):
2659 New hildon_window_set_edit_toolbar() method, to add a
2660 HildonEditToolbar to a window without having to pack it manually.
2662 Reorganize hildon_window_size_allocate()
2664 * src/hildon-edit-toolbar.c: Update documentation.
2666 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2667 example to use the new API.
2669 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2671 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2673 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2674 Remove from stack before calling parent's hide.
2676 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2678 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2679 window is removed from the middle of the stack, update the
2680 transiency of the previous one.
2682 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2685 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2687 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2688 block/unblock the signal handler if it's not actually being used.
2689 Fixes some critical warnings.
2691 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2693 Based on a patch by Iván Gómez (igomez@igalia.com)
2695 * src/hildon-banner.c
2699 * src/hildon-pannable-area.c
2700 * src/hildon-picker-dialog.c
2701 * src/hildon-wizard-dialog.h
2702 * src/hildon-wizard-dialog.c: Documentation updates.
2704 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2705 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2707 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2709 * configure.ac: post release version bump.
2710 * debian/changelog: version bump.
2712 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2717 * configure.ac: Bump version.
2718 * debian/changelog: Updates.
2720 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2722 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2723 a stock icon nor change the relief of the back arrow.
2725 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2726 graphics from theme)
2728 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2730 * src/hildon-button.c (hildon_button_set_alignment): Use
2731 priv->alignment if the button has no child yet.
2733 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2735 * src/hildon-button.c: (hildon_button_init): Set the
2736 button style during initialization to give it the proper
2739 Fixes: NB#99713 (HildonButton value label color is wrong)
2741 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2743 * src/hildon-touch-selector.c: Document
2744 hildon_touch_selector_center_on_selected()
2746 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2748 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2749 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2750 all menu items, but not the menu itself.
2751 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2752 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2753 items after adding them to the menu so keyboard accelerators work.
2754 (hildon_app_menu_show): Don't show the menu if it contains items
2755 but none of them are visible.
2757 * examples/hildon-app-menu-example.c (create_menu): Use
2758 gtk_widget_show_all() to show all menu items.
2760 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2762 * src/hildon-picker-dialog.c:
2763 (-_update_title_on_selector_changed_cb),
2764 (-_dialog_update_title): Removed.
2765 (_select_on_selector_changed_cb), (_on_dialog_response),
2766 (on_selector_columns_changed): Do not update the dialog title.
2767 (setup_interaction_mode): Do not connect to
2768 HildonTouchSelector::changed signal if there's a "done" button, as
2769 the dialog title doesn't need to be updated.
2771 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2774 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2776 Patch by Kristian Rietveld (kris@imendio.com)
2778 * src/hildon-touch-selector.c: (_create_new_column): Use new
2779 GtkTreeView::hildon-row-tapped signal to react to user interactions
2780 instead of ::changed.
2782 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2783 with some dynamic tree model)
2785 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2787 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2788 (+screen_size_changed, +label_size_request)
2789 (hildon_note_class_init): Make the Hildon information note have a
2790 minimum height, and make its text hvae a maximum width.
2792 Fixes: NB#98614 (Hildon information note (background) should have
2793 minimum height and maximum text width)
2795 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2797 * src/hildon-banner.h
2798 * src/hildon-banner.c (hildon_banner_show_information)
2799 (hildon_banner_show_informationf)
2800 (hildon_banner_show_information_with_markup): Update documentation
2801 to reflect that the icon_name parameter is not used anymore.
2802 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2803 Remove all code from these functions and mark them as deprecated.
2804 (hildon_banner_show_progress): Mark as deprecated.
2806 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2808 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2810 * src/hildon-pannable-area.c,
2811 (hildon_pannable_area_class_init),
2812 (tranparency_color),
2813 (hildon_pannable_draw_vscroll),
2814 (hildon_pannable_draw_hscroll),
2815 (hildon_pannable_area_expose_event): Added a new way to render the
2816 scrollbars of the pannable area avoiding using cairo at all. This
2817 way we improve the performance of the pannable area rendering. The
2818 cairo rendering procedure is still in the code, we can control
2819 which one to use changing the value of the define
2820 USE_CAIRO_SCROLLBARS.
2822 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2824 * configure.ac: post release version bump.
2825 * debian/changelog: version bump.
2827 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2832 * configure.ac: Bump version.
2833 * debian/changelog: Updates.
2835 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2837 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2838 banners instead of destroying them when they receive a button
2841 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2843 Reverted commit 34028, it was causing regressions, probably the
2844 topmost condition is not correct, we have to check it in more
2845 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2846 propagation of button press events)
2848 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2850 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2851 that the selection is not empty before attempting to retrieve the
2852 current ampm selection.
2854 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2856 * src/hildon-picker-button.c:
2857 (hildon_picker_button_on_dialog_response): Directly update the
2858 button contents when required instead of calling _selection_changed.
2860 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2862 * src/hildon-program.c (hildon_program_update_top_most): Update
2863 'is-topmost' property also when wm_hints is not set.
2865 Fixes: NB#98383 (is-topmost signal is not emitted when task
2866 switcher is clicked.)
2868 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2870 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2874 * src/hildon-animation-actor.c,
2875 * src/hildon-animation-actor.h: Added the animation actor class,
2876 this widget represents an animation actor for WM-assisted
2877 animation effects in the Hildon framework.
2879 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2881 * src/hildon-window-stack-private.h
2882 * src/hildon-window-stack.c
2883 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2884 Avoid calling gtk_widget_show() again indirectly from
2885 hildon_stackable_window_show()
2887 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2889 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2892 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2894 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2895 (hildon_time_selector_init): Move the construction of the hours and
2896 ampm columns to the constructor to preserve the order the columns
2899 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2901 * src/hildon-picker-dialog.c:
2902 (hildon_picker_dialog_class_init): Connect a realize method.
2903 (+hildon_picker_dialog_realize): Setup the interaction mode here
2905 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2906 yet, do it during the realize instead.
2907 (_on_dialog_response):
2908 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2909 if the widget is not realized, to avoid the dialog response before it
2912 Avoid premature responses in the HildonPickerDialog that can cause it
2913 to be hidden before it's even shown.
2915 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2917 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2918 (on_selector_columns_changed), (requires_done_button),
2919 (+prepare_action_area), (setup_interaction_mode),
2920 (_hildon_picker_dialog_set_selector):
2922 Split the interaction mode setup into preparation of the
2923 action area (prepare_action_area()) and the connection of
2924 the signals in setup_interaction_mode() and update the code to
2927 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2929 * src/hildon-pannable-area.c,
2930 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2931 per second to 15, we will check if this is ok regarding
2934 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2936 * src/hildon-pannable-area.c,
2937 (hildon_pannable_axis_scroll): Avoid resize if we already have
2938 reached overshoot_max.
2940 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2942 * src/hildon-pannable-area.c,
2943 (hildon_pannable_area_init),
2944 (hildon_pannable_area_realize),
2945 (hildon_pannable_area_size_allocate),
2946 (hildon_pannable_area_map),
2947 (hildon_pannable_area_unmap),
2948 (hildon_pannable_draw_vscroll),
2949 (hildon_pannable_draw_hscroll),
2950 (hildon_pannable_area_expose_event),
2951 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2952 pannable are to avoid the expose events go to the window and
2953 redraw the window. We save this way that part of the stack and the
2954 paint_boxes. We had to change the positions of the elements when
2957 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2959 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2960 * src/hildon-color-chooser-dialog.c:
2961 (hildon_color_chooser_dialog_init):
2962 * src/hildon-font-selection-dialog.c:
2963 (hildon_font_selection_dialog_init),
2964 (hildon_font_selection_dialog_show_preview):
2965 * src/hildon-get-password-dialog.c:
2966 * src/hildon-login-dialog.c:
2967 * src/hildon-set-password-dialog.c:
2968 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2969 * src/hildon-time-picker.c: (hildon_time_picker_init):
2971 Remove obsolete logical string IDs and update to the appropriate ones.
2973 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2975 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2977 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2978 that happens if the window hasn't been realized yet.
2980 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2981 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2983 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2985 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2986 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2989 Fixes: NB#98537 (Device hangs in account settings dialog)
2991 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2993 * configure.ac: post release version bump.
2994 * debian/changelog: version bump
2996 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3001 * configure.ac: Bump version.
3002 * debian/changelog: Updates.
3004 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3006 Added a new function to the HildonTimeButton widget that allows to
3007 change the step of the minutes in the selector associated with the
3008 button: hildon_time_button_new_step
3010 * src/hildon-time-button.c,
3011 (hildon_time_button_init),
3012 (hildon_time_button_new),
3013 (hildon_time_button_new_step):
3014 * src/hildon-time-button.h: Added the new function and refactored
3016 * examples/hildon-time-button-example.c,
3017 (main): We have replaced the function without parameters with the
3018 function with the steps set to 5
3020 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3022 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3024 * src/hildon-time-selector.c,
3025 (hildon_time_selector_class_init),
3026 (hildon_time_selector_constructor),
3027 (hildon_time_selector_get_property),
3028 (hildon_time_selector_set_property),
3029 (_create_minutes_model),
3030 (hildon_time_selector_new_step),
3031 (hildon_time_selector_set_time),
3032 * src/hildon-time-selector.h: Added a new property to the
3033 HildonTimeSelector (minutes-step), we use that property to control
3034 the steps between the minutes in the list of the selector. We have
3035 added a new function to the API to create a widget changing the
3036 step: hildon_time_selector_new_step.
3038 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3040 * src/hildon-time-selector.c,
3041 (hildon_time_selector_class_init),
3042 (hildon_time_selector_constructor),
3043 (hildon_time_selector_init): Overrided the construct function when
3044 creating the time selector object. We have moved the minutes model
3045 handling code from the init to the new construction function:
3046 hildon_time_selector_constructor.
3048 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3050 * examples/hildon-date-button-example.c: (main): Use the new
3051 hildon_date_button_new_with_year_range() method in the example.
3052 * src/hildon-date-button.c:
3053 (+hildon_date_button_new_with_year_range): New public method
3054 to conveniently create a HildonDateButton with a custom year range
3055 in its HildonDateSelector.
3056 * src/hildon-date-button.h: Add the new public method definition.
3058 Fixes: NB#97908 (Not possible to change the year range in
3059 HildonDateSelector/HildonDateButton)
3061 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3063 * src/hildon-date-selector.c:
3064 (+hildon_date_selector_set_property),
3065 (+hildon_date_selector_get_property),
3066 (hildon_date_selector_class_init): Install new properties "min-year"
3067 and "max-year" to define boundaries for the year column.
3068 (_create_year_model): Use the boundary properties to populate the model.
3069 (+hildon_date_selector_new_with_year_range): New public method to
3070 create a HildonDateSelector with a user defined year range.
3071 (hildon_date_selector_select_current_date): Use the new boundaries to
3072 calculate the iterator of current year.
3073 * src/hildon-date-selector.h: Add the new public method definition.
3075 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3077 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3078 Install a constructor method.
3079 (+hildon_date_selector_construct_ui): construct the widget.
3080 (+hildon_date_selector_constructor): new constructor.
3081 (+hildon_date_selector_init): move out widget construction code to
3082 the new constructor.
3084 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3086 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3087 that there's actually a month or year selected before obtaining them.
3088 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3089 of the HildonTouchSelector::changed signal, as it was emitted on every
3090 single item selection.
3092 Fix some warnings and possible crashers due to the selection restoring.
3094 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3096 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3097 the signal handlers only after creating the dialog instead of on every
3100 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3102 * src/hildon-button.c (hildon_button_init)
3103 * src/hildon-check-button.c (hildon_check_button_init)
3104 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3105 focus when clicked by default.
3107 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3109 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3112 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3114 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3115 Alejandro G. Castro (alex@igalia.com)
3117 * src/hildon-picker-dialog.c:
3118 (hildon_picker_dialog_class_init): install new "center-on-show"
3120 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3121 (hildon_picker_dialog_set_property): add setter code for the new
3123 (hildon_picker_dialog_get_property): add getter code for the new
3125 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3126 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3129 Fixes: NB#92849 (Selected item is not always visible when
3130 HildonTouchSelector is shown)
3132 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3134 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3135 Alejandro G. Castro (alex@igalia.com)
3137 * src/hildon-touch-selector.c:
3138 (_create_new_column): Do not connect to the "realize" signal of the
3140 (hildon_touch_selector_append_column): center on the selected items
3141 when a new column is appended.
3142 (hildon_touch_selector_select_iter): Factor out the code to select a
3143 column to hildon_touch_selector_scroll_to().
3144 (+search_nearest_element): Method to retrieve the nearest selected
3145 element to the visible area of the pannable area in a column.
3146 (+on_realize_cb): scroll to the initially selected item.
3147 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3148 the pannable area is realized, otherwise delay this until it is.
3149 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3150 selected items of a given column.
3151 (+hildon_touch_selector_center_on_selected): Public method to center
3152 all columns on the nearest selected item.
3153 * src/hildon-touch-selector.h: Add definition for
3154 hildon_touch_selector_center_on_selected().
3156 Implement public API to ensure visibility of all selected items in
3157 a HildonTouchSelector.
3159 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3161 Fixed a problem in the fading when calling the scroll_to API, and
3162 improve scrollbar fading handling.
3164 * src/hildon-pannable-area.c,
3165 (hildon_pannable_area_grab_notify): avoid the timeout when the
3167 (hildon_pannable_area_button_press_cb),
3168 (hildon_pannable_area_motion_notify_cb): Code style changes.
3169 (hildon_pannable_area_button_release_cb): Review the conditions
3170 when releasing the mouse button to avoid unrequired fading
3172 (hildon_pannable_area_scroll_to): Do not calculate and set the
3173 velocity if the scroll is not required.
3175 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3177 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3178 Don't check whether the new selector is NULL: it cannot be.
3179 Hold a reference to the selector while doing the replacement.
3181 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3183 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3184 unnecessary size_request in a removed widget.
3186 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3188 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3189 an unnecessary reference tracking that was leaking.
3191 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3193 Added delayed motion notify event handling, this way we can
3194 discard redrawing if more than 25 events arrive per second.
3196 * src/hildon-pannable-area.c,
3197 (hildon_pannable_area_init): Initialized the new private atributes
3198 controlling this timeout
3199 (hildon_pannable_area_dispose): Remove the timeout that controls
3200 the motion notify events.
3201 (hildon_pannable_area_scroll): Added a condition to control the
3202 use of the acceleration.
3203 (hildon_pannable_area_motion_event_scroll_timeout),
3204 (hildon_pannable_area_motion_event_scroll): Added this two
3205 functions, they handle the motion notify events inside the
3207 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3208 to the scroll method with the new function.
3209 (hildon_pannable_area_button_release_cb): We have to remove the
3210 timeout handler and move to the last position if the last motion
3211 events were not handled.
3213 Fixes: NB#97028 (Pannable area updates on every motion event)
3215 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3217 * src/hildon-pannable-area.c,
3218 (hildon_pannable_area_get_topmost): Added a new parameter to
3219 filter the the windows that do not include those events. Added
3220 also a condition when finding the window to filter windows that do
3221 not ask for those events.
3222 (hildon_pannable_area_button_press_cb),
3223 (hildon_pannable_area_button_release_cb),
3224 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3225 topmost function, we have added the new parameter.
3227 Fixes: NB#97458 (Pannable area prevents propagation of button
3230 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3232 * src/hildon-pannable-area.c,
3233 (hildon_pannable_area_initial_effect): Added controls before
3234 launching the timeout and the idle functions.
3235 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3236 of the method, in some situations it can return with TRUE and 0 in
3238 (hildon_pannable_area_button_press_cb): We do not need to set
3239 DELAY for fading out here.
3241 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3243 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3245 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3246 post-cleaning if the selection is not NULL.
3248 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3250 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3251 all items before restoring the selection.
3253 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3255 * src/hildon-touch-selector.c:
3256 (+hildon_touch_selector_unselect_all):
3257 * src/hildon-touch-selector.h: New API to unselect all items in a
3258 column of the touch selector.
3260 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3262 * src/hildon-pannable-area.c,
3263 (hildon_pannable_area_redraw): Added a call to the refresh
3264 function inside the redraw because apparently in some cases the
3265 change in the adjustment does not imply a size allocate.
3267 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3268 despite the view not being scrollable)
3270 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3272 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3273 leak. Check for NULL before attempting to set the window title.
3275 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3277 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3278 whether to show or not the 'Done' button each time the dialog is
3279 shown, as it depends on the HildonTouchSelector selection mode.
3281 Fixes: NB#96226 (In multiple selection mode Done button is shown
3282 sometimes in listpicker)
3284 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3286 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3287 for the number of columns in the HildonTouchSelector more than once.
3289 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3291 * src/hildon-touch-selector.c: Minor documentation fixes.
3293 * src/hildon-picker-dialog.c (+_dialog_update_title)
3294 (_select_on_selector_changed_cb)
3295 (_update_title_on_selector_changed_cb)
3296 (on_selector_columns_changed): Update dialog title when there's no
3297 'Done' button and also when the number of columns in the selector
3301 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3302 (+_selection_changed, hildon_picker_button_on_dialog_response)
3303 (hildon_picker_button_selector_selection_changed)
3304 (+hildon_picker_button_selector_columns_changed)
3305 (hildon_picker_button_set_selector): Update button value and emit
3306 'value-changed' when the number of columns in the selector
3310 Fixes: NB#96225 (Dialog titles are not shown according to the
3311 values selected in the list picker)
3313 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3315 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3316 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3317 New "arrow-width" and "arrow-height" style properties to set the
3318 size of the arrow button.
3319 Set name of arrow button ("hildon-edit-toolbar-arrow").
3321 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3322 graphics from theme)
3324 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3326 * src/hildon-picker-button.c:
3327 (hildon_picker_button_selector_selection_changed): Use
3328 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3329 the dialog is present.
3331 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3332 the selection is accepted in the dialog)
3334 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3336 * src/hildon-color-chooser.h
3337 * src/hildon-color-chooser-dialog.h:
3338 Added G_BEGIN_DECLS and G_END_DECLS
3340 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3342 (_clean_current_selection): plug a leak in the list.
3344 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3346 * src/hildon-picker-dialog.c:
3347 (+free_path_list): Method to free a GList of GtkTreePaths.
3348 (_clean_current_selection), (_save_current_selection),
3349 (_restore_current_selection): Save the current selection in
3350 as a list of lists, to support multiple selection properly.
3352 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3354 patch by Claudio Saavedra (csaavedra@igalia.com)
3356 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3357 Store the press position.
3358 (+hildon_text_view_button_release_event): If the release position is
3359 close enough to the press position, move the cursor here. Otherwise,
3361 (hildon_text_view_class_init): Override GtkTextView press, release, and
3362 motion event handlers, disabling this way text selection through
3363 pointer interaction, and allowing the container widget to handle the
3366 Fixes: NB#95828 (HildonTextView functionality)
3368 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3370 Based on a patch by Iván Gómez (igomez@igalia.com)
3372 * src/hildon-button.[ch]
3373 * src/hildon-calendar.c
3374 * src/hildon-check-button.c
3375 * src/hildon-date-editor.c
3376 * src/hildon-date-selector.c
3377 * src/hildon-picker-button.c
3378 * src/hildon-time-editor.c
3379 * src/hildon-time-selector.c
3380 * src/hildon-touch-selector.[ch]:
3381 Documentation updates
3383 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3385 * src/hildon-pannable-area.c,
3386 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3387 threshold, it was required due to X events handling.
3389 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3391 * src/hildon-pannable-area.c,
3392 (hildon_pannable_area_grab_notify),
3393 (hildon_pannable_area_initial_effect),
3394 (hildon_pannable_area_button_press_cb),
3395 (hildon_pannable_area_button_release_cb),
3396 (hildon_pannable_area_scroll_cb),
3397 (hildon_pannable_area_scroll_to): Review the timeout management of
3398 the scrollbar, the frecuency was incorrectly set.
3400 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3402 * src/hildon-picker-button.c:
3403 (+hildon_picker_button_on_dialog_response),
3404 (hildon_picker_button_clicked): Present the dialog instead of
3405 running it with gtk_dialog_run().
3407 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3410 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3412 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3413 (hildon_app_menu_finalize): When a window is hidden it doesn't
3414 emit notify::is-topmost, so make sure than the menu also
3415 disappears in that case.
3416 (parent_window_topmost_notify): Renamed from parent_window_hidden
3418 Fixes: NB#94460 (stackable window's menu is not closed when its
3421 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3423 * src/hildon-touch-selector-entry.c:
3424 (+hildon_touch_selector_entry_set_input_mode),
3425 (+hildon_touch_selector_entry_get_input_mode):
3426 * src/hildon-touch-selector-entry.h: New methods to access the input
3427 mode in the selector's entry.
3429 Fixes: NB#93410 (API required for setting IM mode in
3430 HildonTouchSelectorEntry)
3432 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3434 * configure.ac: post release version bump.
3435 * debian/changelog: version bump
3437 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3442 * configure.ac: Bump version.
3443 * debian/changelog: Updates.
3445 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3447 * src/hildon-touch-selector.c:
3448 (_hildon_touch_selector_has_multiple_selection): No need
3449 to initialize the variables here.
3451 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3453 * src/hildon-note-private.h
3454 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3455 (hildon_note_finalize, hildon_note_rebuild): Close information
3456 notes when they receive a button press.
3458 Fixes: NB#89890 (Information notes does not get disappeared after
3461 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3463 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3464 mark from the wizard title, as it's not really necessary. Also,
3465 do not display the page title if not set.
3467 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3469 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3470 (parent_window_hidden): Use the window's "is-topmost" property to
3471 detect when to hide the menu.
3473 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3475 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3476 (hildon_app_menu_finalize): If the parent window of the menu is
3477 hidden, hide the menu too.
3479 Fixes: NB#94460 (stackable window's menu is not closed when its
3482 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3485 * debian/libhildon1-examples.install
3487 * examples/Makefile.am:
3488 Use dh_install to install all examples.
3489 Use DEB_SRCDIR instead of defining SOURCE_DIR
3491 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3493 * configure.ac: post release version bump.
3494 * debian/changelog: version bump
3496 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3501 * configure.ac: bump version
3502 * debian/changelog: updates
3503 * debian/control: bump gtk+ dependency
3505 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3507 patch by Christian Dywan (christian@imendio.com)
3509 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3510 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3512 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3514 * src/hildon-check-button.c (hildon_check_button_init)
3515 (hildon_check_button_class_init, hildon_check_button_style_set)
3516 (hildon_check_button_apply_style):
3517 New "checkbox-size" style property.
3519 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3520 larger / configurable size)
3522 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3524 * configure.ac: post release version bump.
3525 * debian/changelog: version bump
3527 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3532 * configure.ac: bump version
3533 * debian/changelog: updates
3535 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3537 * doc/hildon-sections.txt
3538 * src/hildon-pannable-area.c
3539 * src/hildon-program.c
3540 * src/hildon-time-editor.c
3541 * src/hildon-touch-selector-entry.c:
3543 More documentation updates.
3545 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3547 * doc/hildon-sections.txt
3548 * src/hildon-caption.c
3549 * src/hildon-code-dialog.c
3550 * src/hildon-color-button.c
3551 * src/hildon-controlbar.c
3552 * src/hildon-date-editor.c
3553 * src/hildon-date-selector.c
3554 * src/hildon-edit-toolbar.c
3555 * src/hildon-find-toolbar.c
3556 * src/hildon-font-selection-dialog.c
3558 * src/hildon-program.c
3559 * src/hildon-range-editor.c
3560 * src/hildon-seekbar.c
3561 * src/hildon-time-editor.c
3562 * src/hildon-time-selector.c
3563 * src/hildon-volumebar-range.c
3564 * src/hildon-volumebar.c
3565 * src/hildon-vvolumebar.c
3566 * src/hildon-weekday-picker.c
3567 * src/hildon-window.c
3568 * src/hildon-wizard-dialog.c:
3570 Lots of documentation fixes.
3572 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3574 Patch contributed by Iván Gómez (igomez@igalia.com)
3576 * src/hildon-check-button.c:
3577 * src/hildon-date-button.c:
3578 * src/hildon-date-selector.c:
3579 * src/hildon-dialog.c:
3580 * src/hildon-edit-toolbar.c:
3581 * src/hildon-entry.c:
3582 * src/hildon-picker-button.c:
3583 * src/hildon-program.c:
3584 * src/hildon-text-view.c:
3585 * src/hildon-time-button.c:
3586 * src/hildon-touch-selector-entry.c:
3587 * src/hildon-window-stack.c:
3589 Add more "since" tags to the new API.
3591 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3593 * doc/hildon-sections.txt: Add below method.
3594 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3595 version for the hildonized scale.
3596 * src/hildon-gtk.h: Add the definition.
3598 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3600 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3602 * doc/hildon-sections.txt: Add missing entries for new methods.
3604 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3606 Added API to pannable are in order to get its adjustments. We
3607 added two properties to manage the values we had in the private
3610 * src/hildon-pannable-area.c:
3611 (hildon_pannable_area_class_init): Added hadjustment and
3612 vadjustment properties in order to expose horizontal and vertical
3614 (hildon_pannable_area_get_property),
3615 (hildon_pannable_area_set_property): Added code to handle the new
3617 (hildon_pannable_area_get_hadjustment),
3618 (hildon_pannable_area_get_vadjustment): API functions to get the
3620 * src/hildon-pannable-area.h:
3621 (hildon_pannable_area_get_hadjustment),
3622 (hildon_pannable_area_get_vadjustment): API functions to get the
3625 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3627 Fixed some leaks, after valgrinding.
3629 * src/hildon-touch-selector.c:
3630 (_default_print_func): Fixed a leak.
3631 (hildon_touch_selector_append_column): Fixed a leak.
3632 * src/hildon-date-button.c:
3633 (hildon_date_button_init): Fixed a leak.
3634 * src/hildon-date-selector.c
3635 (hildon_date_selector_finalize): Fixed a leak.
3637 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3639 Based on a patch by Christian Dywan (christian@imendio.com)
3641 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3643 * src/hildon-gtk.h: Add definition.
3645 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3647 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3649 * src/hildon-picker-button.c: (hildon_picker_button_init),
3650 (hildon_picker_button_new): Set the HildonButton::style property
3651 in the init method, to propagate the value to the derived classes.
3653 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3655 * src/hildon-button.c: (hildon_button_class_init): Do not make
3656 the "style" property a construct property.
3658 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3660 * src/hildon-wizard-dialog.h
3661 * src/hildon-wizard-dialog.c
3662 (hildon_wizard_dialog_set_forward_page_func)
3663 * src/hildon-pannable-area.h
3664 * src/hildon-pannable-area.c
3665 (hildon_pannable_area_set_size_request_policy):
3666 Documentation fixes.
3668 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3670 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3672 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3674 * doc/hildon-sections.txt: Added sections file.
3676 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3679 * src/*.[ch]: Updates.
3681 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3683 * examples/hildon-progress-indicator-example.c: new file
3684 * examples/Makefile.am: include the new example program
3686 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3688 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3690 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3692 * configure.ac: post release version bump
3693 * debian/changelog: version bump
3695 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3700 * configure.ac: bump version
3701 * debian/changelog: updates
3702 * debian/control: bump gtk+ dependency
3704 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3706 * src/hildon-dialog.c: Mark as deprecated.
3707 * src/hildon-dialog.h: Mark as deprecated.
3708 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3709 from HildonDialog and still work, even if
3710 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3711 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3713 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3714 maemo changes) instead)
3716 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3718 * src/hildon-pannable_area.h:
3719 * src/hildon-pannable_area.c:
3720 (hildon_pannable_area_class_init),
3721 (hildon_pannable_area_set_property),
3722 (hildon_pannable_area_get_property),
3723 (hildon_pannable_area_size_request),
3724 (hildon_pannable_area_get_size_request_policy),
3725 (hildon_pannable_area_set_size_request_policy): Added new API
3726 allowing applications to control the request policy. Now they can
3727 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3728 children allocation (HILDON_MOVEMENT_CHILDREN).
3730 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3734 (hildon_gtk_tree_view_set_ui_mode)
3735 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3736 mode of treeviews and iconviews.
3738 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3740 * src/hildon-touch-selector-entry.c:
3741 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3742 of a GtkEntry to get proper theming.
3744 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3745 widget, not GtkEntry)
3747 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3749 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3750 no HildonWizardDialogPageFunc.
3752 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3754 Patch contributed by Iván Gómez (igomez@igalia.com)
3756 * src/hildon-app-menu.c:
3757 * src/hildon-button.c:
3758 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3759 * src/hildon-stackable-window.c:
3760 * src/hildon-time-selector.c:
3761 * src/hildon-touch-selector.c:
3762 * src/hildon-window.c:
3764 Add more "since" tags to the new API in hildon 2.2.
3766 2008-12-05 Tim Janik <timj@imendio.com>
3768 Patch contributed by Christian Dywan (christian@imendio.com)
3770 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3771 HildonSizeType, which are supplied by Gtk+ now.
3773 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3775 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3776 (with maemo changes) instead)
3778 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3780 Patch contributed by Iván Gómez (igomez@igalia.com)
3782 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3785 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3787 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3788 (some_page_func), (main): Update the example to use a
3789 HildonWizardDialogPageFunc function.
3791 * src/hildon-wizard-dialog-private.h: Add private data for
3792 the HildonWizardDialogPageFunc function usage.
3794 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3795 (destroy), (hildon_wizard_dialog_init), (response),
3796 (hildon_wizard_dialog_set_forward_page_func):
3797 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3798 that applications can use to stop a HildonWizardDialog to jump to
3801 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3804 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3806 * src/hildon-program.h
3807 * src/hildon-program-private.h
3808 * src/hildon-program.c (hildon_program_init)
3809 (hildon_program_set_common_app_menu)
3810 (hildon_program_get_common_app_menu):
3811 New API for setting a common HildonAppMenu for all
3812 HildonStackableWindows registered with the HildonProgram.
3814 * src/hildon-stackable-window.c
3815 (hildon_stackable_window_toggle_menu):
3816 Use the common HildonAppMenu if a window doesn't have a specific
3819 * src/hildon-app-menu-private.h
3820 * src/hildon-app-menu.c
3821 (hildon_app_menu_get_parent_window):
3822 Function to obtain the window a HildonAppMenu is attached to.
3823 (hildon_app_menu_set_parent_window):
3824 Hide the menu if the parent window is set to NULL.
3826 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3828 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3829 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3830 search widget to popup.
3832 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3834 * configure.ac: post release version bump
3835 * debian/changelog: version bump
3837 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3842 * configure.ac: bump version
3843 * debian/changelog: updates
3845 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3847 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3849 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3850 (hildon_window_stack_window_realized)
3851 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3852 Set the leader GdkWindow when a window is stacked and realized,
3853 unset it when it's unstacked.
3854 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3856 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3858 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3860 * src/hildon-stackable-window.h
3861 * src/hildon-window-stack.h:
3862 Protect definition of HildonWindowStack using the preprocessor.
3864 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3866 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3867 Fix warning if all menu items are hidden.
3869 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3871 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3873 * src/hildon-controlbar.c:
3874 * src/hildon-hvolumebar.c:
3875 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3876 Multiple scale size defines updates.
3878 Fixes: NB#94322 (Scale Updates)
3880 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3882 * examples/hildon-app-menu-example.c (create_menu)
3883 Show items after adding them to the menu, as in the future the
3884 menu will no longer call gtk_widget_show() on the added items.
3886 * src/hildon-app-menu.c:
3887 Update example as explained above.
3889 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3891 * src/hildon-app-menu.c
3892 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3893 Make sure that all menu items have finger height.
3895 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3897 * src/hildon-picker-dialog.c:
3898 (_on_dialog_response), (_save_current_selection),
3899 (_restore_current_selection), (_clean_current_selection),
3900 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3901 Defined new functions in order to save the current internal selector
3902 selection previous open the dialog, in case that the use cancel the
3903 interaction, so the widget restores the previous selection.
3905 Fixes: NB#92032 (In calendar application, date values in 'new event'
3908 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3910 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3912 * src/hildon-button.c: Add a reference to the button examples in
3913 hildon-button-example.c
3915 * examples/hildon-button-example.c: Added examples of the most
3916 common button layouts.
3918 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3920 * src/hildon-app-menu.c (hildon_app_menu_show)
3921 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3923 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3925 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3927 * src/hildon-picker-dialog.c:
3928 (hildon_picker_dialog_init): Initialize the signal id for
3929 HildonTouchSelector::columns-changed.
3930 (+on_selector_columns_changed): Set up the interaction mode everytime a
3931 column is added or removed from the HildonTouchSelector.
3932 (_hildon_picker_dialog_set_selector): Connect to
3933 HildonTouchSelector::columns-changed and keep track of it.
3935 Make sure to update the interaction mode of the dialog everytime a
3936 column is added or removed in the HildonTouchSelector.
3938 Fixes: NB#93228 (Done button is not shown always in listpicker)
3940 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3942 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3943 a new ::columns-changed signal.
3944 (hildon_touch_selector_append_column): Emit ::columns-changed.
3945 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3947 Add a ::columns-changed signal, emitted when the number of columns in a
3948 HildonTouchSelector changes.
3950 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3952 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3953 (_hildon_picker_dialog_set_selector): Factor out the code
3954 to set up the dialog interaction mode.
3956 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3958 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3959 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3960 to signal_changed_id.
3962 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3964 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3967 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3969 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3970 Updated the logical ids related to ampm format, as now it is required to
3971 show it correctly localized even on languages with no default
3972 abbreviations for am or pm
3973 (_check_am_pm_format): check correctly the 24h format gconf property
3975 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3977 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3979 * src/hildon-button.c: Documentation updates.
3981 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3983 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3984 * src/hildon-caption.c: (hildon_caption_class_init):
3985 * src/hildon-color-button.c: (hildon_color_button_class_init):
3986 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3987 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3988 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3989 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3991 Remove deprecated GTK+ marshalers and replace them with the ones
3992 provided by GLib, for those available, add a marshaler for
3993 BOOLEAN:VOID, which is not available in GLib, and use it.
3995 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3997 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3998 the text from the previous column if there is no
3999 HildonTouchSelectorColumn::text-property set.
4001 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4003 * src/hildon-button.h
4004 * src/hildon-button.c (hildon_button_set_property)
4005 (hildon_button_get_property, hildon_button_class_init)
4006 (hildon_button_set_style, hildon_button_get_style):
4007 New "style" property to change the visual appearance of the
4010 * src/hildon-picker-button.c (hildon_picker_button_new):
4011 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4013 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4014 HildonButton look like PickerButton)
4016 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4018 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4019 column while building the default string.
4021 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4023 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4024 scroll indicator by default.
4026 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4028 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4030 * src/hildon-main.c: Fix the documentation for hildon_init()
4032 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4034 * doc/hildon-docs.sgml
4038 * src/hildon-window-stack-private.h
4039 * src/hildon-window-stack.h
4040 * src/hildon-window-stack.c:
4041 New HildonWindowStack object, that adds support for multiple
4042 stacks of windows per process.
4044 * src/hildon-stackable-window-private.h
4045 * src/hildon-stackable-window.h
4046 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4047 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4048 (hildon_stackable_window_show, hildon_stackable_window_hide)
4049 (hildon_stackable_window_class_init)
4050 (hildon_stackable_window_init):
4051 Use HildonWindowStack for stack management.
4053 * src/hildon-program.c (hildon_program_pop_window_stack)
4054 (hildon_program_peek_window_stack)
4055 (hildon_program_go_to_root_window):
4056 Add a fallback implementation to the deprecated functions using
4059 * examples/hildon-stackable-window-example.c:
4060 Use the new HildonWindowStack API.
4062 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4064 * src/hildon-stackable-window-private.h
4065 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4066 (hildon_stackable_window_hide, hildon_stackable_window_init):
4067 Remove all window stack management.
4069 * src/hildon-program-private.h
4070 * src/hildon-program.h
4071 * src/hildon-program.c (hildon_program_init)
4072 (hildon_program_pop_window_stack)
4073 (hildon_program_peek_window_stack)
4074 (hildon_program_go_to_root_window):
4075 Remove all window stack management and mark functions as
4078 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4080 * src/hildon-app-menu.c (hildon_app_menu_realize):
4081 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4083 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4085 * configure.ac: post release version bump
4086 * debian/changelog: version bump
4088 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4093 * configure.ac: bump version
4094 * debian/changelog: updates
4096 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4098 Based on initial code by Christian Dywan (christian@imendio.com)
4100 * doc/hildon-docs.sgml: Add section for hildon-main.
4101 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4102 * src/Makefile.am: Add new hildon-main.[ch]
4103 * src/hildon-defines.h: Update the icon sizes.
4104 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4105 new library initialization files and register icon sizes.
4106 * src/hildon-main.h: New declarations.
4107 * src/hildon.h: Include hildon-main.h
4109 Add new initialization functions to the library. These methods
4110 will register the hildon specific icon sizes and can be used in the
4111 future for other hildon specific bits.
4113 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4115 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4117 * src/hildon-window.c: (hildon_window_realize),
4118 (hildon_window_notify), (-hildon_window_update_title): Do not set
4119 the application name in the window title.
4121 Fixes: NB#89754 (Applications shouldn't display their names in the
4124 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4126 * src/hildon-note-private.h:
4127 * src/hildon-note.c: (hildon_note_set_property),
4128 (hildon_note_get_property), (hildon_note_class_init),
4129 (hildon_note_init), (hildon_note_finalize),
4130 (hildon_note_new_confirmation_with_icon_name),
4131 (hildon_note_new_information_with_icon_name):
4133 No need to mark as deprecated the actual code. Revert
4134 to avoid missing symbols in widgets using deprecated API.
4136 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4138 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4140 * src/hildon-volumebar.h
4141 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4142 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4144 * src/hildon-helper.h
4145 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4146 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4148 * examples/Makefile.am:
4149 Deprecate hildon-insensitive-example
4151 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4153 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4155 * examples/hildon-pannable-area-buttons-scroll-example.c:
4156 Make all buttons finger height
4158 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4160 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4162 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4163 update the day model only if it is really required, and to avoid the
4164 full-reconstruction aproach. Now it only add or remove the required days.
4166 The purpose of this is avoid superfluous HildonTouchSelector::changed
4169 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4170 with strange parameters)
4172 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4174 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4176 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4177 the WINDOW_TYPE property.
4179 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4181 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4184 Fix dependency to allow parallel compilation with make -jX
4186 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4188 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4189 color frame and some minor tweaks to make it more consistent with
4192 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4193 highlighted but not visible)
4195 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4197 * examples/Makefile.am: Fixed typo in the Makefile.am.
4199 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4201 Reviewed the use of MAEMO_GTK define, now we add the define in the
4202 compilation line, and we also add it to the pc file.
4204 * configure.ac: Added MAEMO_GTK define to the compilation command
4205 and removed it from the config.h.
4207 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4208 do not have to take care about this define if the library was
4212 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4214 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4216 * examples/Makefile.am,
4217 * examples/hildon-pannable-area-buttons-scroll-example.c,
4218 * examples/hildon-pannable-area-gesture-signals-example.c,
4219 * examples/hildon-pannable-area-scroll-jump-example.c,
4220 * examples/hildon-pannable-area-tree-view-example.c:
4221 Renamed the pannable area examples, now they have more meaningful
4224 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4226 * src/hildon-touch-selector.c:
4227 (hildon_touch_selector_set_column_selection_mode): Used of
4228 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4229 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4230 to avoid re-seting the same selection mode.
4232 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4233 breaks HildonPickerDialog)
4235 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4237 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4238 conditional in the Makefile.am
4240 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4242 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4243 Remove unused methods.
4245 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4247 * src/hildon-button.c (hildon_button_init):
4248 Make button images center-aligned by default
4250 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4253 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4254 activated, we have to think about how to deal with both defines
4255 MAEMO_GTK and MAEMO_CHANGES.
4257 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4259 * examples/hildon-app-menu-example.c (create_menu): Make all
4260 buttons finger size.
4262 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4264 Fixed the compilation without maemo gtk adding ifdefs with
4265 MAEMO_GTK define to the code, we have to check this version more
4268 * examples/Makefile.am: Added control to avoid some examples that
4269 just make sense with maemo gtk.
4272 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4273 hildon modes with the define.
4275 * examples/hildon-edit-toolbar-example.c,
4276 (create_icon_view): Create the icon view without hildon-gtk
4277 helpers if we are not using maemo gtk.
4279 * src/hildon-touch-selector.c,
4280 (_create_new_column): Create the treeview without hildon-gtk
4281 helpers if we are not using maemo gtk.
4283 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4285 * src/hildon-pnnable-area.c,
4286 (hildon_pannable_area_dispose),
4287 (hildon_pannable_area_button_press_cb),
4288 (hildon_pannable_area_child_mapped),
4289 (hildon_pannable_area_add),
4290 (hildon_pannable_area_remove): Added code to control the position
4291 of the event_window when adding and removing children from the
4292 pannable. We have to raise the event window when the child is
4295 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4296 selection mode using custom widget inside pannable)
4298 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4300 * configure.ac: post release version bump
4301 * debian/changelog: version bump
4303 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4308 * configure.ac: bump version
4309 * debian/changelog: updates
4311 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4313 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4314 search mode, in order to avoid lose the focus on the treeview when
4315 a hw key (like enter) is pressed.
4317 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4318 in HildonDateSelector dialog)
4320 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4322 * debian/rules: Added --enable-maintainer-mode
4323 * Makefile.am: Added ACLOCAL_AMFLAGS
4325 This allows to properly regenerate the Makefiles if you modify the
4326 configure.ac or any Makefile.am.
4328 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4330 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4331 properties, not needed at all.
4333 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4335 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4337 * src/hildon-note.c: (hildon_note_set_property),
4338 (hildon_note_get_property), (hildon_note_class_init),
4339 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4340 (hildon_note_new_confirmation_add_buttons): Remove icons.
4341 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4342 (hildon_note_new_information_with_icon_name): Deprecate.
4343 (hildon_note_new_confirmation): Act directly, without calling
4344 the deprecated constructor.
4345 (hildon_note_new_information): Act directly, without calling
4346 the deprecated constructor.
4347 * src/hildon-note.h: Mark deprecate methods as such.
4348 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4349 not run tests on the deprecated methods if built with deprecation
4352 Fixes: NB#91688 (Never show icons in information notes/confirmation
4355 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4357 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4358 (hildon_app_menu_key_press): Remove leftover usage of the
4359 private structure in HildonAppMenu struct.
4360 * src/hildon-app-menu.h: Remove leftover private structure
4361 from the HildonAppMenu struct.
4363 Fixes a crasher when using the HildonAppMenu.
4365 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4367 * src/hildon-picker-dialog.c: Use appropriate logical id
4368 for the default "Done" text.
4370 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4372 * configure.ac: post release version bump
4373 * debian/changelog: version bump
4375 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4377 Modified the way to scroll to the current selection just when the touch
4378 selector is shown on the screen, avoiding a g_idle. Added too a property
4379 to configure this behaviour. See hildon_pannable_area_jump_to_child
4380 documentation for more information.
4382 * src/hildon-touch-selector.c
4383 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4384 Added 'initial-scroll' property
4385 (hildon_touch_selector_set_property): Added
4386 (hildon_touch_selector_map): Removed as not required anymore
4387 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4388 only a concrete column, instead of iterate along all the columns
4390 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4395 * configure.ac: bump version
4396 * debian/changelog: updates
4398 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4400 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4401 compilation time warnings.
4403 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4405 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4406 the default value for HildonPannableArea::mov-mode to
4407 HILDON_PANNABLE_AREA_MODE_VERT.
4409 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4411 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4413 Reverting following commit:
4415 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4417 * src/hildon-app-menu-private.h
4418 * src/hildon-app-menu.[ch]
4419 * src/hildon-button.[ch]
4420 * src/hildon-check-button.[ch]
4421 * src/hildon-entry.[ch]
4422 * src/hildon-pannable-area.[ch]
4423 * src/hildon-text-view.[ch]:
4424 Added private field to the object's structure.
4426 because it causes an ABI breakage. We will need to introduce these
4427 changes later at some point. See NB#91636 for an extensive
4428 explanation and status.
4430 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4432 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4434 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4435 remove special cases that are no longer necessary.
4437 Fixes: NB#91016 (Change toolbar sizes, simplification)
4439 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4441 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4442 is shown in the cancel note.
4444 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4446 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4447 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4448 (hildon_seekbar_init): Remove steppers, remove expose event.
4449 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4451 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4453 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4455 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4456 label font to "SmallSystemFont" for vertically arranged buttons.
4458 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4461 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4463 * src/hildon-check-button.c
4464 (hildon_check_button_set_active, hildon_check_button_clicked):
4465 Don't access private parts directly, use getters instead.
4467 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4469 * src/hildon-check-button.c (hildon_check_button_new):
4470 Align the contents of the check button to the left.
4472 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4474 * src/hildon-pannable-area.c,
4475 (hildon_pannable_area_scroll_to),
4476 (hildon_pannable_area_jump_to),
4477 (hildon_pannable_area_scroll_to_child),
4478 (hildon_pannable_area_jump_to_child): Replace the mapped
4479 precondition of these functions with the realized, it is the
4480 correct state of the widget in this case. Changed the
4481 documentation according to this modification.
4483 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4485 Added a new EXTRA_CFLAGS option to add the deprecated define to
4486 the compilation command. This way we can avoid using the define in
4487 the documentation compilation.
4489 * configure.ac: Defined EXTRA_CFLAGS.
4491 * examples/Makefile.am:
4493 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4495 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4497 * src/hildon-picker-dialog.c:
4498 Defined a utility macro with the desired touch selector height
4499 Removed currently unused separator, and title_label variables from
4501 (hildon_picker_dialog_init): Removed code related to the creation
4502 of unused private variables title_label and separator.
4503 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4504 to ensure correct visualization of the touch selector inside the dialog.
4505 * src/hildon-touch-selector.c
4506 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4507 ensure a concrete height of the widget.
4509 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4512 * tests/Makefile.am:
4514 Remove spurious whitespaces.
4516 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4518 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4519 compilation warning after the cancel button removal.
4521 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4523 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4525 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4526 Makefile.am, that way we can choose not to compile some examples
4527 and tests of the deprecated widgets.
4529 * examples/Makefile.am: Divided the sources in deprecated and
4532 * src/Makefile.am: Added undef statement of the deprecated
4533 symbol to the enums file generation process.
4535 * src/hildon-color-chooser-dialog.c
4536 * src/hildon-color-chooser-dialog.h
4537 * src/hildon-color-button.c
4538 * src/hildon-color-button.h
4539 * src/hildon-color-chooser.c
4540 * src/hildon-color-chooser.h
4541 * src/hildon-controlbar.c
4542 * src/hildon-controlbar.h
4543 * src/hildon-date-editor.c
4544 * src/hildon-date-editor.h
4545 * src/hildon-hvolumebar.c
4546 * src/hildon-hvolumebar.h
4547 * src/hildon-private.c
4548 * src/hildon-private.h
4549 * src/hildon-range-editor.c
4550 * src/hildon-range-editor.h
4551 * src/hildon-seekbar.c
4552 * src/hildon-seekbar.h
4553 * src/hildon-time-editor.c
4554 * src/hildon-time-editor.h
4555 * src/hildon-time-picker.c
4556 * src/hildon-time-picker.h
4557 * src/hildon-volumebar.c
4558 * src/hildon-volumebar.h
4559 * src/hildon-vvolumebar.c
4560 * src/hildon-vvolumebar.h
4561 * src/hildon-bread-crumb-trail.h
4562 * src/hildon-bread-crumb-trail.c
4563 * src/hildon-calendar-popup.c
4564 * src/hildon-calendar-popup.h
4565 * src/hildon-weekday-picker.c:
4566 * src/hildon-weekday-picker.h:
4567 * src/hildon-bread-crumb-widget.c:
4568 * src/hildon-bread-crumb-widget.h:
4569 * src/hildon-bread-crumb.c:
4570 * src/hildon-bread-crumb.h:
4571 * src/hildon-calendar.c:
4572 * src/hildon-calendar.h:
4573 * src/hildon-caption.c:
4574 * src/hildon-code-dialog.c:
4575 * src/hildon-code-dialog.h:
4576 * src/hildon-font-selection-dialog.c:
4577 * src/hildon-font-selection-dialog.h:
4578 * src/hildon-get-password-dialog.c:
4579 * src/hildon-get-password-dialog.h:
4580 * src/hildon-login-dialog.c:
4581 * src/hildon-login-dialog.h:
4582 * src/hildon-number-editor.c:
4583 * src/hildon-number-editor.h:
4584 * src/hildon-set-password-dialog.c:
4585 * src/hildon-set-password-dialog.h:
4586 * src/hildon-sort-dialog.c:
4587 * src/hildon-sort-dialog.h: This is the list of deprecated
4590 * src/hildon-touch-selector.c:
4591 * src/hildon-window.c: Added undef statement to avoid compilation
4594 * tests/Makefile.am: Divided the sources in deprecated and
4597 * tests/check_test.c,
4598 (configure_tests): Marked the deprecated code that was adding
4599 suites with deprecated tests.
4601 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4603 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4605 * src/hildon-touch-selector.c: (_default_print_func): Do not
4606 duplicate a string returned by gtk_tree_model_get(), it is already
4609 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4612 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4614 * src/hildon-pannable-area.c
4615 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4616 method, it had problems when adding a widget with viewport the
4617 second time. Now checks if it already has a viewport and uses it.
4619 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4622 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4624 * src/hildon-pannable-area.c,
4625 (hildon_pannable_area_scroll_to),
4626 (hildon_pannable_area_jump_to),
4627 (hildon_pannable_area_scroll_to_child),
4628 (hildon_pannable_area_jump_to_child): Added a precondition to the
4629 scroll and jump to functions: the widget must be mapped before we
4630 can safely call these functions. We have also added documentation
4631 to the functions to explain how to use them in this situation.
4634 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4636 Reviewed the threading handling of the pannable widget, we have
4637 used the gdk_threads_add_timeout function instead of the usual
4638 glib handlers. This avoids some problems with the threads.
4640 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4641 (hildon_pannable_area_initial_effect),
4642 (hildon_pannable_area_scroll_indicator_fade),
4643 (hildon_pannable_area_button_press_cb),
4644 (hildon_pannable_area_timeout),
4645 (hildon_pannable_area_motion_notify_cb),
4646 (hildon_pannable_area_button_release_cb),
4647 (hildon_pannable_area_scroll_cb),
4648 (hildon_pannable_area_scroll_to): Removed the
4649 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4650 gdk_threads_add_timeout.
4652 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4654 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4659 * configure.ac: bump version
4660 * debian/changelog: updates
4662 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4664 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4665 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4666 * src/hildon-color-chooser-dialog.c:
4667 (hildon_color_chooser_dialog_init):
4668 * src/hildon-font-selection-dialog.c:
4669 (hildon_font_selection_dialog_init):
4670 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4672 Remove all cancel/close-like dialogs, as these are not going to be
4675 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4677 * src/hildon-note.c: (hildon_note_rebuild),
4678 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4681 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4683 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4685 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4686 sure all buttons are shown, even the Cancel/Close-like ones.
4688 Fixes: NB#90861 (Custom Confirmation dialogs should be
4689 protected from cancel button removal)
4691 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4693 * debian/control: Change libhildon1-examples dependency from libhildon1
4695 * debian/libhildon1-examples.install
4697 * Makefile.am: Modified the final install directory for the examples on
4698 package libhildon1-examples
4699 * Makefile.static: Update clean target in order to remove all the binary
4702 Changes suggested by Claudio after review new libhildon1-examples package
4704 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4706 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4707 * src/hildon-touch-selector.c: Ditto.
4709 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4711 * debian/control: Added new package libhildon1-examples, in order to pack
4712 the current hildon examples as documentation
4713 * debian/rules: Not to compress .c files, modify some includes on the
4714 examples (as normally are compiled locally, but when installed it will
4715 require to include the installed libhildon1 library), and rename
4717 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4718 install all the example files on the new example package
4719 * examples/Makefile.static: Added static makefile that can be used to
4720 compile the examples, once installed the new example package
4721 * examples: Most of the examples were modified in order to grant that
4722 all use only '#include "hildon.h"', in order to be easy to prepare
4723 it on the example package
4725 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4728 * debian/libhildon1-dev.install
4729 * debian/libhildon1-doc.install:
4730 Move all gtk-doc files to a separate libhildon1-doc package.
4732 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4734 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4736 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4738 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4740 * debian/rules: Fixed a error in order to avoid unnecessary calls
4741 to autogen.sh on package building
4743 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4745 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4747 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4749 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4752 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4754 * src/hildon-picker-button.c
4755 (hildon_picker_button_finalize):
4756 Free priv->done_button_text
4758 * src/hildon-time-button.c
4759 (hildon_time_button_set_time)
4760 * src/hildon-picker-button.c
4761 (hildon_picker_button_clicked)
4762 (hildon_picker_button_selector_selection_changed)
4763 (hildon_picker_button_set_selector)
4764 * src/hildon-date-button.c
4765 (hildon_date_button_set_date):
4766 Free strings returned by hildon_touch_selector_get_current_text()
4768 * src/hildon-button.c (hildon_button_construct_child):
4769 Fix leaks in priv->image and priv->label_box
4771 Fixes: NB#90535 (Memory leak in picker button)
4773 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4775 * src/hildon-button.c: (hildon_button_get_property): Do not access
4776 private elements directly, use getters instead.
4778 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4780 * src/hildon-app-menu-private.h
4781 * src/hildon-app-menu.c
4782 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4783 Store the menu's parent window.
4785 * src/hildon-stackable-window.c
4786 (hildon_stackable_window_toggle_menu)
4787 (hildon_stackable_window_finalize):
4788 Set the menu's parent window when the menu is shown, unset it when
4791 * src/hildon-app-menu.c
4792 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4793 (hildon_app_menu_class_init):
4794 Send unhandled keyboard accelerators to the parent window.
4796 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4798 * src/hildon-stackable-window.c
4799 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4801 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4803 * configure.ac: post release version bump
4805 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4808 * configure.ac: Bump version
4809 * debian/changelog: Updates
4810 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4813 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4815 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4818 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4819 GtkMenu with Hildon style.
4821 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4823 * src/hildon-picker-button.c:
4824 (hildon_picker_button_set_done_button_text): Set the dialog's
4825 done button text here as well.
4827 Fixes: NB#90232 (Picker button does not set the label on done button
4828 for the second time)
4830 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4832 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4835 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4837 * src/hildon-app-menu.c (hildon_app_menu_insert)
4838 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4839 the HildonAppMenu to be activatable using keyboard accelerators
4840 when the menu is not being shown.
4842 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4844 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4846 * src/hildon-stackable-window.c
4847 (hildon_stackable_window_show):
4848 Don't hide old windows automatically when new windows are shown:
4849 this is now a task for the window manager.
4850 (hildon_stackable_window_class_init)
4851 (hildon_stackable_window_hide):
4852 Remove windows from the stack everytime they're hidden.
4853 (hildon_stackable_window_realize):
4854 Don't change the _NET_WM_WINDOW_TYPE property. Use
4855 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4856 it as a stackable window.
4858 * src/hildon-program.c
4859 (hildon_program_pop_window_stack):
4860 Just hide the window to remove it from the stack.
4861 (hildon_program_go_to_root_window):
4862 Don't call gtk_widget_show(), this is now a task for the window
4865 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4867 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4869 * src/hildon-button.c
4870 (hildon_button_construct_child):
4871 Don't pack anything in the button until text or image are
4872 set. This allows adding a custom child after creating the button
4873 with hildon_button_new().
4874 (hildon_button_finalize, hildon_button_class_init)
4875 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4876 alignment and the label box even when they're not packed in the
4879 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4881 * src/hildon-touch-selector.h:
4882 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4883 currently the type definition was using GTK_TYPE_VBOX
4884 * src/hildon-touch-selector.c:
4885 Added some implementation notes in order to clarify that any other widget
4886 added without the column related API will not be included on the
4887 selection logic, and how the widget is freed, as some people ask about
4889 (hildon_touch_selector_remove): Reimplemented in order to free properly
4890 the column related data when you remove the private hbox.
4891 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4892 to get a proper HildonTouchSelectorColumn documentation
4894 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4896 * src/hildon-touch-selector-entry.c:
4897 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4898 text in the GtkEntry and there is no item selected. Fixes a
4901 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4903 * src/hildon-app-menu-private.h
4904 * src/hildon-app-menu.[ch]
4905 * src/hildon-button.[ch]
4906 * src/hildon-check-button.[ch]
4907 * src/hildon-entry.[ch]
4908 * src/hildon-pannable-area.[ch]
4909 * src/hildon-text-view.[ch]:
4910 Added private field to the object's structure.
4912 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4914 * configure.ac: post-release version bump
4916 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4920 * configure.ac: pre-release version bump
4922 * debian/changelog: updates.
4924 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4926 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4927 Disconnect the handler for HildonTouchSelector::changed.
4929 (hildon_picker_button_selector_selection_changed): Update the button
4930 value if the selection change was not triggered by the
4933 (hildon_picker_button_set_selector): connect to
4934 HildonTouchSelector::changed.
4936 Fixes: NB#89650 (Picker button is not updated, when selection in
4937 selector has changed)
4939 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4941 * src/hildon-picker-dialog.c
4942 (hildon_picker_dialog_realize): Removed as not required
4943 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4944 * src/hildon-picker-button.c
4945 (_current_selector_empty): New function, checks if the selector is empty
4946 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4947 if the current selector is empty, in order to avoid to show the dialog
4948 close the dialog in this case (and shows a g_warning).
4950 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4952 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4954 * src/hildon-pannable-area.c,
4955 (hildon_pannable_area_scroll): Added clause to stop movement when
4956 the child of pannable is smaller than one page.
4957 (hildon_pannable_area_scroll_to): Added conditions to avoid
4958 starting the scrolling movement if the child is smaller than one
4959 page, the complete child is in the screen, we do not have to move.
4961 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4963 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4965 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4966 this is managed automatically by the widget when the size of the
4969 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4971 * src/hildon-picker-button.c
4972 (hildon_picker_button_set_done_button_text): Make a copy of the
4973 text, and free the previous value.
4975 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4977 * src/hildon-touch-selector-entry.c:
4978 (hildon_touch_selector_entry_print_func): Return the selected row's
4979 text if the entry is empty.
4981 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4984 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4986 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4988 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4991 * src/hildon-check-button.h
4992 * src/hildon-check-button.c
4993 * examples/hildon-check-button-example.c:
4994 HildonCheckButton is now a new widget. 'toggled' signal added.
4996 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4998 * src/hildon-program-private.h
4999 * src/hildon-program.c (hildon_program_init)
5000 (hildon_program_finalize): Removed unused variables group_leader
5001 and name from HildonProgramPrivate.
5003 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5005 * src/hildon-check-button.c (hildon_check_button_set_active)
5006 (hildon_check_button_get_active, hildon_check_button_new): Use
5007 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5009 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5011 * src/hildon-touch-selector.h
5012 (hildon_touch_selector_set_column_attributes): added deprecation
5013 guard HILDON_DISABLE_DEPRECATED
5014 * src/hildon-time-selector.c
5015 (hildon_time_selector_set_time)
5016 (hildon_time_selector_get_time): Fixed a typo on documentation
5017 * src/hildon-touch-selector.c: update HildonTouchSelector and
5018 HildonTouchSelectorColumn documentation
5019 * src/hildon-touch-selector-entry.c: update "text-column" property
5021 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5022 to be added to the general documentation.
5024 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5026 * examples/hildon-pannable-area-example-4.c,
5028 * examples/hildon-pannable-area-example.c,
5029 (main): Modified the code in order to use the container add, with
5030 viewport treeviews could have problems if they are really big.
5032 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5034 * src/hildon-weekday-picker.c,
5035 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5036 the agreement regarding deprecation in the library.
5038 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5040 * examples/hildon-picker-button-multicolumn-example.c:
5041 (main): Use custom "done" button text.
5043 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5044 (hildon_picker_button_set_property),
5045 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5046 (hildon_picker_button_init),
5047 (+hildon_picker_button_get_done_button_text),
5048 (+hildon_picker_button_set_done_button_text): New methods to customize
5049 the "done" button label in the launched HildonPickerDialog. Also,
5052 * src/hildon-picker-button.h: add the public API.
5054 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5056 * src/hildon-date-selector.h:
5057 * src/hildon-picker-dialog.h:
5058 * src/hildon-time-selector.h:
5059 * src/hildon-touch-selector-column.h:
5060 * src/hildon-touch-selector.h:
5062 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5063 declarations. Fixes gtk-doc warnings.
5065 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5067 * src/hildon-picker-dialog.h
5068 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5069 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5071 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5072 long text is set as label for done button)
5074 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5076 * src/hildon-dialog.c (hildon_dialog_add_button):
5077 Set fixed width to all buttons in the HildonDialog.
5079 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5081 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5083 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5084 Set widget name using class name plus "-finger" or "-thumb".
5086 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5088 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5089 'clicked' when the state of the button is manually changed.
5091 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5093 * src/hildon-app-menu.c (hildon_app_menu_realize)
5094 (hildon_app_menu_unrealize, hildon_app_menu_init)
5095 (hildon_app_menu_class_init, item_visibility_changed):
5096 Change the menu layout when the size of the screen changes.
5097 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5098 Show warning only when changing the number of colums using the
5101 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5103 * debian/compat: Set to 5
5104 * debian/control: Update dependencies.
5105 * debian/libhildon1-dbg.install: Remove.
5106 * debian/libhildon1-dev.install: Update according to cdbs paths.
5107 * debian/libhildon1.install: Update according to cdbs paths.
5108 * debian/rules: Switch to cdbs.
5110 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5112 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5113 'item' variable renamed to 'filter'
5115 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5117 * src/hildon-app-menu.c (hildon_app_menu_insert)
5118 (hildon_app_menu_add_filter, remove_item_from_list)
5119 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5120 Don't leak hidden items when the menu is destroyed.
5122 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5124 * src/hildon-app-menu.c (hildon_app_menu_insert)
5125 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5126 (hildon_app_menu_set_columns, item_visibility_changed)
5127 (filter_visibility_changed, hildon_app_menu_repack_filters)
5128 (hildon_app_menu_repack_items):
5129 Repack items and filters separately.
5131 Don't repack all items, change only the ones that are needed to
5134 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5136 * src/Makefile.am: added hildon-touch-selector-column.h
5138 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5140 * src/hildon-touch-selector.c: added the property "text-column" to the
5141 class HildonTouchSelectorColumn, and related get/set functions
5142 (_default_printf_func): updated to use "text-column" property
5143 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5144 "text-column" in his documentation, as this is now included on
5145 HildonTouchSelectorColumn. The get/set_property can still be used,
5146 working as a wrapper to the concrete column "text-column" property
5147 (_text_column_modified): callback added in order to handle the signal
5148 "notify::text-column" of the concrete HildonTouchSelectorColumn
5149 (hildon_touch_selector_entry_get_text_column)
5150 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5151 modified in order to use the HildonTouchSelectorColumn "text-column"
5153 * src/hildon-time-selector.c:
5154 * src/hildon-date-selector.c:
5155 * examples/hildon-touch-selector-example.c
5156 * examples/hildon-touch-selector-multi-cells-example.c
5157 * examples/hildon-picker-button-multicolumn-example.c
5158 Set the right value to "text-column" property on the creation of a new
5159 column using hildon_touch_selector_append_column()
5161 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5163 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5165 * src/hildon-app-menu.c
5166 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5167 updating the layout of the menu, don't create all widgets again,
5168 just repack the items in their new places.
5170 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5172 * src/hildon-time-selector.c
5173 (hildon_time_selector_get_time)
5174 (hildon_time_selector_set_time)
5175 Added documentation of these public methods
5177 * src/hildon-date-button.h
5178 * src/hildon-touch-selector-column.h
5179 * src/hildon-time-button.h
5180 * src/hildon-picker-dialog.h
5181 * src/hildon-time-selector.h
5182 * src/hildon-picker-button.h
5183 * src/hildon-touch-selector.h
5184 * src/hildon-time-picker.h
5185 * src/hildon-date-selector.h
5186 * src/hildon-touch-selector-entry.h
5187 Modified in order to use hildon-widgets code style
5189 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5191 Added deprecated support to the compilation process using
5192 HILDON_DISABLE_DEPRECATED
5194 * configure.ac: Added the --disable-deprecated to the configure
5197 * src/hildon-weekday-picker.c:
5198 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5199 to use the deprecated support. We will update the other deprecated
5200 widgets status in a new patch.
5202 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5204 * configure.ac: Fixed typo with fatal warnings support, the
5205 variable name was not correct
5207 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5209 * src/hildon-app-menu.c
5210 * src/hildon-program.c: Update documentation.
5212 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5214 * configure.ac: Post-release version bump.
5216 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5221 * configure.ac: Pre-release version bump.
5222 * debian/changelog: Updates.
5224 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5226 * NEWS: Update news for previous releases.
5228 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5230 * examples/hildon-touch-selector-multi-cells-example.c:
5231 (create_selector): Update the example to use
5232 hildon_touch_selector_append_column() with a NULL renderer and set
5233 the renderers later.
5234 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5235 passed a NULL renderer. This is documented behavior now.
5237 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5238 This must be used if the developer wants full control on the layout of
5239 the renderers to be added to the column.
5241 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5243 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5245 * src/hildon-touch-selector.c: Documentation fixes.
5247 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5249 * src/hildon-wizard-dialog-private.h: Remove image and box.
5250 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5251 (hildon_wizard_dialog_set_property), (response): Completely remove
5252 image/icon support, and the containers required for the layout.
5254 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5256 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5258 * src/hildon-app-menu.c: Updated documentation.
5260 * src/hildon-stackable-window.c
5261 (hildon_stackable_window_set_main_menu): Unref the old menu after
5262 ref'ing the new one.
5264 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5266 * src/hildon-stackable-window.c
5267 (hildon_stackable_window_set_main_menu): Unref the previous menu
5268 instead of destroying it.
5270 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5271 floating reference and set has_user_ref_count to FALSE to make
5272 HildonAppMenu act like a normal ref-counted widget and not a
5275 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5278 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5280 * src/hildon-touch-selector-column.h: new file
5281 * src/hildon-touch-selector.h
5282 * src/hildon-touch-selector.c
5283 Implemented GtkCellLayout interface, in order to allow to configure
5284 the cell layout on each individual selector column
5285 (hildon_touch_selector_set_column_attributes): marked as deprecated
5286 * examples/hildon-touch-selector-multi-cells-example.c
5287 Example of how to use the GtkCellLayout interface on the selector
5289 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5291 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5293 * src/hildon-app-menu.h
5294 * src/hildon-app-menu.c
5295 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5296 (hildon_app_menu_append, hildon_app_menu_prepend):
5297 New methods to prepend, insert and move items in the menu.
5299 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5301 * src/hildon-wizard-dialog.c:
5303 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5305 (create_title): Update logical IDs and related code.
5306 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5308 * src/hildon-wizard-dialog.h: Note that
5309 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5310 point, as it is not used anymore.
5312 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5314 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5316 * src/hildon-note.c:
5317 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5318 shown. Do not display an icon in confirmation notes nor information
5320 (hildon_note_set_button_text): Update logical ID for cancel button.
5322 Fixes: NB#88850 (Update HildonNote button strings + signals)
5324 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5326 * src/hildon-stackable-window.c
5327 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5329 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5331 * src/hildon-app-menu-private.h
5332 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5333 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5334 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5335 temporary property 'columns' to change the number of columns.
5337 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5339 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5341 * examples/hildon-note-example.c: (on_information_clicked),
5342 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5343 debugging information.
5344 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5346 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5347 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5348 in order to close: this will be handled by the WM from now on.
5350 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5352 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5354 * src/hildon-app-menu-private.h
5355 * src/hildon-app-menu.c
5356 (hildon_app_menu_append, hildon_app_menu_add_filter)
5357 (button_visibility_changed, hildon_app_menu_apply_style)
5358 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5359 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5360 layout everytime a button (item or filter) is shown or hidden.
5362 * src/hildon-stackable-window.c
5363 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5366 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5368 * src/hildon-touch-selector.c:
5369 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5370 that the treeview inside the touch selector is in fremantle hildon mode
5371 * examples/hildon-date-button-example.c
5372 * examples/hildon-picker-button-multicolumn-example.c
5373 * examples/hildon-touch-selector-entry-example.c
5374 * examples/hildon-touch-selector-example.c
5375 * examples/hildon-time-button-example.c
5376 * examples/hildon-picker-button-example.c:
5377 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5379 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5381 * examples/hildon-text-view-example.c: (main): Remove the
5382 gtkrc bits, now handled by the theme.
5384 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5386 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5389 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5391 * po/Makefile.am: Install properly the mo files.
5392 * po/en_GB.po: Update translation, to ease testing purposes.
5394 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5396 * examples/hildon-picker-button-example.c: (main): Select an item
5397 in the selector before setting it to the button.
5399 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5401 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5402 Update button's value if the selector has an item active.
5404 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5405 'value' with the selector)
5407 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5409 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5410 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5411 (hildon_picker_button_class_init): Plug the finalize method.
5412 (hildon_picker_button_set_selector): If there's a previously set
5413 selector, unref'it before setting a new one.
5415 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5416 HildonTouchSelector)
5418 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5420 * src/hildon-touch-selector-entry.c:
5421 (hildon_touch_selector_entry_changed): Check if there is no text
5422 selected before setting the entry text.
5425 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5427 * src/hildon-touch-selector.h
5428 * src/hildon-touch-selector.c
5429 (hildon_touch_selector_get_active)
5430 (hildon_touch_selector_set_active): New methods to set/get the
5431 index of the selected item.
5433 * src/hildon-picker-button.h
5434 * src/hildon-picker-button.c
5435 (hildon_picker_button_get_active)
5436 (hildon_picker_button_set_active): New methods to set/get the
5437 index of the selected item.
5439 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5441 * configure.ac: post-release version bump.
5443 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5447 * configure.ac: Pre-release version bump.
5448 * debian/changelog: Updates.
5449 * debian/control: Add myself as maintainer and depend on l10n
5452 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5454 * src/hildon-window.c
5455 (hildon_window_set_main_menu)
5456 * src/hildon-stackable-window.c
5457 (hildon_stackable_window_set_main_menu):
5458 Updated documentation.
5460 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5462 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5463 Don't free selector->priv manually.
5466 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5469 (hildon_gtk_window_set_progress_indicator):
5470 * src/hildon-gtk.h: Added the new API
5471 hildon_gtk_window_set_progress_indicator, it changes the state of
5472 the window progress hint.
5474 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5476 * src/hildon-button.c
5477 * src/hildon-stackable-window.c: Minor documentation updates.
5479 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5481 * src/hildon-stackable-window.c: Updated documentation.
5483 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5485 * src/hildon-defines.h: Update margins definitions
5486 to the Fremantle sizes.
5489 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5491 * src/hildon-touch-selector.c,
5492 (_hildon_touch_selector_set_model): Cleaning the code after
5493 review, removed g_print and #if 0 from the code.
5495 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5497 * src/hildon-edit-toolbar.c: Update documentation.
5499 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5501 * src/hildon-check-button.h
5502 * src/hildon-check-button.c
5503 (hildon_check_button_set_label, hildon_check_button_get_label)
5504 * examples/hildon-check-button-example.c
5505 (button_clicked_cb):
5506 Removed deprecated methods.
5508 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5510 * src/hildon-text-view.c:
5511 Add sample code to the documentation.
5513 * src/hildon-entry.h
5514 * src/hildon-text-view.h:
5515 Minor cosmetic changes.
5517 * src/hildon-entry.c:
5518 Add sample code to the documentation.
5519 (hildon_entry_init, hildon_entry_refresh_contents):
5520 Don't allow NULL values in the placeholder.
5522 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5524 * doc/hildon-docs.sgml
5526 * examples/Makefile.am
5527 * examples/hildon-text-view-example.c
5529 * src/hildon-text-view.c
5530 * src/hildon-text-view.h
5532 New HildonTextView widget, with example.
5534 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5536 * po/POTFILES.in: Add missing files with translatable strings.
5537 Partially fixes NB#88287.
5539 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5541 * examples/hildon-pannable-area-example-2.c: (main): No need to
5542 set the cellrenderer height inside hildon touch lists, the theme does
5545 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5547 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5548 they are integrated in the theme.
5550 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5552 * examples/hildon-entry-example.c: Update the example adding
5553 widgets to modify the text and the placeholder of the HildonEntry.
5555 * src/hildon-entry.c: Show the placeholder everytime the widget
5556 is empty and loses the focus.
5558 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5560 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5562 * src/hildon-pannable-area.c,
5563 (hildon_pannable_area_size_request): Fixed bug in height
5564 requisition, avoid increasing size and add border twice.
5566 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5568 * configure.ac: postrelease version bump.
5570 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5574 * configure.ac: Prerelease version bump.
5575 * debian/changelog: update.
5576 * debian/rules: make -dbg package contain useful debugging symbols.
5578 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5580 * src/hildon-dialog.h
5581 * src/hildon-dialog.c
5582 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5583 New methods to add buttons with finger size.
5584 (hildon_dialog_new_with_buttons):
5585 Create buttons with finger size.
5587 * examples/hildon-dialog-example.c (main): Use HildonDialog
5588 methods to add buttons.
5590 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5592 * src/hildon-entry.c: Updated HildonButton documentation.
5594 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5596 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5597 button value label with (FALSE, FALSE) to prevent NB#88126 from
5600 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5602 * examples/hildon-pannable-area-example.c,
5603 (main): Removed examples panning a vbox inside a pannable
5604 area. Check bug NB#87965
5606 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5608 Patch contributed by Kris Rietveld (kris@imendio.com)
5610 * src/hildon-pannable-area.c,
5611 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5612 get_size and get_position, this saves an X server roundtrip.
5614 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5616 * doc/hildon-docs.sgml
5618 * examples/Makefile.am
5619 * examples/hildon-entry-example.c
5621 * src/hildon-entry.c
5622 * src/hildon-entry.h
5624 New HildonEntry widget, with example.
5626 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5628 * src/hildon-button.c (hildon_button_construct_child): Pack the
5629 image with expand == fill == FALSE. This is a workaround for a bug
5632 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5634 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5635 labels for the text column, to make it more look more dynamic.
5637 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5639 * src/hildon-time-selector.c
5640 Define gettext auxiliar macro N_
5641 (_create_minutes_model)
5642 (_create_hours_model)
5643 (_create_ampm_model): use of strftime in order to fill the model
5644 * src/hildon-date-selector.c
5645 (hildon_date_selector_finalize):
5646 (_locales_init): remove the logic related to get the name of the months
5647 using nl_langinfo, as it is not required anymore
5649 (_create_year_model)
5650 (_create_month_model)
5651 (_update_day_model): use of strftime in order to fill the model properly
5654 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5656 * src/hildon-button.h
5657 * src/hildon-button.c (hildon_button_get_image): New method to
5660 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5662 * src/hildon-touch-selector.c:
5663 (hildon_touch_selector_remove_column): Remove from the correct parent
5664 and also remove the list element and free it.
5667 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5669 * src/hildon-time-selector.c
5670 (_create_hours_model): change the range on 12h ampm format in order to use
5671 a 12-11 range instead of previous 01-12 range
5672 (hildon_time_selector_set_time): change the way to select the current time
5673 on 12h ampm format, due the change on the range
5674 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5677 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5679 * src/hildon-touch-selector.c
5680 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5681 in order to allow use this function on multiple row selection mode if
5682 the column is different that the first one
5685 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5687 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5688 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5690 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5692 * src/hildon-date-selector.h: clean some comments, now on the .c
5693 * src/hildon-date-selector.c
5694 (hildon_date_selector_select_month): first implementation
5695 (hildon_date_selector_select_day): added documentation, reimplemented
5696 using hildon_date_selector_select_current_date to avoid repeat code
5699 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5701 Reviewed interaction logic based on device experiences, refactored
5704 * src/hildon-pannable-area.c,
5705 (hildon_pannable_area_class_init): Updated default vmax speed.
5706 (hildon_pannable_area_calculate_velocity): Added this function, it
5707 avoids duplicate valocity calculation. Adjusted calculation to
5708 avoid problems with zero dist events.
5710 (hildon_pannable_area_motion_notify_cb): Now we use the
5711 calculate_velocity function.
5713 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5715 * src/hildon-date-selector.c
5716 (hildon_date_selector_select_current_date): fix the day range check
5717 as it failed using the last day of the current month
5720 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5722 * src/hildon-touch-selector.c
5723 (hildon_touch_selector_get_num_columns): added a parameter validation
5726 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5728 * examples/Makefile.am
5729 * examples/hildon-edit-toolbar-example.c: Example of the
5730 HildonEditToolbar widget.
5732 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5734 * configure.ac: postrelease version bump.
5736 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5740 * configure.ac: prerelease version bump.
5741 * debian/changelog: update.
5743 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5745 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5746 renderer to display stock icons in the touch list. Also, set the sizes
5747 to the recommended in the style guide.
5749 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5750 * src/hildon-touch-selector.h
5751 (hildon_touch_selector_set_active_iter): renamed, now is
5752 hildon_touch_selector_select_iter
5753 (hildon_touch_selector_get_active_iter): renamed, now is
5754 hildon_touch_selector_get_selected
5755 (hildon_touch_selector_unselect_iter): added
5756 * src/hildon-touch-selector.c
5757 Update after API modification (methods renamed)
5758 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5759 order to avoid problems selecting multiple elements on the column
5760 (hildon_touch_selector_unselect_iter): added the implementation
5761 * src/hildon-time-selector.c
5762 * src/hildon-date-selector.c
5763 * src/hildon-touch-selector-entry.c
5764 Update methods calls after hildon-touch-selector.h API modification (methods
5767 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5769 * src/hildon-stackable-window.c
5770 (hildon_stackable_window_finalize): Call the parent class's finalize.
5772 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5774 * examples/hildon-touch-selector-example.c: (create_selector): Use
5775 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5778 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5780 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5781 set a cell background color, to respect theming.
5783 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5785 * doc/hildon-docs.sgml
5788 * src/hildon-edit-toolbar.c
5789 * src/hildon-edit-toolbar.h
5790 * src/hildon.h: New HildonEditToolbar widget.
5792 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5794 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5797 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5798 * src/hildon-touch-selector.c
5799 (_create_new_column): use g_object_set instead of two g_object_set_property
5801 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5802 * src/hildon-touch-selector.c
5803 (_create_new_column): use of hildon_gtk_tree_view_new to create
5804 the treeview, instead of use directly g_object_new
5805 (_create_new_column): update the property name "vindicator-mode" for the
5806 new one "vscrollbar-policy"
5807 * examples/hildon-date-button-example.c
5808 * examples/hildon-picker-button-multicolumn-example.c
5809 * examples/hildon-touch-selector-entry-example.c
5810 * examples/hildon-touch-selector-example.c
5811 * examples/hildon-time-button-example.c
5812 * examples/hildon-picker-button-example.c
5813 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5814 to all the treeviews inside a pannable area.
5816 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5818 * src/hildon-button.h
5819 * src/hildon-button.c (hildon_button_init)
5820 (hildon_button_set_arrangement, hildon_button_set_alignment)
5821 (hildon_button_set_title_alignment)
5822 (hildon_button_set_value_alignment)
5823 (hildon_button_set_image_alignment)
5824 (hildon_button_construct_child): New methods to set the alignment
5825 of the individual components of the button (title, value,
5826 image). Also, new method to alter the xscale and yscale properties
5827 of the GtkAlignment inside the button, so more complex layouts can
5830 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5832 * src/hildon-button.c (hildon_button_style_set)
5833 (hildon_button_class_init, hildon_button_set_arrangement)
5834 (hildon_button_construct_child): Apply style properties
5835 correctly. Use the 'image-spacing' style property too.
5837 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5839 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5840 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5843 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5845 * src/hildon-pannable-area.c,
5846 (hildon_pannable_area_size_request): Fixed problem with
5847 pannable-area size_request.
5849 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5851 Added management for the grab-focus to a child widget, like a
5852 range, we need to fade out the scrollbar when releasing.
5854 * src/hildon-pannable-area.c,
5855 (hildon_pannable_area_init): Connected the grab-focus signal to
5857 (hildon_pannable_area_grab_notify): Added this function in order
5858 to manage the situation when the grab-focus ends. We have to
5859 fade-out the scrollbar.
5861 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5863 * src/hildon-app-menu.c: Minor documentation update.
5865 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5867 * src/hildon-app-menu.c
5868 * examples/hildon-app-menu-example.c (create_menu): Update
5869 examples and documentation to explain how to connect callbacks.
5871 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5873 * examples/hildon-button-example.c
5874 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5875 hildon_stackable_window_new instead of gtk_window_new
5877 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5879 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5880 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5881 (hildon_pannable_area_set_property),
5882 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5883 (hildon_pannable_area_unrealize),
5884 (hildon_pannable_area_size_request),
5885 (hildon_pannable_area_size_allocate),
5886 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5887 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5888 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5889 (hildon_pannable_area_initial_effect),
5890 (hildon_pannable_area_redraw),
5891 (hildon_pannable_area_scroll_indicator_fade),
5892 (hildon_pannable_area_expose_event),
5893 (hildon_pannable_area_get_topmost), (synth_crossing),
5894 (hildon_pannable_area_button_press_cb),
5895 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5896 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5897 (hildon_pannable_area_motion_notify_cb),
5898 (hildon_pannable_area_button_release_cb),
5899 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5900 (hildon_pannable_area_remove),
5901 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5902 chage the code layout to a more GtkWidget like. Review the use of
5905 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5907 * examples/hildon-pannable-area-example-4.c,
5908 (main): Modified the name of the hindicator_mode to
5911 * src/hildon-pannable-area.c,
5912 (hildon_pannable_area_class_init),
5913 (hildon_pannable_area_motion_notify_cb),
5914 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5915 we have reduced the amount of signals and managed reviewed its
5916 rationale. Changed the default decelerate value.
5918 (hildon_pannable_area_add),
5919 (hildon_pannable_area_redraw): Refactored functions.
5921 (hildon_pannable_area_init),
5922 (hildon_pannable_area_get_property),
5923 (hildon_pannable_area_set_property):
5924 (hildon_pannable_draw_vscroll),
5925 (hildon_pannable_draw_hscroll),
5926 (hildon_pannable_area_initial_effect),
5927 (hildon_pannable_area_expose_event),
5928 (hildon_pannable_area_scroll),
5929 (hildon_pannable_area_button_press_cb),
5930 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5931 and vindicator_mode with hscrollbar_policy and
5932 vscrollbar_policy. Replaced hscroll and vscroll with
5933 hscroll_visible and vscroll_visible.
5935 (hildon_pannable_area_refresh): Refactor the function, remove
5936 variables and check the calls to this function, added resize
5937 conditions in case the children change their layout.
5939 (hildon_pannable_area_size_request): Added more detailed
5940 size_request calculation.
5943 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5945 * src/hildon-color-chooser.c
5946 (init_borders): use the correct gtk_border_free instead of g_free, to
5947 avoid a crash when this widget is used (ie: the three color selection
5950 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5952 * src/hildon-check-button.c,
5953 (hildon_check_button_set_active): Fixed problem when setting the
5954 active value, the widget was not redrawn.
5956 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5958 * src/hildon-pannable-area.c,
5959 (hildon_pannable_area_refresh),
5960 (hildon_pannable_area_scroll),
5961 (hildon_pannable_area_motion_notify_cb): Small code style change.
5963 (hildon_pannable_area_class_init): Default initial_hint set to
5964 FALSE, it is not in the specs.
5966 (hildon_pannable_area_initial_effect),
5967 (hildon_pannable_area_expose_event),
5968 (hildon_pannable_area_map),
5969 (hildon_pannable_area_init): Moved the launching point of the
5970 initial effect, it was in map but the sizes where not correct in
5971 that method so we do not know if we have the reproduce it. Now it
5972 is placed in the expose_event method and uses a variable to
5973 reproduce it just once.
5975 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5977 * src/hildon-pannable-area.c,
5978 (hildon_pannable_draw_vscroll),
5979 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5980 position allowed for the scrollbars.
5982 (hildon_pannable_area_size_allocate): Small style change.
5984 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5986 * src/hildon-pannable-area.c,
5987 (hildon_pannable_area_scroll_indicator_fade),
5988 (hildon_pannable_area_button_press_cb),
5989 (hildon_pannable_area_button_release_cb),
5990 (hildon_pannable_area_scroll_cb),
5991 (hildon_pannable_area_expose_event),
5992 (hildon_pannable_area_init): Added the define parameter
5993 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5994 and refactor the fade variable.
5996 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5998 * src/hildon-pannable-area.c,
5999 (hildon_pannable_area_redraw),
6000 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6001 lines, we were reimplemeting the redraw code.
6003 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6005 * src/hildon-pannable-area.c,
6006 (hildon_pannable_area_scroll_cb),
6007 (hildon_pannable_area_realize),
6008 (hildon_pannable_area_class_init): Added scroll_event management
6009 for pannable area, now we can scroll the usual desktop method.
6011 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6012 initialization of the parameters should depend on idle_id.
6014 (hildon_pannable_area_init),
6015 (hildon_pannable_area_map): Small code style modifications
6017 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6019 * src/hildon-pannable-area.c
6020 (hildon_pannable_area_button_press_cb),
6021 (hildon_pannable_area_motion_notify_cb),
6022 (hildon_pannable_area_button_release_cb),
6023 (hildon_pannable_area_size_allocate),
6024 (hildon_pannable_area_scroll_to): Improved the timeouts
6025 management, we avoid creating them each time.
6027 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6029 * src/hildon-pannable-area.c:
6030 (hildon_pannable_area_refresh),
6031 (hildon_pannable_area_motion_notify_cb),
6032 (hildon_pannable_area_class_init):
6033 * src/hildon-pannable-area.h:
6034 * src/hildon-touch-selector.c
6035 (_create_new_column):
6036 * examples/hildon-pannable-area-example-4.c:
6037 (horizontal_movement),
6038 (vertical_movement),
6040 Replaced the names of enums in the HildonPannableArea:
6041 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6042 HILDON_MOVEMENT_MODE_*
6043 - HILDON_PANNABLE_AREA_MOV_* ->
6045 - Removed HildonPannableAreaIndicatorMode, now we
6048 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6050 * examples/hildon-pannable-area-touch-grid-example.c
6051 * examples/hildon-pannable-area-touch-list-example.c: Fix
6052 compilation warnings.
6054 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6056 * src/hildon-gtk.c (hildon_gtk_button_new)
6057 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6058 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6059 images overriding the value of the "gtk-button-images" setting.
6061 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6063 * src/hildon-check-button.c (hildon_check_button_new):
6064 Instead of using a custom container, display the label and the
6065 checkbox using the standard GtkButton API.
6067 * examples/hildon-check-button-example.c (main): Don't use
6068 hildon_check_button_set_label() anymore
6070 * src/hildon-check-button.h
6071 * src/hildon-check-button.c
6072 (hildon_check_button_set_label, hildon_check_button_get_label):
6073 Set as deprecated, now we're using gtk_button_{get,set}_label()
6075 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6077 * src/hildon-pannable-area.c,
6078 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6079 GtkTreeview first line we detected it after the inclusion of the
6080 GtkWindowImpl in gtk+. We now check if the window is visible, not
6081 just if the pointer is over the window.
6082 (hildon_pannable_axis_scroll),
6083 (hildon_pannable_area_expose_event): Small style changes.
6085 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6087 * src/hildon-button.c: Update documentation.
6089 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6091 * examples/hildon-button-example.c: Add a switch to show images in
6094 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6096 * doc/hildon-docs.sgml: Some docs reorganization.
6098 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6100 * examples/hildon-pannable-area-touch-list-example.c
6102 * examples/hildon-pannable-area-touch-grid-example.c
6103 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6104 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6105 Fix memory leak when setting the tree model.
6107 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6111 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6113 * doc/hildon.types: Remove duplicated hildon_window_get_type
6114 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6115 documentation comment.
6117 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6119 * doc/Makefile.am: Complete list of private headers.
6121 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6123 * doc/hildon-docs.sgml
6124 * src/hildon-app-menu.c
6125 * src/hildon-bread-crumb.c
6126 * src/hildon-button.c
6128 * src/hildon-program.c
6129 * src/hildon-stackable-window.c
6130 * src/hildon-window.c: Lots of documentation updates.
6132 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6134 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6136 * configure.ac: Require Gtk+ 2.12.9 at least
6138 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6140 * src/hildon-pannable-area.c
6141 (hildon_pannable_area_scroll_indicator_fade),
6142 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6143 to protect the return of this timeout callbacks, avoiding deadlocks.
6145 2008-08-12 Christian Dywan <christian@imendio.com>
6148 * src/hildon-*.h: Ensure a consistent include order,
6149 include <gtk/gtk.h> instead of particular files and
6150 only include the topmost header in the gtk stack. See NB #39857
6152 2008-08-12 Christian Dywan <christian@imendio.com>
6154 * src/hildon-picker-dialog.c
6155 * src/hildon-touch-selector.c: Fix warnings about unused and
6156 uninitialized variables.
6158 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6160 * examples/Makefile.am
6161 * examples/hildon-check-button-example.c: Example of the hildon
6164 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6166 * src/hildon-window.h
6167 * src/hildon-window.c (hildon_window_class_init)
6168 (hildon_window_unset_program): Don't make
6169 hildon_window_unset_program a virtual function anymore.
6171 * src/hildon-stackable-window.c: Update documentation
6173 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6176 * doc/hildon-docs.sgml
6177 * doc/visual_index.xml
6178 * src/hildon-defines.c
6180 * src/hildon-helper.c
6181 * src/hildon-range-editor.c: Lots of documentation fixes.
6183 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6185 * examples/hildon-picker-button-multicolumn-example.c
6186 (create_touch_selector): Fix compilation warning.
6188 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6190 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6191 (hildon_pannable_area_button_release_cb)
6192 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6194 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6196 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6199 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6201 * src/hildon-bread-crumb-trail.h
6202 * src/hildon-date-editor.c
6203 * src/hildon-date-selector.c
6204 * src/hildon-pannable-area.c
6205 * src/hildon-picker-dialog.c
6206 * src/hildon-time-selector.c
6207 * src/hildon-touch-selector-entry.c
6208 * src/hildon-touch-selector.c
6209 * src/hildon-touch-selector.h: Misc documentation fixes
6211 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6213 * examples/hildon-date-editor-example.c (main): Updated date
6216 * examples/hildon-note-example.c (on_confirmation_clicked):
6217 Updated confirmation note example.
6219 * src/hildon-date-editor.c
6220 * src/hildon-note.c: Updated sample programs in documentation.
6223 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6225 * src/hildon-date-button.h:
6226 * src/hildon-picker-button.h:
6227 * src/hildon-time-button.c:
6228 * src/hildon-time-button.h:
6230 Some declarations changes to allow gtk-doc to document the widgets
6233 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6235 * src/hildon-date-button.c: Document the widget.
6236 * src/hildon-time-button.c: Document the widget.
6238 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6240 * src/hildon-picker-button.c: Document the widget.
6241 * src/hildon-touch-selector-entry.c: Document the widget.
6243 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6245 * doc/hildon-docs.sgml
6248 * src/hildon-check-button.h
6249 * src/hildon-check-button.c: New functions to create the Hildon
6253 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6255 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6257 * src/hildon-button.h
6258 * src/hildon-button.c
6259 (hildon_button_add_title_size_group)
6260 (hildon_button_add_value_size_group)
6261 (hildon_button_add_image_size_group)
6262 (hildon_button_add_size_groups): New functions to set size groups
6263 for the button labels and image.
6264 (hildon_button_new_full): Removed
6266 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6268 * src/hildon-time-selector.c
6269 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6270 in order to avoid a crash if gconf is not available
6272 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6274 * src/hildon-button.c (hildon_button_set_arrangement)
6275 (hildon_button_construct_child): Don't construct the button child
6276 before setting the arrangement.
6278 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6280 * src/hildon-program-private.h
6281 * src/hildon-program.c
6282 * src/hildon-program.h
6283 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6284 (hildon_program_peek_window_stack)
6285 (hildon_program_pop_window_stack)
6286 (hildon_program_go_to_root_window): HildonProgram now has a
6287 separate list for stackable windows. Functions are provided to
6288 manage that list with a stack-like API.
6290 * src/hildon-stackable-window.c: Stackable window management is
6291 now much simpler with the new HildonProgram API. Windows no
6292 longer need to be manually added to the program, they're
6293 automatically pushed to the top of the stack when shown.
6295 * examples/hildon-stackable-window-example.c: Updated example to
6296 reflect the API changes.
6298 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6300 * src/hildon-touch-selector.c: Comment out unimplemented
6301 hildon_touch_selector_insert_column() to avoid a compile warning.
6303 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6305 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6306 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6307 (hildon_touch_selector_set_column_selection_mode),
6308 (_hildon_touch_selector_set_model),
6309 (hildon_touch_selector_set_model):
6311 Complete review of HildonTouchSelector documentation.
6313 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6315 * doc/hildon-docs.sgml
6319 * src/hildon-gtk.c: Convenience functions for standard Gtk
6320 widgets, used to easily perform frequent operations.
6322 * src/hildon-button-helpers.h
6323 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6325 * src/hildon-helper.h
6326 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6327 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6329 * src/hildon-button.h
6330 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6332 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6334 * src/hildon-button.c (hildon_button_init)
6335 (hildon_button_set_arrangement, hildon_button_construct_child):
6336 Pack the image and the labels inside the same GtkAlignment so
6337 gtk_button_set_alignment() can be used
6339 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6341 * src/hildon-button.h
6342 * src/hildon-button.c
6343 (hildon_button_init, hildon_button_set_image)
6344 (hildon_button_set_image_position)
6345 (hildon_button_construct_child): New functions to add an image to
6348 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6350 * src/hildon-date-button.c
6351 * src/hildon-picker-button.c
6352 * src/hildon-time-button.c
6353 * src/hildon-button.c:
6354 (hildon_button_class_init): "size-flags" renamed to "size"
6355 (hildon_button_set_title): Hide the title label if set to NULL.
6357 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6359 HildonButtonFlags split into HildonButtonArrangement (to set the
6360 button layout) and HildonSizeType (which can be used for any
6363 * src/hildon-button.h
6364 * src/hildon-button.c
6365 (hildon_button_class_init)
6366 (hildon_button_set_arrangement)
6367 (hildon_button_set_property): New "size-flags"
6368 property. "arrangement-flags" renamed to "arrangement".
6369 (hildon_button_new, hildon_button_new_with_text)
6370 (hildon_button_new_full): Constructors updated to reflect type changes.
6372 * src/hildon-helper.h
6373 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6374 to set the size of a widget.
6378 * src/hildon-button-helpers.c
6379 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6381 * src/hildon-date-button.c
6382 * src/hildon-date-button.h
6383 * src/hildon-picker-button.c
6384 * src/hildon-picker-button.h
6385 * src/hildon-time-button.c
6386 * src/hildon-time-button.h: Updated widgets to reflect
6387 HildonButton API changes.
6389 * examples/hildon-button-example.c
6390 * examples/hildon-date-button-example.c
6391 * examples/hildon-picker-button-example.c
6392 * examples/hildon-picker-button-multicolumn-example.c
6393 * examples/hildon-time-button-example.c
6394 * examples/hildon-touch-selector-entry-example.c
6395 * examples/hildon-touch-selector-example.c: Updated examples to
6396 reflect HildonButton API changes.
6398 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6400 * doc/hildon-docs.sgml:
6402 * examples/Makefile.am:
6403 * examples/hildon-touch-selector-entry-example.c:
6405 * src/hildon-touch-selector-entry.c:
6406 * src/hildon-touch-selector-entry.h:
6409 Moved HildonTouchSelectorEntry from sandbox. Added its
6410 documentation and examples.
6412 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6414 * src/hildon-touch-selector.h:
6415 * examples/hildon-picker-button-multicolumn-example.c:
6416 (hildon_touch_selector_append_text_column): Add a gboolean
6417 parameter to determine if text must be centered in the column.
6419 * src/hildon-date-selector.c: (hildon_date_selector_init):
6420 * src/hildon-time-selector.c: (hildon_time_selector_init):
6421 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6422 (create_touch_selector): Update widgets and example to reflect
6425 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6427 * src/hildon-touch-selector.c:
6428 (hildon_touch_selector_set_active_iter): Set also the cursor in
6431 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6433 * doc/hildon-docs.sgml
6436 * src/hildon-toggle-button.c
6437 * src/hildon-toggle-button.h
6438 * src/hildon.h: Removed HildonToggleButton widget, a derived
6439 class is not necessary for this.
6441 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6443 * src/hildon-pannable-area.c,
6444 (hildon_pannable_area_realize),
6445 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6448 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6450 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6451 "done" button the default widget for the dialog.
6453 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6455 * src/hildon-touch-selector.c:
6456 (hildon_touch_selector_class_init),
6457 (hildon_touch_selector_get_property),
6458 (_hildon_touch_selector_set_model),
6459 (_hildon_touch_selector_has_multiple_selection),
6460 (hildon_touch_selector_has_multiple_selection):
6461 Add a "has-multiple-selection" property with a virtual
6462 has_multiple_selection() method to allow derived classes to
6463 override the default value for it. See the method and property
6464 documentation for details.
6466 * src/hildon-touch-selector.h: Add the new API.
6468 * src/hildon-picker-dialog.c: (requires_done_button): Call
6469 hildon_touch_selector_has_multiple_selection() instead of
6470 determining the need for a button itself.
6472 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6474 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6475 (_hildon_touch_selector_set_model),
6476 (hildon_touch_selector_set_model): Move working code to
6477 _hildon_touch_selector_set_mode(). Call the class method instead.
6479 * src/hildon-touch-selector.h: Add (*set_model) to
6480 HildonTouchSelectorClass.
6482 Make hildon_touch_selector_set_model() a virtual method, so that
6483 derived classes can extend it and do fancy stuff with the model.
6485 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6487 * configure.ac: Set back the tarname in AC_INIT to hildon.
6489 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6493 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6494 instead of libesd (NB#86876). Volume handling is still an open issue.
6496 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6499 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6501 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6502 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6503 derived class to ease placement of an entry widget in
6504 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6505 end, where the selector columns are packed now.
6507 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6509 * src/hildon-picker-button.c: Removed the simple _text() API.
6510 * src/hildon-picker-button.h: Likewise.
6512 * src/hildon-touch-selector.h:
6513 * src/hildon-touch-selector.c:
6514 (hildon_touch_selector_new_text),
6515 (hildon_touch_selector_append_text),
6516 (hildon_touch_selector_prepend_text),
6517 (hildon_touch_selector_insert_text):
6519 Moved the simple _text() API from HildonPickerButton to
6520 HildonTouchPicker, to provide better escalability and not to tie
6521 that API to HildonPickerButton.
6523 * examples/hildon-picker-button-example.c: (main): Example updated.
6525 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6527 * src/hildon-button.c: Updated documentation.
6529 * examples/hildon-button-example.c: Add the posibility to create
6530 the buttons using horizontal layout for title and value.
6532 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6534 * src/hildon-app-menu-private.h
6535 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6536 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6537 GtkSizeGroup for the filters, use the 'homogeneous' property of
6540 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6542 * examples/hildon-button-example.c: Updated example.
6544 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6546 * doc/hildon-docs.sgml:
6549 Update documentation.
6551 * examples/Makefile.am: Update renamed examples.
6553 * examples/hildon-picker-button-multicolumn-example.c:
6554 (create_touch_selector), (main): Update after the rename.
6556 * examples/hildon-touch-picker-example.c: Removed.
6557 * examples/hildon-touch-selector-example.c: (value_changed),
6558 (create_selector), (get_visible_content), (main): Renamed from
6559 hildon-touch-picker-example.c
6561 * src/Makefile.am: Updated renamed files.
6563 * src/hildon-date-button.c: (hildon_date_button_init),
6564 (hildon_date_button_get_date), (hildon_date_button_set_date):
6565 * src/hildon-date-selector.c: (hildon_date_selector_init),
6566 (_custom_print_func), (_update_day_model),
6567 (_manage_selector_change_cb),
6568 (hildon_date_selector_select_current_date),
6569 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6570 * src/hildon-date-selector.h:
6571 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6572 (hildon_picker_button_set_property),
6573 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6574 (hildon_picker_button_init), (hildon_picker_button_new_text),
6575 (hildon_picker_button_append_text),
6576 (hildon_picker_button_prepend_text),
6577 (hildon_picker_button_insert_text),
6578 (hildon_picker_button_set_selector),
6579 (hildon_picker_button_get_selector):
6580 * src/hildon-picker-button.h:
6581 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6582 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6583 (_update_title_on_selector_changed_cb), (requires_done_button),
6584 (_hildon_picker_dialog_set_selector),
6585 (hildon_picker_dialog_set_selector),
6586 (hildon_picker_dialog_get_selector):
6587 * src/hildon-picker-dialog.h:
6588 * src/hildon-time-button.c: (hildon_time_button_init),
6589 (hildon_time_button_get_time), (hildon_time_button_set_time):
6590 * src/hildon-time-selector.c: (hildon_time_selector_init),
6591 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6592 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6593 * src/hildon-time-selector.h:
6596 Massive code updates after the rename.
6598 * src/hildon-touch-picker.c: Removed.
6599 * src/hildon-touch-picker.h: Removed.
6601 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6602 (hildon_touch_selector_init), (hildon_touch_selector_map),
6603 (hildon_touch_selector_remove), (_default_print_func),
6604 (_selection_changed_cb), (_create_new_column),
6605 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6606 (hildon_touch_selector_append_text_column),
6607 (hildon_touch_selector_remove_column),
6608 (hildon_touch_selector_set_column_attributes),
6609 (hildon_touch_selector_insert_column),
6610 (hildon_touch_selector_get_num_columns),
6611 (hildon_touch_selector_get_column_selection_mode),
6612 (hildon_touch_selector_set_column_selection_mode),
6613 (hildon_touch_selector_set_print_func),
6614 (hildon_touch_selector_get_print_func),
6615 (hildon_touch_selector_get_active_iter),
6616 (hildon_touch_selector_set_active_iter),
6617 (hildon_touch_selector_get_selected_rows),
6618 (hildon_touch_selector_get_model),
6619 (hildon_touch_selector_set_model),
6620 (hildon_touch_selector_get_current_text),
6621 (_hildon_touch_selector_center_on_selected_items):
6622 * src/hildon-touch-selector.h: Renamed from
6623 hildon-touch-picker.[ch]
6625 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6626 references, code examples, and related documentation.
6628 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6630 * doc/hildon-docs.sgml
6633 * src/hildon-toggle-button.c
6634 * src/hildon-toggle-button.h
6635 * src/hildon.h: New HildonToggleButton widget.
6637 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6639 * src/hildon-button.c: Add API documentation.
6640 (hildon_button_set_size_groups): Check input parameters
6642 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6644 * src/hildon-pannable-area.c
6645 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6646 effect after reaching the movement thredshold. This way we start
6647 using the distance after passing the thredshold.
6649 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6651 * src/hildon-button.c: (hildon_button_set_property): Use the
6652 appropriate g_value_get_flags() method.
6654 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6656 * doc/hildon-docs.sgml:
6659 Add the touch pickers, picker dialogs, and picker button widgets
6660 to the documentation.
6662 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6664 * src/hildon-button.c: (hildon_button_set_property),
6665 (hildon_button_class_init): Make "arrangement-flags" a proper
6666 G_TYPE_FLAGS derived property.
6668 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6670 * examples/Makefile.am: Add below examples.
6671 * examples/hildon-date-button-example.c:
6672 * examples/hildon-picker-button-example.c:
6673 * examples/hildon-picker-button-multicolumn-example.c:
6674 * examples/hildon-time-button-example.c:
6675 * examples/hildon-touch-picker-example.c:
6677 Add examples for the recently added touch pickers,
6678 picker dialogs, and picker button widgets.
6680 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6682 * src/hildon-button.c: Add some API documentation
6684 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6686 * src/hildon-button.h
6687 * src/hildon-button.c
6689 (hildon_button_new_with_text): New constructor to create a button
6690 with no text at all.
6691 (hildon_button_init, hildon_button_set_arrangement)
6692 (hildon_button_set_title, hildon_button_set_value)
6693 (hildon_button_set_text)
6694 (hildon_button_construct_child): Hide the value when it's not used
6695 so the rest of the text is properly aligned.
6696 Allow creating buttons with arbitrary widgets inside (not just
6697 title/value labels).
6699 * examples/hildon-button-example.c (vertical_buttons_window)
6700 (horizontal_buttons_window): Update example to use new API.
6702 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6704 * src/Makefile.am: Added HildonTimeButton.
6705 * src/hildon-time-button.c: Added missing LGPL header.
6706 * src/hildon-time-button.h: Added missing LGPL header.
6707 * src/hildon.h: Add hildon-time-button.h
6709 Copied HildonTimeButton from sandbox to trunk. Future work on this
6710 widget must take place in trunk.
6712 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6714 * src/Makefile.am: Added HildonDateButton.
6715 * src/hildon-date-button.c: Update includes.
6716 * src/hildon.h: Add hildon-date-button.h
6718 Copied HildonDateButton from sandbox to trunk. Future work on this
6719 widget must take place in trunk.
6721 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6723 * src/Makefile.am: Added HildonPickerButton.
6724 * src/hildon-picker-button.h: Update includes.
6725 * src/hildon.h: Add hildon-picker-button.h
6727 Copied HildonPickerButton from sandbox to trunk. Future work on
6728 this widget must take place in trunk.
6730 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6732 * src/Makefile.am: Added HildonPickerDialog.
6733 * src/hildon-picker-dialog.c: Update includes.
6734 * src/hildon.h: Add hildon-picker-dialog.h
6736 Copied HildonPickerDialog from sandbox to trunk. Future work
6737 on this widget must take place in trunk.
6739 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6741 * src/Makefile.am: Added HildonTimeSelector.
6742 * src/hildon.h: Add hildon-time-selector.h
6744 Copied HildonTimeSelector widget from sandbox to trunk. Future
6745 work on this widget must happen in trunk.
6747 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6749 * src/Makefile.am: Added HildonDateSelector.
6750 * src/hildon.h: Add hildon-date-selector.h
6752 Copied HildonDateSelector widget from sandbox to trunk. Future
6753 work on this widget must happen in trunk.
6755 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6757 * src/Makefile.am: Added HildonTouchPicker.
6758 * src/hildon-touch-picker.c: Update includes.
6759 * src/hildon.h: Add hildon-touch-picker.h
6761 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6762 on this widget must happen in trunk.
6764 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6766 * src/hildon-pannable-area.c:
6767 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6769 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6771 * examples/hildon-app-menu-example.c (main): Let the window
6774 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6776 * src/hildon-pannable-area.c
6777 (hildon_pannable_area_class_init): Set the min value of the
6778 overshoot properties to zero, which points out that not
6779 overshooting allowed.
6781 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6783 Modified the procedure to get the widget at a point inside the
6784 pannable area when using the movement type signals. Now the user
6785 has to call a function to get the child, that way we just
6786 calculate the child in case the user really want to use it and not
6789 * src/hildon-marshalers.list: Modified the marshallers, now we do
6790 not have the widget as a parameter.
6792 * src/hildon-pannable-area.c
6793 (hildon_pannable_area_motion_notify_cb),
6794 (hildon_pannable_area_class_init),
6795 (hildon_pannable_get_child_widget_at): Removed the widget
6796 parameter from the signal callback. We have also refactored the
6797 emission of the signals.
6799 * src/hildon-pannable-area.h: Added a new method to the API to
6800 calculate a widget at a point inside the pannable area,
6801 hildon_pannable_get_child_widget_at.
6803 * examples/hildon-pannable-area-example-4.c
6804 (horizontal_movement): Modified the example to use the new API,
6805 added condition to control which widget is under the event. This
6806 way we can avoid scrolling laterally over other widgets.
6808 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6810 * src/hildon-pannable-area.c
6811 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6812 modes, we stop getting the pointer events due to returning the
6813 callback without properly calling the get pointer again. Fixed
6814 also an error using the hscroll and vscroll.
6816 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6818 * src/hildon-app-menu-private.h
6819 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6820 (hildon_app_menu_button_release, hildon_app_menu_init)
6821 (hildon_app_menu_class_init): Don't hide the menu on button
6822 release if the user didn't press outside first.
6824 * src/hildon-window.h
6825 * src/hildon-window.c (hildon_window_toggle_menu)
6826 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6827 hildon_window_toggle_menu a virtual function for the stackable
6828 window to override it.
6830 * src/hildon-stackable-window.h
6831 * src/hildon-stackable-window-private.h
6832 * src/hildon-stackable-window.c
6833 (hildon_stackable_window_realize)
6834 (hildon_stackable_window_finalize)
6835 (hildon_stackable_window_class_init)
6836 (hildon_stackable_window_init)
6837 (hildon_stackable_window_set_main_menu): New function to set the
6838 app menu of a HildonStackableWindow.
6840 * examples/hildon-app-menu-example.c: Remove the button to show
6841 the app menu, now it'll be shown when clicking on the title bar
6844 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6846 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6847 set the widget name if the arrangement flags do not specify
6850 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6852 * src/hildon-button.c: (hildon_button_set_property),
6853 (hildon_button_class_init), (hildon_button_new_full),
6854 (hildon_button_set_arrangement): Added "arrangement-flags"
6857 Make the HildonButtonFlags a construction-only property, to allow
6858 subclasses to set them properly.
6860 2008-07-21 Tim Janik <timj@imendio.com>
6862 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6863 insertion position after backspace, so additional digits are appended,
6866 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6868 * src/hildon-pannable-area.c,
6869 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6870 TODO list, it was complete and removed the g_debug and g_print
6873 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6875 Added the movement modes to the hildon-pannable-area, with this
6876 modes the developers can control in which directions the widget
6877 can scroll. They can also connect to signals in order to do
6878 something when that happens, allowing applications scroll. There
6879 is an example uploaded showing how to use it.
6881 * examples/Makefile.am:
6882 * examples/hildon-pannable-area-example-4.c: Added this example of
6883 an application using the modes.
6885 * src/hildon-marshalers.list: Added a new marshaller for the new
6888 * src/hildon-pannable-area.h: Added new enumerations and flags in
6889 order to control the movement modes and the new signals to warn
6890 about the movements in the area.
6892 * src/hildon-pannable-area.c:
6893 (hildon_pannable_axis_scroll),
6894 (hildon_pannable_area_scroll),
6895 (hildon_pannable_area_motion_notify_cb),
6896 (hildon_pannable_area_get_property),
6897 (hildon_pannable_area_set_property),
6898 (hildon_pannable_area_map),
6899 (hildon_pannable_area_class_init),
6900 (hildon_pannable_area_init),
6901 (hildon_pannable_area_jump_to): Added the modes to control the
6902 movement in the widget. We have added properties to control it,
6903 signals to warn about the movements and refactored some code.
6905 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6907 Changes required in order to allow vfast_factor set to zero to
6910 * src/hildon-pannable-area.c:
6911 (hildon_pannable_area_button_press_cb): Changed the condition, it
6912 is required for not allowing click when vfast_factor is zero.
6913 (hildon_pannable_area_timeout): Initialized velocity variables
6914 when we stop moving, it was less than 1 but not zero and we need
6915 to check zero in some situations.
6916 (hildon_pannable_area_class_init): Changed the default value of
6917 the speed factor, now the button_press is just sent in case the
6918 speed is 2 per cent of the max speed.
6919 (hildon_pannable_area_init): Initialization with 0.
6921 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6923 * src/hildon-pannable-area.c,
6924 (hildon_pannable_area_get_topmost): replaced
6925 gdk_window_get_children with gdk_window_peek_children, this way we
6926 do not have to free the list because it is not a copy.
6928 (hildon_pannable_axis_scroll),
6929 (hildon_pannable_area_scroll),
6930 (hildon_pannable_area_timeout),
6931 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6932 two parameters that were only used inside the
6933 hildon_pannable_area_scroll function.
6935 * examples/hildon-pannable-area-example.c,
6936 (get_sawtooth_label): Fixed small memory leak.
6938 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6940 More checks for the case where the overshoot is bigger than the
6943 * src/hildon-pannable-area.c:
6944 (hildon_pannable_draw_vscroll),
6945 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6946 to draw the slider of the scrollbar under the other scrollbar.
6947 (hildon_pannable_area_expose_event): added new checks to control
6948 the drawing of the overshooting area rectangle, in case it is too
6949 big for the area of the widget.
6950 (hildon_pannable_area_size_allocate): add more checks to avoid
6951 setting a position to the child widget outside the area.
6953 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6955 * src/hildon-pannable-area.c
6956 (hildon_pannable_area_size_allocate): Added conditions to control
6957 when overshooting is bigger than the allocated space for the
6958 children, this avoids negative allocations.
6960 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6962 * doc/hildon-docs.sgml
6964 * examples/Makefile.am
6965 * examples/hildon-button-example.c
6967 * src/hildon-button.c
6968 * src/hildon-button.h
6969 * src/hildon.h: Initial version of the new HildonButton widget,
6972 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6974 * src/hildon-pannable-area.c:
6975 (hildon_pannable_area_button_press_cb),
6976 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6977 (hildon_pannable_area_motion_notify_cb),
6978 (hildon_pannable_area_button_release_cb),
6979 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6980 (hildon_pannable_area_jump_to_child):
6982 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6984 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6986 * examples/Makefile.am
6987 * examples/hildon-pannable-area-touch-grid-example.c
6988 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6989 the Hildon Touch List and Hildon Touch Grid using the
6990 HildonPannableArea widget.
6992 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6994 * src/hildon-pannable-area.c,
6995 (hildon_pannable_area_button_press_cb),
6996 (hildon_pannable_area_refresh),
6997 (hildon_pannable_area_scroll),
6998 (hildon_pannable_area_motion_notify_cb),
6999 (hildon_pannable_area_button_release_cb),
7000 (hildon_pannable_area_expose_event),
7001 (hildon_pannable_area_add),
7002 (hildon_pannable_area_remove),
7003 (hildon_pannable_area_realize),
7004 (hildon_pannable_area_size_allocate),
7005 (hildon_pannable_area_class_init),
7006 (hildon_pannable_area_init),
7007 (hildon_pannable_area_scroll_to_child),
7008 (hildon_pannable_area_jump_to_child): Fixed the problem of
7009 removing the child from the GtkBin, we have rearranged the widget
7010 hierarchy, now there is no GtkAlignment which was not doing
7011 anything interesting but breaking some of the assumptions of
7012 GtkContainer. Now developers if they want to add a GtkAlignment
7013 they could, but it is not inside the area.
7015 We had to review the whole allocation/expose process, now it is
7016 improved and we save at least three signals which would be saving
7017 some time when rendering the widget. The allocation of the
7018 scrollbars is now made in the allocate method as usual.
7020 We have also added some conditions in order to control when there
7021 is no child of the pannable area. Maybe we will need more work
7024 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7026 * src/hildon-pannable-area.c,
7027 (hildon_pannable_area_dispose): Released the fade-out timeout when
7028 disposing the widget.
7030 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7032 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7033 zero, we are going to use that property in order to deactivate the
7035 (hildon_pannable_axis_scroll),
7036 (hildon_pannable_area_size_allocate): Added conditions to control
7037 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7038 call, now it is called in all situations and we can remove calls
7039 in the allocate method.
7040 (hildon_pannable_area_map): Control the situation when
7041 overshoot_max is zero, we do not need the timeout.
7042 (hildon_pannable_area_class_init): Added documentation in order to
7043 point out that setting zero to overshoot_max means deactivate
7046 NOTE: removed trailing whitespaces from my previous comments of
7049 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7051 * src/hildon-pannable-area.c
7052 (hildon_pannable_area_get_property),
7053 (hildon_pannable_area_set_property),
7054 (hildon_pannable_area_map),
7055 (hildon_pannable_area_class_init),
7056 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7057 to cause the widget give a hint about its panning abilities upon
7060 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7062 * src/hildon-pannable-area.c: Several documentation improvements.
7064 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7066 * src/hildon-program.c
7067 * src/hildon-stackable-window.c: Update documentation.
7069 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7071 * src/hildon-stackable-window.c (get_previous_window_if_last):
7072 Renamed get_last_window()
7073 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7074 (hildon_stackable_window_unset_program):
7076 (get_previous_window_if_last):
7077 Detect if the window hasn't been added to a HildonProgram.
7079 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7081 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7083 * src/hildon-pannable-area.c
7084 (hildon_pannable_area_button_press_cb),
7085 (hildon_pannable_axis_scroll),
7086 (hildon_pannable_area_scroll),
7087 (hildon_pannable_area_timeout),
7088 (hildon_pannable_calculate_vel_factor),
7089 (hildon_pannable_area_get_property),
7090 (hildon_pannable_area_set_property),
7091 (hildon_pannable_area_class_init),
7092 (hildon_pannable_area_init),
7093 (hildon_pannable_area_scroll_to),
7094 (hildon_pannable_area_jump_to),
7095 (hildon_pannable_area_scroll_to_child),
7096 (hildon_pannable_area_jump_to_child):
7097 * src/hildon-pannable-area.h: Added the new API functions:
7098 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7099 hildon_pannable_area_scroll_to_child,
7100 hildon_pannable_area_jump_to_child
7103 * examples/Makefile.am
7104 * examples/hildon-pannable-area-example-2.c
7105 * examples/hildon-pannable-area-example-3.c: Added these two new
7106 examples in order to test and show how the new APIs work.
7108 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7110 * examples/hildon-stackable-window-example.c (new_window):
7111 * src/Makefile.am (noinst_HEADERS):
7112 * src/hildon-program.c (hildon_program_go_to_root_window):
7113 * src/hildon-program.h:
7114 * src/hildon-stackable-window-private.h:
7115 * src/hildon-stackable-window.c:
7116 * src/hildon-stackable-window.h:
7117 Create hildon-stackable-window-private.h
7118 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7120 * examples/hildon-app-menu-example.c (create_menu):
7121 * examples/hildon-hvolumebar-insensitive-example.c (main):
7122 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7123 * examples/hildon-toolbar-seekbar-example.c (main):
7124 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7125 * src/hildon-banner.c (hildon_banner_set_property):
7126 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7127 Fix compilation warnings
7129 * src/hildon-window.c:
7132 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7134 * src/hildon-stackable-window.c
7135 (hildon_stackable_window_unset_program):
7136 Calculate correctly whether to show the previous window if the
7137 last one is removed from the stack.
7138 (hildon_stackable_window_go_to_root_window):
7139 Send delete events starting from the topmost window.
7140 Stop if one of the windows is not destroyed.
7142 (hildon_stackable_window_delete_event)
7143 (hildon_stackable_window_class_init):
7144 Ignore the delete event if the window is not the topmost one.
7146 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7148 * src/hildon-pannable-area.c
7149 (hildon_pannable_area_expose_event): Fixed a problem when
7150 selecting the background color of the scrollbars.
7152 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7154 * examples/hildon-stackable-window-example.c
7155 * src/hildon-stackable-window.c
7156 * src/hildon-stackable-window.h
7157 hildon_stackable_window_go_home() renamed to
7158 hildon_stackable_window_go_to_root_window()
7159 Send delete events to windows rather than closing them with
7160 gtk_widget_destroy()
7162 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7164 * src/hildon-pannable-area.c
7165 (hildon_pannable_area_button_release_cb): Fix overshooting in
7168 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7170 * src/hildon-pannable-area.c
7171 (hildon_pannable_area_init): Initially show the scroll indicators.
7172 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7174 Add initial effect showing the widget is pannable.
7176 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7178 * src/hildon-pannable-area.c
7179 (hildon_pannable_area_class_init)
7180 (hildon_pannable_area_set_property)
7181 (hildon_pannable_area_get_property)
7182 (hildon_pannable_area_button_press_cb):
7183 New 'velocity_fast_factor' property to decide which velocity is
7186 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7188 * src/hildon-pannable-area.c
7189 (hildon_pannable_draw_hscroll)
7190 (hildon_pannable_draw_vscroll):
7191 Use float variables to calculate the size of the scrollbars to
7192 avoid error propagation and resizing during scrolling.
7194 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7196 * src/hildon-pannable-area.c
7197 (hildon_pannable_draw_vscroll)
7198 (hildon_pannable_draw_hscroll):
7199 Define a minimum size for the scroll bars
7201 * src/hildon-stackable-window.c
7202 (hildon_stackable_window_go_home): Fix compilation warning
7203 (get_last_window): Minor optimizations
7204 (hildon_stackable_window_class_init): Fix initialization of
7207 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7209 * src/hildon-stackable-window.c: Fixed typos in doc
7211 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7213 * src/hildon-pannable-area.c
7214 (hildon_pannable_area_scroll):
7215 Calculate here whether we need to scroll instead of using the booleans
7216 that tell us whether to /draw/ the scrolling bars.
7218 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7220 * src/hildon-app-menu.h
7222 * src/hildon-app-menu.c
7223 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7224 multiple filter groups related code and API. Now we support only
7226 * examples/hildon-app-menu-example.c:
7228 Update to reflect API changes.
7230 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7232 * src/hildon-stackable-window.c
7233 (hildon_stackable_window_class_init):
7234 Add hildon_stackable_window_realize.
7235 (hildon_stackable_window_realize):
7236 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7237 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7238 to apply theming and behavior specific to HildonStackableWindow
7241 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7243 * src/hildon-note.c (hildon_note_button_release):
7244 Close information notes also when tapping on them
7246 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7248 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7249 ELASTICITY, refactor and review, fix some issues with drawing
7252 * src/hildon-pannable-area.c:
7253 (hildon_pannable_area_button_press_cb): removed the conditions to
7254 avoid clicks when overshooting. It is not required
7256 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7257 define. Refatored and reviewed the code, now we do not need to
7258 manage velocity in motion_notify.
7260 (hildon_pannable_area_motion_notify_cb): We have moved the code
7261 that controls the area_scroll to the axis_scroll function and get
7262 rid of duplicated code.
7264 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7266 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7268 (hildon_pannable_draw_vscroll),
7269 (hildon_pannable_draw_hscroll): Fixed the problems with the
7270 scrollbar drawing, now we do not use two surfaces, it is easier
7271 and saves resources.
7273 (hildon_pannable_area_get_property): Style modification.
7275 (hildon_pannable_area_class_init): Changed some default values.
7277 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7279 * src/hildon-stackable-window.c: Fix some typos in the
7282 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7284 * src/hildon-dialog.c:
7285 Change indentation style
7288 (hildon_note_button_release):
7289 Use root coordinates to check if the release event happened
7292 * src/hildon-app-menu.c
7293 (hildon_app_menu_button_release):
7294 Remove unnecessary check
7296 * examples/hildon-app-menu-example.c
7298 Add cast to fix warning
7300 * src/hildon-app-menu.c
7301 (hildon_app_menu_class_init):
7302 New inner-border style property.
7303 Set all default spacings to 16
7304 (hildon_app_menu_init):
7305 Use vertical-spacing to set the space between filter buttons and
7306 regular menu buttons.
7307 Set the default container border using the inner-border value.
7309 * examples/hildon-app-menu-example.c
7311 Don't set the menu border explicitly, now we have the inner-border
7312 style property for that.
7314 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7316 * src/hildon-app-menu.c (hildon_app_menu_init):
7317 Make the window modal
7319 * src/hildon-note.c (hildon_note_map)
7320 * src/hildon-app-menu.c (hildon_app_menu_map):
7321 Destroy the grab window if we're unable to grab the pointer
7323 * src/hildon-app-menu-private.h
7324 * src/hildon-app-menu.c
7325 (hildon_app_menu_init, hildon_app_menu_finalize)
7326 (hildon_app_menu_map, hildon_app_menu_unmap)
7327 (hildon_app_menu_button_release)
7328 (grab_transfer_window_get):
7329 Bring back the grab window
7330 (hildon_app_menu_realize):
7331 Decorate the window, set WM hint for Matchbox
7333 * src/hildon-note.c (hildon_note_realize):
7334 * src/hildon-banner.c (hildon_banner_realize):
7335 Add WM hints for Matchbox
7337 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7339 * src/hildon-app-menu-private.h
7340 * src/hildon-app-menu.c
7341 (hildon_app_menu_init, hildon_app_menu_finalize)
7342 (hildon_app_menu_map, hildon_app_menu_unmap)
7343 (hildon_app_menu_button_release):
7344 Remove the grab window, it's not needed anymore
7346 * src/hildon-program.c
7347 Fixed typo in documentation
7349 * src/hildon-app-menu.h
7350 * src/hildon-app-menu.c
7351 * examples/hildon-app-menu-example.c
7352 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7354 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7357 Added new transfer_window and close_if_pressed_outside private
7359 (hildon_note_rebuild):
7360 Don't add a cancel button to the information note. It will be
7361 closed when tapping outside
7362 Remove the comment about the OK button in the documentation
7363 (hildon_note_realize):
7364 Set the notification type hint
7365 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7366 Grab/ungrab pointer and keyboard if the note has to be closed when
7368 (hildon_note_button_release):
7369 Close the note when tapping outside (if applicable)
7371 * src/hildon-app-menu.c
7372 Grab/ungrab pointer and keyboard on map/unmap
7373 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7374 Close the menu on button release, not button press
7376 * src/hildon-banner.c
7377 (hildon_banner_set_property)
7378 (hildon_banner_check_position):
7379 Make the banner use the full width of the screen
7380 (hildon_banner_show_information)
7381 (hildon_banner_show_information_with_markup):
7382 Don't display an icon by default
7384 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7386 Added fading scrollbars and adapted all the overshooting code to
7387 horizontal scrolling. We have also fixed bugs with overshooting
7388 and current fading implementation.
7390 * src/hildon-pannable-area.c
7391 (hildon_pannable_area_scroll_indicator_fade): Time out function
7392 used to change the transparency of the scrollbars.
7394 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7395 control and fixed a problem with fading, we now remove the fade
7396 timeout before adding a new one.
7398 (hildon_pannable_axis_scroll):
7399 (hildon_pannable_area_scroll):
7400 (hildon_pannable_area_timeout): Added this functions so we can use
7401 the scroll code both for vertical and horizontal.
7403 (hildon_pannable_area_motion_notify_cb):
7404 (hildon_pannable_area_button_release_cb): Added the horizontal
7405 scrolling control, fixed a problem with the overshooting timeout.
7407 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7408 painting of the scrolls.
7410 (hildon_pannable_draw_vscroll):
7411 (hildon_pannable_draw_hscroll):
7412 (hildon_pannable_area_expose_event):
7413 Draw both scrollbars and rectangles in the overshooting area.
7415 (hildon_pannable_area_get_property):
7416 (hildon_pannable_area_set_property):
7417 Modified the overshoot property to overshoot_max
7419 (hildon_pannable_area_map):
7420 Replaced the comments symbols.
7422 (hildon_pannable_area_size_allocate):
7423 (hildon_pannable_area_class_init):
7424 (hildon_pannable_area_init): Added horizontal scroll, fading
7425 effect properties, fixed a problem when overshooting in the bottom
7428 * examples/hildon-pannable-area-example.c:
7429 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7430 looks better in the example.
7432 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7434 * src/hildon-window.c
7435 * src/hildon-window.h
7436 (hildon_window_class_init)
7437 (hildon_window_unset_program)
7438 (hildon_window_unset_program_real):
7439 Make unset_program a virtual function
7441 * src/hildon-stackable-window.c
7442 * src/hildon-stackable-window.h
7443 Added hildon_stackable_window_go_home()
7445 * examples/Makefile.am
7446 * examples/hildon-stackable-window-example.c
7447 HildonStackableWindow example
7449 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7451 * hildon-pannable-area.c: Added the overshoot property and removed
7452 the OVERSHOOT define. Fixed an indent style error.
7453 (hildon_pannable_area_motion_notify_cb):
7454 (hildon_pannable_area_get_property):
7455 (hildon_pannable_area_set_property): Add overshoot property.
7457 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7460 (hildon_pannable_area_class_init): Installed the new property.
7462 * hildon-pannable-area-example.c: Added a sawtooth function, this
7463 way it is easier to check the movement in the pannable.
7464 (get_sawtooth_label): Added this function.
7465 (main): Now we get the labels from the new get_sawtooth_label
7468 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7470 * src/hildon-app-menu.h
7471 * src/hildon-app-menu.c
7472 Renamed API variables for consistency
7474 (hildon_app_menu_popup): Use also the default window size to
7475 decide where to place the menu
7477 (hildon_app_menu_init, hildon_app_menu_class_init): New
7478 external-border style property
7480 2008-05-26 Michael Natterer <mitch@imendio.com>
7482 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7483 widget_class->tap_and_hold_setup signal slot doesn't exist any
7484 longer, stop overriding it.
7486 (hildon_time_editor_init): g_signal_connect() to the
7487 tap-and-hold-setup signal instead.
7489 (hildon_time_editor_entry_keypress): add cast to fix warning.
7491 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7493 * doc/hildon-docs.sgml
7495 * examples/Makefile.am
7496 * examples/hildon-app-menu-example.c
7498 * src/hildon-app-menu-private.h
7499 * src/hildon-app-menu.c
7500 * src/hildon-app-menu.h
7502 New HildonAppMenu widget
7504 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7506 Rearranged the inheritance of the pannable area, now it inherits
7507 from GtkBin. This will allow us to control the event_window and
7508 the allocation process of the widget, required for some effects.
7510 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7511 GtkBin structures. * src/hildon-pannable-area.c: Added the
7512 event_window variable.
7513 (hildon_pannable_area_button_press_cb):
7514 (hildon_pannable_area_button_release_cb):
7515 (hildon_pannable_area_motion_notify_cb):
7516 Changed the signature of the method, now we override the event
7517 callback instead of connecting to the signal.
7519 (hildon_pannable_area_realize):
7520 (hildon_pannable_area_unrealize):
7521 (hildon_pannable_area_map):
7522 (hildon_pannable_area_unmap):
7523 (hildon_pannable_area_size_allocate):
7524 Added functions to control the widget construction. We add a
7525 INPUT_ONLY window and we put it over the widgets inside the
7526 container, this event_window handles the events.
7528 (hildon_pannable_area_class_init):
7529 Replaced the signal connections with overrides of the event
7532 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7534 Bouncing effect added when touching the borders, you can change
7535 the elasticity of the border changing the ELASTICITY define.
7537 * src/hildon-pannable-area.c: Added ELASTICITY define.
7538 (hildon_pannable_area_timeout): Added inverse velocity when
7539 touching the border of the child widget, that causes a bounce.
7541 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7543 Improved performance, we now do not go to the X server in order to
7544 get the list of window children. Apparently the effect is the
7545 same, we have to be careful and check if this breaks something in
7548 * src/hildon-pannable-area.c:
7549 (get_ordered_children): Removed this function.
7550 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7551 the children windows function with gdk_window_get_children.
7553 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7555 * src/hildon-pannable-area.c:
7556 (hildon_pannable_area_dispose): Fixed a crash when closing the
7557 window and kinetics is activated.
7559 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7561 * src/hildon-pannable-area.h
7562 * src/hildon-pannable-area.c
7563 Changed indentation style to meet the one used in Hildon
7565 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7567 Reviewed the interaction of the AUTO mode, now we use the time
7568 attribute of the events and calculate the velocity in the motion,
7569 doing a gimp like calculation. The velocity is calculated in each
7570 motion event using the last velocity and the current one, the
7571 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7573 * src/hildon-pannable-area.c: Replaced the time based algorithm
7575 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7576 timeout for the AUTO mode when we are still moving the cursor. We
7577 added also the velocity calculation in this function.
7578 (hildon_pannable_area_button_release_cb): launch the timeout in
7579 case we are in AUTO mode. There are still some constants here that
7580 come from the old implementation that should be reviewed and
7583 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7585 * doc/hildon-docs.sgml
7588 * src/hildon-stackable-window.c
7589 * src/hildon-stackable-window.h
7591 New HildonStackableWindow widget
7593 * examples/hildon-dialog-example.c
7594 * examples/hildon-pannable-area-example.c
7597 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7599 * src/hildon-dialog.c
7600 (hildon_dialog_new_with_buttons): New constructor.
7602 * examples/hildon-dialog-example.c
7603 (main): Update the example to use the new
7604 hildon_dialog_new_with_buttons().
7606 * examples/hildon-pannable-area-example.c
7607 (main): Update example.
7609 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7611 * doc/hildon-docs.sgml
7613 Added HildonPannableArea to the documentation.
7615 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7617 * doc/visual_index.xml
7618 Fix reference to HildonLoginDialog in documentation
7620 * doc/hildon-docs.sgml
7622 * examples/Makefile.am
7623 * examples/hildon-dialog-example.c
7625 * src/hildon-dialog.c
7626 * src/hildon-dialog.h
7628 New HildonDialog widget.
7630 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7632 * src/hildon-pannable-area.c
7633 Merge latest changes (r4318, r4342) from libmokoui trunk
7635 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7637 * examples/Makefile.am
7638 * examples/hildon-pannable-area-example.c
7640 * src/hildon-pannable-area.c
7641 * src/hildon-pannable-area.h
7643 New HildonPannableArea widget.
7645 2008-04-15 18:05:19 <timj@imendio.com>
7647 * src/hildon-banner.c: revert the recent change, that introduced
7648 gtk_window_present() calls. this reopens:
7649 Bug 78481 - [freetest] information banners are hidden under browser menu
7650 But resolves another variant of:
7651 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7653 2008-04-15 13:21:13 <timj@imendio.com>
7655 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7656 recreated its layout, spotted by Kris. this fixes all remaining
7657 artefacts and stability issues with the banner code. in particular:
7658 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7660 2008-04-14 16:52:59 <timj@imendio.com>
7662 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7663 operating on unrealized widgets, fixes:
7664 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7666 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7668 2008-04-09 Kristian Rietveld <kris@imendio.com>
7670 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7671 makes banner disappear.
7672 Fixes: NB#79182: info banner flickering with certain message lengts.
7674 * src/hildon-banner.c (hildon_banner_constructor),
7675 (hildon_banner_init), (hildon_banner_set_text),
7676 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7677 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7678 FALSE, reset size requests of label and banner,
7679 (force_to_wrap_truncated): when the text is too wide, always enforce
7680 the maximum possible width instead of recalculating it from the
7681 layout; enforce the maximum banner height of 3 lines,
7682 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7683 nicer wrapping and no truncated chars if space gets tight.
7685 * src/hildon-banner-private.h: add has_been_wrapped and
7686 has_been_truncated fields.
7688 2008-04-07 Sven Herzberg <sven@imendio.com>
7690 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7691 local values in hildon_date_editor_size_allocate
7693 * src/hildon-date-editor.c: moved the real allocation code into the
7696 2008-04-07 Sven Herzberg <sven@imendio.com>
7698 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7699 local values in hildon_date_editor_size_allocate
7701 * src/hildon-date-editor.c: merged the two if() branches together
7703 2008-04-07 Sven Herzberg <sven@imendio.com>
7705 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7706 local values in hildon_date_editor_size_allocate
7708 * src/hildon-date-editor.c: changed the arguments of the if()
7711 2008-04-07 Sven Herzberg <sven@imendio.com>
7713 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7714 local values in hildon_date_editor_size_allocate
7716 * src/hildon-date-editor.c: split the calculation of the allocation
7717 from the real allocation
7719 2008-03-27 Michael Natterer <mitch@imendio.com>
7721 Fixes: NB#81696: The passcode is not overwritten even after
7724 * src/hildon-code-dialog.c
7725 (hildon_code_dialog_button_clicked)
7726 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7727 because that doesn't overwrite selected text. Instead, emit the
7728 "commit" signal on the entry's im_context so the entry's normal
7729 insert logic is triggered. Set the cursor to the end of the entry
7730 after each insert operation so that we *only* insert in the middle
7731 of the text if something was selected.
7733 2008-03-27 Michael Natterer <mitch@imendio.com>
7735 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7736 selector cannot be opened
7738 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7739 when the popup color selector is created. Please connect to this
7740 signal in order to set the dialog's help ID.
7742 2008-03-25 Sven Herzberg <sven@imendio.com>
7744 Fixes: MB#1212: Hide info banners (infoprints) on click
7746 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7747 extracted the close event simulation into an extra function
7748 (hildon_banner_button_press_event): simulate a close event and destroy
7749 the widget if the event wasn't handled
7750 (hildon_banner_class_init): added the button_press_event handler
7751 (hildon_banner_init): added button-press events to the widget
7753 2008-03-25 Sven Herzberg <sven@imendio.com>
7755 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7756 Patch from: Mohammad Anwari <mdamt@maemo.org>
7758 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7759 instead of the right in RTL mode
7760 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7761 breadcrumb button list in RTL mode
7762 * src/hildon-caption.c: mirror the appearance of the caption widget in
7764 * src/hildon-date-editor.c: mirror appearance of the date editor in
7766 * src/hildon-time-editor.c: mirror appearance of the time editor in
7768 * src/hildon-window.c: fix the position of the popup in RTL mode
7770 2008-03-25 Sven Herzberg <sven@imendio.com>
7772 Amendment to the fix of NB#22072. Fix compilation.
7774 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7776 2008-03-19 Sven Herzberg <sven@imendio.com>
7778 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7781 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7782 timeout id properly when the timeout will disappear this leaves no
7783 artifacts around in the destroy(); there will only be the timeout
7784 created by hildon_banner_ensure_timeout() and adding a new timeout
7785 will also work if the timeout gets removed because the timeout_handler
7788 2008-03-19 Michael Natterer <mitch@imendio.com>
7790 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7792 * src/hildon-volumebar.c
7793 * src/hildon-vvolumebar.c
7794 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7795 the widget becomes focussable at all.
7797 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7798 set the focus to wither the mute button or the volumebar.
7800 Remove own "can-focus" property and instead listen to
7801 notify::can-focus in order to update the widget's state.
7803 Implement GtkWidget::focus() and make sure we can also *leave* the
7804 widget, not only enter it, depending on volumebar orientation and
7805 requested focus direction.
7807 Clean up set_mute() to cooperate nicely with all the above.
7809 2008-03-04 Michael Natterer <mitch@imendio.com>
7811 Fixes: NB#78481: information banners are hidden under browser menu
7813 * src/hildon-banner.c: call gtk_window_present() on the banners so
7814 they are risen if they are already visible.
7816 2008-03-03 Sven Herzberg <sven@imendio.com>
7818 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7820 * examples/hildon-window-menu-example.c: (main): extended the window
7821 menu example to serve as a testcase for automatically added
7822 accelerator groups, too
7823 * src/hildon-window.c: (hildon_window_add_accel_group),
7824 (hildon_window_set_menu): added patch by Tommi Komulainen
7826 2008-03-03 Sven Herzberg <sven@imendio.com>
7828 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7830 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7831 knowledge about the border allocators used within GTK+
7833 2008-02-26 Sven Herzberg <sven@imendio.com>
7835 Fixes: MB#2981: Build with asserts broken
7837 * src/hildon-date-editor.c,
7838 * src/hildon-number-editor.c,
7839 * src/hildon-time-editor.c,
7840 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7841 the proper GType instance check
7843 2008-02-25 Sven Herzberg <sven@imendio.com>
7845 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7847 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7848 * examples/hildon-window-menu-example.c: (main): explicitly show
7850 * src/hildon-window.c:
7851 (hildon_window_set_main_menu): moved most of the code from set_menu()
7852 to this place; skipped the call to gtk_widget_show_all(); also didn't
7853 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7854 (hildon_window_set_menu): removed most of the code, just keep the
7855 questionable gtk_widget_show_all()
7856 * src/hildon-window.h: added the new function and deprecate the old
7859 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7865 * debian/changelog: Updating.
7867 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7870 * pkgconfig/Makefile.am:
7871 * pkgconfig/hildon.pc.in:
7874 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7875 use newly created API_MAJOR_VERSION.
7877 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7883 * debian/changelog: Updating.
7885 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7887 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7889 Add outer_border style property, we use it but don't define it (!).
7893 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7895 * examples/hildon-bread-crumb-trail-example.c (main):
7899 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7901 Fix logic for the bread crumb trail node removal.
7905 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7911 * debian/changelog: Updating.
7913 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7915 Patch by Alejandro to get/set passwords dialogs accesibility.
7917 * hildon-1/src/hildon-get-password-dialog.c:
7918 * hildon-1/src/hildon-set-password-dialog.c:
7919 Set atk_set_name to the passwd entries in order to allow
7920 accessibility by name on this entries.
7922 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7927 * debian/control: Updating gtk dep.
7929 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7931 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7932 USE_MAEMO_GTK is enabled.
7934 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7936 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7937 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7939 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7945 * debian/changelog: Updating.
7947 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7949 * examples/Makefile.am:
7950 * examples/hildon-logical-color-example.c:
7951 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7952 applied + adding a test case. Fixes: NB#71660.
7954 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7956 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7957 to be visible, fixes warning on map for windows without toolbars.
7959 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7961 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7962 2.11.0, add a check for that besides the MAEMO_GTK check.
7964 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7970 * debian/changelog: Updating.
7972 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7974 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7975 visibility. Fixes: NB#70842 and MB#615.
7977 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7979 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7980 set the separator as no-show-all so it doesn't unintentionally appear when
7981 someone does a show_all.
7983 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7985 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7986 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7987 toplevel item. Fixes: NB#62031
7989 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7991 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7992 fix the name of the function in the docs.
7994 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8000 * debian/changelog: Updating.
8002 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8004 * examples/hildon-banner-long-example.c: Adding a test-case for long
8007 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8009 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8011 * src/hildon-color-chooser-dialog.c:
8012 * src/hildon-color-chooser.c:
8013 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8014 memory leaks in font selector and color selector. Fixes: NB#70499 and
8017 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8019 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8021 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8023 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8024 little bit bigger. Fixes: #NB63694.
8026 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8032 * debian/changelog: Updating.
8034 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8037 * doc/hildon-docs.sgml:
8038 * doc/images/bread-crumb-trail.png:
8039 * doc/images/calendar-popup.png:
8040 * doc/images/caption.png:
8041 * doc/images/code-dialog.png:
8042 * doc/images/color-button.png:
8043 * doc/images/color-chooser-dialog.png:
8044 * doc/images/color-chooser.png:
8045 * doc/images/controlbar.png:
8046 * doc/images/date-editor.png:
8047 * doc/images/font-selection-dialog.png:
8048 * doc/images/get-password-dialog.png:
8049 * doc/images/hvolumebar.png:
8050 * doc/images/login-dialog.png:
8051 * doc/images/note.png:
8052 * doc/images/number-editor.png:
8053 * doc/images/range-editor.png:
8054 * doc/images/seekbar.png:
8055 * doc/images/set-password-dialog.png:
8056 * doc/images/sort-dialog.png:
8057 * doc/images/time-editor.png:
8058 * doc/images/time-picker.png:
8059 * doc/images/vvolumebar.png:
8060 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8061 Adding the bread-crumb-trial and helpers to the documentation.
8063 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8065 * examples/hildon-find-toolbar-example.c:
8066 * src/hildon-find-toolbar.c:
8067 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8068 actually continue firing the other handlers if connected. Adding a new
8070 hildon_find_toolbar_get_last_index that gets the index of the most
8071 recently added (last) item. Fixes: NB#52301.
8073 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8075 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8076 behaviour. Fixes: NB#68610.
8078 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8080 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8083 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8085 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8086 when realizing the banner. Should make the infonbanner effect a bit more
8089 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8091 * src/hildon-volumebar.c:
8092 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8093 hildon_volumebar_set_range_insensitive_message and
8094 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8096 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8098 * src/hildon-window.c: Fixing the border freeing on destroy.
8100 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8102 * src/hildon-code-dialog-private.h:
8103 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8104 kw keyboard support in HildonCodeDialog.
8106 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8112 * debian/changelog: Updating.
8114 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8116 * src/hildon-date-editor.c:
8117 * src/hildon-number-editor.c:
8118 * src/hildon-private.c:
8119 * src/hildon-private.h:
8120 * src/hildon-time-editor.c:
8121 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8122 handling in subclassed composite widgets. Fixes: NB#66628.
8124 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8126 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8127 from destroy_ callback as it introduces problems in async dbus signal
8128 handlers. Fixes NB#66673.
8130 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8132 * examples/hildon-hvolumebar-example.c:
8133 * src/hildon-volumebar.c: Improving the focus handling in the
8134 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8135 set_property accessor so that "mute" property can be actually set. I'm
8136 scared that nobody noticed it's totally broken.
8138 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8140 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8143 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8145 * src/hildon-calendar.c:
8146 * src/hildon-number-editor.c:
8147 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8148 matches the spec of 6 chars per second. Fixes: NB#60489.
8150 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8152 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8153 gtk_style_lookup_color sometime returns FALSE even though color was
8154 found and values were filled properly. Weird. Removing the warning for the
8157 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8159 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8160 expand vertically. Adding some extra space to the find toolbar buttons to
8161 make them thumbable. Fixes NB#66060.
8163 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8165 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8166 popup with "Ok" and "Cancel". Fixes NB#59299.
8168 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8170 * src/hildon-calendar.c: Process all window updates before executing next
8171 timeout. Fixes: NB#54146.
8173 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8179 * debian/changelog: Updating.
8181 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8183 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8184 the client event and ignore it, since we use the delete event to close
8187 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8189 * src/hildon-helper.c: Remove the bogus warning about color not being
8190 found. Fixes NB#58352.
8192 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8194 * examples/Makefile.am:
8195 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8196 HildonSeekbar widget inside a toolbar.
8198 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8200 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8201 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8202 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8203 don't want to be closed by non-temporary windows on map.
8205 Also use G_DEFINE_TYPE instead of manually typed code.
8207 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8214 * debian/rules: Updating.
8216 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8218 * examples/Makefile.am:
8219 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8220 bug NB#61128. Strangely it works.
8222 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8224 * src/hildon-date-editor.c: When the date editor entry has been changed
8225 but the numbers of characters < max, turn off the skip validation flag.
8226 Prevents a situation when we enter first a valid year and later re-write
8227 it with an invalid one. Fixes NB#60154.
8229 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8231 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8232 code dialog. Fixes NB#64355.
8234 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8236 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8237 switching the page. Fixes NB#49374.
8239 * examples/Makefile.am:
8240 * examples/hildon-wizard-dialog-example.c: Adding an example for
8241 HildonWizardDialog that shows how to handle manual sensitivity setting on
8244 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8248 * src/hildon-version.h.in:
8249 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8251 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8253 * src/hildon-volumebar.c: Updating the docs.
8255 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8261 * debian/changelog: Updating.
8263 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8265 * src/hildon-find-toolbar.c:
8266 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8267 selected item: hildon_find_toolbar_set_active,
8268 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8269 hildon_find_toolbar_get_active_iter . They correspond to respective
8270 GtkComboBox functions.
8272 * examples/Makefile.am:
8273 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8276 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8278 * examples/Makefile.am:
8279 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8282 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8283 when font size > 32 and we pack a focusable widget inside. Actually using
8284 the default response would work too, but since we don't show default
8285 response state in any way (no theming) it would not be visible to the
8286 user. Fixes NB#63430.
8288 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8290 * src/hildon-date-editor.c: Adding the missing variable setter in the
8291 set_property handler. Fixes NB#54182.
8293 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8295 * src/hildon-window.h: Changing the long key press time from 1500ms to
8296 800ms as requested in NB#63700. I have a bad feeling about this, let's
8297 see... Fixes NB#63700.
8299 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8301 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8302 hildon_time_picker_map, hildon_time_picker_realize,
8303 hildon_time_picker_style_set): Split the contents of map to more
8304 appropriate functions; set window decorations on realize and update
8305 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8307 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8312 * debian/changelog: Updating.
8314 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8316 * src/Makefile.am: fixed installation of the header files
8318 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8324 * debian/changelog: Updating.
8326 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8328 * configure.ac: Removing some remaining of --enable-xan.
8330 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8332 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8333 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8335 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8336 2.10.12-osso6 because the move-focus signal needs to be available in
8339 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8341 * examples/Makefile.am:
8342 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8343 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8344 fine. Prolly NB#61128 is fixed now.
8346 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8348 * src/hildon-volumebar.c:
8349 * src/hildon-volumebar.h: Adding the
8350 hildon_volumebar_set_range_insensitive_message and
8351 hildon_volumebar_set_range_insensitive_messagef functions to set
8352 insensitive message on the slider of the volumebar. Fixes NB#61129.
8354 * examples/Makefile.am:
8355 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8356 test the new insensitive messsage functionality on HildonVolumebar.
8358 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8360 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8363 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8365 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8366 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8367 button on after clearing the trail.
8369 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8371 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8373 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8375 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8376 by splitting the installed headers in generated and non-generated groups. Use
8377 only the non-generated headers to create the hildon-enum-types.h file.
8379 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8381 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8383 * src/hildon-window.c: Hide the window before performing the destroy.
8384 Should make the app closing a little tiny bit more snappy.
8386 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8388 * src/hildon-seekbar.c: add gtkrange.h header
8389 * src/hildon-caption.c: remove unused variable
8391 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8393 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8396 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8402 * debian/changelog: Updating.
8404 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8406 * src/hildon-window.c (hildon_window_window_state_event,
8407 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8408 escape timeout on focus-out-event rather than notify::is-topmost; the
8409 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8411 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8413 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8414 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8416 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8418 * src/hildon-window: actually, you need to use the macro always, there's
8419 no private pointer in the instance structure. We should have cleaned this up
8420 when we had the chance...
8422 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8424 * src/hildon-window.c: do not get the private date from HildonWindow before
8425 it passes the g_return_if_fail check. Once it's passed the test, there's no
8426 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8427 if you are only going to access the data once. Whitespace cleanups.
8429 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8431 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8432 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8434 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8440 * debian/changelog: Updating.
8442 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8444 * src/hildon-window.c: When destroying the window, remove (if exists) the
8445 escape timeout handler. Fixes #NB59276.
8447 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8449 * src/hildon-banner.c: When realizing the widget, set the window
8450 transiency. Setting the transiency in the gobject constructor is not
8451 good, as the widget is not realized at that point. Fixes: #NB56624.
8453 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8455 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8456 Add padding for future expansions.
8458 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8460 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8461 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8462 will fake an activation on the previous to the last item of the trail, so
8463 the effect can be overrided by the developer as usual.
8464 Also change the callback for the back button to do the same thing, so its
8465 effect can be overrided too. Fixes: NB#58982
8467 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8469 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8470 HildonCaption. Fixes NB#52379.
8472 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8474 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8475 the internal state of the trail after the user has had the chance of executing
8476 his handler for the signal. Specifically, it may happen that the activated button
8477 is removed and the user still lets the default handler run. This would segfault
8480 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8482 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8483 scrollbar to the preview dialog. Fixes NB#54147.
8485 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8487 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8488 max/min year properties can be altered, so the client can modify it
8489 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8491 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8493 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8494 hildonlike by default. Fixing a problem with disappearing arrows when
8495 scrolling through months and years. Fixes NB#54127.
8497 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8499 * examples/hildon-date-editor-example.c: Adding error callback to the date
8502 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8508 * configure.ac: Updating.
8510 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8512 * configure.ac: Adding a special '--enable-xan' configure option that
8513 turns off the -Werror compilation setting. Usefull for development.
8515 * src/hildon-calendar.c:
8516 * src/hildon-number-editor.c:
8517 * src/hildon-time-picker.c: Adding the 5* multiplier to
8520 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8522 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8523 instead of g_object_ref + gtk_object_sink.
8525 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8531 * debian/changelog: Updating.
8533 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8535 * src/hildon-color-chooser-dialog.c:
8536 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8537 straight from Tommi labs.
8539 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8541 * examples/hildon-finger-example.c: Correcting the header file path.
8543 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8544 the changed signal. Fixes a small memory leak.
8546 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8550 * src/hildon-banner.c: Importing several usefull fixes from the
8551 ubuntu-mobile branch.
8553 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8555 * examples/Makefile.am:
8556 * examples/hildon-finger-example.c: Adding a finger-checking code
8559 * src/hildon-font-selection-dialog.c: Do not allocate the color
8560 structure using the g_new. Fixes NB#54061.
8562 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8564 * src/hildon-helper.c: Correcting tabs in file.
8566 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8568 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8569 control the visibility of the children.
8571 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8573 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8579 * debian/changelog: Updating.
8581 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8583 * src/hildon-bread-crumb-trail.c:
8584 (hildon_bread_crumb_trail_size_allocate):
8586 Make the back button always a square.
8588 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8590 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8591 from the .c file as it's a private file.
8593 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8595 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8596 uses slightly bigger height.
8598 * src/hildon-font-selection-dialog.c: Adding some checks before
8599 freeing memory in the font selection dialog.
8601 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8603 * src/hildon-font-selection-dialog.c: Adding a small check when
8606 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8607 buttons sensitivity on page switching.
8609 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8611 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8612 internal details of adding a bread crumb to the trail.
8614 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8620 * debian/changelog: Updating.
8622 * src/hildon-bread-crumb-trail.h:
8623 * src/hildon-bread-crumb.h: Changing the API guard to
8624 HILDON_ENABLE_UNSTABLE_API.
8626 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8634 * src/hildon-helper.h: Updating.
8636 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8644 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8648 * src/hildon-helper.h: Small fix to make the package actually compile.
8650 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8652 * src/hildon-bread-crumb-trail.h:
8653 * src/hildon-bread-crumb.h:
8655 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8656 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8658 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8660 * examples/hildon-bread-crumb-trail-example.c:
8662 * src/hildon-bread-crumb-trail.c:
8663 * src/hildon-bread-crumb-trail.h:
8664 * src/hildon-bread-crumb.c:
8665 * src/hildon-bread-crumb.h:
8666 * src/hildon-marshalers.list:
8667 * src/hildon-bread-crumb-widget.c:
8668 * src/hildon-bread-crumb-widget.h:
8670 Slight change in the widget design. The bread crumb trail API is
8671 unchanged, but HildonBreadCrumb is now an interface. A *private*
8672 implementation, hildon-bread-crumb-widget, is provided and used
8673 internally by the trail for the push_text/push_icon functions.
8675 The generic push API is still available, so anyone can implement
8676 and use its own bread crumb widget.
8678 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8680 * debian/rules: Fixing the shlibs.
8682 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8684 * src/hildon-banner.c: Fixing a problem with timed banners having
8685 their parrent destroyed before they are.
8687 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8689 * src/hildon-bread-crumb.c:
8690 * src/hildon-bread-crumb.h:
8692 Make the get_natural_size function a vfunc.
8694 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8696 * src/hildon-bread-crumb.c:
8697 * src/hildon-bread-crumb-trail.c:
8701 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8708 * debian/changelog: Updating for release.
8710 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8712 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8713 don't leak the pango layout.
8715 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8718 * examples/hildon-bread-crumb-trail-example.c:
8722 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8724 * debian/changelog: Removing the bug-fixed entries that were actually
8725 resolved as WONTFIX.
8727 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8730 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8732 * src/hildon-bread-crumb-trail.c:
8733 * src/hildon-bread-crumb-trail.h:
8734 * src/hildon-bread-crumb.c:
8735 * src/hildon-bread-crumb.h:
8739 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8741 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8742 until it's passed the type check.
8744 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8746 * examples/hildon-bread-crumb-trail-example.c
8750 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8752 * examples/Makefile.am
8753 * examples/hildon-bread-crumb-trail-example.c
8755 * src/hildon-bread-crumb-trail.c
8756 * src/hildon-bread-crumb-trail.h
8757 * src/hildon-bread-crumb.c
8758 * src/hildon-bread-crumb.h
8760 New HildonBreadCrumbTrail widget.
8762 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8764 * src/hildon-range-editor.c (hildon_range_editor_init),
8765 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8766 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8767 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8768 hildon_time_editor_class_init, hildon_time_editor_init),
8769 src/hildon-get-password-dialog.c (invalid_input,
8770 hildon_get_password_set_property, hildon_get_password_get_property,
8771 create_contents, hildon_get_password_dialog_set_max_characters),
8772 src/hildon-set-password-dialog.c (create_contents),
8773 src/hildon-date-editor.c (hildon_date_editor_init),
8774 src/hildon-login-dialog.c (hildon_login_dialog_init),
8775 src/hildon-number-editor.c (hildon_number_editor_init),
8776 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8777 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8778 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8779 configure option and adding the respective checks in the code.
8780 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8781 hildon_calendar_drag_data_received): fixed some build warnings.
8783 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8785 * debian/changelog: A 1.0.0 release notes.