1 2009-06-16 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-banner.c (hildon_banner_bind_style)
4 (screen_size_changed, hildon_banner_init)
5 (hildon_banner_real_show_information)
6 (hildon_banner_show_information_with_markup)
7 (hildon_banner_show_animation, hildon_banner_show_progress):
8 Set a different widget name to banners in portrait mode, for them
9 to be themed correctly.
11 2009-06-16 Alberto Garcia <agarcia@igalia.com>
13 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
14 Set a different widget name to notes in portrait mode, for them to
17 Partially fixes: NB#118401 (HildonNote causes unnecessary
20 2009-06-16 Alberto Garcia <agarcia@igalia.com>
22 * hildon/hildon-note.c (hildon_note_class_init)
23 (+hildon_note_size_request, screen_size_changed):
24 Always request the full width of the screen.
26 Fixes: NB#118375 (unnecessary rescaling of images)
28 2009-06-16 Alejandro G. Castro <alex@igalia.com>
30 * hildon/hildon-pannable-area.c,
31 (hildon_pannable_area_init),
32 (hildon_pannable_area_realize): Replaced old code adding flags in
33 the object init, now we add it with the other flags in the realize
36 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
38 * hildon/hildon-note.c: (hildon_note_class_init): Several
39 documentation improvements to the HildonNote widget.
41 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
43 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
45 Fixes: MB#4556 (HildonNoteType is undocumented)
47 2009-06-15 Alberto Garcia <agarcia@igalia.com>
49 * hildon/hildon-picker-button.c:
50 Explain how HildonPickerButton sets the title of its dialog
52 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
53 the title of its dialog)
55 2009-06-15 Alberto Garcia <agarcia@igalia.com>
57 * hildon/hildon-check-button.c:
60 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
63 2009-06-15 Alberto Garcia <agarcia@igalia.com>
66 * hildon/hildon-edit-toolbar-private.h
67 * hildon/hildon-edit-toolbar.c
68 (+hildon_edit_toolbar_set_progress_indicator)
69 (hildon_edit_toolbar_init): Add progress indicator to the
73 (hildon_gtk_window_set_progress_indicator):
74 If the window contains a HildonEditToolbar, enable the progress
77 * hildon/hildon-private.h
78 * hildon/hildon-private.c
79 (+hildon_private_create_animation)
80 * hildon/hildon-banner.c
81 (-hildon_banner_create_animation):
82 Moved to hildon-private.c
84 Fixes: NB#102373 (Progress indicator also for the Edit mode
87 2009-06-15 Alberto Garcia <agarcia@igalia.com>
89 * hildon/hildon-app-menu-private.h
90 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
91 (hildon_app_menu_add_filter, +menu_item_button_event)
92 (hildon_app_menu_button_release, hildon_app_menu_init):
93 Make sure that buttons receive 'button-release-event' in spite of
94 the grab held by HildonAppMenu
96 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
98 2009-06-15 Alberto Garcia <agarcia@igalia.com>
100 * hildon/hildon-app-menu.c
101 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
102 New style property to set the size of the group of filter buttons.
104 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
106 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
111 * configure.ac: Bump version.
112 * debian/changelog: Updates.
114 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
116 * hildon/hildon-main.c: Minor documentation fixes.
118 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
120 * doc/hildon-sections.txt:
121 * hildon/hildon-defines.h: Document the defines, organize them,
122 and mark deprecations as such.
124 Fixes: MB#4463 (Hildon size #defines are undocumented)
126 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
128 * hildon/hildon-animation-actor.c:
129 * hildon/hildon-app-menu.c:
130 * hildon/hildon-button.c:
131 * hildon/hildon-date-editor.c:
132 * hildon/hildon-dialog.c:
133 * hildon/hildon-edit-toolbar.c:
134 * hildon/hildon-entry.c:
135 * hildon/hildon-program.c:
136 * hildon/hildon-remote-texture.c:
137 * hildon/hildon-stackable-window.c:
138 * hildon/hildon-text-view.c:
139 * hildon/hildon-touch-selector.c:
140 * hildon/hildon-window-stack.c:
141 * hildon/hildon-window.c:
143 Remove redundant "represents" wording from most of the documentation.
145 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
147 2009-06-12 Alberto Garcia <agarcia@igalia.com>
152 * hildon/hildon-banner-private.h
153 * hildon/hildon-banner.c:
154 Move HildonBannerPrivate to hildon-banner.c and remove
155 hildon-banner-private.h
156 Use a bit field to store private booleans.
158 2009-06-12 Alberto Garcia <agarcia@igalia.com>
160 * hildon/hildon-app-menu.c (hildon_app_menu_map):
161 Don't install a new idle function if there's already one
166 2009-06-11 Alberto Garcia <agarcia@igalia.com>
168 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
169 (+legacy_menu_realized, +legacy_menu_unmapped)
170 (+set_legacy_menu_type):
171 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
172 they can be identified by the window manager.
174 Fixes: NB#101437 (Invoking CSM on the left side of page area is
175 displayed in wrong location)
177 Fixes: MB#4563 (Popup menu won't locate at the left side of the
180 2009-06-11 Alberto Garcia <agarcia@igalia.com>
182 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
184 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
187 2009-06-11 Alberto Garcia <agarcia@igalia.com>
189 * hildon/hildon-code-dialog.c
190 * hildon/hildon-date-editor.c
191 * hildon/hildon-number-editor.c
192 * hildon/hildon-seekbar.c
193 * hildon/hildon-stackable-window.c
194 * hildon/hildon-window.c:
195 Misc documentation updates
197 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
199 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
200 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
202 Fixes: NB#117931 (Theming issues in accounts dialogs)
204 2009-06-09 Alejandro G. Castro <alex@igalia.com>
206 * hildon/hildon-pannable-area.c,
207 (hildon_pannable_area_button_release_cb): Changed the coordinates
208 of the original release in case we want to discard the release,
209 some widgets in Fremantle do not handle the leave-notify.
211 2009-06-09 Alejandro G. Castro <alex@igalia.com>
213 * hildon/hildon-pannable-area.c,
214 (hildon_pannable_area_button_release_cb): Reviewed the logic of
215 the release using the last refactored functions and avoiding the
216 movement if an element was selected.
218 2009-06-09 Alejandro G. Castro <alex@igalia.com>
220 * hildon/hildon-pannable-area.c,
221 (hildon_pannable_area_check_move),
222 (hildon_pannable_area_handle_move),
223 (hildon_pannable_area_motion_notify_cb): Refactored the
224 motion_notify method using a couple of new functions.
226 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
228 * hildon/hildon-date-selector.c:
229 (hildon_date_selector_construct_ui):
230 * hildon/hildon-time-selector.c:
231 (hildon_time_selector_constructor):
232 * hildon/hildon-touch-selector-entry.c:
233 (hildon_touch_selector_entry_set_text_column),
234 (hildon_touch_selector_entry_get_text_column):
235 * hildon/hildon-touch-selector.c: (_default_print_func),
236 (hildon_touch_selector_new_text): Use
237 hildon_touch_selector_set/get_text_column() instead of
238 setting/getting the "text-column" property.
240 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
242 * doc/hildon-sections.txt: Add the new public methods below.
244 * examples/hildon-picker-button-multicolumn-example.c:
245 (create_touch_selector):
246 * examples/hildon-touch-selector-example.c: (create_selector):
247 * examples/hildon-touch-selector-multi-cells-example.c:
249 Use hildon_touch_selector_column_set_text_column()
251 * hildon/hildon-touch-selector-column.h:
252 * hildon/hildon-touch-selector.c:
253 (hildon_touch_selector_column_set_text_column),
254 (hildon_touch_selector_column_get_text_column):
255 Make hildon_touch_selector_column_set/get_column() public, use
256 them in the inline example, document them, and reference to them
259 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
261 * hildon/hildon-time-selector.c: Fix the docs for
262 hildon_time_selector_new_step().
264 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
266 * hildon/hildon-touch-selector.c: Improve the documentation for
267 hildon_touch_selector_append_column().
269 Fixes MB#4641 (Documentation:
270 hildon_touch_selector_append_column() ref-counting)
272 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
274 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
275 Comment out test 5, since the hildon_controlbar_set_range() range
276 check is broken and fixing it would have side effects. Also,
277 this finally fixes make distcheck.
279 Fixes: NB#101420 (Update unit tests and fix make distcheck)
281 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
283 * tests/TEST-CASES.txt: Remove other bogus test.
284 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
285 Remove bogus test that was setting/retrieving a valid value.
287 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
289 * tests/TEST-CASES.txt: Remove bogus tests.
290 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
291 Remove three bogus tests that were actually setting valid colors.
293 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
295 * configure.ac: post release version bump
296 * debian/changelog: post release version bump
298 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
303 * configure.ac: Bump version.
304 * debian/changelog: Updates.
306 2009-06-08 Christian Dywan <christian@lanedo.com>
310 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
311 Correct errors in hildon_format_file-size_for_display and use
312 translations from the hildon-fm package instead of osso-filemanager.
314 2009-06-08 Alejandro G. Castro <alex@igalia.com>
316 * hildon/hildon-pannable-area.c,
317 (hildon_pannable_area_init): Initialized new values to handle the
319 (hildon_pannable_area_adjust_value_changed): Check if the values
320 changed before even call the redraw function.
321 (hildon_pannable_area_size_allocate),
322 (hildon_pannable_axis_scroll),
323 (hildon_pannable_area_scroll),
324 (hildon_pannable_area_jump_to): Improved the diagonal movement
327 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
330 2009-06-08 Alberto Garcia <agarcia@igalia.com>
332 * examples/hildon-banner-example.c:
333 Several style updates
334 (on_animation_clicked, on_animation_idle)
335 (on_progress_clicked, on_progress_idle):
336 Add additional reference for the cases when the parent window is
339 2009-06-08 Alberto Garcia <agarcia@igalia.com>
341 * doc/hildon-sections.txt
342 * hildon/hildon-pannable-area.c
343 * hildon/hildon-banner.h
344 * hildon/hildon-banner.c: Documentation updates.
346 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
349 2009-06-05 Alejandro G. Castro <alex@igalia.com>
351 * hildon/hildon-calendar-popup.h:
352 * hildon/hildon-caption.h:
353 * hildon/hildon-code-dialog.h:
354 * hildon/hildon-controlbar.h:
355 * hildon/hildon-date-editor.h:
356 * hildon/hildon-dialog.h:
357 * hildon/hildon-get-password-dialog.h:
358 * hildon/hildon-hvolumebar.h:
359 * hildon/hildon-login-dialog.h:
360 * hildon/hildon-note.h:
361 * hildon/hildon-number-editor.h:
362 * hildon/hildon-range-editor.h:
363 * hildon/hildon-seekbar.h:
364 * hildon/hildon-set-password-dialog.h:
365 * hildon/hildon-sort-dialog.h:
366 * hildon/hildon-time-editor.h:
367 * hildon/hildon-time-picker.h:
368 * hildon/hildon-volumebar-range.h:
369 * hildon/hildon-volumebar.h:
370 * hildon/hildon-vvolumebar.h:
371 * hildon/hildon-weekday-picker.h:
372 * hildon/hildon-window.h:
373 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
374 macros with the current replacements
376 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
378 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
380 * hildon/hildon-color-button.c (hildon_color_button_init): Use
381 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
382 itself, to make it fit better with Fremantle style.
384 Fixes: NB#109878 (height and width of focus on color icon is not
385 consistent with other item in the application tool bar)
387 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
389 * hildon/hildon-touch-selector.c:
390 (hildon_touch_selector_optimal_size_request): use the current requisition
391 as the base, in order to include any possible extra widget, like the
392 hildon entry on HildonTouchSelectorEntry
394 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
396 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
398 * configure.ac: post release version bump
399 * debian/changelog: post release version bump
401 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
406 * configure.ac: Bump version.
407 * debian/changelog: Updates.
409 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
411 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
413 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
414 to ensure the banner contents are centered, instead of relying on
415 the expand and fill properties in GtkHBox.
416 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
418 Fixes: NB#108265 (Animation banner not properly centered)
420 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
422 * hildon/hildon-pannable-area.c
423 (hildon_pannable_area_initial_effect): Remove the initial_effect
424 management, check initial_hint
425 (hildon_pannable_are_expose_event): Remove the initial_hint management,
426 set initial_effect to FALSE
427 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
428 by launching the fade_timeout if the scrollbars state has changed and are
430 * examples/hildon-pannable-area-initial-hint-example.c
431 Modified to allow to remove rows too. Add and remove rows one by one.
433 2009-05-28 Alberto Garcia <agarcia@igalia.com>
435 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
436 Don't close the menu if there's an animation actor below it.
438 Fixes: NB#117927 (Application menu not usable with animation
441 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
443 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
444 "focus-on-click" from the dialog button, to avoid stealing the
445 focus from the entry.
447 Fixes: NB#118903 (Account setup wizard: Text in Search field
448 should be focused when "Region" touch list picker is reopened
451 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
453 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
454 (prepare_action_area): Completely hide the dialog separator.
456 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
458 * hildon/hildon-touch-selector-entry.c
459 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
460 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
461 now that the entry is exposed.
463 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
465 * hildon/hildon-touch-selector-entry.c
466 (hildon_touch_selector_entry_init): Change the entry's size
467 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
469 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
471 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
472 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
473 avoid unnecessary scaling.
475 2009-05-27 Alberto Garcia <agarcia@igalia.com>
477 * hildon/hildon-app-menu.c (hildon_app_menu_map):
478 Create grab transfer window before calling parent's map function.
480 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
481 "crushed" button(s) in the top left corner)
483 2009-05-26 Alberto Garcia <agarcia@igalia.com>
485 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
486 Check if the window is already realized when pushing it.
488 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
490 * configure.ac: post release version bump
491 * debian/changelog: post release version bump
493 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
498 * configure.ac: Bump version.
499 * debian/changelog: Updates.
501 2009-05-25 Alberto Garcia <agarcia@igalia.com>
503 * hildon/hildon-app-menu.c: Doc updates.
505 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
507 * hildon/hildon-banner.c: Remove leftover macro.
509 2009-05-25 Alejandro G. Castro <alex@igalia.com>
511 * hildon/hildon-pannable-area.c,
512 (hildon_pannable_area_scroll_indicator_fade),
513 (hildon_pannable_area_button_release_cb): Reviewed vmin
514 conditions, it could cause problems in the fadeout procedure.
516 2009-05-25 Alejandro G. Castro <alex@igalia.com>
518 * hildon/hildon-pannable-area.c
519 (hildon_pannable_area_button_release_cb): Added a threshold to
520 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
522 2009-05-25 Alejandro G. Castro <alex@igalia.com>
524 * hildon/hildon-pannable-area.c,
525 (hildon_pannable_area_set_property): Added code to sync the gtk
526 dnd threshold with the panning threshold.
528 2009-05-25 Alejandro G. Castro <alex@igalia.com>
530 * hildon/hildon-pannable-area.c,
531 (hildon_pannable_area_class_init): Changed some of the default
532 values, now it should be less responsive and more accurate.
534 2009-05-25 Alejandro G. Castro <alex@igalia.com>
536 * hildon/hildon-pannable-area.c,
537 (hildon_pannable_area_init),
538 (hildon_pannable_area_scroll_indicator_fade),
539 (hildon_pannable_area_button_press_cb),
540 (hildon_pannable_axis_scroll),
541 (hildon_pannable_area_timeout),
542 (hildon_pannable_area_motion_notify_cb),
543 (hildon_pannable_area_button_release_cb): Changed the name of the
544 clicked attribute to button_pressed, it is more clear about its use.
546 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
548 * src/hildon-pannable-area.c
549 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
551 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
552 vertical scrollbar visibility, and use the data on private section instead,
553 remove the initial_hint check
554 (hildon_pannable_area_expose_event): add the initial_hint check here
556 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
558 * src/hildon-pannable-area.c
559 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
560 if the fadeout effect was used
561 (hildon_pannable_area_expose_event): check if it is required to
562 manage the initial effect on the begining of the function. Previously
563 it was made at the end, but this doesn't ensure that the scrollbars
564 will be painted on the first show. Do not set to FALSE initial_effect,
565 to ensure that the initial hint is showed the first time the pannable
567 * examples/Makefile.am
568 * examples/hildon-pannable-area-initial-hint-example.c:
569 New example, to show that the initial-hint is showed when the widget
572 Fixes: NB#116607 (Pannable area should always have scrollbar visible
573 initially if the application can be scrolled)
575 2009-05-25 Alberto Garcia <agarcia@igalia.com>
577 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
578 Resize table before adding new items to make sure that
579 gtk_table_resize() is called just once.
581 2009-05-25 Alberto Garcia <agarcia@igalia.com>
583 * hildon/hildon-app-menu-private.h
584 * hildon/hildon-app-menu.c (item_visibility_changed)
585 (filter_visibility_changed, hildon_app_menu_show_all)
586 (hildon_app_menu_hide_all, hildon_app_menu_init):
587 Rearrange items just once when gtk_widget_show_all()/hide_all()
590 2009-05-25 Alberto Garcia <agarcia@igalia.com>
592 * hildon/hildon-app-menu.c
593 (hildon_app_menu_insert, hildon_app_menu_add_filter):
594 Don't call gtk_widget_show() on added items.
596 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
597 automatically when they're added)
599 2009-05-20 Alberto Garcia <agarcia@igalia.com>
601 * hildon/hildon-banner.c
602 (hildon_banner_realize, +hildon_banner_unrealize)
603 (+screen_size_changed, hildon_banner_class_init):
604 Redisplay the banner if the screen is rotated.
606 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
607 on transition from landscape to portrait)
609 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
611 * hildon/hildon-banner.[ch]:
612 (hildon_banner_show_information_override_dnd): remove icon_name from the
613 method definition as it is ignored.
614 * examples/hildon-banner-dnd-example.c: updated with the change on
617 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
619 * hildon/hildon-banner-private.h: new require_override_dnd and
620 overrides_dnd variables
621 * hildon/hildon-banner.h:
622 (hildon_banner_show_information_override_dnd): new method, that shows
623 the information but sets the override flag, in order to show important
625 * hildon/hildon-banner.c
626 (hildon_banner_show_information_override_dnd): new method
627 (hildon_banner_set_override_flag): new utility function
628 (hildon_banner_real_show_information): new utility function, in order to
629 generalize the current hildon_banner_show_information_override_dnd and
630 hildon_banner_show_information_override_dnd
631 * examples/Makefile.am
632 * examples/hildon-banner-dnd-example.c: New example that show how to
633 use the new hildon_banner_show_information_override_dnd
635 Fixes: NB#114874 (There is no possibility to show hildon banners with
638 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
640 * hildon/hildon-pannable-area.c: Add a comment explaining the math
641 behind hildon_pannable_calculate_vel_factor().
643 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
645 * hildon/hildon-pannable-area.c
646 (hildon_pannable_calculate_vel_factor): Correct the sum of the
647 deceleration factors.
649 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
651 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
652 Reduce the default value for 'scroll_time' to 1 second, since the
653 current initial scrolling takes too much time.
655 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
657 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
658 calculate velocity factor during initialization, since the properties
661 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
663 * hildon/hildon-pannable-area.c
664 (hildon_pannable_area_set_property): Calculate the velocity factor
665 after setting the deceleration property and not after.
667 2009-05-20 Alberto Garcia <agarcia@igalia.com>
669 * hildon/hildon-entry.c
670 (hildon_entry_class_init, +set_property, hildon_entry_new)
671 * hildon/hildon-check-button.c
672 (hildon_check_button_class_init)
673 (+set_property, hildon_check_button_new):
674 Make the theme size a property.
676 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
677 others) do too much in the _new function)
679 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
681 * configure.ac: post release version bump
682 * debian/changelog: post release version bump
684 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
689 * configure.ac: Bump version.
690 * debian/changelog: Updates.
692 2009-05-15 Alberto Garcia <agarcia@igalia.com>
694 * hildon/hildon-gtk.h
695 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
696 New API function to take a screenshot of a window
698 Fixes: NB#106374 (Need API to take a loading screenshot)
700 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
702 * hildon/hildon-time-selector.c
703 (update_format_policy): prevent to use hours and minutes unitialized
705 2009-05-15 Alberto Garcia <agarcia@igalia.com>
707 * hildon/hildon-window.c (hildon_window_size_request):
708 Always request the full size of the screen (minus the title bar if
709 not in fullscreen mode).
711 Fixes: NB#107486 (HildonWindow should size itself properly)
713 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
715 * hildon/hildon-note-private.h: Add idle_handler to the private data.
716 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
717 (on_show_cb), (sound_handling): Disconnect the idle handler for
718 the sound when the note is finalized to avoid possible crashes.
720 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
723 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
725 * src/hildon-animation-actor.c,
726 * src/hildon-remote-texture.c:
727 Added proper object cleanup to remove signal handler and object
728 references as HildonAnimationActor and HildonRemoteTexture
729 objects get destroyed.
731 Fixes: NB#116682 (Destroying parented animation actors when
732 parent in unmapped leads to crash)
734 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
736 Based on a patch by Christian Dywan (christian@imendio.com)
738 * doc/hildon-sections.txt:
739 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
740 * hildon/hildon-helper.h: New file size formatting method.
742 * debian/control: Depend on osso-filemanager l10n package for
743 proper localization strings.
745 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
747 * tests/Makefile.am: Include top_srcdir to make possible to build
748 tests in a different builddir.
749 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
750 on a different builddir.
752 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
754 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
755 (hildon_touch_selector_remove): Disconnect model's signal handler
758 Fixes: NB#116289 (Hildon home crashes while adding task
761 2009-05-11 Alberto Garcia <agarcia@igalia.com>
763 * hildon/hildon-button.c
764 (hildon_button_set_title, hildon_button_set_value):
765 Hide labels containing an empty string.
767 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
769 * configure.ac: post release version bump
770 * debian/changelog: post release version bump
772 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
777 * configure.ac: Bump version.
778 * debian/changelog: Updates.
780 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
782 * hildon/hildon-note-private.h: Removed sound_signal_handler
783 * hildon/hildon-note.c
784 (on_show_cb): new callback on note "show" event, this simply adds
785 a idle, with the function sound_handling
786 (sound_handling): removed the sound_signal_handler management
787 (hildon_note_init): connect note "show" event to on_show_cb
788 (hildon_note_realize): remove the connection to "expose-event"
790 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
791 device?' confirmation note)
793 2009-05-08 Alberto Garcia <agarcia@igalia.com>
795 * hildon/hildon-note.c
796 (hildon_note_new_information_with_icon_name)
797 (hildon_note_new_confirmation_with_icon_name):
798 Terminate the list of parameters in g_object_set() calls
800 Fixes: NB#115166 (Formatting memory card is not taking place)
802 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
804 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
805 "dialog-information" role for the sound being played.
807 2009-05-06 Alberto Garcia <agarcia@igalia.com>
809 * hildon/hildon-app-menu.c (hildon_app_menu_init):
810 Don't make the menu a modal window, it causes strange interactions
811 with the pointer grab and it's not really needed.
813 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
815 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
817 * hildon/hildon-touch-selector.[ch]
818 (hildon_touch_selector_optimal_size_request): function added to get a
819 optimal size request from the touch selector, when you want a dialog to
820 show as much of the selector
821 * hildon/hildon-picker-dialog.c:
822 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
823 (hildon_app_menu_class_init):
824 New "max-height-landscape" and "max-height-portrait" style properties
825 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
826 (hildon_picker_dialog_get_max_height): returns the maximum height using
827 the style properties defined and checking the current portrait/landscape
829 (_hildon_picker_dialog_set_selector): removed the set_size_request
831 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
833 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
835 * hildon/hildon-bread-crumb-trail.c:
836 * hildon/hildon-bread-crumb.c:
837 * hildon/hildon-seekbar.c:
838 Add reference to replacements for these deprecated widgets.
840 Fixes: MB#4461 (Documentation: All deprecations should mention
843 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
845 * examples/hildon-remote-texture-example.c
847 Change the include to the hildon-remote-texture in order to compile
848 properly the examples on the installed libhildon1-examples package
850 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
852 * tests/Makefile.am: Add check for HildonPickerButton.
853 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
854 (START_TEST), (create_hildon_picker_button_suite): Add three simple
855 checks for the HildonPickerButton.
856 * tests/check_test.c (configure_tests): Add the test suite.
857 * tests/test_suites.h: likewise.
859 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
861 * hildon/hildon-touch-selector.c
862 (+on_row_changed): Emit HildonTouchSelector:changed when the
863 contents of a selected row change.
864 (_create_new_column), (_hildon_touch_selector_set_model): connect
865 to GtkTreeModel:row-changed on a newly set model.
867 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
869 2009-05-05 Alberto Garcia <agarcia@igalia.com>
871 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
873 * hildon/hildon-banner.c (hildon_banner_destroy)
874 (hildon_banner_show_progress, hildon_banner_set_fraction):
875 Remove the progress bar from HildonBanner and use a progress
878 Fixes: NB#113761 (Update progress banner to use progress
881 2009-05-04 Alberto Garcia <agarcia@igalia.com>
883 * hildon/hildon-banner.c:
884 Calculate size of the banner label using the actual screen width
885 rather than using a fixed value.
887 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
890 2009-05-04 Alejandro G. Castro <alex@igalia.com>
892 * hildon/hildon-pannable-area.c,
893 (hildon_pannable_area_class_init): Fixed signals documentation
896 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
898 * configure.ac: post release version bump
899 * debian/changelog: post release version bump
901 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
906 * configure.ac: Bump version.
907 * debian/changelog: Updates.
909 2009-05-01 Alberto Garcia <agarcia@igalia.com>
911 * hildon/hildon-edit-toolbar.c
912 (hildon_edit_toolbar_init):
913 Don't let buttons in HildonEditToolbar receive focus.
915 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
916 typing on an HW arrows key)
918 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
920 * doc/Makefile.am: Fix build.
922 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
924 * doc/Makefile.am: Do not redefine content_files.
926 2009-04-30 Alberto Garcia <agarcia@igalia.com>
934 Renamed src/ to hildon/
939 Include <hildon/hildon.h> directly in all examples.
941 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
943 * src/hildon-sort-dialog.c
944 (hildon_sort_dialog_add_sort_key_with_sorting)
948 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
950 * src/Makefile.am: Move generated sources to CLEANFILES, so that
951 make distcheck passes.
953 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
955 * Makefile.am: Enable gtk-doc during distcheck.
957 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
959 * Makefile.am: Do not distribute the debian/ directory.
961 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
963 * doc/Makefile.am: Add the extra SGML files to content_files,
964 so that they are distributed properly.
966 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
968 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
971 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
973 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
974 (hildon_note_new_information_with_icon_name): Set the "icon" property
975 to preserve soundness.
977 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
979 * src/hildon-font-selection-dialog.c
980 (hildon_font_selection_dialog_set_property): Fail when the "family"
981 property is set to NULL.
983 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
985 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
988 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
990 * src/hildon-time-selector.h:
991 Added HildonTimeSelectorFormatPolicy
992 * src/hildon-time-selector.c:
993 Added PROP_TIME_FORMAT_POLICY
994 (_check_ampm_format): renamed to check_automatic_ampm_format
995 (update_format_policy), (update_format_dependant_columns): new functions
996 (hildon_time_selector_class_init)
997 (hildon_time_selector_contructor)
998 (hildon_time_selector_init)
999 (hildon_time_selector_get_property)
1000 (hildon_time_selector_set_property)
1001 (hildon_time_selector_get_time)
1002 (hildon_time_selector_set_time)
1003 * src/hildon-touch-selector.h: new file
1004 * src/hildon-touch-selector.c
1005 (hildon_touch_selector_emit_changed)
1006 (hildon_touch_selector_block_changed)
1007 (hildon_touch_selector_unblock_changed)
1008 Added functions to allow to block the emission of the "changed" signal
1009 * src/hildon-picker-dialog.c
1010 (hildon_picker_dialog_show): call the parent show before the custom code
1011 * examples/hildon-time-button-example.c
1012 Modified, so now you can configure the time format using the new property
1014 Added a new property "time-format-policy" that allow to choose the time
1015 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1016 case it uses gconf in order to check if the time selector must use
1019 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1022 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1024 * src/hildon-note.c (hildon_note_init):
1025 Label in HildonNote must be left aligned, not centered. This
1026 reverts the last commit in HildonNote.
1028 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1029 is connectivity dialog)
1031 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1036 * doc/hildon-sections.txt:
1037 Added hildon_gtk_window_set_do_not_disturb()
1039 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1041 * src/hildon-note.c (hildon_note_init): Center label.
1043 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1046 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1051 * configure.ac: Bump version.
1052 * debian/changelog: Updates.
1054 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1056 * src/hildon-note-private.h: Add button-width to the private data.
1057 * src/hildon-note.c (+resize_button),
1058 (+hildon_note_orientation_update): methods to repack widgets on orientation
1060 (screen_size_changed): Call above method for confirmation notes.
1061 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1062 (hildon_note_rebuild): Store the original width request from buttons.
1064 Fixes: NB#109635 (Confirmation notes do not support portrait)
1066 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1068 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1069 when it is a progress note.
1071 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1073 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1074 in the note, since there are no horizontally arranged contents.
1076 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1078 * src/hildon-gtk.c (+set_flag): new generic method to
1079 set/delay a flag setting in a window.
1080 (hildon_gtk_window_set_progress_indicator):
1081 (hildon_gtk_window_set_do_not_disturb),
1082 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1083 avoid code redundance.
1085 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1087 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1089 * src/hildon-gtk.c (set_clear_window_flag),
1090 (do_set_progress_indicator), (do_set_do_not_disturb),
1091 (do_set_portrait_flags),
1092 (hildon_gtk_window_set_progress_indicator),
1093 (hildon_gtk_window_set_do_not_disturb),
1094 (hildon_gtk_window_set_portrait_flags):
1095 Allow setting dnd-flag, progress indicator, and portrait flags
1096 when the window is not realized.
1098 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1100 * src/hildon-pannable-area.c,
1101 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1102 the size request policy function and defines.
1104 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1106 * doc/hildon-sections.txt: Add the new API.
1107 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1108 method to set the portrait flags.
1109 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1111 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1113 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1115 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1116 to allow using this method with other flags.
1117 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1118 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1120 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1122 * src/hildon-touch-selector.c
1123 (hildon_touch_selector_append_text_column):
1124 Make the cell renderer use the smallest width possible.
1126 Fixes: NB#108470 (Selected items in multiple selection are either
1127 having a tick that is cut or not visible at all.)
1129 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1131 * src/hildon-touch-selector.c
1132 (hildon_touch_selector_append_text_column):
1135 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1137 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1138 Use g_strdup_printf() instead of a fixed size buffer.
1140 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1142 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1143 Close banners when a HildonAppMenu is popped up.
1145 Fixes: NB#111027 (Title menu closed immediately if activated when
1146 "Invalid e-mail address" banner is shown)
1148 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1153 * configure.ac: Bump version.
1154 * debian/changelog: Updates.
1156 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1158 * src/hildon-banner.c (hildon_banner_realize):
1159 Mark HildonBanner as supporting portrait mode.
1160 Use GDK to set window properties insetad of direct Xlib calls.
1162 Fixes: NB#111830 (HildonBanner should be marked as supporting
1165 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1167 * src/hildon-note.c (hildon_note_rebuild):
1168 Hide action area in information notes. Prevents text from being
1169 slightly aligned to the left.
1171 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1174 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1176 Patch by Mox Soini (ext-mox.soini@nokia.com)
1178 * src/hildon-banner.c (hildon_banner_create_animation):
1179 Use stylus-sized icons in animation banner.
1181 Fixes: NB#111206 (stylus sized icon for animation banner)
1183 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1187 (+hildon_gtk_window_set_do_not_disturb):
1188 New API to set the do-not-disturb flag.
1190 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1192 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1194 * examples/hildon-progress-indicator-example.c: Fix example
1196 * src/hildon-gtk.c (set_clear_window_flag)
1197 (hildon_gtk_window_set_progress_indicator):
1198 Create a generic function for setting flags to a window.
1199 Use GDK instead of direct Xlib calls.
1201 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1203 * src/hildon-button.c (hildon_button_set_arrangement):
1204 Due to NB#88126, if one of the labels is too long it will be
1205 painted outside the button. The 'value' label is more likely to be
1206 the longest one, so we change its packing options in order to
1207 truncate it if necessary. As a side effect, the 'title' label will
1208 no longer be truncated.
1210 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1212 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1217 * configure.ac: Bump version.
1218 * debian/changelog: Updates.
1220 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1222 Deprecation of the hildon_pannable_area_set_size_request_policy
1223 API, the only policy properly supported in gtk+ nowadays is the
1226 * src/hildon-pannable-area.c,
1227 (hildon_pannable_area_size_request): Added a workaround for the
1228 size_request to avoid the problems of huge pixmaps in case someone
1229 is still using the function.
1230 * src/hildon-pannable-area.h: Deprecated the enum with the
1233 Fixes: NB#110244 (Problems with the
1234 hildon_pannable_area_set_size_request_policy API)
1236 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1238 * src/hildon-pannable-area.c,
1239 (hildon_pannable_area_init),
1240 (hildon_pannable_area_size_request),
1241 (hildon_pannable_area_style_set),
1242 (hildon_pannable_draw_vscroll),
1243 (hildon_pannable_draw_hscroll),
1244 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1245 indicator_width to clarify the use of the attribute.
1247 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1252 * configure.ac: Bump version.
1253 * debian/changelog: Updates.
1255 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1257 * src/hildon-picker-dialog.c
1258 * src/hildon-touch-selector.c
1259 Reverting the change that tried to avoid the hardcoded height on
1260 the picker dialog, as causes problems on the hildon-touch-selector
1263 Fixes: NB#110029 (selectors not scrolling to selected value)
1265 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1267 * src/hildon-touch-selector.c: Fix typos
1269 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1271 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1272 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1273 request more motions after using it.
1275 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1277 * src/hildon-calendar.c (hildon_calendar_expose),
1278 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1279 Remove unused variables.
1281 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1283 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1284 variable assignment.
1286 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1288 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1289 Check the return value of gtk_tree_selection_get_selected()
1292 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1294 * src/hildon-animation-actor.c
1295 * src/hildon-button.c
1297 * src/hildon-pannable-area.c
1298 * src/hildon-picker-button.c
1299 * src/hildon-program.c
1300 * src/hildon-remote-texture.c
1301 * src/hildon-text-view.c
1302 * src/hildon-touch-selector.c
1303 * src/hildon-window-stack.c
1304 * src/hildon-window.c:
1305 Add missing 'Since: 2.2' tags.
1307 * doc/hildon-sections.txt:
1308 Add some missing symbols.
1310 * doc/hildon-docs.sgml:
1311 New 'Other' section for HildonAnimationActor and
1314 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1316 Patch by Iván Gómez (igomez@igalia.com)
1319 * doc/compiling.sgml
1320 * doc/hildon-docs.sgml
1321 * doc/hildon-sections.txt
1322 * doc/migration.sgml
1323 * doc/resources.sgml
1325 New chapters on using the Hildon library.
1326 Updated the general structure of the reference manual.
1327 Other minor documentation fixes.
1329 * src/hildon-calendar-popup.c
1330 * src/hildon-calendar.c
1331 * src/hildon-controlbar.c
1332 * src/hildon-date-editor.c
1333 * src/hildon-dialog.c
1334 * src/hildon-hvolumebar.c
1335 * src/hildon-number-editor.c
1336 * src/hildon-range-editor.c
1337 * src/hildon-sort-dialog.c
1338 * src/hildon-time-editor.c
1339 * src/hildon-time-picker.c
1340 * src/hildon-volumebar-range.c
1341 * src/hildon-volumebar.c
1342 * src/hildon-vvolumebar.c
1343 * src/hildon-weekday-picker.c:
1344 Add deprecation notes
1346 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1347 Document 'horizontal-movement' and 'vertical-movement' signals.
1349 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1354 * configure.ac: Bump version.
1355 * debian/changelog: Updates.
1357 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1359 * src/hildon-pannable-area.c,
1360 (hildon_pannable_area_class_init): increased the minimum velocity.
1361 (hildon_pannable_area_button_release_cb): Updated the
1362 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1363 setup. Review the code to control that last event.
1365 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1368 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1370 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1372 * src/hildon-get-password-dialog.c
1373 (hildon_get_password_set_property),
1374 (hildon_get_password_get_property), (create_contents):
1375 * src/hildon-login-dialog-private.h:
1376 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1377 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1378 (hildon_login_dialog_get_password):
1379 * src/hildon-set-password-dialog-private.h:
1380 * src/hildon-set-password-dialog.c
1381 (hildon_set_password_set_property),
1382 (hildon_set_password_get_property), (create_contents),
1383 (hildon_set_password_response_change),
1384 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1386 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1387 instead and look more Fremantle style.
1389 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1391 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1393 * doc/hildon-sections.txt
1394 * src/hildon-window-stack.h
1395 * src/hildon-window-stack.c
1396 (+hildon_window_stack_get_windows):
1397 New API to obtain the list of windows on a stack.
1399 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1401 * src/hildon-app-menu.c (hildon_app_menu_popup)
1402 (hildon_app_menu_class_init, -hildon_app_menu_show):
1403 Remove hildon_app_menu_show() and move all its checks to
1404 hildon_app_menu_popup()
1406 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1408 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1409 (_hildon_picker_dialog_set_selector): removed call to
1410 gtk_widget_set_size_request
1411 * src/hildon-touch-selector.c
1412 (_create_new_column): change the pannable size request policy
1414 Avoid to use a hardcoded height for the hildon picker dialog. In order
1415 to get that, we needed to change the hildon pannable size request
1417 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1419 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1421 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1422 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1425 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1427 * debian/control: Depend on osso-system-lock localization package.
1428 * src/hildon-code-dialog.c: Obtain the secu_application_title
1429 translation from osso-system-lock.
1430 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1431 for translation the atk related strings, that's not necessary.
1432 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1433 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1434 cancel button, it is not required.
1436 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1438 * src/hildon-pannable-area.c,
1439 (hildon_pannable_area_class_init): Modified the default value of
1440 the overshooting max speed, we have reduced it.
1442 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1444 * doc/hildon-sections.txt
1445 * src/hildon-window-private.h
1446 * src/hildon-window.h
1447 * src/hildon-window.c (hildon_window_class_init)
1448 (hildon_window_init, hildon_window_finalize)
1449 (hildon_window_realize, hildon_window_get_property)
1450 (hildon_window_set_property, hildon_window_update_markup)
1451 (hildon_window_get_markup, hildon_window_set_markup):
1452 New "markup" property and hildon_window_{get,set}_markup() methods.
1454 * examples/hildon-stackable-window-example.c (new_window):
1455 Update example to use hildon_window_set_markup()
1457 Fixes: NB#106375 (Need API to retitle a window with a title
1460 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1462 * src/hildon-pannable-area.c,
1463 (hildon_pannable_area_class_init): Changed the default value of
1464 the initial_hint to TRUE.
1465 (hildon_pannable_area_initial_effect): Changed the initial effect,
1466 not the effect is just the fade-out of the scrollbars.
1468 Fixes: NB#107775 (No scrollbars can be seen when several items are
1469 available in a dialog)
1471 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1473 * src/hildon-program.c (hildon_program_update_top_most):
1476 Fixes: NB#109179 (Memory leak in Hildon program)
1478 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1480 * src/hildon-banner.c (-get_current_app_window):
1481 Remove unused function.
1483 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1485 * src/hildon-pannable-area.c: Modified the documentation of the
1486 get adjustments functions to explain the problem of using the
1487 adjustment directly.
1488 (hildon_pannable_area_class_init): Improved the explanation about
1491 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1493 * src/hildon-app-menu-private.h
1494 * src/hildon-app-menu.c
1495 (hildon_app_menu_class_init):
1496 Bring back the 'external-border' style property
1497 (hildon_app_menu_class_init, hildon_app_menu_init)
1498 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1499 Set a fixed width-request for the menu, independent of the number
1502 Fixes: NB#94957 (Smoothly opened application menu)
1504 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1506 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1508 * src/hildon-banner.c
1509 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1511 Make sure that the banner is correctly placed the first time it's
1513 (hildon_banner_check_position, -check_fullscreen_state):
1514 Show the banner in the same place no matter if the window is in
1515 fullscreen mode or not.
1517 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1519 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1521 * src/hildon-touch-selector.c (_default_print_func): reorder
1522 concatenation for clarity.
1524 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1526 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1527 for multicolumn selectors.
1529 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1531 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1536 * configure.ac: Bump version.
1537 * debian/changelog: Updates.
1539 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1541 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1544 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1546 * configure.ac: removed libcangerra-gtk dependency
1547 * debian/control: removed libcanberra-gtk dependency
1548 * src/Makefile.am: removed libcanberra gtk related flags
1549 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1550 context, and manage a global canberra context instead
1552 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1554 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1556 Patch by Daniel Borgmann (danielb@openismus.com)
1558 * src/hildon-edit-toolbar.c:
1559 Adjust the left padding.
1560 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1561 Paint background of the edit toolbar.
1563 Fixes: NB#107897 (Patch to make editmodetoolbar background
1564 themeable and adjust margin)
1566 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1568 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1570 * src/hildon-program.c (hildon_program_update_top_most):
1571 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1573 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1574 change when the user tasks in/out of an application)
1576 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1578 * configure.ac: added libcangerra-gtk dependency
1579 * debian/control: added libcanberra-gtk dependency
1580 * src/Makefile.am: added libcanberra gtk related flags
1581 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1584 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1586 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1588 * src/hildon-program.c (hildon_program_remove_window)
1589 (hildon_program_add_window): Add checks for the window
1590 parameter. Don't decrease the window counter if the window is not
1593 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1595 * src/hildon-pannable-area.c,
1596 (hildon_pannable_area_realize): Fixed position of the event_window
1597 in the realize method.
1599 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1601 * src/hildon-app-menu-private.h
1602 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1603 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1604 (hildon_app_menu_key_press, hildon_app_menu_init)
1605 (hildon_app_menu_finalize):
1606 Make sure that all idle functions are removed when the widget is
1609 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1611 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1616 * configure.ac: Bump version.
1617 * debian/changelog: Updates.
1619 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1621 * src/hildon-entry.c
1622 (+hildon_entry_show_placeholder),
1623 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1624 that replace hildon_entry_update_contents().
1625 (hildon_entry_set_text),
1626 (hildon_entry_set_placeholder),
1627 (hildon_entry_focus_in_event),
1628 (hildon_entry_focus_out_event): Determine when it is needed
1629 either to show or hide the placeholder and call the above methods.
1631 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1632 when the placeholder text is already set)
1634 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1636 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1637 simple GdkPixbufAnim using the new icons for the banner.
1638 (hildon_banner_show_animation): Use the above mentioned method to
1639 create the animation widget.
1641 Fixes: NB#103564 (Make hildon animation banner use individual
1642 image files as the animation)
1644 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1646 * src/hildon-pannable-area.c,
1647 (hildon_pannable_leave_notify_event): Check if the child is NULL
1648 to avoid sending the leave.
1650 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1652 * src/hildon-pannable-area.c,
1653 (hildon_pannable_area_class_init),
1654 (hildon_pannable_leave_notify_event): Added a handler of the
1655 leave-notify-signal to consider when no motion notify before
1658 Fixes: NB#107494 (Items stay selected when clicking and moving
1659 away when inside pannable area)
1661 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1666 * configure.ac: Bump version.
1667 * debian/changelog: Updates.
1669 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1671 Patch by Alberto Garcia (agarcia@igalia.com)
1673 * src/hildon-date-button.c,
1674 (hildon_date_button_class_init),
1675 (hildon_date_button_init): Removed the construct property handling
1676 and created a default selector in the init method.
1677 * src/hildon-picker-button.c,
1678 (hildon_picker_button_class_init): Removed the construct flag of the
1681 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1683 * src/hildon-main.c (hildon_init):
1684 Don't allow hildon_init() to be called more than once.
1686 Fixes: NB#106607 (hildon_init should issue error message upon
1689 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1691 * examples/hildon-pannable-area-touch-list-example.c
1692 * examples/hildon-pannagle-area-touch-grid-example.c
1693 * examples/hildon-edit-toolbar-example.c
1694 * examples/hildon-touch-selector-multi-cells-example.c
1695 Removed the call to gtk_rc_parse_string, as it is not required since
1698 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1700 * src/hildon-pannable-area.c,
1701 (hildon_pannable_area_class_init): Modified the default panning
1702 threshold of the widget to 6px.
1704 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1705 than the threshold value ) within the button is not sending the
1708 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1710 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1711 for the treeview in the new column. This way, the touch list will never
1714 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1715 be selected manually for the HW keys to work)
1717 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1719 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1720 comparison instead of using strcmp(). Fixes a compiler warning as well.
1722 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1724 * doc/hildon-docs.sgml: Do not set the library version in the
1725 document title, use the releaseinfo tag for that purpose instead.
1727 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1729 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1730 Do not jump to the first item if the text in the entry is removed.
1732 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1737 * configure.ac: Bump version.
1738 * debian/changelog: Updates.
1740 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1742 * src/hildon-entry.c (hildon_entry_refresh_contents):
1743 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1744 Use "ReversedSecondaryTextColor" for the placeholder text.
1746 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1748 * src/hildon-text-view.c: Fix compilation warning.
1750 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1752 * src/hildon-button.c (hildon_button_class_init): Don't make
1753 "title" and "value" construction properties, to prevent them from
1754 overwriting labels set from derived classes.
1756 * src/hildon-picker-button.c
1757 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1758 (hildon_picker_button_class_init): Make touch-selector a
1759 construction property.
1761 * src/hildon-date-button.c (hildon_date_button_class_init)
1762 (+hildon_date_button_constructed): Add a default date selector if
1765 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1767 * src/hildon-touch-selector.c: Small documentation fixes.
1769 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1771 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1773 * src/hildon-entry.c (hildon_entry_refresh_contents),
1774 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1775 widget name, set the logical color directly instead and a boolean
1776 showing_placeholder instead.
1777 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1778 use the widget name here either.
1780 Fixes: NB#105678 (HildonTextView should use logical colours
1781 instead of setting widget name)
1783 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1785 Patch by Daniel Elster (danielk@openismus.com)
1787 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1788 Add user_data parameter.
1789 (hildon_touch_selector_set_print_func_full): New function akin
1790 hildon_touch_selector_set_print_func() but with support for user
1791 data and a destroy callback.
1792 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1793 to clean up the print function user data.
1794 (hildon_touch_selector_class_init): Install dispose function.
1795 (HildonTouchSelectorPrivate::print_user_data),
1796 (HildonTouchSelectorPrivate::print_destroy_func): New private
1798 (hildon_touch_selector_init): Initialize new private members.
1799 (hildon_touch_selector_get_current_text): Pass along user data
1800 to the print function.
1801 (_default_print_func): Add dummy user_data to parameter list.
1802 * hildon-date-selector.c (_custom_print_func): ditto,
1803 * hildon-time-selector.c (_custom_print_func): ditto,
1804 * hildon-touch-selector-entry.c
1805 (hildon_touch_selector_entry_print_func): ditto.
1807 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1809 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1811 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1813 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1815 * src/hildon-pannable-area.c,
1816 (hildon_pannable_area_init),
1817 (hildon_pannable_area_button_press_cb),
1818 (hildon_pannable_area_motion_notify_cb): We have added code to
1819 handle the leave and enter events when using the motion events.
1821 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1823 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1825 * src/hildon-date-button.c (hildon_date_button_get_date)
1826 (hildon_date_button_set_date): Make sure that the button has a
1829 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1831 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1833 * src/hildon-pannable-area.c,
1834 (hildon_pannable_area_class_init),
1835 (hildon_pannable_area_calculate_velocity): Modify the use of the
1836 force and adapt the value.
1838 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1840 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1841 (hildon_app_menu_class_init): Hide the menu if it receives a
1842 delete-event, but don't destroy it
1844 Fixes: NB#104485 (Not able to address the call when application
1845 menu is opened at background)
1847 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1849 * src/hildon-app-menu.c
1850 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1851 Remove the "external-border" style property, let the menu take its
1852 natural size (or the one set by the window manager)
1853 (hildon_app_menu_repack_items):
1854 Don't reshow the menu, avoid flickers.
1856 Partially fixes NB#94957 (Smoothly opened application menu)
1858 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1863 * configure.ac: Bump version.
1864 * debian/changelog: Updates.
1866 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1868 * src/hildon-pannable-area.c,
1869 (hildon_pannable_area_motion_notify_cb): We control that the
1870 direction error margin is used just in case the movement is
1871 allowed in the other direction.
1873 Fixes: NB#105012 (buttons inside a pannable area not getting
1874 release event when dragging/releasing)
1876 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1878 * src/hildon-pannable-area.c,
1879 (hildon_pannable_area_class_init),
1880 (hildon_pannable_area_get_property),
1881 (hildon_pannable_area_set_property),
1882 (hildon_pannable_area_initial_effect),
1883 (hildon_pannable_axis_scroll),
1884 (hildon_pannable_area_button_release_cb): Reviewed the
1885 overshooting effect, now it has its own max
1886 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1887 speed when bouncing.
1889 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1894 * configure.ac: Bump version.
1895 * debian/changelog: Updates.
1897 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1899 * src/hildon-pannable-area.c,
1900 (hildon_pannable_area_class_init): Changed the max speed, now
1901 users can launch the widget very fast. Reduced the default force,
1902 that way it is easier to control the launch speed.
1904 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1906 * src/hildon-pannable-area.c,
1907 (hildon_pannable_area_button_release_cb): Removed this check
1908 because it causes problems when the device is overloaded.
1910 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1912 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1913 add a current_text field to store the text entered in the
1914 touch selector entry.
1915 (_clean_current_selection): clean up the current text as well.
1916 (_save_current_selection), (_restore_current_selection):
1917 Save/restore the text in the entry if the selector is a
1918 HildonTouchSelectorEntry.
1920 Fixes: NB#102541 (value entered in the touch selector entry is not
1921 shown when opened for second time)
1923 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1925 * doc/hildon-sections.txt:
1926 * src/hildon-touch-selector-entry.c
1927 (+hildon_touch_selector_entry_get_entry):
1928 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1930 Fixes: NB#104815 (I need accessor to the entry inside
1931 HildonTouchSelectorEntry)
1933 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1935 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1936 (hildon_app_menu_class_init):
1937 New "filter-vertical-spacing" style property.
1939 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1941 * src/hildon-find-toolbar.c
1942 (hildon_find_toolbar_emit_close)
1943 (hildon_find_toolbar_emit_invalid_input)
1944 (hildon_find_toolbar_entry_activate):
1945 Use g_signal_emit() instead of g_signal_emit_by_name()
1947 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1949 Patch by Mox Soini (ext-mox.soini@nokia.com)
1951 * tests/TEST-CASES.txt
1952 * tests/check-hildon-banner.c
1953 * tests/check-hildon-note.c
1954 * src/hildon-banner.c
1955 * src/hildon-code-dialog.c
1956 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1957 * src/hildon-time-editor.c
1958 * examples/hildon-lookup-example.c (main):
1959 Replace obsolete icon names with new ones.
1961 * src/hildon-find-toolbar-private.h:
1962 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1963 (-hildon_find_toolbar_emit_search):
1964 Remove find button and change icon of close button.
1966 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1968 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1970 * src/hildon-time-button.c (hildon_time_button_new_step):
1971 Use the "touch-selector" property to set the selector directly
1972 when creating the object.
1974 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1976 Added a new example application that allows tuning the pannable
1977 area and replaced defines with properties in order to simplify the
1978 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1979 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1980 PROP_DIRECTION_ERROR_MARGIN.
1982 * examples/hildon-pannable-area-tuning-example.c: New example
1984 * src/hildon-pannable-area.c,
1985 (hildon_pannable_area_class_init),
1986 (hildon_pannable_area_init),
1987 (hildon_pannable_area_get_property),
1988 (hildon_pannable_area_set_property),
1989 (hildon_pannable_area_launch_fade_timeout),
1990 (hildon_pannable_area_adjust_value_changed),
1991 (hildon_pannable_axis_scroll),
1992 (hildon_pannable_area_motion_notify_cb),
1993 (hildon_pannable_area_scroll_cb),
1994 (hildon_pannable_area_button_release_cb): We have converted some
1995 of the defines that control the widget to properties to simplify
1998 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2000 * src/hildon-app-menu.c (hildon_app_menu_map)
2001 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2002 so it's closed if a new window appears.
2004 Fixes: NB#104485 (Not able to address the call when application
2005 menu is opened at background)
2007 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2009 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2010 missing 'break' statement in in 'case' construct to avoid
2013 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2015 * src/hildon-touch-selector-entry.c
2016 (hildon_touch_selector_entry_get_property),
2017 (hildon_touch_selector_entry_set_property): Add missing 'break'
2018 statements in in 'case' constructs to avoid incorrect warnings.
2020 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2022 * src/hildon-time-editor.c
2023 (hildon_time_editor_get_time_separators): Do not crash if
2024 the first label is NULL.
2026 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2028 * src/hildon-date-selector.c (_month_days): Check for month to be
2029 strictly less than 12, since otherwise we may overrun the array.
2031 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2033 * src/hildon-date-button.c (+hildon_date_button_new_full)
2034 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2035 (hildon_date_button_init): Set the date selector using a
2036 construction property, to make it happen after HildonButton's
2037 "value" property is set.
2039 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2040 current date by default)
2042 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2044 * doc/hildon-sections.txt
2045 * src/hildon-program.c
2046 * src/hildon-stackable-window.c
2047 * src/hildon-window.c:
2048 Documentation updates
2050 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2052 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2053 (hildon_window_stack_new, +hildon_window_stack_set_property)
2054 (+hildon_window_stack_get_property)
2055 (hildon_window_stack_class_init)
2056 (+hildon_window_stack_set_window_group)
2057 (+hildon_window_stack_get_window_group):
2058 Make the window group a construction property.
2060 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2062 * doc/hildon-sections.txt
2063 * src/hildon-stackable-window-private.h
2064 * src/hildon-stackable-window.h
2065 * src/hildon-stackable-window.c
2066 (-hildon_stackable_window_set_app_menu)
2067 (-hildon_stackable_window_get_app_menu)
2068 (-hildon_stackable_window_toggle_menu)
2069 (-hildon_stackable_window_finalize)
2070 (hildon_stackable_window_class_init)
2071 (hildon_stackable_window_init)
2072 * src/hildon-window-private.h
2073 * src/hildon-window.h
2074 * src/hildon-window.c (hildon_window_init)
2075 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2076 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2077 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2078 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2079 Moved all HildonAppMenu code to HildonWindow. The menu does not
2080 require a HildonStackableWindow anymore.
2082 * src/hildon-app-menu.c
2083 * src/hildon-program.c
2084 * examples/hildon-app-menu-example.c (main):
2085 Update examples and documentation to reflect HildonAppMenu
2088 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2090 * src/hildon-remote-texture.c
2091 * src/hildon-animation-actor.c:
2092 Don't include unused private headers.
2094 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2096 * src/hildon-program-private.h
2097 * src/hildon-program.c
2098 (hildon_program_set_common_menu)
2099 (hildon_program_get_common_menu)
2100 (hildon_program_set_common_app_menu)
2101 (hildon_program_get_common_app_menu):
2102 Change common menu pointers from GtkWidget* to GtkMenu* and
2103 HildonAppMenu* to avoid unnecessary casts.
2105 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2107 * src/hildon-window.c (hildon_window_set_main_menu):
2108 Removed incorrect 'Since:' tag
2110 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2112 * src/hildon-pannable-area.c,
2113 (hildon_pannable_area_calculate_velocity): We use now the
2114 RATIO_TOLERANCE here to check the distance, fixed typo in the
2116 (hildon_pannable_area_motion_notify_cb): We have to set the type
2117 and time even if we are not sending the motion.
2119 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2121 * doc/hildon-sections.txt
2122 * src/hildon-app-menu.h
2123 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2124 (+hildon_app_menu_get_filters): New methods to get the contents of
2127 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2130 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2132 * src/hildon-app-menu.c (hildon_app_menu_popup):
2135 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2137 * src/hildon-window.h
2138 * src/hildon-window.c (+hildon_window_get_main_menu)
2139 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2140 and deprecated hildon_window_get_menu().
2142 * src/hildon-stackable-window.h
2143 * src/hildon-stackable-window.c
2144 (+hildon_stackable_window_set_app_menu)
2145 (+hildon_stackable_window_get_app_menu)
2146 (hildon_stackable_window_set_main_menu): Created
2147 hildon_stackable_window_{get,set}_app_menu() and deprecated
2148 hildon_stackable_window_set_main_menu().
2150 * doc/hildon-sections.txt
2151 * examples/hildon-app-menu-example.c (main)
2152 * src/hildon-app-menu.c
2153 * src/hildon-program.c:
2154 Updated examples and documentation.
2156 Fixes: NB#103758 (No way to obtain a menu from a
2157 HildonStackableWindow)
2159 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2164 * configure.ac: Bump version.
2165 * debian/changelog: Updates.
2167 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2169 * examples/hildon-remote-texture-example.c: Include
2170 hildon-remote-texture.h explicitely.
2171 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2172 applications not defining _XOPEN_SOURCE which don't require this header.
2174 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2176 * doc/hildon-sections.txt
2177 * src/hildon-app-menu.h
2178 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2179 New function to pop up a HildonAppMenu
2181 * src/hildon-stackable-window.c
2182 (hildon_stackable_window_toggle_menu):
2183 Use hildon_app_menu_popup() to show the menu.
2185 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2187 * src/hildon-app-menu.c (hildon_app_menu_show)
2188 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2189 menu if there's another window between it and its parent window.
2191 Fixes: NB#100468 (Application menu window is launched even when a
2192 new secondary-window/dialog is pending to be shown/realized)
2194 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2196 * src/hildon-window-stack.c (hildon_window_stack_push)
2197 (hildon_window_stack_pop_and_push):
2198 Don't forget to push/pop the first window.
2199 Reverse the window list before calling _push_list()
2201 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2203 * src/hildon-picker-button.h
2204 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2205 Remove "value_changed" slot to avoid ABI breakage
2207 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2209 * src/hildon-pannable-area.c,
2210 (hildon_pannable_area_realize),
2211 (hildon_pannable_area_unrealize),
2212 (hildon_pannable_draw_vscroll),
2213 (hildon_pannable_draw_hscroll): Changed the method to handle the
2214 GC used to draw the transparent scrollbar, this way we avoid
2215 creating the GC all the time when drawing the scrollbars.
2217 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2219 * src/hildon-pannable-area.c,
2220 (hildon_pannable_area_init),
2221 (hildon_pannable_area_remove): Removed some unnecessary casts.
2222 (hildon_pannable_area_dispose): Disconnected some signals before
2223 releasing the adjustments.
2225 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2227 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2228 Make sure that all widgets contained in the toolbar are shown.
2230 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2232 * doc/hildon-sections.txt
2233 * src/hildon-picker-button.h
2234 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2235 (_selection_changed, hildon_picker_button_on_dialog_response)
2236 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2237 New hildon_picker_button_value_changed() method.
2240 * src/hildon-picker-button-private.h
2241 * src/hildon-picker-button.c (hildon_picker_button_init)
2242 (+hildon_picker_button_disable_value_changed): Add protected
2243 function for disabling the "value-changed" signal.
2245 * src/hildon-date-button.c (hildon_date_button_set_date):
2246 Don't emit "value-changed" for each one of the three columns.
2248 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2249 before actual change of values)
2251 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2253 * src/hildon-pannable-area.c,
2254 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2255 for the treeview overshooting.
2257 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2259 * src/hildon-banner.c (+hildon_banner_bind_style):
2260 Renamed from hildon_banner_bind_label_style(), now naming the
2261 banner itself as well.
2262 (hildon_banner_show_information),
2263 (hildon_banner_show_information_with_markup),
2264 (hildon_banner_show_animation), (hildon_banner_show_progress):
2265 Name the widgets and labels, based on their type.
2267 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2270 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2272 * src/hildon-note.c (hildon_note_set_property): call
2273 hildon_note_rename() on HildonNote:note-type set.
2274 (hildon_note_rename): Name the note and its label, based on the
2275 HildonNote:note-type property.
2277 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2280 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2282 * src/hildon-pannable-area.c,
2283 (hildon_pannable_area_class_init),
2284 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2285 panning parameters, increased SPS and deceleration factor. Added
2286 also a margin to control fake directions.
2288 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2290 Patch by Sven Herzberg (sven@imendio.com)
2292 * configure.ac: Add missing AM_PROG_CC_C_0
2293 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2295 See NB#101420 (Update unit tests and fix make check)
2297 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2299 This patch was applied before but reverted because it caused
2300 problems, we have changed the main condition and tested the
2301 regressions we detected before and they work ok. We have done a
2302 complete review of the topmost algorithm in order to get a more
2305 * src/hildon-pannable-area.c,
2306 (hildon_pannable_area_get_topmost): Added a new parameter to
2307 filter the the windows that do not include those events.
2308 (hildon_pannable_area_button_press_cb),
2309 (hildon_pannable_area_button_release_cb),
2310 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2311 topmost function, we have added the new parameter.
2313 Fixes: NB#97458 (Pannable area prevents propagation of button
2316 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2318 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2319 if all columns in the selector have an item selected.
2320 (_on_dialog_response): Stop "response" signal emission if there is
2321 any selector column without selected items.
2323 Fixes: NB#101889 (Picker dialog should not close when nothing is
2324 selected in multiple selection list)
2326 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2328 * src/hildon-font-selection-dialog.c
2329 (hildon_font_selection_dialog_class_init),
2330 (hildon_font_selection_dialog_init): Remove the preview
2331 button and dialog, since previewing with default theming is likely
2332 to be overcomplicated. The :preview property has now no effect.
2333 Update documentation blurbs to inform about this.
2335 Fixes: NB#92297 (Preview content is not clearly visible for
2336 default colour text)
2338 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2340 Reviewed the geometry that handles the children size and
2341 scrollbar, now it tries a size and reviews the results depending
2342 on the scrollbars visibility.
2344 * src/hildon-pannable-area.c,
2345 (hildon_pannable_area_realize): Fixed a typo.
2346 (hildon_pannable_area_child_allocate_calculate): Added this
2347 function to calculate the child allocation.
2348 (hildon_pannable_area_size_allocate): Reviewed the allocation
2350 (hildon_pannable_area_check_scrollbars),
2351 (hildon_pannable_area_refresh): Refactored refresh function, this
2352 way we can call the code handling the scrollbars without causing a
2353 size_request, it is interesting in the allocate.
2354 (hildon_pannable_area_init): Replace the callbacks of the
2355 value_changed and changed signals to propertly deal with the
2357 (hildon_pannable_area_grab_notify),
2358 (hildon_pannable_area_initial_effect),
2359 (hildon_pannable_area_launch_fade_timeout),
2360 (hildon_pannable_area_adjust_changed),
2361 (hildon_pannable_area_adjust_value_changed),
2362 (hildon_pannable_area_redraw),
2363 (hildon_pannable_area_button_press_cb),
2364 (hildon_pannable_area_button_release_cb),
2365 (hildon_pannable_area_scroll_cb),
2366 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2367 code and use the new functions adjust_changed and
2368 adjust_value_changed.
2370 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2371 Contact editor dialog)
2373 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2378 * configure.ac: Bump version.
2379 * debian/changelog: Updates.
2381 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2383 * src/hildon-pannable-area.c,
2384 (hildon_pannable_area_get_topmost),
2385 (hildon_pannable_area_button_press_cb),
2386 (hildon_pannable_area_button_release_cb),
2387 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2388 topmost function adding the event mask. We have to try a
2389 differente approach because it is still causing problems (NB#9745,
2392 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2394 * src/hildon-banner.c:
2395 Update the maximum width of timed banners.
2396 (force_to_wrap_truncated): Enforce the maximum text width if the
2399 Fixes: NB#102413 (The text margins (wrapping) in information
2400 banner should be HILDON_MARGIN_TRIPLE)
2402 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2404 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2406 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2407 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2408 bound when calculating the scroll indicator position.
2410 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2411 treat ->lower correctly)
2413 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2415 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2416 expose event handling, since it is not necessary to draw the focus
2419 Fixes: NB#102467 (Do not show highlight on the text in
2422 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2424 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2425 full height of the toolbar for the button and the label.
2427 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2429 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2430 padding before the label and after the button.
2432 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2434 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2436 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2437 Add a GtkVSeparator between the button and the back arrow.
2438 Let the button have automatic size.
2439 Set a name to the widget for theming handling.
2441 Fixes: NB#101793 (Make edit toolbar the same height as window
2442 title bar (use title area theming))
2444 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2446 * src/hildon-helper.c (attach_new_color_element): Fix memory
2449 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2451 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2453 * examples/hildon-button-example.c (common_buttons_window): Don't
2456 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2458 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2459 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2461 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2463 * src/hildon-gtk.c: Check that the window is realized.
2465 Fixes: NB#102225 (Crash setting the progress indicator to a non
2468 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2470 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2471 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2472 instead of modifying the one in the widget style.
2474 Fixes: NB#101043 (Second row of all the command button are
2475 displayed in transparent mode.)
2477 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2479 * src/hildon-date-button.c
2480 * src/hildon-time-button.c: Add gettext macros
2482 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2484 * src/hildon-date-button.c (hildon_date_button_new):
2485 * src/hildon-time-button.c (hildon_time_button_new_step):
2486 Use new logical strings to set the button default title.
2488 Fixes: NB#99915 (Date and Time options are not localised in Date
2491 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2493 * src/hildon-pannable-area.c
2494 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2495 the PANNING_THRESHOLD.
2497 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2499 * src/hildon-pannable-area.c,
2500 (hildon_pannable_area_class_init): Increased the maximum speed.
2501 (hildon_pannable_area_get_property),
2502 (hildon_pannable_area_set_property),
2503 (hildon_pannable_area_timeout): Added a new low friction mode, it
2504 allows the user avoid friction when launching the widget fast
2505 enough. It is interesting to traverse long lists.
2507 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2509 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2510 (+hildon_stackable_window_delete_event): Ignore delete events if
2511 the window is not the topmost one.
2513 Fixes: NB#101698 (Back button long press and delete-event handling)
2515 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2517 * src/hildon-pannable-area.c,
2518 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2519 gtk-dnd-drag-threshold, it was too big. We have defined our own
2520 dnd define and set a smaller value: PANNIG_THRESHOLD.
2522 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2524 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2525 user-defined icons, use always the default one.
2527 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2529 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2531 This patch was applied before but reverted because it caused
2532 problems, we have changed the main condition and tested the
2533 regressions we detected before and they work ok.
2535 * src/hildon-pannable-area.c,
2536 (hildon_pannable_area_get_topmost): Added a new parameter to
2537 filter the the windows that do not include those events. Added
2538 also a condition when finding the window to filter windows that do
2539 not ask for those events.
2540 (hildon_pannable_area_button_press_cb),
2541 (hildon_pannable_area_button_release_cb),
2542 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2543 topmost function, we have added the new parameter.
2545 Fixes: NB#97458 (Pannable area prevents propagation of button
2548 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2550 * tests/check-hildon-color-button.c (START_TEST): do not leak
2553 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2555 * src/hildon-font-selection-dialog.c
2556 (hildon_font_selection_dialog_get_preview_text): Return NULL
2557 instead of FALSE on the g_return_val_if_fail().
2559 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2561 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2562 * src/hildon-date-selector.c
2563 (hildon_date_selector_select_current_date):
2564 Do not compare unsigned integers to be greater than or equal 0,
2565 because it's always TRUE.
2567 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2569 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2570 (hildon_date_selector_constructor): Do not select the current
2571 date until we are handle the "changed" signal, to avoid having bogus
2572 elements in the days model.
2574 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2576 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2577 for num_days, since _month_days() can return a negative value.
2579 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2581 * src/hildon-caption.c (hildon_caption_size_allocate):
2582 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2583 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2585 Initialize allocation variables to 0, to avoid eventually using
2586 unitialized variables.
2588 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2590 * src/hildon-bread-crumb-trail.c
2591 (hildon_bread_crumb_trail_size_allocate):
2592 * src/hildon-calendar.c (hildon_calendar_set_background):
2593 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2594 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2595 * src/hildon-seekbar.c (hildon_seekbar_init):
2596 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2597 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2598 * src/hildon-touch-selector-entry.c
2599 (hildon_touch_selector_get_text_from_model):
2600 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2601 * src/hildon-window.c (hildon_window_finalize):
2603 Remove many unused variables.
2605 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2607 * src/hildon-seekbar.c: (hildon_seekbar_init),
2608 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2610 Remove unnecessary g_assert() calls.
2612 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2614 * src/hildon-caption.c: (hildon_caption_expose),
2615 (hildon_caption_set_property), (hildon_caption_init),
2616 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2617 (hildon_caption_size_request), (hildon_caption_size_allocate),
2618 (hildon_caption_forall), (hildon_caption_set_separator),
2619 (hildon_caption_activate), (hildon_caption_set_child_expand),
2620 (hildon_caption_set_label_text),
2621 (hildon_caption_get_label_alignment):
2623 Remove unnecessary g_assert() calls.
2625 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2627 * src/hildon-banner.c
2628 (hildon_banner_map, hildon_banner_init): Make banner temporary
2629 before mapping it to avoid closing other temporary windows, but
2630 make it non-temporary afterwards to avoid being closed by other
2631 non-temporary windows.
2632 (-hildon_banner_client_event, hildon_banner_init):
2633 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2635 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2638 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2640 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2643 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2645 * src/hildon-remote-texture.c
2646 * src/hildon-remote-texture.h
2647 * src/hildon-remote-texture-private.h
2648 * examples/hildon-remote-texture-example.c:
2649 Updates/fixes to remote-texture and its example.
2651 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2653 Patch by Mox Soini (ext-mox.soini@nokia.com)
2655 * src/hildon-code-dialog.c: Update logical id.
2656 * src/hildon-set-password-dialog.c: Update logical id.
2658 Fixes: NB#100646 (Logical strings is shown for ok in set
2659 password,Password needed dialogs)
2661 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2664 * src/hildon-remote-texture.c
2665 * src/hildon-remote-texture.h
2666 * src/hildon-remote-texture-private.h
2668 Added remote texture widget (for Clutter shared memory textures)
2670 * examples/hildon-remote-texture-example.c
2671 * examples/Makefile.am
2672 Added example file for remote texture usage
2674 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2676 * configure.ac: post release version bump.
2677 * debian/changelog: version bump.
2679 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2684 * configure.ac: Bump version.
2685 * debian/changelog: Updates.
2687 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2689 * src/hildon-date-selector.c (hildon_date_selector_init)
2690 (hildon_date_selector_constructor): Don't connect to the "changed"
2691 signal until the selector is completely constructed.
2693 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2695 * src/hildon-touch-selector.c: (_create_new_column),
2696 (hildon_touch_selector_append_column),
2697 (hildon_touch_selector_set_column_selection_mode),
2698 (hildon_touch_selector_set_active),
2699 (hildon_touch_selector_select_iter):
2700 Emit the HildonTouchSelector::changed signal every time selection
2701 is changed in any of the methods above. This behavior was already
2702 documented but not fully functional.
2704 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2705 selection is programmatically changed)
2707 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2709 * doc/hildon-sections.txt: Remove obsolete icon
2710 sizes from here as well.
2712 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2714 * examples/hildon-stackable-window-example.c (add_window): Remove
2717 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2719 * src/hildon-app-menu.c
2720 (hildon_app_menu_show): Check whether the parent window of a menu
2721 is topmost before popping it up.
2723 Fixes: NB#100468 (Application menu window is launched even when a
2724 new secondary-window/dialog is pending to be shown/realized.)
2726 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2728 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2731 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2733 Patch by Mox Soini (ext-mox.soini@nokia.com)
2735 * src/hildon-banner.c: (hildon_banner_show_animation):
2736 use stylus size instead of obsolete note size.
2737 * src/hildon-defines.h: Update icon sizes.
2739 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2741 * src/hildon-touch-selector-entry.c:
2742 (hildon_touch_selector_entry_init): Disable unsupported
2744 (hildon_touch_selector_entry_get_text_column): Emit a warning
2745 if an unsupported input modes is used and explicitile state
2746 these modes in the documentation.
2748 Fixes: NB#99802 (Hildon touch selector entry not working properly
2749 for some of the input modes)
2751 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2753 * src/hildon-pannable-area.c,
2754 (hildon_pannable_area_init): Added the changed signal handlers of
2757 Fixes: NB#100320 (HildonPannableArea does not listen to
2758 GtkAdjustment "change" signals)
2760 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2762 * doc/hildon-sections.txt
2763 * src/hildon-window-private.h
2764 * src/hildon-window.h
2765 * src/hildon-window.c (hildon_window_init)
2766 (hildon_window_realize, hildon_window_unrealize)
2767 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2768 (hildon_window_size_request, hildon_window_size_allocate)
2769 (hildon_window_forall, hildon_window_show_all)
2770 (hildon_window_destroy, +paint_edit_toolbar)
2771 (+hildon_window_set_edit_toolbar):
2772 New hildon_window_set_edit_toolbar() method, to add a
2773 HildonEditToolbar to a window without having to pack it manually.
2775 Reorganize hildon_window_size_allocate()
2777 * src/hildon-edit-toolbar.c: Update documentation.
2779 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2780 example to use the new API.
2782 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2784 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2786 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2787 Remove from stack before calling parent's hide.
2789 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2791 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2792 window is removed from the middle of the stack, update the
2793 transiency of the previous one.
2795 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2798 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2800 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2801 block/unblock the signal handler if it's not actually being used.
2802 Fixes some critical warnings.
2804 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2806 Based on a patch by Iván Gómez (igomez@igalia.com)
2808 * src/hildon-banner.c
2812 * src/hildon-pannable-area.c
2813 * src/hildon-picker-dialog.c
2814 * src/hildon-wizard-dialog.h
2815 * src/hildon-wizard-dialog.c: Documentation updates.
2817 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2818 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2820 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2822 * configure.ac: post release version bump.
2823 * debian/changelog: version bump.
2825 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2830 * configure.ac: Bump version.
2831 * debian/changelog: Updates.
2833 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2835 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2836 a stock icon nor change the relief of the back arrow.
2838 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2839 graphics from theme)
2841 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2843 * src/hildon-button.c (hildon_button_set_alignment): Use
2844 priv->alignment if the button has no child yet.
2846 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2848 * src/hildon-button.c: (hildon_button_init): Set the
2849 button style during initialization to give it the proper
2852 Fixes: NB#99713 (HildonButton value label color is wrong)
2854 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2856 * src/hildon-touch-selector.c: Document
2857 hildon_touch_selector_center_on_selected()
2859 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2861 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2862 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2863 all menu items, but not the menu itself.
2864 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2865 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2866 items after adding them to the menu so keyboard accelerators work.
2867 (hildon_app_menu_show): Don't show the menu if it contains items
2868 but none of them are visible.
2870 * examples/hildon-app-menu-example.c (create_menu): Use
2871 gtk_widget_show_all() to show all menu items.
2873 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2875 * src/hildon-picker-dialog.c:
2876 (-_update_title_on_selector_changed_cb),
2877 (-_dialog_update_title): Removed.
2878 (_select_on_selector_changed_cb), (_on_dialog_response),
2879 (on_selector_columns_changed): Do not update the dialog title.
2880 (setup_interaction_mode): Do not connect to
2881 HildonTouchSelector::changed signal if there's a "done" button, as
2882 the dialog title doesn't need to be updated.
2884 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2887 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2889 Patch by Kristian Rietveld (kris@imendio.com)
2891 * src/hildon-touch-selector.c: (_create_new_column): Use new
2892 GtkTreeView::hildon-row-tapped signal to react to user interactions
2893 instead of ::changed.
2895 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2896 with some dynamic tree model)
2898 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2900 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2901 (+screen_size_changed, +label_size_request)
2902 (hildon_note_class_init): Make the Hildon information note have a
2903 minimum height, and make its text hvae a maximum width.
2905 Fixes: NB#98614 (Hildon information note (background) should have
2906 minimum height and maximum text width)
2908 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2910 * src/hildon-banner.h
2911 * src/hildon-banner.c (hildon_banner_show_information)
2912 (hildon_banner_show_informationf)
2913 (hildon_banner_show_information_with_markup): Update documentation
2914 to reflect that the icon_name parameter is not used anymore.
2915 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2916 Remove all code from these functions and mark them as deprecated.
2917 (hildon_banner_show_progress): Mark as deprecated.
2919 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2921 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2923 * src/hildon-pannable-area.c,
2924 (hildon_pannable_area_class_init),
2925 (tranparency_color),
2926 (hildon_pannable_draw_vscroll),
2927 (hildon_pannable_draw_hscroll),
2928 (hildon_pannable_area_expose_event): Added a new way to render the
2929 scrollbars of the pannable area avoiding using cairo at all. This
2930 way we improve the performance of the pannable area rendering. The
2931 cairo rendering procedure is still in the code, we can control
2932 which one to use changing the value of the define
2933 USE_CAIRO_SCROLLBARS.
2935 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2937 * configure.ac: post release version bump.
2938 * debian/changelog: version bump.
2940 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2945 * configure.ac: Bump version.
2946 * debian/changelog: Updates.
2948 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2950 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2951 banners instead of destroying them when they receive a button
2954 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2956 Reverted commit 34028, it was causing regressions, probably the
2957 topmost condition is not correct, we have to check it in more
2958 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2959 propagation of button press events)
2961 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2963 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2964 that the selection is not empty before attempting to retrieve the
2965 current ampm selection.
2967 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2969 * src/hildon-picker-button.c:
2970 (hildon_picker_button_on_dialog_response): Directly update the
2971 button contents when required instead of calling _selection_changed.
2973 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2975 * src/hildon-program.c (hildon_program_update_top_most): Update
2976 'is-topmost' property also when wm_hints is not set.
2978 Fixes: NB#98383 (is-topmost signal is not emitted when task
2979 switcher is clicked.)
2981 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2983 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2987 * src/hildon-animation-actor.c,
2988 * src/hildon-animation-actor.h: Added the animation actor class,
2989 this widget represents an animation actor for WM-assisted
2990 animation effects in the Hildon framework.
2992 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2994 * src/hildon-window-stack-private.h
2995 * src/hildon-window-stack.c
2996 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2997 Avoid calling gtk_widget_show() again indirectly from
2998 hildon_stackable_window_show()
3000 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3002 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3005 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3007 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3008 (hildon_time_selector_init): Move the construction of the hours and
3009 ampm columns to the constructor to preserve the order the columns
3012 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3014 * src/hildon-picker-dialog.c:
3015 (hildon_picker_dialog_class_init): Connect a realize method.
3016 (+hildon_picker_dialog_realize): Setup the interaction mode here
3018 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3019 yet, do it during the realize instead.
3020 (_on_dialog_response):
3021 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3022 if the widget is not realized, to avoid the dialog response before it
3025 Avoid premature responses in the HildonPickerDialog that can cause it
3026 to be hidden before it's even shown.
3028 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3030 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3031 (on_selector_columns_changed), (requires_done_button),
3032 (+prepare_action_area), (setup_interaction_mode),
3033 (_hildon_picker_dialog_set_selector):
3035 Split the interaction mode setup into preparation of the
3036 action area (prepare_action_area()) and the connection of
3037 the signals in setup_interaction_mode() and update the code to
3040 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3042 * src/hildon-pannable-area.c,
3043 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3044 per second to 15, we will check if this is ok regarding
3047 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3049 * src/hildon-pannable-area.c,
3050 (hildon_pannable_axis_scroll): Avoid resize if we already have
3051 reached overshoot_max.
3053 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3055 * src/hildon-pannable-area.c,
3056 (hildon_pannable_area_init),
3057 (hildon_pannable_area_realize),
3058 (hildon_pannable_area_size_allocate),
3059 (hildon_pannable_area_map),
3060 (hildon_pannable_area_unmap),
3061 (hildon_pannable_draw_vscroll),
3062 (hildon_pannable_draw_hscroll),
3063 (hildon_pannable_area_expose_event),
3064 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3065 pannable are to avoid the expose events go to the window and
3066 redraw the window. We save this way that part of the stack and the
3067 paint_boxes. We had to change the positions of the elements when
3070 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3072 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3073 * src/hildon-color-chooser-dialog.c:
3074 (hildon_color_chooser_dialog_init):
3075 * src/hildon-font-selection-dialog.c:
3076 (hildon_font_selection_dialog_init),
3077 (hildon_font_selection_dialog_show_preview):
3078 * src/hildon-get-password-dialog.c:
3079 * src/hildon-login-dialog.c:
3080 * src/hildon-set-password-dialog.c:
3081 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3082 * src/hildon-time-picker.c: (hildon_time_picker_init):
3084 Remove obsolete logical string IDs and update to the appropriate ones.
3086 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3088 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3090 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3091 that happens if the window hasn't been realized yet.
3093 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3094 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3096 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3098 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3099 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3102 Fixes: NB#98537 (Device hangs in account settings dialog)
3104 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3106 * configure.ac: post release version bump.
3107 * debian/changelog: version bump
3109 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3114 * configure.ac: Bump version.
3115 * debian/changelog: Updates.
3117 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3119 Added a new function to the HildonTimeButton widget that allows to
3120 change the step of the minutes in the selector associated with the
3121 button: hildon_time_button_new_step
3123 * src/hildon-time-button.c,
3124 (hildon_time_button_init),
3125 (hildon_time_button_new),
3126 (hildon_time_button_new_step):
3127 * src/hildon-time-button.h: Added the new function and refactored
3129 * examples/hildon-time-button-example.c,
3130 (main): We have replaced the function without parameters with the
3131 function with the steps set to 5
3133 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3135 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3137 * src/hildon-time-selector.c,
3138 (hildon_time_selector_class_init),
3139 (hildon_time_selector_constructor),
3140 (hildon_time_selector_get_property),
3141 (hildon_time_selector_set_property),
3142 (_create_minutes_model),
3143 (hildon_time_selector_new_step),
3144 (hildon_time_selector_set_time),
3145 * src/hildon-time-selector.h: Added a new property to the
3146 HildonTimeSelector (minutes-step), we use that property to control
3147 the steps between the minutes in the list of the selector. We have
3148 added a new function to the API to create a widget changing the
3149 step: hildon_time_selector_new_step.
3151 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3153 * src/hildon-time-selector.c,
3154 (hildon_time_selector_class_init),
3155 (hildon_time_selector_constructor),
3156 (hildon_time_selector_init): Overrided the construct function when
3157 creating the time selector object. We have moved the minutes model
3158 handling code from the init to the new construction function:
3159 hildon_time_selector_constructor.
3161 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3163 * examples/hildon-date-button-example.c: (main): Use the new
3164 hildon_date_button_new_with_year_range() method in the example.
3165 * src/hildon-date-button.c:
3166 (+hildon_date_button_new_with_year_range): New public method
3167 to conveniently create a HildonDateButton with a custom year range
3168 in its HildonDateSelector.
3169 * src/hildon-date-button.h: Add the new public method definition.
3171 Fixes: NB#97908 (Not possible to change the year range in
3172 HildonDateSelector/HildonDateButton)
3174 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3176 * src/hildon-date-selector.c:
3177 (+hildon_date_selector_set_property),
3178 (+hildon_date_selector_get_property),
3179 (hildon_date_selector_class_init): Install new properties "min-year"
3180 and "max-year" to define boundaries for the year column.
3181 (_create_year_model): Use the boundary properties to populate the model.
3182 (+hildon_date_selector_new_with_year_range): New public method to
3183 create a HildonDateSelector with a user defined year range.
3184 (hildon_date_selector_select_current_date): Use the new boundaries to
3185 calculate the iterator of current year.
3186 * src/hildon-date-selector.h: Add the new public method definition.
3188 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3190 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3191 Install a constructor method.
3192 (+hildon_date_selector_construct_ui): construct the widget.
3193 (+hildon_date_selector_constructor): new constructor.
3194 (+hildon_date_selector_init): move out widget construction code to
3195 the new constructor.
3197 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3199 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3200 that there's actually a month or year selected before obtaining them.
3201 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3202 of the HildonTouchSelector::changed signal, as it was emitted on every
3203 single item selection.
3205 Fix some warnings and possible crashers due to the selection restoring.
3207 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3209 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3210 the signal handlers only after creating the dialog instead of on every
3213 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3215 * src/hildon-button.c (hildon_button_init)
3216 * src/hildon-check-button.c (hildon_check_button_init)
3217 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3218 focus when clicked by default.
3220 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3222 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3225 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3227 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3228 Alejandro G. Castro (alex@igalia.com)
3230 * src/hildon-picker-dialog.c:
3231 (hildon_picker_dialog_class_init): install new "center-on-show"
3233 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3234 (hildon_picker_dialog_set_property): add setter code for the new
3236 (hildon_picker_dialog_get_property): add getter code for the new
3238 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3239 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3242 Fixes: NB#92849 (Selected item is not always visible when
3243 HildonTouchSelector is shown)
3245 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3247 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3248 Alejandro G. Castro (alex@igalia.com)
3250 * src/hildon-touch-selector.c:
3251 (_create_new_column): Do not connect to the "realize" signal of the
3253 (hildon_touch_selector_append_column): center on the selected items
3254 when a new column is appended.
3255 (hildon_touch_selector_select_iter): Factor out the code to select a
3256 column to hildon_touch_selector_scroll_to().
3257 (+search_nearest_element): Method to retrieve the nearest selected
3258 element to the visible area of the pannable area in a column.
3259 (+on_realize_cb): scroll to the initially selected item.
3260 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3261 the pannable area is realized, otherwise delay this until it is.
3262 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3263 selected items of a given column.
3264 (+hildon_touch_selector_center_on_selected): Public method to center
3265 all columns on the nearest selected item.
3266 * src/hildon-touch-selector.h: Add definition for
3267 hildon_touch_selector_center_on_selected().
3269 Implement public API to ensure visibility of all selected items in
3270 a HildonTouchSelector.
3272 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3274 Fixed a problem in the fading when calling the scroll_to API, and
3275 improve scrollbar fading handling.
3277 * src/hildon-pannable-area.c,
3278 (hildon_pannable_area_grab_notify): avoid the timeout when the
3280 (hildon_pannable_area_button_press_cb),
3281 (hildon_pannable_area_motion_notify_cb): Code style changes.
3282 (hildon_pannable_area_button_release_cb): Review the conditions
3283 when releasing the mouse button to avoid unrequired fading
3285 (hildon_pannable_area_scroll_to): Do not calculate and set the
3286 velocity if the scroll is not required.
3288 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3290 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3291 Don't check whether the new selector is NULL: it cannot be.
3292 Hold a reference to the selector while doing the replacement.
3294 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3296 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3297 unnecessary size_request in a removed widget.
3299 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3301 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3302 an unnecessary reference tracking that was leaking.
3304 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3306 Added delayed motion notify event handling, this way we can
3307 discard redrawing if more than 25 events arrive per second.
3309 * src/hildon-pannable-area.c,
3310 (hildon_pannable_area_init): Initialized the new private atributes
3311 controlling this timeout
3312 (hildon_pannable_area_dispose): Remove the timeout that controls
3313 the motion notify events.
3314 (hildon_pannable_area_scroll): Added a condition to control the
3315 use of the acceleration.
3316 (hildon_pannable_area_motion_event_scroll_timeout),
3317 (hildon_pannable_area_motion_event_scroll): Added this two
3318 functions, they handle the motion notify events inside the
3320 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3321 to the scroll method with the new function.
3322 (hildon_pannable_area_button_release_cb): We have to remove the
3323 timeout handler and move to the last position if the last motion
3324 events were not handled.
3326 Fixes: NB#97028 (Pannable area updates on every motion event)
3328 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3330 * src/hildon-pannable-area.c,
3331 (hildon_pannable_area_get_topmost): Added a new parameter to
3332 filter the the windows that do not include those events. Added
3333 also a condition when finding the window to filter windows that do
3334 not ask for those events.
3335 (hildon_pannable_area_button_press_cb),
3336 (hildon_pannable_area_button_release_cb),
3337 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3338 topmost function, we have added the new parameter.
3340 Fixes: NB#97458 (Pannable area prevents propagation of button
3343 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3345 * src/hildon-pannable-area.c,
3346 (hildon_pannable_area_initial_effect): Added controls before
3347 launching the timeout and the idle functions.
3348 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3349 of the method, in some situations it can return with TRUE and 0 in
3351 (hildon_pannable_area_button_press_cb): We do not need to set
3352 DELAY for fading out here.
3354 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3356 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3358 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3359 post-cleaning if the selection is not NULL.
3361 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3363 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3364 all items before restoring the selection.
3366 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3368 * src/hildon-touch-selector.c:
3369 (+hildon_touch_selector_unselect_all):
3370 * src/hildon-touch-selector.h: New API to unselect all items in a
3371 column of the touch selector.
3373 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3375 * src/hildon-pannable-area.c,
3376 (hildon_pannable_area_redraw): Added a call to the refresh
3377 function inside the redraw because apparently in some cases the
3378 change in the adjustment does not imply a size allocate.
3380 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3381 despite the view not being scrollable)
3383 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3385 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3386 leak. Check for NULL before attempting to set the window title.
3388 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3390 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3391 whether to show or not the 'Done' button each time the dialog is
3392 shown, as it depends on the HildonTouchSelector selection mode.
3394 Fixes: NB#96226 (In multiple selection mode Done button is shown
3395 sometimes in listpicker)
3397 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3399 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3400 for the number of columns in the HildonTouchSelector more than once.
3402 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3404 * src/hildon-touch-selector.c: Minor documentation fixes.
3406 * src/hildon-picker-dialog.c (+_dialog_update_title)
3407 (_select_on_selector_changed_cb)
3408 (_update_title_on_selector_changed_cb)
3409 (on_selector_columns_changed): Update dialog title when there's no
3410 'Done' button and also when the number of columns in the selector
3414 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3415 (+_selection_changed, hildon_picker_button_on_dialog_response)
3416 (hildon_picker_button_selector_selection_changed)
3417 (+hildon_picker_button_selector_columns_changed)
3418 (hildon_picker_button_set_selector): Update button value and emit
3419 'value-changed' when the number of columns in the selector
3423 Fixes: NB#96225 (Dialog titles are not shown according to the
3424 values selected in the list picker)
3426 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3428 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3429 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3430 New "arrow-width" and "arrow-height" style properties to set the
3431 size of the arrow button.
3432 Set name of arrow button ("hildon-edit-toolbar-arrow").
3434 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3435 graphics from theme)
3437 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3439 * src/hildon-picker-button.c:
3440 (hildon_picker_button_selector_selection_changed): Use
3441 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3442 the dialog is present.
3444 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3445 the selection is accepted in the dialog)
3447 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3449 * src/hildon-color-chooser.h
3450 * src/hildon-color-chooser-dialog.h:
3451 Added G_BEGIN_DECLS and G_END_DECLS
3453 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3455 (_clean_current_selection): plug a leak in the list.
3457 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3459 * src/hildon-picker-dialog.c:
3460 (+free_path_list): Method to free a GList of GtkTreePaths.
3461 (_clean_current_selection), (_save_current_selection),
3462 (_restore_current_selection): Save the current selection in
3463 as a list of lists, to support multiple selection properly.
3465 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3467 patch by Claudio Saavedra (csaavedra@igalia.com)
3469 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3470 Store the press position.
3471 (+hildon_text_view_button_release_event): If the release position is
3472 close enough to the press position, move the cursor here. Otherwise,
3474 (hildon_text_view_class_init): Override GtkTextView press, release, and
3475 motion event handlers, disabling this way text selection through
3476 pointer interaction, and allowing the container widget to handle the
3479 Fixes: NB#95828 (HildonTextView functionality)
3481 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3483 Based on a patch by Iván Gómez (igomez@igalia.com)
3485 * src/hildon-button.[ch]
3486 * src/hildon-calendar.c
3487 * src/hildon-check-button.c
3488 * src/hildon-date-editor.c
3489 * src/hildon-date-selector.c
3490 * src/hildon-picker-button.c
3491 * src/hildon-time-editor.c
3492 * src/hildon-time-selector.c
3493 * src/hildon-touch-selector.[ch]:
3494 Documentation updates
3496 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3498 * src/hildon-pannable-area.c,
3499 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3500 threshold, it was required due to X events handling.
3502 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3504 * src/hildon-pannable-area.c,
3505 (hildon_pannable_area_grab_notify),
3506 (hildon_pannable_area_initial_effect),
3507 (hildon_pannable_area_button_press_cb),
3508 (hildon_pannable_area_button_release_cb),
3509 (hildon_pannable_area_scroll_cb),
3510 (hildon_pannable_area_scroll_to): Review the timeout management of
3511 the scrollbar, the frecuency was incorrectly set.
3513 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3515 * src/hildon-picker-button.c:
3516 (+hildon_picker_button_on_dialog_response),
3517 (hildon_picker_button_clicked): Present the dialog instead of
3518 running it with gtk_dialog_run().
3520 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3523 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3525 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3526 (hildon_app_menu_finalize): When a window is hidden it doesn't
3527 emit notify::is-topmost, so make sure than the menu also
3528 disappears in that case.
3529 (parent_window_topmost_notify): Renamed from parent_window_hidden
3531 Fixes: NB#94460 (stackable window's menu is not closed when its
3534 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3536 * src/hildon-touch-selector-entry.c:
3537 (+hildon_touch_selector_entry_set_input_mode),
3538 (+hildon_touch_selector_entry_get_input_mode):
3539 * src/hildon-touch-selector-entry.h: New methods to access the input
3540 mode in the selector's entry.
3542 Fixes: NB#93410 (API required for setting IM mode in
3543 HildonTouchSelectorEntry)
3545 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3547 * configure.ac: post release version bump.
3548 * debian/changelog: version bump
3550 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3555 * configure.ac: Bump version.
3556 * debian/changelog: Updates.
3558 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3560 * src/hildon-touch-selector.c:
3561 (_hildon_touch_selector_has_multiple_selection): No need
3562 to initialize the variables here.
3564 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3566 * src/hildon-note-private.h
3567 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3568 (hildon_note_finalize, hildon_note_rebuild): Close information
3569 notes when they receive a button press.
3571 Fixes: NB#89890 (Information notes does not get disappeared after
3574 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3576 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3577 mark from the wizard title, as it's not really necessary. Also,
3578 do not display the page title if not set.
3580 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3582 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3583 (parent_window_hidden): Use the window's "is-topmost" property to
3584 detect when to hide the menu.
3586 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3588 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3589 (hildon_app_menu_finalize): If the parent window of the menu is
3590 hidden, hide the menu too.
3592 Fixes: NB#94460 (stackable window's menu is not closed when its
3595 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3598 * debian/libhildon1-examples.install
3600 * examples/Makefile.am:
3601 Use dh_install to install all examples.
3602 Use DEB_SRCDIR instead of defining SOURCE_DIR
3604 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3606 * configure.ac: post release version bump.
3607 * debian/changelog: version bump
3609 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3614 * configure.ac: bump version
3615 * debian/changelog: updates
3616 * debian/control: bump gtk+ dependency
3618 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3620 patch by Christian Dywan (christian@imendio.com)
3622 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3623 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3625 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3627 * src/hildon-check-button.c (hildon_check_button_init)
3628 (hildon_check_button_class_init, hildon_check_button_style_set)
3629 (hildon_check_button_apply_style):
3630 New "checkbox-size" style property.
3632 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3633 larger / configurable size)
3635 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3637 * configure.ac: post release version bump.
3638 * debian/changelog: version bump
3640 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3645 * configure.ac: bump version
3646 * debian/changelog: updates
3648 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3650 * doc/hildon-sections.txt
3651 * src/hildon-pannable-area.c
3652 * src/hildon-program.c
3653 * src/hildon-time-editor.c
3654 * src/hildon-touch-selector-entry.c:
3656 More documentation updates.
3658 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3660 * doc/hildon-sections.txt
3661 * src/hildon-caption.c
3662 * src/hildon-code-dialog.c
3663 * src/hildon-color-button.c
3664 * src/hildon-controlbar.c
3665 * src/hildon-date-editor.c
3666 * src/hildon-date-selector.c
3667 * src/hildon-edit-toolbar.c
3668 * src/hildon-find-toolbar.c
3669 * src/hildon-font-selection-dialog.c
3671 * src/hildon-program.c
3672 * src/hildon-range-editor.c
3673 * src/hildon-seekbar.c
3674 * src/hildon-time-editor.c
3675 * src/hildon-time-selector.c
3676 * src/hildon-volumebar-range.c
3677 * src/hildon-volumebar.c
3678 * src/hildon-vvolumebar.c
3679 * src/hildon-weekday-picker.c
3680 * src/hildon-window.c
3681 * src/hildon-wizard-dialog.c:
3683 Lots of documentation fixes.
3685 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3687 Patch contributed by Iván Gómez (igomez@igalia.com)
3689 * src/hildon-check-button.c:
3690 * src/hildon-date-button.c:
3691 * src/hildon-date-selector.c:
3692 * src/hildon-dialog.c:
3693 * src/hildon-edit-toolbar.c:
3694 * src/hildon-entry.c:
3695 * src/hildon-picker-button.c:
3696 * src/hildon-program.c:
3697 * src/hildon-text-view.c:
3698 * src/hildon-time-button.c:
3699 * src/hildon-touch-selector-entry.c:
3700 * src/hildon-window-stack.c:
3702 Add more "since" tags to the new API.
3704 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3706 * doc/hildon-sections.txt: Add below method.
3707 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3708 version for the hildonized scale.
3709 * src/hildon-gtk.h: Add the definition.
3711 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3713 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3715 * doc/hildon-sections.txt: Add missing entries for new methods.
3717 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3719 Added API to pannable are in order to get its adjustments. We
3720 added two properties to manage the values we had in the private
3723 * src/hildon-pannable-area.c:
3724 (hildon_pannable_area_class_init): Added hadjustment and
3725 vadjustment properties in order to expose horizontal and vertical
3727 (hildon_pannable_area_get_property),
3728 (hildon_pannable_area_set_property): Added code to handle the new
3730 (hildon_pannable_area_get_hadjustment),
3731 (hildon_pannable_area_get_vadjustment): API functions to get the
3733 * src/hildon-pannable-area.h:
3734 (hildon_pannable_area_get_hadjustment),
3735 (hildon_pannable_area_get_vadjustment): API functions to get the
3738 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3740 Fixed some leaks, after valgrinding.
3742 * src/hildon-touch-selector.c:
3743 (_default_print_func): Fixed a leak.
3744 (hildon_touch_selector_append_column): Fixed a leak.
3745 * src/hildon-date-button.c:
3746 (hildon_date_button_init): Fixed a leak.
3747 * src/hildon-date-selector.c
3748 (hildon_date_selector_finalize): Fixed a leak.
3750 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3752 Based on a patch by Christian Dywan (christian@imendio.com)
3754 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3756 * src/hildon-gtk.h: Add definition.
3758 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3760 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3762 * src/hildon-picker-button.c: (hildon_picker_button_init),
3763 (hildon_picker_button_new): Set the HildonButton::style property
3764 in the init method, to propagate the value to the derived classes.
3766 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3768 * src/hildon-button.c: (hildon_button_class_init): Do not make
3769 the "style" property a construct property.
3771 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3773 * src/hildon-wizard-dialog.h
3774 * src/hildon-wizard-dialog.c
3775 (hildon_wizard_dialog_set_forward_page_func)
3776 * src/hildon-pannable-area.h
3777 * src/hildon-pannable-area.c
3778 (hildon_pannable_area_set_size_request_policy):
3779 Documentation fixes.
3781 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3783 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3785 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3787 * doc/hildon-sections.txt: Added sections file.
3789 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3792 * src/*.[ch]: Updates.
3794 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3796 * examples/hildon-progress-indicator-example.c: new file
3797 * examples/Makefile.am: include the new example program
3799 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3801 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3803 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3805 * configure.ac: post release version bump
3806 * debian/changelog: version bump
3808 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3813 * configure.ac: bump version
3814 * debian/changelog: updates
3815 * debian/control: bump gtk+ dependency
3817 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3819 * src/hildon-dialog.c: Mark as deprecated.
3820 * src/hildon-dialog.h: Mark as deprecated.
3821 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3822 from HildonDialog and still work, even if
3823 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3824 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3826 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3827 maemo changes) instead)
3829 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3831 * src/hildon-pannable_area.h:
3832 * src/hildon-pannable_area.c:
3833 (hildon_pannable_area_class_init),
3834 (hildon_pannable_area_set_property),
3835 (hildon_pannable_area_get_property),
3836 (hildon_pannable_area_size_request),
3837 (hildon_pannable_area_get_size_request_policy),
3838 (hildon_pannable_area_set_size_request_policy): Added new API
3839 allowing applications to control the request policy. Now they can
3840 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3841 children allocation (HILDON_MOVEMENT_CHILDREN).
3843 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3847 (hildon_gtk_tree_view_set_ui_mode)
3848 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3849 mode of treeviews and iconviews.
3851 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3853 * src/hildon-touch-selector-entry.c:
3854 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3855 of a GtkEntry to get proper theming.
3857 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3858 widget, not GtkEntry)
3860 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3862 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3863 no HildonWizardDialogPageFunc.
3865 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3867 Patch contributed by Iván Gómez (igomez@igalia.com)
3869 * src/hildon-app-menu.c:
3870 * src/hildon-button.c:
3871 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3872 * src/hildon-stackable-window.c:
3873 * src/hildon-time-selector.c:
3874 * src/hildon-touch-selector.c:
3875 * src/hildon-window.c:
3877 Add more "since" tags to the new API in hildon 2.2.
3879 2008-12-05 Tim Janik <timj@imendio.com>
3881 Patch contributed by Christian Dywan (christian@imendio.com)
3883 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3884 HildonSizeType, which are supplied by Gtk+ now.
3886 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3888 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3889 (with maemo changes) instead)
3891 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3893 Patch contributed by Iván Gómez (igomez@igalia.com)
3895 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3898 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3900 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3901 (some_page_func), (main): Update the example to use a
3902 HildonWizardDialogPageFunc function.
3904 * src/hildon-wizard-dialog-private.h: Add private data for
3905 the HildonWizardDialogPageFunc function usage.
3907 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3908 (destroy), (hildon_wizard_dialog_init), (response),
3909 (hildon_wizard_dialog_set_forward_page_func):
3910 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3911 that applications can use to stop a HildonWizardDialog to jump to
3914 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3917 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3919 * src/hildon-program.h
3920 * src/hildon-program-private.h
3921 * src/hildon-program.c (hildon_program_init)
3922 (hildon_program_set_common_app_menu)
3923 (hildon_program_get_common_app_menu):
3924 New API for setting a common HildonAppMenu for all
3925 HildonStackableWindows registered with the HildonProgram.
3927 * src/hildon-stackable-window.c
3928 (hildon_stackable_window_toggle_menu):
3929 Use the common HildonAppMenu if a window doesn't have a specific
3932 * src/hildon-app-menu-private.h
3933 * src/hildon-app-menu.c
3934 (hildon_app_menu_get_parent_window):
3935 Function to obtain the window a HildonAppMenu is attached to.
3936 (hildon_app_menu_set_parent_window):
3937 Hide the menu if the parent window is set to NULL.
3939 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3941 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3942 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3943 search widget to popup.
3945 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3947 * configure.ac: post release version bump
3948 * debian/changelog: version bump
3950 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3955 * configure.ac: bump version
3956 * debian/changelog: updates
3958 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3960 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3962 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3963 (hildon_window_stack_window_realized)
3964 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3965 Set the leader GdkWindow when a window is stacked and realized,
3966 unset it when it's unstacked.
3967 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3969 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3971 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3973 * src/hildon-stackable-window.h
3974 * src/hildon-window-stack.h:
3975 Protect definition of HildonWindowStack using the preprocessor.
3977 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3979 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3980 Fix warning if all menu items are hidden.
3982 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3984 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3986 * src/hildon-controlbar.c:
3987 * src/hildon-hvolumebar.c:
3988 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3989 Multiple scale size defines updates.
3991 Fixes: NB#94322 (Scale Updates)
3993 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3995 * examples/hildon-app-menu-example.c (create_menu)
3996 Show items after adding them to the menu, as in the future the
3997 menu will no longer call gtk_widget_show() on the added items.
3999 * src/hildon-app-menu.c:
4000 Update example as explained above.
4002 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4004 * src/hildon-app-menu.c
4005 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4006 Make sure that all menu items have finger height.
4008 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4010 * src/hildon-picker-dialog.c:
4011 (_on_dialog_response), (_save_current_selection),
4012 (_restore_current_selection), (_clean_current_selection),
4013 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4014 Defined new functions in order to save the current internal selector
4015 selection previous open the dialog, in case that the use cancel the
4016 interaction, so the widget restores the previous selection.
4018 Fixes: NB#92032 (In calendar application, date values in 'new event'
4021 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4023 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4025 * src/hildon-button.c: Add a reference to the button examples in
4026 hildon-button-example.c
4028 * examples/hildon-button-example.c: Added examples of the most
4029 common button layouts.
4031 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4033 * src/hildon-app-menu.c (hildon_app_menu_show)
4034 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4036 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4038 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4040 * src/hildon-picker-dialog.c:
4041 (hildon_picker_dialog_init): Initialize the signal id for
4042 HildonTouchSelector::columns-changed.
4043 (+on_selector_columns_changed): Set up the interaction mode everytime a
4044 column is added or removed from the HildonTouchSelector.
4045 (_hildon_picker_dialog_set_selector): Connect to
4046 HildonTouchSelector::columns-changed and keep track of it.
4048 Make sure to update the interaction mode of the dialog everytime a
4049 column is added or removed in the HildonTouchSelector.
4051 Fixes: NB#93228 (Done button is not shown always in listpicker)
4053 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4055 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4056 a new ::columns-changed signal.
4057 (hildon_touch_selector_append_column): Emit ::columns-changed.
4058 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4060 Add a ::columns-changed signal, emitted when the number of columns in a
4061 HildonTouchSelector changes.
4063 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4065 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4066 (_hildon_picker_dialog_set_selector): Factor out the code
4067 to set up the dialog interaction mode.
4069 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4071 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4072 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4073 to signal_changed_id.
4075 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4077 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4080 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4082 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4083 Updated the logical ids related to ampm format, as now it is required to
4084 show it correctly localized even on languages with no default
4085 abbreviations for am or pm
4086 (_check_am_pm_format): check correctly the 24h format gconf property
4088 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4090 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4092 * src/hildon-button.c: Documentation updates.
4094 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4096 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4097 * src/hildon-caption.c: (hildon_caption_class_init):
4098 * src/hildon-color-button.c: (hildon_color_button_class_init):
4099 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4100 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4101 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4102 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4104 Remove deprecated GTK+ marshalers and replace them with the ones
4105 provided by GLib, for those available, add a marshaler for
4106 BOOLEAN:VOID, which is not available in GLib, and use it.
4108 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4110 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4111 the text from the previous column if there is no
4112 HildonTouchSelectorColumn::text-property set.
4114 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4116 * src/hildon-button.h
4117 * src/hildon-button.c (hildon_button_set_property)
4118 (hildon_button_get_property, hildon_button_class_init)
4119 (hildon_button_set_style, hildon_button_get_style):
4120 New "style" property to change the visual appearance of the
4123 * src/hildon-picker-button.c (hildon_picker_button_new):
4124 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4126 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4127 HildonButton look like PickerButton)
4129 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4131 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4132 column while building the default string.
4134 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4136 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4137 scroll indicator by default.
4139 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4141 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4143 * src/hildon-main.c: Fix the documentation for hildon_init()
4145 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4147 * doc/hildon-docs.sgml
4151 * src/hildon-window-stack-private.h
4152 * src/hildon-window-stack.h
4153 * src/hildon-window-stack.c:
4154 New HildonWindowStack object, that adds support for multiple
4155 stacks of windows per process.
4157 * src/hildon-stackable-window-private.h
4158 * src/hildon-stackable-window.h
4159 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4160 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4161 (hildon_stackable_window_show, hildon_stackable_window_hide)
4162 (hildon_stackable_window_class_init)
4163 (hildon_stackable_window_init):
4164 Use HildonWindowStack for stack management.
4166 * src/hildon-program.c (hildon_program_pop_window_stack)
4167 (hildon_program_peek_window_stack)
4168 (hildon_program_go_to_root_window):
4169 Add a fallback implementation to the deprecated functions using
4172 * examples/hildon-stackable-window-example.c:
4173 Use the new HildonWindowStack API.
4175 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4177 * src/hildon-stackable-window-private.h
4178 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4179 (hildon_stackable_window_hide, hildon_stackable_window_init):
4180 Remove all window stack management.
4182 * src/hildon-program-private.h
4183 * src/hildon-program.h
4184 * src/hildon-program.c (hildon_program_init)
4185 (hildon_program_pop_window_stack)
4186 (hildon_program_peek_window_stack)
4187 (hildon_program_go_to_root_window):
4188 Remove all window stack management and mark functions as
4191 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4193 * src/hildon-app-menu.c (hildon_app_menu_realize):
4194 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4196 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4198 * configure.ac: post release version bump
4199 * debian/changelog: version bump
4201 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4206 * configure.ac: bump version
4207 * debian/changelog: updates
4209 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4211 Based on initial code by Christian Dywan (christian@imendio.com)
4213 * doc/hildon-docs.sgml: Add section for hildon-main.
4214 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4215 * src/Makefile.am: Add new hildon-main.[ch]
4216 * src/hildon-defines.h: Update the icon sizes.
4217 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4218 new library initialization files and register icon sizes.
4219 * src/hildon-main.h: New declarations.
4220 * src/hildon.h: Include hildon-main.h
4222 Add new initialization functions to the library. These methods
4223 will register the hildon specific icon sizes and can be used in the
4224 future for other hildon specific bits.
4226 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4228 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4230 * src/hildon-window.c: (hildon_window_realize),
4231 (hildon_window_notify), (-hildon_window_update_title): Do not set
4232 the application name in the window title.
4234 Fixes: NB#89754 (Applications shouldn't display their names in the
4237 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4239 * src/hildon-note-private.h:
4240 * src/hildon-note.c: (hildon_note_set_property),
4241 (hildon_note_get_property), (hildon_note_class_init),
4242 (hildon_note_init), (hildon_note_finalize),
4243 (hildon_note_new_confirmation_with_icon_name),
4244 (hildon_note_new_information_with_icon_name):
4246 No need to mark as deprecated the actual code. Revert
4247 to avoid missing symbols in widgets using deprecated API.
4249 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4251 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4253 * src/hildon-volumebar.h
4254 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4255 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4257 * src/hildon-helper.h
4258 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4259 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4261 * examples/Makefile.am:
4262 Deprecate hildon-insensitive-example
4264 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4266 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4268 * examples/hildon-pannable-area-buttons-scroll-example.c:
4269 Make all buttons finger height
4271 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4273 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4275 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4276 update the day model only if it is really required, and to avoid the
4277 full-reconstruction aproach. Now it only add or remove the required days.
4279 The purpose of this is avoid superfluous HildonTouchSelector::changed
4282 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4283 with strange parameters)
4285 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4287 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4289 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4290 the WINDOW_TYPE property.
4292 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4294 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4297 Fix dependency to allow parallel compilation with make -jX
4299 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4301 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4302 color frame and some minor tweaks to make it more consistent with
4305 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4306 highlighted but not visible)
4308 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4310 * examples/Makefile.am: Fixed typo in the Makefile.am.
4312 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4314 Reviewed the use of MAEMO_GTK define, now we add the define in the
4315 compilation line, and we also add it to the pc file.
4317 * configure.ac: Added MAEMO_GTK define to the compilation command
4318 and removed it from the config.h.
4320 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4321 do not have to take care about this define if the library was
4325 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4327 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4329 * examples/Makefile.am,
4330 * examples/hildon-pannable-area-buttons-scroll-example.c,
4331 * examples/hildon-pannable-area-gesture-signals-example.c,
4332 * examples/hildon-pannable-area-scroll-jump-example.c,
4333 * examples/hildon-pannable-area-tree-view-example.c:
4334 Renamed the pannable area examples, now they have more meaningful
4337 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4339 * src/hildon-touch-selector.c:
4340 (hildon_touch_selector_set_column_selection_mode): Used of
4341 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4342 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4343 to avoid re-seting the same selection mode.
4345 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4346 breaks HildonPickerDialog)
4348 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4350 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4351 conditional in the Makefile.am
4353 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4355 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4356 Remove unused methods.
4358 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4360 * src/hildon-button.c (hildon_button_init):
4361 Make button images center-aligned by default
4363 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4366 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4367 activated, we have to think about how to deal with both defines
4368 MAEMO_GTK and MAEMO_CHANGES.
4370 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4372 * examples/hildon-app-menu-example.c (create_menu): Make all
4373 buttons finger size.
4375 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4377 Fixed the compilation without maemo gtk adding ifdefs with
4378 MAEMO_GTK define to the code, we have to check this version more
4381 * examples/Makefile.am: Added control to avoid some examples that
4382 just make sense with maemo gtk.
4385 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4386 hildon modes with the define.
4388 * examples/hildon-edit-toolbar-example.c,
4389 (create_icon_view): Create the icon view without hildon-gtk
4390 helpers if we are not using maemo gtk.
4392 * src/hildon-touch-selector.c,
4393 (_create_new_column): Create the treeview without hildon-gtk
4394 helpers if we are not using maemo gtk.
4396 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4398 * src/hildon-pnnable-area.c,
4399 (hildon_pannable_area_dispose),
4400 (hildon_pannable_area_button_press_cb),
4401 (hildon_pannable_area_child_mapped),
4402 (hildon_pannable_area_add),
4403 (hildon_pannable_area_remove): Added code to control the position
4404 of the event_window when adding and removing children from the
4405 pannable. We have to raise the event window when the child is
4408 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4409 selection mode using custom widget inside pannable)
4411 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4413 * configure.ac: post release version bump
4414 * debian/changelog: version bump
4416 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4421 * configure.ac: bump version
4422 * debian/changelog: updates
4424 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4426 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4427 search mode, in order to avoid lose the focus on the treeview when
4428 a hw key (like enter) is pressed.
4430 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4431 in HildonDateSelector dialog)
4433 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4435 * debian/rules: Added --enable-maintainer-mode
4436 * Makefile.am: Added ACLOCAL_AMFLAGS
4438 This allows to properly regenerate the Makefiles if you modify the
4439 configure.ac or any Makefile.am.
4441 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4443 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4444 properties, not needed at all.
4446 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4448 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4450 * src/hildon-note.c: (hildon_note_set_property),
4451 (hildon_note_get_property), (hildon_note_class_init),
4452 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4453 (hildon_note_new_confirmation_add_buttons): Remove icons.
4454 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4455 (hildon_note_new_information_with_icon_name): Deprecate.
4456 (hildon_note_new_confirmation): Act directly, without calling
4457 the deprecated constructor.
4458 (hildon_note_new_information): Act directly, without calling
4459 the deprecated constructor.
4460 * src/hildon-note.h: Mark deprecate methods as such.
4461 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4462 not run tests on the deprecated methods if built with deprecation
4465 Fixes: NB#91688 (Never show icons in information notes/confirmation
4468 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4470 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4471 (hildon_app_menu_key_press): Remove leftover usage of the
4472 private structure in HildonAppMenu struct.
4473 * src/hildon-app-menu.h: Remove leftover private structure
4474 from the HildonAppMenu struct.
4476 Fixes a crasher when using the HildonAppMenu.
4478 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4480 * src/hildon-picker-dialog.c: Use appropriate logical id
4481 for the default "Done" text.
4483 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4485 * configure.ac: post release version bump
4486 * debian/changelog: version bump
4488 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4490 Modified the way to scroll to the current selection just when the touch
4491 selector is shown on the screen, avoiding a g_idle. Added too a property
4492 to configure this behaviour. See hildon_pannable_area_jump_to_child
4493 documentation for more information.
4495 * src/hildon-touch-selector.c
4496 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4497 Added 'initial-scroll' property
4498 (hildon_touch_selector_set_property): Added
4499 (hildon_touch_selector_map): Removed as not required anymore
4500 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4501 only a concrete column, instead of iterate along all the columns
4503 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4508 * configure.ac: bump version
4509 * debian/changelog: updates
4511 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4513 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4514 compilation time warnings.
4516 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4518 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4519 the default value for HildonPannableArea::mov-mode to
4520 HILDON_PANNABLE_AREA_MODE_VERT.
4522 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4524 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4526 Reverting following commit:
4528 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4530 * src/hildon-app-menu-private.h
4531 * src/hildon-app-menu.[ch]
4532 * src/hildon-button.[ch]
4533 * src/hildon-check-button.[ch]
4534 * src/hildon-entry.[ch]
4535 * src/hildon-pannable-area.[ch]
4536 * src/hildon-text-view.[ch]:
4537 Added private field to the object's structure.
4539 because it causes an ABI breakage. We will need to introduce these
4540 changes later at some point. See NB#91636 for an extensive
4541 explanation and status.
4543 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4545 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4547 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4548 remove special cases that are no longer necessary.
4550 Fixes: NB#91016 (Change toolbar sizes, simplification)
4552 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4554 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4555 is shown in the cancel note.
4557 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4559 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4560 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4561 (hildon_seekbar_init): Remove steppers, remove expose event.
4562 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4564 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4566 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4568 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4569 label font to "SmallSystemFont" for vertically arranged buttons.
4571 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4574 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4576 * src/hildon-check-button.c
4577 (hildon_check_button_set_active, hildon_check_button_clicked):
4578 Don't access private parts directly, use getters instead.
4580 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4582 * src/hildon-check-button.c (hildon_check_button_new):
4583 Align the contents of the check button to the left.
4585 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4587 * src/hildon-pannable-area.c,
4588 (hildon_pannable_area_scroll_to),
4589 (hildon_pannable_area_jump_to),
4590 (hildon_pannable_area_scroll_to_child),
4591 (hildon_pannable_area_jump_to_child): Replace the mapped
4592 precondition of these functions with the realized, it is the
4593 correct state of the widget in this case. Changed the
4594 documentation according to this modification.
4596 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4598 Added a new EXTRA_CFLAGS option to add the deprecated define to
4599 the compilation command. This way we can avoid using the define in
4600 the documentation compilation.
4602 * configure.ac: Defined EXTRA_CFLAGS.
4604 * examples/Makefile.am:
4606 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4608 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4610 * src/hildon-picker-dialog.c:
4611 Defined a utility macro with the desired touch selector height
4612 Removed currently unused separator, and title_label variables from
4614 (hildon_picker_dialog_init): Removed code related to the creation
4615 of unused private variables title_label and separator.
4616 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4617 to ensure correct visualization of the touch selector inside the dialog.
4618 * src/hildon-touch-selector.c
4619 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4620 ensure a concrete height of the widget.
4622 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4625 * tests/Makefile.am:
4627 Remove spurious whitespaces.
4629 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4631 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4632 compilation warning after the cancel button removal.
4634 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4636 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4638 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4639 Makefile.am, that way we can choose not to compile some examples
4640 and tests of the deprecated widgets.
4642 * examples/Makefile.am: Divided the sources in deprecated and
4645 * src/Makefile.am: Added undef statement of the deprecated
4646 symbol to the enums file generation process.
4648 * src/hildon-color-chooser-dialog.c
4649 * src/hildon-color-chooser-dialog.h
4650 * src/hildon-color-button.c
4651 * src/hildon-color-button.h
4652 * src/hildon-color-chooser.c
4653 * src/hildon-color-chooser.h
4654 * src/hildon-controlbar.c
4655 * src/hildon-controlbar.h
4656 * src/hildon-date-editor.c
4657 * src/hildon-date-editor.h
4658 * src/hildon-hvolumebar.c
4659 * src/hildon-hvolumebar.h
4660 * src/hildon-private.c
4661 * src/hildon-private.h
4662 * src/hildon-range-editor.c
4663 * src/hildon-range-editor.h
4664 * src/hildon-seekbar.c
4665 * src/hildon-seekbar.h
4666 * src/hildon-time-editor.c
4667 * src/hildon-time-editor.h
4668 * src/hildon-time-picker.c
4669 * src/hildon-time-picker.h
4670 * src/hildon-volumebar.c
4671 * src/hildon-volumebar.h
4672 * src/hildon-vvolumebar.c
4673 * src/hildon-vvolumebar.h
4674 * src/hildon-bread-crumb-trail.h
4675 * src/hildon-bread-crumb-trail.c
4676 * src/hildon-calendar-popup.c
4677 * src/hildon-calendar-popup.h
4678 * src/hildon-weekday-picker.c:
4679 * src/hildon-weekday-picker.h:
4680 * src/hildon-bread-crumb-widget.c:
4681 * src/hildon-bread-crumb-widget.h:
4682 * src/hildon-bread-crumb.c:
4683 * src/hildon-bread-crumb.h:
4684 * src/hildon-calendar.c:
4685 * src/hildon-calendar.h:
4686 * src/hildon-caption.c:
4687 * src/hildon-code-dialog.c:
4688 * src/hildon-code-dialog.h:
4689 * src/hildon-font-selection-dialog.c:
4690 * src/hildon-font-selection-dialog.h:
4691 * src/hildon-get-password-dialog.c:
4692 * src/hildon-get-password-dialog.h:
4693 * src/hildon-login-dialog.c:
4694 * src/hildon-login-dialog.h:
4695 * src/hildon-number-editor.c:
4696 * src/hildon-number-editor.h:
4697 * src/hildon-set-password-dialog.c:
4698 * src/hildon-set-password-dialog.h:
4699 * src/hildon-sort-dialog.c:
4700 * src/hildon-sort-dialog.h: This is the list of deprecated
4703 * src/hildon-touch-selector.c:
4704 * src/hildon-window.c: Added undef statement to avoid compilation
4707 * tests/Makefile.am: Divided the sources in deprecated and
4710 * tests/check_test.c,
4711 (configure_tests): Marked the deprecated code that was adding
4712 suites with deprecated tests.
4714 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4716 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4718 * src/hildon-touch-selector.c: (_default_print_func): Do not
4719 duplicate a string returned by gtk_tree_model_get(), it is already
4722 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4725 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4727 * src/hildon-pannable-area.c
4728 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4729 method, it had problems when adding a widget with viewport the
4730 second time. Now checks if it already has a viewport and uses it.
4732 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4735 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4737 * src/hildon-pannable-area.c,
4738 (hildon_pannable_area_scroll_to),
4739 (hildon_pannable_area_jump_to),
4740 (hildon_pannable_area_scroll_to_child),
4741 (hildon_pannable_area_jump_to_child): Added a precondition to the
4742 scroll and jump to functions: the widget must be mapped before we
4743 can safely call these functions. We have also added documentation
4744 to the functions to explain how to use them in this situation.
4747 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4749 Reviewed the threading handling of the pannable widget, we have
4750 used the gdk_threads_add_timeout function instead of the usual
4751 glib handlers. This avoids some problems with the threads.
4753 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4754 (hildon_pannable_area_initial_effect),
4755 (hildon_pannable_area_scroll_indicator_fade),
4756 (hildon_pannable_area_button_press_cb),
4757 (hildon_pannable_area_timeout),
4758 (hildon_pannable_area_motion_notify_cb),
4759 (hildon_pannable_area_button_release_cb),
4760 (hildon_pannable_area_scroll_cb),
4761 (hildon_pannable_area_scroll_to): Removed the
4762 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4763 gdk_threads_add_timeout.
4765 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4767 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4772 * configure.ac: bump version
4773 * debian/changelog: updates
4775 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4777 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4778 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4779 * src/hildon-color-chooser-dialog.c:
4780 (hildon_color_chooser_dialog_init):
4781 * src/hildon-font-selection-dialog.c:
4782 (hildon_font_selection_dialog_init):
4783 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4785 Remove all cancel/close-like dialogs, as these are not going to be
4788 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4790 * src/hildon-note.c: (hildon_note_rebuild),
4791 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4794 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4796 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4798 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4799 sure all buttons are shown, even the Cancel/Close-like ones.
4801 Fixes: NB#90861 (Custom Confirmation dialogs should be
4802 protected from cancel button removal)
4804 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4806 * debian/control: Change libhildon1-examples dependency from libhildon1
4808 * debian/libhildon1-examples.install
4810 * Makefile.am: Modified the final install directory for the examples on
4811 package libhildon1-examples
4812 * Makefile.static: Update clean target in order to remove all the binary
4815 Changes suggested by Claudio after review new libhildon1-examples package
4817 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4819 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4820 * src/hildon-touch-selector.c: Ditto.
4822 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4824 * debian/control: Added new package libhildon1-examples, in order to pack
4825 the current hildon examples as documentation
4826 * debian/rules: Not to compress .c files, modify some includes on the
4827 examples (as normally are compiled locally, but when installed it will
4828 require to include the installed libhildon1 library), and rename
4830 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4831 install all the example files on the new example package
4832 * examples/Makefile.static: Added static makefile that can be used to
4833 compile the examples, once installed the new example package
4834 * examples: Most of the examples were modified in order to grant that
4835 all use only '#include "hildon.h"', in order to be easy to prepare
4836 it on the example package
4838 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4841 * debian/libhildon1-dev.install
4842 * debian/libhildon1-doc.install:
4843 Move all gtk-doc files to a separate libhildon1-doc package.
4845 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4847 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4849 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4851 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4853 * debian/rules: Fixed a error in order to avoid unnecessary calls
4854 to autogen.sh on package building
4856 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4858 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4860 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4862 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4865 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4867 * src/hildon-picker-button.c
4868 (hildon_picker_button_finalize):
4869 Free priv->done_button_text
4871 * src/hildon-time-button.c
4872 (hildon_time_button_set_time)
4873 * src/hildon-picker-button.c
4874 (hildon_picker_button_clicked)
4875 (hildon_picker_button_selector_selection_changed)
4876 (hildon_picker_button_set_selector)
4877 * src/hildon-date-button.c
4878 (hildon_date_button_set_date):
4879 Free strings returned by hildon_touch_selector_get_current_text()
4881 * src/hildon-button.c (hildon_button_construct_child):
4882 Fix leaks in priv->image and priv->label_box
4884 Fixes: NB#90535 (Memory leak in picker button)
4886 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4888 * src/hildon-button.c: (hildon_button_get_property): Do not access
4889 private elements directly, use getters instead.
4891 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4893 * src/hildon-app-menu-private.h
4894 * src/hildon-app-menu.c
4895 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4896 Store the menu's parent window.
4898 * src/hildon-stackable-window.c
4899 (hildon_stackable_window_toggle_menu)
4900 (hildon_stackable_window_finalize):
4901 Set the menu's parent window when the menu is shown, unset it when
4904 * src/hildon-app-menu.c
4905 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4906 (hildon_app_menu_class_init):
4907 Send unhandled keyboard accelerators to the parent window.
4909 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4911 * src/hildon-stackable-window.c
4912 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4914 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4916 * configure.ac: post release version bump
4918 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4921 * configure.ac: Bump version
4922 * debian/changelog: Updates
4923 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4926 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4928 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4931 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4932 GtkMenu with Hildon style.
4934 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4936 * src/hildon-picker-button.c:
4937 (hildon_picker_button_set_done_button_text): Set the dialog's
4938 done button text here as well.
4940 Fixes: NB#90232 (Picker button does not set the label on done button
4941 for the second time)
4943 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4945 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4948 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4950 * src/hildon-app-menu.c (hildon_app_menu_insert)
4951 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4952 the HildonAppMenu to be activatable using keyboard accelerators
4953 when the menu is not being shown.
4955 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4957 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4959 * src/hildon-stackable-window.c
4960 (hildon_stackable_window_show):
4961 Don't hide old windows automatically when new windows are shown:
4962 this is now a task for the window manager.
4963 (hildon_stackable_window_class_init)
4964 (hildon_stackable_window_hide):
4965 Remove windows from the stack everytime they're hidden.
4966 (hildon_stackable_window_realize):
4967 Don't change the _NET_WM_WINDOW_TYPE property. Use
4968 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4969 it as a stackable window.
4971 * src/hildon-program.c
4972 (hildon_program_pop_window_stack):
4973 Just hide the window to remove it from the stack.
4974 (hildon_program_go_to_root_window):
4975 Don't call gtk_widget_show(), this is now a task for the window
4978 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4980 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4982 * src/hildon-button.c
4983 (hildon_button_construct_child):
4984 Don't pack anything in the button until text or image are
4985 set. This allows adding a custom child after creating the button
4986 with hildon_button_new().
4987 (hildon_button_finalize, hildon_button_class_init)
4988 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4989 alignment and the label box even when they're not packed in the
4992 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4994 * src/hildon-touch-selector.h:
4995 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4996 currently the type definition was using GTK_TYPE_VBOX
4997 * src/hildon-touch-selector.c:
4998 Added some implementation notes in order to clarify that any other widget
4999 added without the column related API will not be included on the
5000 selection logic, and how the widget is freed, as some people ask about
5002 (hildon_touch_selector_remove): Reimplemented in order to free properly
5003 the column related data when you remove the private hbox.
5004 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5005 to get a proper HildonTouchSelectorColumn documentation
5007 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5009 * src/hildon-touch-selector-entry.c:
5010 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5011 text in the GtkEntry and there is no item selected. Fixes a
5014 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5016 * src/hildon-app-menu-private.h
5017 * src/hildon-app-menu.[ch]
5018 * src/hildon-button.[ch]
5019 * src/hildon-check-button.[ch]
5020 * src/hildon-entry.[ch]
5021 * src/hildon-pannable-area.[ch]
5022 * src/hildon-text-view.[ch]:
5023 Added private field to the object's structure.
5025 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5027 * configure.ac: post-release version bump
5029 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5033 * configure.ac: pre-release version bump
5035 * debian/changelog: updates.
5037 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5039 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5040 Disconnect the handler for HildonTouchSelector::changed.
5042 (hildon_picker_button_selector_selection_changed): Update the button
5043 value if the selection change was not triggered by the
5046 (hildon_picker_button_set_selector): connect to
5047 HildonTouchSelector::changed.
5049 Fixes: NB#89650 (Picker button is not updated, when selection in
5050 selector has changed)
5052 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5054 * src/hildon-picker-dialog.c
5055 (hildon_picker_dialog_realize): Removed as not required
5056 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5057 * src/hildon-picker-button.c
5058 (_current_selector_empty): New function, checks if the selector is empty
5059 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5060 if the current selector is empty, in order to avoid to show the dialog
5061 close the dialog in this case (and shows a g_warning).
5063 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5065 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5067 * src/hildon-pannable-area.c,
5068 (hildon_pannable_area_scroll): Added clause to stop movement when
5069 the child of pannable is smaller than one page.
5070 (hildon_pannable_area_scroll_to): Added conditions to avoid
5071 starting the scrolling movement if the child is smaller than one
5072 page, the complete child is in the screen, we do not have to move.
5074 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5076 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5078 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5079 this is managed automatically by the widget when the size of the
5082 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5084 * src/hildon-picker-button.c
5085 (hildon_picker_button_set_done_button_text): Make a copy of the
5086 text, and free the previous value.
5088 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5090 * src/hildon-touch-selector-entry.c:
5091 (hildon_touch_selector_entry_print_func): Return the selected row's
5092 text if the entry is empty.
5094 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5097 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5099 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5101 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5104 * src/hildon-check-button.h
5105 * src/hildon-check-button.c
5106 * examples/hildon-check-button-example.c:
5107 HildonCheckButton is now a new widget. 'toggled' signal added.
5109 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5111 * src/hildon-program-private.h
5112 * src/hildon-program.c (hildon_program_init)
5113 (hildon_program_finalize): Removed unused variables group_leader
5114 and name from HildonProgramPrivate.
5116 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5118 * src/hildon-check-button.c (hildon_check_button_set_active)
5119 (hildon_check_button_get_active, hildon_check_button_new): Use
5120 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5122 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5124 * src/hildon-touch-selector.h
5125 (hildon_touch_selector_set_column_attributes): added deprecation
5126 guard HILDON_DISABLE_DEPRECATED
5127 * src/hildon-time-selector.c
5128 (hildon_time_selector_set_time)
5129 (hildon_time_selector_get_time): Fixed a typo on documentation
5130 * src/hildon-touch-selector.c: update HildonTouchSelector and
5131 HildonTouchSelectorColumn documentation
5132 * src/hildon-touch-selector-entry.c: update "text-column" property
5134 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5135 to be added to the general documentation.
5137 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5139 * examples/hildon-pannable-area-example-4.c,
5141 * examples/hildon-pannable-area-example.c,
5142 (main): Modified the code in order to use the container add, with
5143 viewport treeviews could have problems if they are really big.
5145 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5147 * src/hildon-weekday-picker.c,
5148 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5149 the agreement regarding deprecation in the library.
5151 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5153 * examples/hildon-picker-button-multicolumn-example.c:
5154 (main): Use custom "done" button text.
5156 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5157 (hildon_picker_button_set_property),
5158 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5159 (hildon_picker_button_init),
5160 (+hildon_picker_button_get_done_button_text),
5161 (+hildon_picker_button_set_done_button_text): New methods to customize
5162 the "done" button label in the launched HildonPickerDialog. Also,
5165 * src/hildon-picker-button.h: add the public API.
5167 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5169 * src/hildon-date-selector.h:
5170 * src/hildon-picker-dialog.h:
5171 * src/hildon-time-selector.h:
5172 * src/hildon-touch-selector-column.h:
5173 * src/hildon-touch-selector.h:
5175 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5176 declarations. Fixes gtk-doc warnings.
5178 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5180 * src/hildon-picker-dialog.h
5181 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5182 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5184 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5185 long text is set as label for done button)
5187 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5189 * src/hildon-dialog.c (hildon_dialog_add_button):
5190 Set fixed width to all buttons in the HildonDialog.
5192 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5194 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5196 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5197 Set widget name using class name plus "-finger" or "-thumb".
5199 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5201 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5202 'clicked' when the state of the button is manually changed.
5204 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5206 * src/hildon-app-menu.c (hildon_app_menu_realize)
5207 (hildon_app_menu_unrealize, hildon_app_menu_init)
5208 (hildon_app_menu_class_init, item_visibility_changed):
5209 Change the menu layout when the size of the screen changes.
5210 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5211 Show warning only when changing the number of colums using the
5214 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5216 * debian/compat: Set to 5
5217 * debian/control: Update dependencies.
5218 * debian/libhildon1-dbg.install: Remove.
5219 * debian/libhildon1-dev.install: Update according to cdbs paths.
5220 * debian/libhildon1.install: Update according to cdbs paths.
5221 * debian/rules: Switch to cdbs.
5223 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5225 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5226 'item' variable renamed to 'filter'
5228 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5230 * src/hildon-app-menu.c (hildon_app_menu_insert)
5231 (hildon_app_menu_add_filter, remove_item_from_list)
5232 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5233 Don't leak hidden items when the menu is destroyed.
5235 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5237 * src/hildon-app-menu.c (hildon_app_menu_insert)
5238 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5239 (hildon_app_menu_set_columns, item_visibility_changed)
5240 (filter_visibility_changed, hildon_app_menu_repack_filters)
5241 (hildon_app_menu_repack_items):
5242 Repack items and filters separately.
5244 Don't repack all items, change only the ones that are needed to
5247 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5249 * src/Makefile.am: added hildon-touch-selector-column.h
5251 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5253 * src/hildon-touch-selector.c: added the property "text-column" to the
5254 class HildonTouchSelectorColumn, and related get/set functions
5255 (_default_printf_func): updated to use "text-column" property
5256 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5257 "text-column" in his documentation, as this is now included on
5258 HildonTouchSelectorColumn. The get/set_property can still be used,
5259 working as a wrapper to the concrete column "text-column" property
5260 (_text_column_modified): callback added in order to handle the signal
5261 "notify::text-column" of the concrete HildonTouchSelectorColumn
5262 (hildon_touch_selector_entry_get_text_column)
5263 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5264 modified in order to use the HildonTouchSelectorColumn "text-column"
5266 * src/hildon-time-selector.c:
5267 * src/hildon-date-selector.c:
5268 * examples/hildon-touch-selector-example.c
5269 * examples/hildon-touch-selector-multi-cells-example.c
5270 * examples/hildon-picker-button-multicolumn-example.c
5271 Set the right value to "text-column" property on the creation of a new
5272 column using hildon_touch_selector_append_column()
5274 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5276 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5278 * src/hildon-app-menu.c
5279 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5280 updating the layout of the menu, don't create all widgets again,
5281 just repack the items in their new places.
5283 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5285 * src/hildon-time-selector.c
5286 (hildon_time_selector_get_time)
5287 (hildon_time_selector_set_time)
5288 Added documentation of these public methods
5290 * src/hildon-date-button.h
5291 * src/hildon-touch-selector-column.h
5292 * src/hildon-time-button.h
5293 * src/hildon-picker-dialog.h
5294 * src/hildon-time-selector.h
5295 * src/hildon-picker-button.h
5296 * src/hildon-touch-selector.h
5297 * src/hildon-time-picker.h
5298 * src/hildon-date-selector.h
5299 * src/hildon-touch-selector-entry.h
5300 Modified in order to use hildon-widgets code style
5302 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5304 Added deprecated support to the compilation process using
5305 HILDON_DISABLE_DEPRECATED
5307 * configure.ac: Added the --disable-deprecated to the configure
5310 * src/hildon-weekday-picker.c:
5311 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5312 to use the deprecated support. We will update the other deprecated
5313 widgets status in a new patch.
5315 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5317 * configure.ac: Fixed typo with fatal warnings support, the
5318 variable name was not correct
5320 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5322 * src/hildon-app-menu.c
5323 * src/hildon-program.c: Update documentation.
5325 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5327 * configure.ac: Post-release version bump.
5329 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5334 * configure.ac: Pre-release version bump.
5335 * debian/changelog: Updates.
5337 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5339 * NEWS: Update news for previous releases.
5341 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5343 * examples/hildon-touch-selector-multi-cells-example.c:
5344 (create_selector): Update the example to use
5345 hildon_touch_selector_append_column() with a NULL renderer and set
5346 the renderers later.
5347 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5348 passed a NULL renderer. This is documented behavior now.
5350 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5351 This must be used if the developer wants full control on the layout of
5352 the renderers to be added to the column.
5354 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5356 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5358 * src/hildon-touch-selector.c: Documentation fixes.
5360 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5362 * src/hildon-wizard-dialog-private.h: Remove image and box.
5363 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5364 (hildon_wizard_dialog_set_property), (response): Completely remove
5365 image/icon support, and the containers required for the layout.
5367 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5369 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5371 * src/hildon-app-menu.c: Updated documentation.
5373 * src/hildon-stackable-window.c
5374 (hildon_stackable_window_set_main_menu): Unref the old menu after
5375 ref'ing the new one.
5377 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5379 * src/hildon-stackable-window.c
5380 (hildon_stackable_window_set_main_menu): Unref the previous menu
5381 instead of destroying it.
5383 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5384 floating reference and set has_user_ref_count to FALSE to make
5385 HildonAppMenu act like a normal ref-counted widget and not a
5388 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5391 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5393 * src/hildon-touch-selector-column.h: new file
5394 * src/hildon-touch-selector.h
5395 * src/hildon-touch-selector.c
5396 Implemented GtkCellLayout interface, in order to allow to configure
5397 the cell layout on each individual selector column
5398 (hildon_touch_selector_set_column_attributes): marked as deprecated
5399 * examples/hildon-touch-selector-multi-cells-example.c
5400 Example of how to use the GtkCellLayout interface on the selector
5402 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5404 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5406 * src/hildon-app-menu.h
5407 * src/hildon-app-menu.c
5408 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5409 (hildon_app_menu_append, hildon_app_menu_prepend):
5410 New methods to prepend, insert and move items in the menu.
5412 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5414 * src/hildon-wizard-dialog.c:
5416 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5418 (create_title): Update logical IDs and related code.
5419 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5421 * src/hildon-wizard-dialog.h: Note that
5422 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5423 point, as it is not used anymore.
5425 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5427 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5429 * src/hildon-note.c:
5430 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5431 shown. Do not display an icon in confirmation notes nor information
5433 (hildon_note_set_button_text): Update logical ID for cancel button.
5435 Fixes: NB#88850 (Update HildonNote button strings + signals)
5437 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5439 * src/hildon-stackable-window.c
5440 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5442 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5444 * src/hildon-app-menu-private.h
5445 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5446 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5447 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5448 temporary property 'columns' to change the number of columns.
5450 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5452 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5454 * examples/hildon-note-example.c: (on_information_clicked),
5455 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5456 debugging information.
5457 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5459 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5460 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5461 in order to close: this will be handled by the WM from now on.
5463 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5465 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5467 * src/hildon-app-menu-private.h
5468 * src/hildon-app-menu.c
5469 (hildon_app_menu_append, hildon_app_menu_add_filter)
5470 (button_visibility_changed, hildon_app_menu_apply_style)
5471 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5472 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5473 layout everytime a button (item or filter) is shown or hidden.
5475 * src/hildon-stackable-window.c
5476 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5479 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5481 * src/hildon-touch-selector.c:
5482 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5483 that the treeview inside the touch selector is in fremantle hildon mode
5484 * examples/hildon-date-button-example.c
5485 * examples/hildon-picker-button-multicolumn-example.c
5486 * examples/hildon-touch-selector-entry-example.c
5487 * examples/hildon-touch-selector-example.c
5488 * examples/hildon-time-button-example.c
5489 * examples/hildon-picker-button-example.c:
5490 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5492 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5494 * examples/hildon-text-view-example.c: (main): Remove the
5495 gtkrc bits, now handled by the theme.
5497 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5499 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5502 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5504 * po/Makefile.am: Install properly the mo files.
5505 * po/en_GB.po: Update translation, to ease testing purposes.
5507 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5509 * examples/hildon-picker-button-example.c: (main): Select an item
5510 in the selector before setting it to the button.
5512 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5514 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5515 Update button's value if the selector has an item active.
5517 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5518 'value' with the selector)
5520 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5522 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5523 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5524 (hildon_picker_button_class_init): Plug the finalize method.
5525 (hildon_picker_button_set_selector): If there's a previously set
5526 selector, unref'it before setting a new one.
5528 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5529 HildonTouchSelector)
5531 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5533 * src/hildon-touch-selector-entry.c:
5534 (hildon_touch_selector_entry_changed): Check if there is no text
5535 selected before setting the entry text.
5538 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5540 * src/hildon-touch-selector.h
5541 * src/hildon-touch-selector.c
5542 (hildon_touch_selector_get_active)
5543 (hildon_touch_selector_set_active): New methods to set/get the
5544 index of the selected item.
5546 * src/hildon-picker-button.h
5547 * src/hildon-picker-button.c
5548 (hildon_picker_button_get_active)
5549 (hildon_picker_button_set_active): New methods to set/get the
5550 index of the selected item.
5552 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5554 * configure.ac: post-release version bump.
5556 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5560 * configure.ac: Pre-release version bump.
5561 * debian/changelog: Updates.
5562 * debian/control: Add myself as maintainer and depend on l10n
5565 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5567 * src/hildon-window.c
5568 (hildon_window_set_main_menu)
5569 * src/hildon-stackable-window.c
5570 (hildon_stackable_window_set_main_menu):
5571 Updated documentation.
5573 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5575 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5576 Don't free selector->priv manually.
5579 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5582 (hildon_gtk_window_set_progress_indicator):
5583 * src/hildon-gtk.h: Added the new API
5584 hildon_gtk_window_set_progress_indicator, it changes the state of
5585 the window progress hint.
5587 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5589 * src/hildon-button.c
5590 * src/hildon-stackable-window.c: Minor documentation updates.
5592 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5594 * src/hildon-stackable-window.c: Updated documentation.
5596 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5598 * src/hildon-defines.h: Update margins definitions
5599 to the Fremantle sizes.
5602 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5604 * src/hildon-touch-selector.c,
5605 (_hildon_touch_selector_set_model): Cleaning the code after
5606 review, removed g_print and #if 0 from the code.
5608 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5610 * src/hildon-edit-toolbar.c: Update documentation.
5612 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5614 * src/hildon-check-button.h
5615 * src/hildon-check-button.c
5616 (hildon_check_button_set_label, hildon_check_button_get_label)
5617 * examples/hildon-check-button-example.c
5618 (button_clicked_cb):
5619 Removed deprecated methods.
5621 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5623 * src/hildon-text-view.c:
5624 Add sample code to the documentation.
5626 * src/hildon-entry.h
5627 * src/hildon-text-view.h:
5628 Minor cosmetic changes.
5630 * src/hildon-entry.c:
5631 Add sample code to the documentation.
5632 (hildon_entry_init, hildon_entry_refresh_contents):
5633 Don't allow NULL values in the placeholder.
5635 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5637 * doc/hildon-docs.sgml
5639 * examples/Makefile.am
5640 * examples/hildon-text-view-example.c
5642 * src/hildon-text-view.c
5643 * src/hildon-text-view.h
5645 New HildonTextView widget, with example.
5647 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5649 * po/POTFILES.in: Add missing files with translatable strings.
5650 Partially fixes NB#88287.
5652 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5654 * examples/hildon-pannable-area-example-2.c: (main): No need to
5655 set the cellrenderer height inside hildon touch lists, the theme does
5658 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5660 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5661 they are integrated in the theme.
5663 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5665 * examples/hildon-entry-example.c: Update the example adding
5666 widgets to modify the text and the placeholder of the HildonEntry.
5668 * src/hildon-entry.c: Show the placeholder everytime the widget
5669 is empty and loses the focus.
5671 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5673 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5675 * src/hildon-pannable-area.c,
5676 (hildon_pannable_area_size_request): Fixed bug in height
5677 requisition, avoid increasing size and add border twice.
5679 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5681 * configure.ac: postrelease version bump.
5683 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5687 * configure.ac: Prerelease version bump.
5688 * debian/changelog: update.
5689 * debian/rules: make -dbg package contain useful debugging symbols.
5691 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5693 * src/hildon-dialog.h
5694 * src/hildon-dialog.c
5695 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5696 New methods to add buttons with finger size.
5697 (hildon_dialog_new_with_buttons):
5698 Create buttons with finger size.
5700 * examples/hildon-dialog-example.c (main): Use HildonDialog
5701 methods to add buttons.
5703 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5705 * src/hildon-entry.c: Updated HildonButton documentation.
5707 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5709 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5710 button value label with (FALSE, FALSE) to prevent NB#88126 from
5713 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5715 * examples/hildon-pannable-area-example.c,
5716 (main): Removed examples panning a vbox inside a pannable
5717 area. Check bug NB#87965
5719 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5721 Patch contributed by Kris Rietveld (kris@imendio.com)
5723 * src/hildon-pannable-area.c,
5724 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5725 get_size and get_position, this saves an X server roundtrip.
5727 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5729 * doc/hildon-docs.sgml
5731 * examples/Makefile.am
5732 * examples/hildon-entry-example.c
5734 * src/hildon-entry.c
5735 * src/hildon-entry.h
5737 New HildonEntry widget, with example.
5739 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5741 * src/hildon-button.c (hildon_button_construct_child): Pack the
5742 image with expand == fill == FALSE. This is a workaround for a bug
5745 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5747 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5748 labels for the text column, to make it more look more dynamic.
5750 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5752 * src/hildon-time-selector.c
5753 Define gettext auxiliar macro N_
5754 (_create_minutes_model)
5755 (_create_hours_model)
5756 (_create_ampm_model): use of strftime in order to fill the model
5757 * src/hildon-date-selector.c
5758 (hildon_date_selector_finalize):
5759 (_locales_init): remove the logic related to get the name of the months
5760 using nl_langinfo, as it is not required anymore
5762 (_create_year_model)
5763 (_create_month_model)
5764 (_update_day_model): use of strftime in order to fill the model properly
5767 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5769 * src/hildon-button.h
5770 * src/hildon-button.c (hildon_button_get_image): New method to
5773 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5775 * src/hildon-touch-selector.c:
5776 (hildon_touch_selector_remove_column): Remove from the correct parent
5777 and also remove the list element and free it.
5780 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5782 * src/hildon-time-selector.c
5783 (_create_hours_model): change the range on 12h ampm format in order to use
5784 a 12-11 range instead of previous 01-12 range
5785 (hildon_time_selector_set_time): change the way to select the current time
5786 on 12h ampm format, due the change on the range
5787 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5790 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5792 * src/hildon-touch-selector.c
5793 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5794 in order to allow use this function on multiple row selection mode if
5795 the column is different that the first one
5798 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5800 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5801 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5803 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5805 * src/hildon-date-selector.h: clean some comments, now on the .c
5806 * src/hildon-date-selector.c
5807 (hildon_date_selector_select_month): first implementation
5808 (hildon_date_selector_select_day): added documentation, reimplemented
5809 using hildon_date_selector_select_current_date to avoid repeat code
5812 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5814 Reviewed interaction logic based on device experiences, refactored
5817 * src/hildon-pannable-area.c,
5818 (hildon_pannable_area_class_init): Updated default vmax speed.
5819 (hildon_pannable_area_calculate_velocity): Added this function, it
5820 avoids duplicate valocity calculation. Adjusted calculation to
5821 avoid problems with zero dist events.
5823 (hildon_pannable_area_motion_notify_cb): Now we use the
5824 calculate_velocity function.
5826 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5828 * src/hildon-date-selector.c
5829 (hildon_date_selector_select_current_date): fix the day range check
5830 as it failed using the last day of the current month
5833 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5835 * src/hildon-touch-selector.c
5836 (hildon_touch_selector_get_num_columns): added a parameter validation
5839 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5841 * examples/Makefile.am
5842 * examples/hildon-edit-toolbar-example.c: Example of the
5843 HildonEditToolbar widget.
5845 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5847 * configure.ac: postrelease version bump.
5849 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5853 * configure.ac: prerelease version bump.
5854 * debian/changelog: update.
5856 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5858 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5859 renderer to display stock icons in the touch list. Also, set the sizes
5860 to the recommended in the style guide.
5862 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5863 * src/hildon-touch-selector.h
5864 (hildon_touch_selector_set_active_iter): renamed, now is
5865 hildon_touch_selector_select_iter
5866 (hildon_touch_selector_get_active_iter): renamed, now is
5867 hildon_touch_selector_get_selected
5868 (hildon_touch_selector_unselect_iter): added
5869 * src/hildon-touch-selector.c
5870 Update after API modification (methods renamed)
5871 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5872 order to avoid problems selecting multiple elements on the column
5873 (hildon_touch_selector_unselect_iter): added the implementation
5874 * src/hildon-time-selector.c
5875 * src/hildon-date-selector.c
5876 * src/hildon-touch-selector-entry.c
5877 Update methods calls after hildon-touch-selector.h API modification (methods
5880 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5882 * src/hildon-stackable-window.c
5883 (hildon_stackable_window_finalize): Call the parent class's finalize.
5885 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5887 * examples/hildon-touch-selector-example.c: (create_selector): Use
5888 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5891 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5893 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5894 set a cell background color, to respect theming.
5896 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5898 * doc/hildon-docs.sgml
5901 * src/hildon-edit-toolbar.c
5902 * src/hildon-edit-toolbar.h
5903 * src/hildon.h: New HildonEditToolbar widget.
5905 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5907 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5910 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5911 * src/hildon-touch-selector.c
5912 (_create_new_column): use g_object_set instead of two g_object_set_property
5914 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5915 * src/hildon-touch-selector.c
5916 (_create_new_column): use of hildon_gtk_tree_view_new to create
5917 the treeview, instead of use directly g_object_new
5918 (_create_new_column): update the property name "vindicator-mode" for the
5919 new one "vscrollbar-policy"
5920 * examples/hildon-date-button-example.c
5921 * examples/hildon-picker-button-multicolumn-example.c
5922 * examples/hildon-touch-selector-entry-example.c
5923 * examples/hildon-touch-selector-example.c
5924 * examples/hildon-time-button-example.c
5925 * examples/hildon-picker-button-example.c
5926 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5927 to all the treeviews inside a pannable area.
5929 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5931 * src/hildon-button.h
5932 * src/hildon-button.c (hildon_button_init)
5933 (hildon_button_set_arrangement, hildon_button_set_alignment)
5934 (hildon_button_set_title_alignment)
5935 (hildon_button_set_value_alignment)
5936 (hildon_button_set_image_alignment)
5937 (hildon_button_construct_child): New methods to set the alignment
5938 of the individual components of the button (title, value,
5939 image). Also, new method to alter the xscale and yscale properties
5940 of the GtkAlignment inside the button, so more complex layouts can
5943 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5945 * src/hildon-button.c (hildon_button_style_set)
5946 (hildon_button_class_init, hildon_button_set_arrangement)
5947 (hildon_button_construct_child): Apply style properties
5948 correctly. Use the 'image-spacing' style property too.
5950 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5952 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5953 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5956 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5958 * src/hildon-pannable-area.c,
5959 (hildon_pannable_area_size_request): Fixed problem with
5960 pannable-area size_request.
5962 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5964 Added management for the grab-focus to a child widget, like a
5965 range, we need to fade out the scrollbar when releasing.
5967 * src/hildon-pannable-area.c,
5968 (hildon_pannable_area_init): Connected the grab-focus signal to
5970 (hildon_pannable_area_grab_notify): Added this function in order
5971 to manage the situation when the grab-focus ends. We have to
5972 fade-out the scrollbar.
5974 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5976 * src/hildon-app-menu.c: Minor documentation update.
5978 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5980 * src/hildon-app-menu.c
5981 * examples/hildon-app-menu-example.c (create_menu): Update
5982 examples and documentation to explain how to connect callbacks.
5984 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5986 * examples/hildon-button-example.c
5987 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5988 hildon_stackable_window_new instead of gtk_window_new
5990 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5992 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5993 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5994 (hildon_pannable_area_set_property),
5995 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5996 (hildon_pannable_area_unrealize),
5997 (hildon_pannable_area_size_request),
5998 (hildon_pannable_area_size_allocate),
5999 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6000 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6001 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6002 (hildon_pannable_area_initial_effect),
6003 (hildon_pannable_area_redraw),
6004 (hildon_pannable_area_scroll_indicator_fade),
6005 (hildon_pannable_area_expose_event),
6006 (hildon_pannable_area_get_topmost), (synth_crossing),
6007 (hildon_pannable_area_button_press_cb),
6008 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6009 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6010 (hildon_pannable_area_motion_notify_cb),
6011 (hildon_pannable_area_button_release_cb),
6012 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6013 (hildon_pannable_area_remove),
6014 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6015 chage the code layout to a more GtkWidget like. Review the use of
6018 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6020 * examples/hildon-pannable-area-example-4.c,
6021 (main): Modified the name of the hindicator_mode to
6024 * src/hildon-pannable-area.c,
6025 (hildon_pannable_area_class_init),
6026 (hildon_pannable_area_motion_notify_cb),
6027 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6028 we have reduced the amount of signals and managed reviewed its
6029 rationale. Changed the default decelerate value.
6031 (hildon_pannable_area_add),
6032 (hildon_pannable_area_redraw): Refactored functions.
6034 (hildon_pannable_area_init),
6035 (hildon_pannable_area_get_property),
6036 (hildon_pannable_area_set_property):
6037 (hildon_pannable_draw_vscroll),
6038 (hildon_pannable_draw_hscroll),
6039 (hildon_pannable_area_initial_effect),
6040 (hildon_pannable_area_expose_event),
6041 (hildon_pannable_area_scroll),
6042 (hildon_pannable_area_button_press_cb),
6043 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6044 and vindicator_mode with hscrollbar_policy and
6045 vscrollbar_policy. Replaced hscroll and vscroll with
6046 hscroll_visible and vscroll_visible.
6048 (hildon_pannable_area_refresh): Refactor the function, remove
6049 variables and check the calls to this function, added resize
6050 conditions in case the children change their layout.
6052 (hildon_pannable_area_size_request): Added more detailed
6053 size_request calculation.
6056 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6058 * src/hildon-color-chooser.c
6059 (init_borders): use the correct gtk_border_free instead of g_free, to
6060 avoid a crash when this widget is used (ie: the three color selection
6063 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6065 * src/hildon-check-button.c,
6066 (hildon_check_button_set_active): Fixed problem when setting the
6067 active value, the widget was not redrawn.
6069 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6071 * src/hildon-pannable-area.c,
6072 (hildon_pannable_area_refresh),
6073 (hildon_pannable_area_scroll),
6074 (hildon_pannable_area_motion_notify_cb): Small code style change.
6076 (hildon_pannable_area_class_init): Default initial_hint set to
6077 FALSE, it is not in the specs.
6079 (hildon_pannable_area_initial_effect),
6080 (hildon_pannable_area_expose_event),
6081 (hildon_pannable_area_map),
6082 (hildon_pannable_area_init): Moved the launching point of the
6083 initial effect, it was in map but the sizes where not correct in
6084 that method so we do not know if we have the reproduce it. Now it
6085 is placed in the expose_event method and uses a variable to
6086 reproduce it just once.
6088 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6090 * src/hildon-pannable-area.c,
6091 (hildon_pannable_draw_vscroll),
6092 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6093 position allowed for the scrollbars.
6095 (hildon_pannable_area_size_allocate): Small style change.
6097 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6099 * src/hildon-pannable-area.c,
6100 (hildon_pannable_area_scroll_indicator_fade),
6101 (hildon_pannable_area_button_press_cb),
6102 (hildon_pannable_area_button_release_cb),
6103 (hildon_pannable_area_scroll_cb),
6104 (hildon_pannable_area_expose_event),
6105 (hildon_pannable_area_init): Added the define parameter
6106 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6107 and refactor the fade variable.
6109 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6111 * src/hildon-pannable-area.c,
6112 (hildon_pannable_area_redraw),
6113 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6114 lines, we were reimplemeting the redraw code.
6116 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6118 * src/hildon-pannable-area.c,
6119 (hildon_pannable_area_scroll_cb),
6120 (hildon_pannable_area_realize),
6121 (hildon_pannable_area_class_init): Added scroll_event management
6122 for pannable area, now we can scroll the usual desktop method.
6124 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6125 initialization of the parameters should depend on idle_id.
6127 (hildon_pannable_area_init),
6128 (hildon_pannable_area_map): Small code style modifications
6130 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6132 * src/hildon-pannable-area.c
6133 (hildon_pannable_area_button_press_cb),
6134 (hildon_pannable_area_motion_notify_cb),
6135 (hildon_pannable_area_button_release_cb),
6136 (hildon_pannable_area_size_allocate),
6137 (hildon_pannable_area_scroll_to): Improved the timeouts
6138 management, we avoid creating them each time.
6140 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6142 * src/hildon-pannable-area.c:
6143 (hildon_pannable_area_refresh),
6144 (hildon_pannable_area_motion_notify_cb),
6145 (hildon_pannable_area_class_init):
6146 * src/hildon-pannable-area.h:
6147 * src/hildon-touch-selector.c
6148 (_create_new_column):
6149 * examples/hildon-pannable-area-example-4.c:
6150 (horizontal_movement),
6151 (vertical_movement),
6153 Replaced the names of enums in the HildonPannableArea:
6154 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6155 HILDON_MOVEMENT_MODE_*
6156 - HILDON_PANNABLE_AREA_MOV_* ->
6158 - Removed HildonPannableAreaIndicatorMode, now we
6161 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6163 * examples/hildon-pannable-area-touch-grid-example.c
6164 * examples/hildon-pannable-area-touch-list-example.c: Fix
6165 compilation warnings.
6167 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6169 * src/hildon-gtk.c (hildon_gtk_button_new)
6170 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6171 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6172 images overriding the value of the "gtk-button-images" setting.
6174 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6176 * src/hildon-check-button.c (hildon_check_button_new):
6177 Instead of using a custom container, display the label and the
6178 checkbox using the standard GtkButton API.
6180 * examples/hildon-check-button-example.c (main): Don't use
6181 hildon_check_button_set_label() anymore
6183 * src/hildon-check-button.h
6184 * src/hildon-check-button.c
6185 (hildon_check_button_set_label, hildon_check_button_get_label):
6186 Set as deprecated, now we're using gtk_button_{get,set}_label()
6188 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6190 * src/hildon-pannable-area.c,
6191 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6192 GtkTreeview first line we detected it after the inclusion of the
6193 GtkWindowImpl in gtk+. We now check if the window is visible, not
6194 just if the pointer is over the window.
6195 (hildon_pannable_axis_scroll),
6196 (hildon_pannable_area_expose_event): Small style changes.
6198 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6200 * src/hildon-button.c: Update documentation.
6202 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6204 * examples/hildon-button-example.c: Add a switch to show images in
6207 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6209 * doc/hildon-docs.sgml: Some docs reorganization.
6211 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6213 * examples/hildon-pannable-area-touch-list-example.c
6215 * examples/hildon-pannable-area-touch-grid-example.c
6216 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6217 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6218 Fix memory leak when setting the tree model.
6220 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6224 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6226 * doc/hildon.types: Remove duplicated hildon_window_get_type
6227 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6228 documentation comment.
6230 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6232 * doc/Makefile.am: Complete list of private headers.
6234 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6236 * doc/hildon-docs.sgml
6237 * src/hildon-app-menu.c
6238 * src/hildon-bread-crumb.c
6239 * src/hildon-button.c
6241 * src/hildon-program.c
6242 * src/hildon-stackable-window.c
6243 * src/hildon-window.c: Lots of documentation updates.
6245 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6247 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6249 * configure.ac: Require Gtk+ 2.12.9 at least
6251 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6253 * src/hildon-pannable-area.c
6254 (hildon_pannable_area_scroll_indicator_fade),
6255 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6256 to protect the return of this timeout callbacks, avoiding deadlocks.
6258 2008-08-12 Christian Dywan <christian@imendio.com>
6261 * src/hildon-*.h: Ensure a consistent include order,
6262 include <gtk/gtk.h> instead of particular files and
6263 only include the topmost header in the gtk stack. See NB #39857
6265 2008-08-12 Christian Dywan <christian@imendio.com>
6267 * src/hildon-picker-dialog.c
6268 * src/hildon-touch-selector.c: Fix warnings about unused and
6269 uninitialized variables.
6271 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6273 * examples/Makefile.am
6274 * examples/hildon-check-button-example.c: Example of the hildon
6277 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6279 * src/hildon-window.h
6280 * src/hildon-window.c (hildon_window_class_init)
6281 (hildon_window_unset_program): Don't make
6282 hildon_window_unset_program a virtual function anymore.
6284 * src/hildon-stackable-window.c: Update documentation
6286 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6289 * doc/hildon-docs.sgml
6290 * doc/visual_index.xml
6291 * src/hildon-defines.c
6293 * src/hildon-helper.c
6294 * src/hildon-range-editor.c: Lots of documentation fixes.
6296 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6298 * examples/hildon-picker-button-multicolumn-example.c
6299 (create_touch_selector): Fix compilation warning.
6301 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6303 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6304 (hildon_pannable_area_button_release_cb)
6305 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6307 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6309 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6312 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6314 * src/hildon-bread-crumb-trail.h
6315 * src/hildon-date-editor.c
6316 * src/hildon-date-selector.c
6317 * src/hildon-pannable-area.c
6318 * src/hildon-picker-dialog.c
6319 * src/hildon-time-selector.c
6320 * src/hildon-touch-selector-entry.c
6321 * src/hildon-touch-selector.c
6322 * src/hildon-touch-selector.h: Misc documentation fixes
6324 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6326 * examples/hildon-date-editor-example.c (main): Updated date
6329 * examples/hildon-note-example.c (on_confirmation_clicked):
6330 Updated confirmation note example.
6332 * src/hildon-date-editor.c
6333 * src/hildon-note.c: Updated sample programs in documentation.
6336 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6338 * src/hildon-date-button.h:
6339 * src/hildon-picker-button.h:
6340 * src/hildon-time-button.c:
6341 * src/hildon-time-button.h:
6343 Some declarations changes to allow gtk-doc to document the widgets
6346 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6348 * src/hildon-date-button.c: Document the widget.
6349 * src/hildon-time-button.c: Document the widget.
6351 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6353 * src/hildon-picker-button.c: Document the widget.
6354 * src/hildon-touch-selector-entry.c: Document the widget.
6356 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6358 * doc/hildon-docs.sgml
6361 * src/hildon-check-button.h
6362 * src/hildon-check-button.c: New functions to create the Hildon
6366 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6368 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6370 * src/hildon-button.h
6371 * src/hildon-button.c
6372 (hildon_button_add_title_size_group)
6373 (hildon_button_add_value_size_group)
6374 (hildon_button_add_image_size_group)
6375 (hildon_button_add_size_groups): New functions to set size groups
6376 for the button labels and image.
6377 (hildon_button_new_full): Removed
6379 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6381 * src/hildon-time-selector.c
6382 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6383 in order to avoid a crash if gconf is not available
6385 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6387 * src/hildon-button.c (hildon_button_set_arrangement)
6388 (hildon_button_construct_child): Don't construct the button child
6389 before setting the arrangement.
6391 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6393 * src/hildon-program-private.h
6394 * src/hildon-program.c
6395 * src/hildon-program.h
6396 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6397 (hildon_program_peek_window_stack)
6398 (hildon_program_pop_window_stack)
6399 (hildon_program_go_to_root_window): HildonProgram now has a
6400 separate list for stackable windows. Functions are provided to
6401 manage that list with a stack-like API.
6403 * src/hildon-stackable-window.c: Stackable window management is
6404 now much simpler with the new HildonProgram API. Windows no
6405 longer need to be manually added to the program, they're
6406 automatically pushed to the top of the stack when shown.
6408 * examples/hildon-stackable-window-example.c: Updated example to
6409 reflect the API changes.
6411 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6413 * src/hildon-touch-selector.c: Comment out unimplemented
6414 hildon_touch_selector_insert_column() to avoid a compile warning.
6416 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6418 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6419 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6420 (hildon_touch_selector_set_column_selection_mode),
6421 (_hildon_touch_selector_set_model),
6422 (hildon_touch_selector_set_model):
6424 Complete review of HildonTouchSelector documentation.
6426 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6428 * doc/hildon-docs.sgml
6432 * src/hildon-gtk.c: Convenience functions for standard Gtk
6433 widgets, used to easily perform frequent operations.
6435 * src/hildon-button-helpers.h
6436 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6438 * src/hildon-helper.h
6439 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6440 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6442 * src/hildon-button.h
6443 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6445 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6447 * src/hildon-button.c (hildon_button_init)
6448 (hildon_button_set_arrangement, hildon_button_construct_child):
6449 Pack the image and the labels inside the same GtkAlignment so
6450 gtk_button_set_alignment() can be used
6452 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6454 * src/hildon-button.h
6455 * src/hildon-button.c
6456 (hildon_button_init, hildon_button_set_image)
6457 (hildon_button_set_image_position)
6458 (hildon_button_construct_child): New functions to add an image to
6461 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6463 * src/hildon-date-button.c
6464 * src/hildon-picker-button.c
6465 * src/hildon-time-button.c
6466 * src/hildon-button.c:
6467 (hildon_button_class_init): "size-flags" renamed to "size"
6468 (hildon_button_set_title): Hide the title label if set to NULL.
6470 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6472 HildonButtonFlags split into HildonButtonArrangement (to set the
6473 button layout) and HildonSizeType (which can be used for any
6476 * src/hildon-button.h
6477 * src/hildon-button.c
6478 (hildon_button_class_init)
6479 (hildon_button_set_arrangement)
6480 (hildon_button_set_property): New "size-flags"
6481 property. "arrangement-flags" renamed to "arrangement".
6482 (hildon_button_new, hildon_button_new_with_text)
6483 (hildon_button_new_full): Constructors updated to reflect type changes.
6485 * src/hildon-helper.h
6486 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6487 to set the size of a widget.
6491 * src/hildon-button-helpers.c
6492 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6494 * src/hildon-date-button.c
6495 * src/hildon-date-button.h
6496 * src/hildon-picker-button.c
6497 * src/hildon-picker-button.h
6498 * src/hildon-time-button.c
6499 * src/hildon-time-button.h: Updated widgets to reflect
6500 HildonButton API changes.
6502 * examples/hildon-button-example.c
6503 * examples/hildon-date-button-example.c
6504 * examples/hildon-picker-button-example.c
6505 * examples/hildon-picker-button-multicolumn-example.c
6506 * examples/hildon-time-button-example.c
6507 * examples/hildon-touch-selector-entry-example.c
6508 * examples/hildon-touch-selector-example.c: Updated examples to
6509 reflect HildonButton API changes.
6511 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6513 * doc/hildon-docs.sgml:
6515 * examples/Makefile.am:
6516 * examples/hildon-touch-selector-entry-example.c:
6518 * src/hildon-touch-selector-entry.c:
6519 * src/hildon-touch-selector-entry.h:
6522 Moved HildonTouchSelectorEntry from sandbox. Added its
6523 documentation and examples.
6525 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6527 * src/hildon-touch-selector.h:
6528 * examples/hildon-picker-button-multicolumn-example.c:
6529 (hildon_touch_selector_append_text_column): Add a gboolean
6530 parameter to determine if text must be centered in the column.
6532 * src/hildon-date-selector.c: (hildon_date_selector_init):
6533 * src/hildon-time-selector.c: (hildon_time_selector_init):
6534 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6535 (create_touch_selector): Update widgets and example to reflect
6538 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6540 * src/hildon-touch-selector.c:
6541 (hildon_touch_selector_set_active_iter): Set also the cursor in
6544 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6546 * doc/hildon-docs.sgml
6549 * src/hildon-toggle-button.c
6550 * src/hildon-toggle-button.h
6551 * src/hildon.h: Removed HildonToggleButton widget, a derived
6552 class is not necessary for this.
6554 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6556 * src/hildon-pannable-area.c,
6557 (hildon_pannable_area_realize),
6558 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6561 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6563 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6564 "done" button the default widget for the dialog.
6566 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6568 * src/hildon-touch-selector.c:
6569 (hildon_touch_selector_class_init),
6570 (hildon_touch_selector_get_property),
6571 (_hildon_touch_selector_set_model),
6572 (_hildon_touch_selector_has_multiple_selection),
6573 (hildon_touch_selector_has_multiple_selection):
6574 Add a "has-multiple-selection" property with a virtual
6575 has_multiple_selection() method to allow derived classes to
6576 override the default value for it. See the method and property
6577 documentation for details.
6579 * src/hildon-touch-selector.h: Add the new API.
6581 * src/hildon-picker-dialog.c: (requires_done_button): Call
6582 hildon_touch_selector_has_multiple_selection() instead of
6583 determining the need for a button itself.
6585 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6587 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6588 (_hildon_touch_selector_set_model),
6589 (hildon_touch_selector_set_model): Move working code to
6590 _hildon_touch_selector_set_mode(). Call the class method instead.
6592 * src/hildon-touch-selector.h: Add (*set_model) to
6593 HildonTouchSelectorClass.
6595 Make hildon_touch_selector_set_model() a virtual method, so that
6596 derived classes can extend it and do fancy stuff with the model.
6598 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6600 * configure.ac: Set back the tarname in AC_INIT to hildon.
6602 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6606 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6607 instead of libesd (NB#86876). Volume handling is still an open issue.
6609 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6612 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6614 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6615 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6616 derived class to ease placement of an entry widget in
6617 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6618 end, where the selector columns are packed now.
6620 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6622 * src/hildon-picker-button.c: Removed the simple _text() API.
6623 * src/hildon-picker-button.h: Likewise.
6625 * src/hildon-touch-selector.h:
6626 * src/hildon-touch-selector.c:
6627 (hildon_touch_selector_new_text),
6628 (hildon_touch_selector_append_text),
6629 (hildon_touch_selector_prepend_text),
6630 (hildon_touch_selector_insert_text):
6632 Moved the simple _text() API from HildonPickerButton to
6633 HildonTouchPicker, to provide better escalability and not to tie
6634 that API to HildonPickerButton.
6636 * examples/hildon-picker-button-example.c: (main): Example updated.
6638 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6640 * src/hildon-button.c: Updated documentation.
6642 * examples/hildon-button-example.c: Add the posibility to create
6643 the buttons using horizontal layout for title and value.
6645 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6647 * src/hildon-app-menu-private.h
6648 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6649 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6650 GtkSizeGroup for the filters, use the 'homogeneous' property of
6653 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6655 * examples/hildon-button-example.c: Updated example.
6657 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6659 * doc/hildon-docs.sgml:
6662 Update documentation.
6664 * examples/Makefile.am: Update renamed examples.
6666 * examples/hildon-picker-button-multicolumn-example.c:
6667 (create_touch_selector), (main): Update after the rename.
6669 * examples/hildon-touch-picker-example.c: Removed.
6670 * examples/hildon-touch-selector-example.c: (value_changed),
6671 (create_selector), (get_visible_content), (main): Renamed from
6672 hildon-touch-picker-example.c
6674 * src/Makefile.am: Updated renamed files.
6676 * src/hildon-date-button.c: (hildon_date_button_init),
6677 (hildon_date_button_get_date), (hildon_date_button_set_date):
6678 * src/hildon-date-selector.c: (hildon_date_selector_init),
6679 (_custom_print_func), (_update_day_model),
6680 (_manage_selector_change_cb),
6681 (hildon_date_selector_select_current_date),
6682 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6683 * src/hildon-date-selector.h:
6684 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6685 (hildon_picker_button_set_property),
6686 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6687 (hildon_picker_button_init), (hildon_picker_button_new_text),
6688 (hildon_picker_button_append_text),
6689 (hildon_picker_button_prepend_text),
6690 (hildon_picker_button_insert_text),
6691 (hildon_picker_button_set_selector),
6692 (hildon_picker_button_get_selector):
6693 * src/hildon-picker-button.h:
6694 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6695 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6696 (_update_title_on_selector_changed_cb), (requires_done_button),
6697 (_hildon_picker_dialog_set_selector),
6698 (hildon_picker_dialog_set_selector),
6699 (hildon_picker_dialog_get_selector):
6700 * src/hildon-picker-dialog.h:
6701 * src/hildon-time-button.c: (hildon_time_button_init),
6702 (hildon_time_button_get_time), (hildon_time_button_set_time):
6703 * src/hildon-time-selector.c: (hildon_time_selector_init),
6704 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6705 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6706 * src/hildon-time-selector.h:
6709 Massive code updates after the rename.
6711 * src/hildon-touch-picker.c: Removed.
6712 * src/hildon-touch-picker.h: Removed.
6714 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6715 (hildon_touch_selector_init), (hildon_touch_selector_map),
6716 (hildon_touch_selector_remove), (_default_print_func),
6717 (_selection_changed_cb), (_create_new_column),
6718 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6719 (hildon_touch_selector_append_text_column),
6720 (hildon_touch_selector_remove_column),
6721 (hildon_touch_selector_set_column_attributes),
6722 (hildon_touch_selector_insert_column),
6723 (hildon_touch_selector_get_num_columns),
6724 (hildon_touch_selector_get_column_selection_mode),
6725 (hildon_touch_selector_set_column_selection_mode),
6726 (hildon_touch_selector_set_print_func),
6727 (hildon_touch_selector_get_print_func),
6728 (hildon_touch_selector_get_active_iter),
6729 (hildon_touch_selector_set_active_iter),
6730 (hildon_touch_selector_get_selected_rows),
6731 (hildon_touch_selector_get_model),
6732 (hildon_touch_selector_set_model),
6733 (hildon_touch_selector_get_current_text),
6734 (_hildon_touch_selector_center_on_selected_items):
6735 * src/hildon-touch-selector.h: Renamed from
6736 hildon-touch-picker.[ch]
6738 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6739 references, code examples, and related documentation.
6741 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6743 * doc/hildon-docs.sgml
6746 * src/hildon-toggle-button.c
6747 * src/hildon-toggle-button.h
6748 * src/hildon.h: New HildonToggleButton widget.
6750 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6752 * src/hildon-button.c: Add API documentation.
6753 (hildon_button_set_size_groups): Check input parameters
6755 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6757 * src/hildon-pannable-area.c
6758 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6759 effect after reaching the movement thredshold. This way we start
6760 using the distance after passing the thredshold.
6762 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6764 * src/hildon-button.c: (hildon_button_set_property): Use the
6765 appropriate g_value_get_flags() method.
6767 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6769 * doc/hildon-docs.sgml:
6772 Add the touch pickers, picker dialogs, and picker button widgets
6773 to the documentation.
6775 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6777 * src/hildon-button.c: (hildon_button_set_property),
6778 (hildon_button_class_init): Make "arrangement-flags" a proper
6779 G_TYPE_FLAGS derived property.
6781 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6783 * examples/Makefile.am: Add below examples.
6784 * examples/hildon-date-button-example.c:
6785 * examples/hildon-picker-button-example.c:
6786 * examples/hildon-picker-button-multicolumn-example.c:
6787 * examples/hildon-time-button-example.c:
6788 * examples/hildon-touch-picker-example.c:
6790 Add examples for the recently added touch pickers,
6791 picker dialogs, and picker button widgets.
6793 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6795 * src/hildon-button.c: Add some API documentation
6797 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6799 * src/hildon-button.h
6800 * src/hildon-button.c
6802 (hildon_button_new_with_text): New constructor to create a button
6803 with no text at all.
6804 (hildon_button_init, hildon_button_set_arrangement)
6805 (hildon_button_set_title, hildon_button_set_value)
6806 (hildon_button_set_text)
6807 (hildon_button_construct_child): Hide the value when it's not used
6808 so the rest of the text is properly aligned.
6809 Allow creating buttons with arbitrary widgets inside (not just
6810 title/value labels).
6812 * examples/hildon-button-example.c (vertical_buttons_window)
6813 (horizontal_buttons_window): Update example to use new API.
6815 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6817 * src/Makefile.am: Added HildonTimeButton.
6818 * src/hildon-time-button.c: Added missing LGPL header.
6819 * src/hildon-time-button.h: Added missing LGPL header.
6820 * src/hildon.h: Add hildon-time-button.h
6822 Copied HildonTimeButton from sandbox to trunk. Future work on this
6823 widget must take place in trunk.
6825 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6827 * src/Makefile.am: Added HildonDateButton.
6828 * src/hildon-date-button.c: Update includes.
6829 * src/hildon.h: Add hildon-date-button.h
6831 Copied HildonDateButton from sandbox to trunk. Future work on this
6832 widget must take place in trunk.
6834 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6836 * src/Makefile.am: Added HildonPickerButton.
6837 * src/hildon-picker-button.h: Update includes.
6838 * src/hildon.h: Add hildon-picker-button.h
6840 Copied HildonPickerButton from sandbox to trunk. Future work on
6841 this widget must take place in trunk.
6843 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6845 * src/Makefile.am: Added HildonPickerDialog.
6846 * src/hildon-picker-dialog.c: Update includes.
6847 * src/hildon.h: Add hildon-picker-dialog.h
6849 Copied HildonPickerDialog from sandbox to trunk. Future work
6850 on this widget must take place in trunk.
6852 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6854 * src/Makefile.am: Added HildonTimeSelector.
6855 * src/hildon.h: Add hildon-time-selector.h
6857 Copied HildonTimeSelector widget from sandbox to trunk. Future
6858 work on this widget must happen in trunk.
6860 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6862 * src/Makefile.am: Added HildonDateSelector.
6863 * src/hildon.h: Add hildon-date-selector.h
6865 Copied HildonDateSelector widget from sandbox to trunk. Future
6866 work on this widget must happen in trunk.
6868 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6870 * src/Makefile.am: Added HildonTouchPicker.
6871 * src/hildon-touch-picker.c: Update includes.
6872 * src/hildon.h: Add hildon-touch-picker.h
6874 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6875 on this widget must happen in trunk.
6877 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6879 * src/hildon-pannable-area.c:
6880 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6882 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6884 * examples/hildon-app-menu-example.c (main): Let the window
6887 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6889 * src/hildon-pannable-area.c
6890 (hildon_pannable_area_class_init): Set the min value of the
6891 overshoot properties to zero, which points out that not
6892 overshooting allowed.
6894 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6896 Modified the procedure to get the widget at a point inside the
6897 pannable area when using the movement type signals. Now the user
6898 has to call a function to get the child, that way we just
6899 calculate the child in case the user really want to use it and not
6902 * src/hildon-marshalers.list: Modified the marshallers, now we do
6903 not have the widget as a parameter.
6905 * src/hildon-pannable-area.c
6906 (hildon_pannable_area_motion_notify_cb),
6907 (hildon_pannable_area_class_init),
6908 (hildon_pannable_get_child_widget_at): Removed the widget
6909 parameter from the signal callback. We have also refactored the
6910 emission of the signals.
6912 * src/hildon-pannable-area.h: Added a new method to the API to
6913 calculate a widget at a point inside the pannable area,
6914 hildon_pannable_get_child_widget_at.
6916 * examples/hildon-pannable-area-example-4.c
6917 (horizontal_movement): Modified the example to use the new API,
6918 added condition to control which widget is under the event. This
6919 way we can avoid scrolling laterally over other widgets.
6921 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6923 * src/hildon-pannable-area.c
6924 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6925 modes, we stop getting the pointer events due to returning the
6926 callback without properly calling the get pointer again. Fixed
6927 also an error using the hscroll and vscroll.
6929 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6931 * src/hildon-app-menu-private.h
6932 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6933 (hildon_app_menu_button_release, hildon_app_menu_init)
6934 (hildon_app_menu_class_init): Don't hide the menu on button
6935 release if the user didn't press outside first.
6937 * src/hildon-window.h
6938 * src/hildon-window.c (hildon_window_toggle_menu)
6939 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6940 hildon_window_toggle_menu a virtual function for the stackable
6941 window to override it.
6943 * src/hildon-stackable-window.h
6944 * src/hildon-stackable-window-private.h
6945 * src/hildon-stackable-window.c
6946 (hildon_stackable_window_realize)
6947 (hildon_stackable_window_finalize)
6948 (hildon_stackable_window_class_init)
6949 (hildon_stackable_window_init)
6950 (hildon_stackable_window_set_main_menu): New function to set the
6951 app menu of a HildonStackableWindow.
6953 * examples/hildon-app-menu-example.c: Remove the button to show
6954 the app menu, now it'll be shown when clicking on the title bar
6957 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6959 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6960 set the widget name if the arrangement flags do not specify
6963 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6965 * src/hildon-button.c: (hildon_button_set_property),
6966 (hildon_button_class_init), (hildon_button_new_full),
6967 (hildon_button_set_arrangement): Added "arrangement-flags"
6970 Make the HildonButtonFlags a construction-only property, to allow
6971 subclasses to set them properly.
6973 2008-07-21 Tim Janik <timj@imendio.com>
6975 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6976 insertion position after backspace, so additional digits are appended,
6979 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6981 * src/hildon-pannable-area.c,
6982 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6983 TODO list, it was complete and removed the g_debug and g_print
6986 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6988 Added the movement modes to the hildon-pannable-area, with this
6989 modes the developers can control in which directions the widget
6990 can scroll. They can also connect to signals in order to do
6991 something when that happens, allowing applications scroll. There
6992 is an example uploaded showing how to use it.
6994 * examples/Makefile.am:
6995 * examples/hildon-pannable-area-example-4.c: Added this example of
6996 an application using the modes.
6998 * src/hildon-marshalers.list: Added a new marshaller for the new
7001 * src/hildon-pannable-area.h: Added new enumerations and flags in
7002 order to control the movement modes and the new signals to warn
7003 about the movements in the area.
7005 * src/hildon-pannable-area.c:
7006 (hildon_pannable_axis_scroll),
7007 (hildon_pannable_area_scroll),
7008 (hildon_pannable_area_motion_notify_cb),
7009 (hildon_pannable_area_get_property),
7010 (hildon_pannable_area_set_property),
7011 (hildon_pannable_area_map),
7012 (hildon_pannable_area_class_init),
7013 (hildon_pannable_area_init),
7014 (hildon_pannable_area_jump_to): Added the modes to control the
7015 movement in the widget. We have added properties to control it,
7016 signals to warn about the movements and refactored some code.
7018 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7020 Changes required in order to allow vfast_factor set to zero to
7023 * src/hildon-pannable-area.c:
7024 (hildon_pannable_area_button_press_cb): Changed the condition, it
7025 is required for not allowing click when vfast_factor is zero.
7026 (hildon_pannable_area_timeout): Initialized velocity variables
7027 when we stop moving, it was less than 1 but not zero and we need
7028 to check zero in some situations.
7029 (hildon_pannable_area_class_init): Changed the default value of
7030 the speed factor, now the button_press is just sent in case the
7031 speed is 2 per cent of the max speed.
7032 (hildon_pannable_area_init): Initialization with 0.
7034 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7036 * src/hildon-pannable-area.c,
7037 (hildon_pannable_area_get_topmost): replaced
7038 gdk_window_get_children with gdk_window_peek_children, this way we
7039 do not have to free the list because it is not a copy.
7041 (hildon_pannable_axis_scroll),
7042 (hildon_pannable_area_scroll),
7043 (hildon_pannable_area_timeout),
7044 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7045 two parameters that were only used inside the
7046 hildon_pannable_area_scroll function.
7048 * examples/hildon-pannable-area-example.c,
7049 (get_sawtooth_label): Fixed small memory leak.
7051 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7053 More checks for the case where the overshoot is bigger than the
7056 * src/hildon-pannable-area.c:
7057 (hildon_pannable_draw_vscroll),
7058 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7059 to draw the slider of the scrollbar under the other scrollbar.
7060 (hildon_pannable_area_expose_event): added new checks to control
7061 the drawing of the overshooting area rectangle, in case it is too
7062 big for the area of the widget.
7063 (hildon_pannable_area_size_allocate): add more checks to avoid
7064 setting a position to the child widget outside the area.
7066 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7068 * src/hildon-pannable-area.c
7069 (hildon_pannable_area_size_allocate): Added conditions to control
7070 when overshooting is bigger than the allocated space for the
7071 children, this avoids negative allocations.
7073 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7075 * doc/hildon-docs.sgml
7077 * examples/Makefile.am
7078 * examples/hildon-button-example.c
7080 * src/hildon-button.c
7081 * src/hildon-button.h
7082 * src/hildon.h: Initial version of the new HildonButton widget,
7085 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7087 * src/hildon-pannable-area.c:
7088 (hildon_pannable_area_button_press_cb),
7089 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7090 (hildon_pannable_area_motion_notify_cb),
7091 (hildon_pannable_area_button_release_cb),
7092 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7093 (hildon_pannable_area_jump_to_child):
7095 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7097 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7099 * examples/Makefile.am
7100 * examples/hildon-pannable-area-touch-grid-example.c
7101 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7102 the Hildon Touch List and Hildon Touch Grid using the
7103 HildonPannableArea widget.
7105 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7107 * src/hildon-pannable-area.c,
7108 (hildon_pannable_area_button_press_cb),
7109 (hildon_pannable_area_refresh),
7110 (hildon_pannable_area_scroll),
7111 (hildon_pannable_area_motion_notify_cb),
7112 (hildon_pannable_area_button_release_cb),
7113 (hildon_pannable_area_expose_event),
7114 (hildon_pannable_area_add),
7115 (hildon_pannable_area_remove),
7116 (hildon_pannable_area_realize),
7117 (hildon_pannable_area_size_allocate),
7118 (hildon_pannable_area_class_init),
7119 (hildon_pannable_area_init),
7120 (hildon_pannable_area_scroll_to_child),
7121 (hildon_pannable_area_jump_to_child): Fixed the problem of
7122 removing the child from the GtkBin, we have rearranged the widget
7123 hierarchy, now there is no GtkAlignment which was not doing
7124 anything interesting but breaking some of the assumptions of
7125 GtkContainer. Now developers if they want to add a GtkAlignment
7126 they could, but it is not inside the area.
7128 We had to review the whole allocation/expose process, now it is
7129 improved and we save at least three signals which would be saving
7130 some time when rendering the widget. The allocation of the
7131 scrollbars is now made in the allocate method as usual.
7133 We have also added some conditions in order to control when there
7134 is no child of the pannable area. Maybe we will need more work
7137 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7139 * src/hildon-pannable-area.c,
7140 (hildon_pannable_area_dispose): Released the fade-out timeout when
7141 disposing the widget.
7143 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7145 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7146 zero, we are going to use that property in order to deactivate the
7148 (hildon_pannable_axis_scroll),
7149 (hildon_pannable_area_size_allocate): Added conditions to control
7150 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7151 call, now it is called in all situations and we can remove calls
7152 in the allocate method.
7153 (hildon_pannable_area_map): Control the situation when
7154 overshoot_max is zero, we do not need the timeout.
7155 (hildon_pannable_area_class_init): Added documentation in order to
7156 point out that setting zero to overshoot_max means deactivate
7159 NOTE: removed trailing whitespaces from my previous comments of
7162 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7164 * src/hildon-pannable-area.c
7165 (hildon_pannable_area_get_property),
7166 (hildon_pannable_area_set_property),
7167 (hildon_pannable_area_map),
7168 (hildon_pannable_area_class_init),
7169 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7170 to cause the widget give a hint about its panning abilities upon
7173 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7175 * src/hildon-pannable-area.c: Several documentation improvements.
7177 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7179 * src/hildon-program.c
7180 * src/hildon-stackable-window.c: Update documentation.
7182 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7184 * src/hildon-stackable-window.c (get_previous_window_if_last):
7185 Renamed get_last_window()
7186 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7187 (hildon_stackable_window_unset_program):
7189 (get_previous_window_if_last):
7190 Detect if the window hasn't been added to a HildonProgram.
7192 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7194 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7196 * src/hildon-pannable-area.c
7197 (hildon_pannable_area_button_press_cb),
7198 (hildon_pannable_axis_scroll),
7199 (hildon_pannable_area_scroll),
7200 (hildon_pannable_area_timeout),
7201 (hildon_pannable_calculate_vel_factor),
7202 (hildon_pannable_area_get_property),
7203 (hildon_pannable_area_set_property),
7204 (hildon_pannable_area_class_init),
7205 (hildon_pannable_area_init),
7206 (hildon_pannable_area_scroll_to),
7207 (hildon_pannable_area_jump_to),
7208 (hildon_pannable_area_scroll_to_child),
7209 (hildon_pannable_area_jump_to_child):
7210 * src/hildon-pannable-area.h: Added the new API functions:
7211 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7212 hildon_pannable_area_scroll_to_child,
7213 hildon_pannable_area_jump_to_child
7216 * examples/Makefile.am
7217 * examples/hildon-pannable-area-example-2.c
7218 * examples/hildon-pannable-area-example-3.c: Added these two new
7219 examples in order to test and show how the new APIs work.
7221 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7223 * examples/hildon-stackable-window-example.c (new_window):
7224 * src/Makefile.am (noinst_HEADERS):
7225 * src/hildon-program.c (hildon_program_go_to_root_window):
7226 * src/hildon-program.h:
7227 * src/hildon-stackable-window-private.h:
7228 * src/hildon-stackable-window.c:
7229 * src/hildon-stackable-window.h:
7230 Create hildon-stackable-window-private.h
7231 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7233 * examples/hildon-app-menu-example.c (create_menu):
7234 * examples/hildon-hvolumebar-insensitive-example.c (main):
7235 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7236 * examples/hildon-toolbar-seekbar-example.c (main):
7237 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7238 * src/hildon-banner.c (hildon_banner_set_property):
7239 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7240 Fix compilation warnings
7242 * src/hildon-window.c:
7245 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7247 * src/hildon-stackable-window.c
7248 (hildon_stackable_window_unset_program):
7249 Calculate correctly whether to show the previous window if the
7250 last one is removed from the stack.
7251 (hildon_stackable_window_go_to_root_window):
7252 Send delete events starting from the topmost window.
7253 Stop if one of the windows is not destroyed.
7255 (hildon_stackable_window_delete_event)
7256 (hildon_stackable_window_class_init):
7257 Ignore the delete event if the window is not the topmost one.
7259 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7261 * src/hildon-pannable-area.c
7262 (hildon_pannable_area_expose_event): Fixed a problem when
7263 selecting the background color of the scrollbars.
7265 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7267 * examples/hildon-stackable-window-example.c
7268 * src/hildon-stackable-window.c
7269 * src/hildon-stackable-window.h
7270 hildon_stackable_window_go_home() renamed to
7271 hildon_stackable_window_go_to_root_window()
7272 Send delete events to windows rather than closing them with
7273 gtk_widget_destroy()
7275 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7277 * src/hildon-pannable-area.c
7278 (hildon_pannable_area_button_release_cb): Fix overshooting in
7281 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7283 * src/hildon-pannable-area.c
7284 (hildon_pannable_area_init): Initially show the scroll indicators.
7285 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7287 Add initial effect showing the widget is pannable.
7289 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7291 * src/hildon-pannable-area.c
7292 (hildon_pannable_area_class_init)
7293 (hildon_pannable_area_set_property)
7294 (hildon_pannable_area_get_property)
7295 (hildon_pannable_area_button_press_cb):
7296 New 'velocity_fast_factor' property to decide which velocity is
7299 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7301 * src/hildon-pannable-area.c
7302 (hildon_pannable_draw_hscroll)
7303 (hildon_pannable_draw_vscroll):
7304 Use float variables to calculate the size of the scrollbars to
7305 avoid error propagation and resizing during scrolling.
7307 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7309 * src/hildon-pannable-area.c
7310 (hildon_pannable_draw_vscroll)
7311 (hildon_pannable_draw_hscroll):
7312 Define a minimum size for the scroll bars
7314 * src/hildon-stackable-window.c
7315 (hildon_stackable_window_go_home): Fix compilation warning
7316 (get_last_window): Minor optimizations
7317 (hildon_stackable_window_class_init): Fix initialization of
7320 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7322 * src/hildon-stackable-window.c: Fixed typos in doc
7324 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7326 * src/hildon-pannable-area.c
7327 (hildon_pannable_area_scroll):
7328 Calculate here whether we need to scroll instead of using the booleans
7329 that tell us whether to /draw/ the scrolling bars.
7331 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7333 * src/hildon-app-menu.h
7335 * src/hildon-app-menu.c
7336 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7337 multiple filter groups related code and API. Now we support only
7339 * examples/hildon-app-menu-example.c:
7341 Update to reflect API changes.
7343 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7345 * src/hildon-stackable-window.c
7346 (hildon_stackable_window_class_init):
7347 Add hildon_stackable_window_realize.
7348 (hildon_stackable_window_realize):
7349 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7350 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7351 to apply theming and behavior specific to HildonStackableWindow
7354 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7356 * src/hildon-note.c (hildon_note_button_release):
7357 Close information notes also when tapping on them
7359 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7361 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7362 ELASTICITY, refactor and review, fix some issues with drawing
7365 * src/hildon-pannable-area.c:
7366 (hildon_pannable_area_button_press_cb): removed the conditions to
7367 avoid clicks when overshooting. It is not required
7369 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7370 define. Refatored and reviewed the code, now we do not need to
7371 manage velocity in motion_notify.
7373 (hildon_pannable_area_motion_notify_cb): We have moved the code
7374 that controls the area_scroll to the axis_scroll function and get
7375 rid of duplicated code.
7377 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7379 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7381 (hildon_pannable_draw_vscroll),
7382 (hildon_pannable_draw_hscroll): Fixed the problems with the
7383 scrollbar drawing, now we do not use two surfaces, it is easier
7384 and saves resources.
7386 (hildon_pannable_area_get_property): Style modification.
7388 (hildon_pannable_area_class_init): Changed some default values.
7390 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7392 * src/hildon-stackable-window.c: Fix some typos in the
7395 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7397 * src/hildon-dialog.c:
7398 Change indentation style
7401 (hildon_note_button_release):
7402 Use root coordinates to check if the release event happened
7405 * src/hildon-app-menu.c
7406 (hildon_app_menu_button_release):
7407 Remove unnecessary check
7409 * examples/hildon-app-menu-example.c
7411 Add cast to fix warning
7413 * src/hildon-app-menu.c
7414 (hildon_app_menu_class_init):
7415 New inner-border style property.
7416 Set all default spacings to 16
7417 (hildon_app_menu_init):
7418 Use vertical-spacing to set the space between filter buttons and
7419 regular menu buttons.
7420 Set the default container border using the inner-border value.
7422 * examples/hildon-app-menu-example.c
7424 Don't set the menu border explicitly, now we have the inner-border
7425 style property for that.
7427 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7429 * src/hildon-app-menu.c (hildon_app_menu_init):
7430 Make the window modal
7432 * src/hildon-note.c (hildon_note_map)
7433 * src/hildon-app-menu.c (hildon_app_menu_map):
7434 Destroy the grab window if we're unable to grab the pointer
7436 * src/hildon-app-menu-private.h
7437 * src/hildon-app-menu.c
7438 (hildon_app_menu_init, hildon_app_menu_finalize)
7439 (hildon_app_menu_map, hildon_app_menu_unmap)
7440 (hildon_app_menu_button_release)
7441 (grab_transfer_window_get):
7442 Bring back the grab window
7443 (hildon_app_menu_realize):
7444 Decorate the window, set WM hint for Matchbox
7446 * src/hildon-note.c (hildon_note_realize):
7447 * src/hildon-banner.c (hildon_banner_realize):
7448 Add WM hints for Matchbox
7450 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7452 * src/hildon-app-menu-private.h
7453 * src/hildon-app-menu.c
7454 (hildon_app_menu_init, hildon_app_menu_finalize)
7455 (hildon_app_menu_map, hildon_app_menu_unmap)
7456 (hildon_app_menu_button_release):
7457 Remove the grab window, it's not needed anymore
7459 * src/hildon-program.c
7460 Fixed typo in documentation
7462 * src/hildon-app-menu.h
7463 * src/hildon-app-menu.c
7464 * examples/hildon-app-menu-example.c
7465 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7467 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7470 Added new transfer_window and close_if_pressed_outside private
7472 (hildon_note_rebuild):
7473 Don't add a cancel button to the information note. It will be
7474 closed when tapping outside
7475 Remove the comment about the OK button in the documentation
7476 (hildon_note_realize):
7477 Set the notification type hint
7478 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7479 Grab/ungrab pointer and keyboard if the note has to be closed when
7481 (hildon_note_button_release):
7482 Close the note when tapping outside (if applicable)
7484 * src/hildon-app-menu.c
7485 Grab/ungrab pointer and keyboard on map/unmap
7486 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7487 Close the menu on button release, not button press
7489 * src/hildon-banner.c
7490 (hildon_banner_set_property)
7491 (hildon_banner_check_position):
7492 Make the banner use the full width of the screen
7493 (hildon_banner_show_information)
7494 (hildon_banner_show_information_with_markup):
7495 Don't display an icon by default
7497 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7499 Added fading scrollbars and adapted all the overshooting code to
7500 horizontal scrolling. We have also fixed bugs with overshooting
7501 and current fading implementation.
7503 * src/hildon-pannable-area.c
7504 (hildon_pannable_area_scroll_indicator_fade): Time out function
7505 used to change the transparency of the scrollbars.
7507 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7508 control and fixed a problem with fading, we now remove the fade
7509 timeout before adding a new one.
7511 (hildon_pannable_axis_scroll):
7512 (hildon_pannable_area_scroll):
7513 (hildon_pannable_area_timeout): Added this functions so we can use
7514 the scroll code both for vertical and horizontal.
7516 (hildon_pannable_area_motion_notify_cb):
7517 (hildon_pannable_area_button_release_cb): Added the horizontal
7518 scrolling control, fixed a problem with the overshooting timeout.
7520 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7521 painting of the scrolls.
7523 (hildon_pannable_draw_vscroll):
7524 (hildon_pannable_draw_hscroll):
7525 (hildon_pannable_area_expose_event):
7526 Draw both scrollbars and rectangles in the overshooting area.
7528 (hildon_pannable_area_get_property):
7529 (hildon_pannable_area_set_property):
7530 Modified the overshoot property to overshoot_max
7532 (hildon_pannable_area_map):
7533 Replaced the comments symbols.
7535 (hildon_pannable_area_size_allocate):
7536 (hildon_pannable_area_class_init):
7537 (hildon_pannable_area_init): Added horizontal scroll, fading
7538 effect properties, fixed a problem when overshooting in the bottom
7541 * examples/hildon-pannable-area-example.c:
7542 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7543 looks better in the example.
7545 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7547 * src/hildon-window.c
7548 * src/hildon-window.h
7549 (hildon_window_class_init)
7550 (hildon_window_unset_program)
7551 (hildon_window_unset_program_real):
7552 Make unset_program a virtual function
7554 * src/hildon-stackable-window.c
7555 * src/hildon-stackable-window.h
7556 Added hildon_stackable_window_go_home()
7558 * examples/Makefile.am
7559 * examples/hildon-stackable-window-example.c
7560 HildonStackableWindow example
7562 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7564 * hildon-pannable-area.c: Added the overshoot property and removed
7565 the OVERSHOOT define. Fixed an indent style error.
7566 (hildon_pannable_area_motion_notify_cb):
7567 (hildon_pannable_area_get_property):
7568 (hildon_pannable_area_set_property): Add overshoot property.
7570 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7573 (hildon_pannable_area_class_init): Installed the new property.
7575 * hildon-pannable-area-example.c: Added a sawtooth function, this
7576 way it is easier to check the movement in the pannable.
7577 (get_sawtooth_label): Added this function.
7578 (main): Now we get the labels from the new get_sawtooth_label
7581 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7583 * src/hildon-app-menu.h
7584 * src/hildon-app-menu.c
7585 Renamed API variables for consistency
7587 (hildon_app_menu_popup): Use also the default window size to
7588 decide where to place the menu
7590 (hildon_app_menu_init, hildon_app_menu_class_init): New
7591 external-border style property
7593 2008-05-26 Michael Natterer <mitch@imendio.com>
7595 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7596 widget_class->tap_and_hold_setup signal slot doesn't exist any
7597 longer, stop overriding it.
7599 (hildon_time_editor_init): g_signal_connect() to the
7600 tap-and-hold-setup signal instead.
7602 (hildon_time_editor_entry_keypress): add cast to fix warning.
7604 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7606 * doc/hildon-docs.sgml
7608 * examples/Makefile.am
7609 * examples/hildon-app-menu-example.c
7611 * src/hildon-app-menu-private.h
7612 * src/hildon-app-menu.c
7613 * src/hildon-app-menu.h
7615 New HildonAppMenu widget
7617 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7619 Rearranged the inheritance of the pannable area, now it inherits
7620 from GtkBin. This will allow us to control the event_window and
7621 the allocation process of the widget, required for some effects.
7623 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7624 GtkBin structures. * src/hildon-pannable-area.c: Added the
7625 event_window variable.
7626 (hildon_pannable_area_button_press_cb):
7627 (hildon_pannable_area_button_release_cb):
7628 (hildon_pannable_area_motion_notify_cb):
7629 Changed the signature of the method, now we override the event
7630 callback instead of connecting to the signal.
7632 (hildon_pannable_area_realize):
7633 (hildon_pannable_area_unrealize):
7634 (hildon_pannable_area_map):
7635 (hildon_pannable_area_unmap):
7636 (hildon_pannable_area_size_allocate):
7637 Added functions to control the widget construction. We add a
7638 INPUT_ONLY window and we put it over the widgets inside the
7639 container, this event_window handles the events.
7641 (hildon_pannable_area_class_init):
7642 Replaced the signal connections with overrides of the event
7645 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7647 Bouncing effect added when touching the borders, you can change
7648 the elasticity of the border changing the ELASTICITY define.
7650 * src/hildon-pannable-area.c: Added ELASTICITY define.
7651 (hildon_pannable_area_timeout): Added inverse velocity when
7652 touching the border of the child widget, that causes a bounce.
7654 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7656 Improved performance, we now do not go to the X server in order to
7657 get the list of window children. Apparently the effect is the
7658 same, we have to be careful and check if this breaks something in
7661 * src/hildon-pannable-area.c:
7662 (get_ordered_children): Removed this function.
7663 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7664 the children windows function with gdk_window_get_children.
7666 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7668 * src/hildon-pannable-area.c:
7669 (hildon_pannable_area_dispose): Fixed a crash when closing the
7670 window and kinetics is activated.
7672 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7674 * src/hildon-pannable-area.h
7675 * src/hildon-pannable-area.c
7676 Changed indentation style to meet the one used in Hildon
7678 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7680 Reviewed the interaction of the AUTO mode, now we use the time
7681 attribute of the events and calculate the velocity in the motion,
7682 doing a gimp like calculation. The velocity is calculated in each
7683 motion event using the last velocity and the current one, the
7684 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7686 * src/hildon-pannable-area.c: Replaced the time based algorithm
7688 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7689 timeout for the AUTO mode when we are still moving the cursor. We
7690 added also the velocity calculation in this function.
7691 (hildon_pannable_area_button_release_cb): launch the timeout in
7692 case we are in AUTO mode. There are still some constants here that
7693 come from the old implementation that should be reviewed and
7696 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7698 * doc/hildon-docs.sgml
7701 * src/hildon-stackable-window.c
7702 * src/hildon-stackable-window.h
7704 New HildonStackableWindow widget
7706 * examples/hildon-dialog-example.c
7707 * examples/hildon-pannable-area-example.c
7710 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7712 * src/hildon-dialog.c
7713 (hildon_dialog_new_with_buttons): New constructor.
7715 * examples/hildon-dialog-example.c
7716 (main): Update the example to use the new
7717 hildon_dialog_new_with_buttons().
7719 * examples/hildon-pannable-area-example.c
7720 (main): Update example.
7722 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7724 * doc/hildon-docs.sgml
7726 Added HildonPannableArea to the documentation.
7728 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7730 * doc/visual_index.xml
7731 Fix reference to HildonLoginDialog in documentation
7733 * doc/hildon-docs.sgml
7735 * examples/Makefile.am
7736 * examples/hildon-dialog-example.c
7738 * src/hildon-dialog.c
7739 * src/hildon-dialog.h
7741 New HildonDialog widget.
7743 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7745 * src/hildon-pannable-area.c
7746 Merge latest changes (r4318, r4342) from libmokoui trunk
7748 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7750 * examples/Makefile.am
7751 * examples/hildon-pannable-area-example.c
7753 * src/hildon-pannable-area.c
7754 * src/hildon-pannable-area.h
7756 New HildonPannableArea widget.
7758 2008-04-15 18:05:19 <timj@imendio.com>
7760 * src/hildon-banner.c: revert the recent change, that introduced
7761 gtk_window_present() calls. this reopens:
7762 Bug 78481 - [freetest] information banners are hidden under browser menu
7763 But resolves another variant of:
7764 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7766 2008-04-15 13:21:13 <timj@imendio.com>
7768 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7769 recreated its layout, spotted by Kris. this fixes all remaining
7770 artefacts and stability issues with the banner code. in particular:
7771 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7773 2008-04-14 16:52:59 <timj@imendio.com>
7775 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7776 operating on unrealized widgets, fixes:
7777 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7779 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7781 2008-04-09 Kristian Rietveld <kris@imendio.com>
7783 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7784 makes banner disappear.
7785 Fixes: NB#79182: info banner flickering with certain message lengts.
7787 * src/hildon-banner.c (hildon_banner_constructor),
7788 (hildon_banner_init), (hildon_banner_set_text),
7789 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7790 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7791 FALSE, reset size requests of label and banner,
7792 (force_to_wrap_truncated): when the text is too wide, always enforce
7793 the maximum possible width instead of recalculating it from the
7794 layout; enforce the maximum banner height of 3 lines,
7795 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7796 nicer wrapping and no truncated chars if space gets tight.
7798 * src/hildon-banner-private.h: add has_been_wrapped and
7799 has_been_truncated fields.
7801 2008-04-07 Sven Herzberg <sven@imendio.com>
7803 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7804 local values in hildon_date_editor_size_allocate
7806 * src/hildon-date-editor.c: moved the real allocation code into the
7809 2008-04-07 Sven Herzberg <sven@imendio.com>
7811 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7812 local values in hildon_date_editor_size_allocate
7814 * src/hildon-date-editor.c: merged the two if() branches together
7816 2008-04-07 Sven Herzberg <sven@imendio.com>
7818 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7819 local values in hildon_date_editor_size_allocate
7821 * src/hildon-date-editor.c: changed the arguments of the if()
7824 2008-04-07 Sven Herzberg <sven@imendio.com>
7826 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7827 local values in hildon_date_editor_size_allocate
7829 * src/hildon-date-editor.c: split the calculation of the allocation
7830 from the real allocation
7832 2008-03-27 Michael Natterer <mitch@imendio.com>
7834 Fixes: NB#81696: The passcode is not overwritten even after
7837 * src/hildon-code-dialog.c
7838 (hildon_code_dialog_button_clicked)
7839 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7840 because that doesn't overwrite selected text. Instead, emit the
7841 "commit" signal on the entry's im_context so the entry's normal
7842 insert logic is triggered. Set the cursor to the end of the entry
7843 after each insert operation so that we *only* insert in the middle
7844 of the text if something was selected.
7846 2008-03-27 Michael Natterer <mitch@imendio.com>
7848 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7849 selector cannot be opened
7851 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7852 when the popup color selector is created. Please connect to this
7853 signal in order to set the dialog's help ID.
7855 2008-03-25 Sven Herzberg <sven@imendio.com>
7857 Fixes: MB#1212: Hide info banners (infoprints) on click
7859 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7860 extracted the close event simulation into an extra function
7861 (hildon_banner_button_press_event): simulate a close event and destroy
7862 the widget if the event wasn't handled
7863 (hildon_banner_class_init): added the button_press_event handler
7864 (hildon_banner_init): added button-press events to the widget
7866 2008-03-25 Sven Herzberg <sven@imendio.com>
7868 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7869 Patch from: Mohammad Anwari <mdamt@maemo.org>
7871 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7872 instead of the right in RTL mode
7873 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7874 breadcrumb button list in RTL mode
7875 * src/hildon-caption.c: mirror the appearance of the caption widget in
7877 * src/hildon-date-editor.c: mirror appearance of the date editor in
7879 * src/hildon-time-editor.c: mirror appearance of the time editor in
7881 * src/hildon-window.c: fix the position of the popup in RTL mode
7883 2008-03-25 Sven Herzberg <sven@imendio.com>
7885 Amendment to the fix of NB#22072. Fix compilation.
7887 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7889 2008-03-19 Sven Herzberg <sven@imendio.com>
7891 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7894 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7895 timeout id properly when the timeout will disappear this leaves no
7896 artifacts around in the destroy(); there will only be the timeout
7897 created by hildon_banner_ensure_timeout() and adding a new timeout
7898 will also work if the timeout gets removed because the timeout_handler
7901 2008-03-19 Michael Natterer <mitch@imendio.com>
7903 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7905 * src/hildon-volumebar.c
7906 * src/hildon-vvolumebar.c
7907 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7908 the widget becomes focussable at all.
7910 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7911 set the focus to wither the mute button or the volumebar.
7913 Remove own "can-focus" property and instead listen to
7914 notify::can-focus in order to update the widget's state.
7916 Implement GtkWidget::focus() and make sure we can also *leave* the
7917 widget, not only enter it, depending on volumebar orientation and
7918 requested focus direction.
7920 Clean up set_mute() to cooperate nicely with all the above.
7922 2008-03-04 Michael Natterer <mitch@imendio.com>
7924 Fixes: NB#78481: information banners are hidden under browser menu
7926 * src/hildon-banner.c: call gtk_window_present() on the banners so
7927 they are risen if they are already visible.
7929 2008-03-03 Sven Herzberg <sven@imendio.com>
7931 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7933 * examples/hildon-window-menu-example.c: (main): extended the window
7934 menu example to serve as a testcase for automatically added
7935 accelerator groups, too
7936 * src/hildon-window.c: (hildon_window_add_accel_group),
7937 (hildon_window_set_menu): added patch by Tommi Komulainen
7939 2008-03-03 Sven Herzberg <sven@imendio.com>
7941 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7943 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7944 knowledge about the border allocators used within GTK+
7946 2008-02-26 Sven Herzberg <sven@imendio.com>
7948 Fixes: MB#2981: Build with asserts broken
7950 * src/hildon-date-editor.c,
7951 * src/hildon-number-editor.c,
7952 * src/hildon-time-editor.c,
7953 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7954 the proper GType instance check
7956 2008-02-25 Sven Herzberg <sven@imendio.com>
7958 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7960 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7961 * examples/hildon-window-menu-example.c: (main): explicitly show
7963 * src/hildon-window.c:
7964 (hildon_window_set_main_menu): moved most of the code from set_menu()
7965 to this place; skipped the call to gtk_widget_show_all(); also didn't
7966 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7967 (hildon_window_set_menu): removed most of the code, just keep the
7968 questionable gtk_widget_show_all()
7969 * src/hildon-window.h: added the new function and deprecate the old
7972 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7978 * debian/changelog: Updating.
7980 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7983 * pkgconfig/Makefile.am:
7984 * pkgconfig/hildon.pc.in:
7987 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7988 use newly created API_MAJOR_VERSION.
7990 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7996 * debian/changelog: Updating.
7998 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8000 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8002 Add outer_border style property, we use it but don't define it (!).
8006 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8008 * examples/hildon-bread-crumb-trail-example.c (main):
8012 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8014 Fix logic for the bread crumb trail node removal.
8018 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8024 * debian/changelog: Updating.
8026 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8028 Patch by Alejandro to get/set passwords dialogs accesibility.
8030 * hildon-1/src/hildon-get-password-dialog.c:
8031 * hildon-1/src/hildon-set-password-dialog.c:
8032 Set atk_set_name to the passwd entries in order to allow
8033 accessibility by name on this entries.
8035 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8040 * debian/control: Updating gtk dep.
8042 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8044 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8045 USE_MAEMO_GTK is enabled.
8047 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8049 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8050 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8052 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8058 * debian/changelog: Updating.
8060 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8062 * examples/Makefile.am:
8063 * examples/hildon-logical-color-example.c:
8064 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8065 applied + adding a test case. Fixes: NB#71660.
8067 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8069 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8070 to be visible, fixes warning on map for windows without toolbars.
8072 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8074 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8075 2.11.0, add a check for that besides the MAEMO_GTK check.
8077 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8083 * debian/changelog: Updating.
8085 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8087 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8088 visibility. Fixes: NB#70842 and MB#615.
8090 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8092 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8093 set the separator as no-show-all so it doesn't unintentionally appear when
8094 someone does a show_all.
8096 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8098 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8099 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8100 toplevel item. Fixes: NB#62031
8102 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8104 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8105 fix the name of the function in the docs.
8107 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8113 * debian/changelog: Updating.
8115 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8117 * examples/hildon-banner-long-example.c: Adding a test-case for long
8120 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8122 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8124 * src/hildon-color-chooser-dialog.c:
8125 * src/hildon-color-chooser.c:
8126 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8127 memory leaks in font selector and color selector. Fixes: NB#70499 and
8130 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8132 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8134 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8136 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8137 little bit bigger. Fixes: #NB63694.
8139 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8145 * debian/changelog: Updating.
8147 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8150 * doc/hildon-docs.sgml:
8151 * doc/images/bread-crumb-trail.png:
8152 * doc/images/calendar-popup.png:
8153 * doc/images/caption.png:
8154 * doc/images/code-dialog.png:
8155 * doc/images/color-button.png:
8156 * doc/images/color-chooser-dialog.png:
8157 * doc/images/color-chooser.png:
8158 * doc/images/controlbar.png:
8159 * doc/images/date-editor.png:
8160 * doc/images/font-selection-dialog.png:
8161 * doc/images/get-password-dialog.png:
8162 * doc/images/hvolumebar.png:
8163 * doc/images/login-dialog.png:
8164 * doc/images/note.png:
8165 * doc/images/number-editor.png:
8166 * doc/images/range-editor.png:
8167 * doc/images/seekbar.png:
8168 * doc/images/set-password-dialog.png:
8169 * doc/images/sort-dialog.png:
8170 * doc/images/time-editor.png:
8171 * doc/images/time-picker.png:
8172 * doc/images/vvolumebar.png:
8173 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8174 Adding the bread-crumb-trial and helpers to the documentation.
8176 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8178 * examples/hildon-find-toolbar-example.c:
8179 * src/hildon-find-toolbar.c:
8180 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8181 actually continue firing the other handlers if connected. Adding a new
8183 hildon_find_toolbar_get_last_index that gets the index of the most
8184 recently added (last) item. Fixes: NB#52301.
8186 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8188 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8189 behaviour. Fixes: NB#68610.
8191 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8193 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8196 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8198 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8199 when realizing the banner. Should make the infonbanner effect a bit more
8202 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8204 * src/hildon-volumebar.c:
8205 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8206 hildon_volumebar_set_range_insensitive_message and
8207 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8209 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8211 * src/hildon-window.c: Fixing the border freeing on destroy.
8213 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8215 * src/hildon-code-dialog-private.h:
8216 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8217 kw keyboard support in HildonCodeDialog.
8219 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8225 * debian/changelog: Updating.
8227 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8229 * src/hildon-date-editor.c:
8230 * src/hildon-number-editor.c:
8231 * src/hildon-private.c:
8232 * src/hildon-private.h:
8233 * src/hildon-time-editor.c:
8234 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8235 handling in subclassed composite widgets. Fixes: NB#66628.
8237 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8239 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8240 from destroy_ callback as it introduces problems in async dbus signal
8241 handlers. Fixes NB#66673.
8243 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8245 * examples/hildon-hvolumebar-example.c:
8246 * src/hildon-volumebar.c: Improving the focus handling in the
8247 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8248 set_property accessor so that "mute" property can be actually set. I'm
8249 scared that nobody noticed it's totally broken.
8251 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8253 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8256 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8258 * src/hildon-calendar.c:
8259 * src/hildon-number-editor.c:
8260 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8261 matches the spec of 6 chars per second. Fixes: NB#60489.
8263 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8265 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8266 gtk_style_lookup_color sometime returns FALSE even though color was
8267 found and values were filled properly. Weird. Removing the warning for the
8270 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8272 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8273 expand vertically. Adding some extra space to the find toolbar buttons to
8274 make them thumbable. Fixes NB#66060.
8276 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8278 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8279 popup with "Ok" and "Cancel". Fixes NB#59299.
8281 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8283 * src/hildon-calendar.c: Process all window updates before executing next
8284 timeout. Fixes: NB#54146.
8286 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8292 * debian/changelog: Updating.
8294 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8296 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8297 the client event and ignore it, since we use the delete event to close
8300 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8302 * src/hildon-helper.c: Remove the bogus warning about color not being
8303 found. Fixes NB#58352.
8305 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8307 * examples/Makefile.am:
8308 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8309 HildonSeekbar widget inside a toolbar.
8311 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8313 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8314 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8315 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8316 don't want to be closed by non-temporary windows on map.
8318 Also use G_DEFINE_TYPE instead of manually typed code.
8320 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8327 * debian/rules: Updating.
8329 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8331 * examples/Makefile.am:
8332 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8333 bug NB#61128. Strangely it works.
8335 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8337 * src/hildon-date-editor.c: When the date editor entry has been changed
8338 but the numbers of characters < max, turn off the skip validation flag.
8339 Prevents a situation when we enter first a valid year and later re-write
8340 it with an invalid one. Fixes NB#60154.
8342 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8344 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8345 code dialog. Fixes NB#64355.
8347 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8349 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8350 switching the page. Fixes NB#49374.
8352 * examples/Makefile.am:
8353 * examples/hildon-wizard-dialog-example.c: Adding an example for
8354 HildonWizardDialog that shows how to handle manual sensitivity setting on
8357 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8361 * src/hildon-version.h.in:
8362 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8364 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8366 * src/hildon-volumebar.c: Updating the docs.
8368 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8374 * debian/changelog: Updating.
8376 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8378 * src/hildon-find-toolbar.c:
8379 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8380 selected item: hildon_find_toolbar_set_active,
8381 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8382 hildon_find_toolbar_get_active_iter . They correspond to respective
8383 GtkComboBox functions.
8385 * examples/Makefile.am:
8386 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8389 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8391 * examples/Makefile.am:
8392 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8395 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8396 when font size > 32 and we pack a focusable widget inside. Actually using
8397 the default response would work too, but since we don't show default
8398 response state in any way (no theming) it would not be visible to the
8399 user. Fixes NB#63430.
8401 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8403 * src/hildon-date-editor.c: Adding the missing variable setter in the
8404 set_property handler. Fixes NB#54182.
8406 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8408 * src/hildon-window.h: Changing the long key press time from 1500ms to
8409 800ms as requested in NB#63700. I have a bad feeling about this, let's
8410 see... Fixes NB#63700.
8412 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8414 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8415 hildon_time_picker_map, hildon_time_picker_realize,
8416 hildon_time_picker_style_set): Split the contents of map to more
8417 appropriate functions; set window decorations on realize and update
8418 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8420 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8425 * debian/changelog: Updating.
8427 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8429 * src/Makefile.am: fixed installation of the header files
8431 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8437 * debian/changelog: Updating.
8439 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8441 * configure.ac: Removing some remaining of --enable-xan.
8443 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8445 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8446 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8448 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8449 2.10.12-osso6 because the move-focus signal needs to be available in
8452 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8454 * examples/Makefile.am:
8455 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8456 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8457 fine. Prolly NB#61128 is fixed now.
8459 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8461 * src/hildon-volumebar.c:
8462 * src/hildon-volumebar.h: Adding the
8463 hildon_volumebar_set_range_insensitive_message and
8464 hildon_volumebar_set_range_insensitive_messagef functions to set
8465 insensitive message on the slider of the volumebar. Fixes NB#61129.
8467 * examples/Makefile.am:
8468 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8469 test the new insensitive messsage functionality on HildonVolumebar.
8471 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8473 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8476 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8478 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8479 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8480 button on after clearing the trail.
8482 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8484 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8486 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8488 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8489 by splitting the installed headers in generated and non-generated groups. Use
8490 only the non-generated headers to create the hildon-enum-types.h file.
8492 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8494 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8496 * src/hildon-window.c: Hide the window before performing the destroy.
8497 Should make the app closing a little tiny bit more snappy.
8499 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8501 * src/hildon-seekbar.c: add gtkrange.h header
8502 * src/hildon-caption.c: remove unused variable
8504 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8506 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8509 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8515 * debian/changelog: Updating.
8517 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8519 * src/hildon-window.c (hildon_window_window_state_event,
8520 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8521 escape timeout on focus-out-event rather than notify::is-topmost; the
8522 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8524 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8526 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8527 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8529 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8531 * src/hildon-window: actually, you need to use the macro always, there's
8532 no private pointer in the instance structure. We should have cleaned this up
8533 when we had the chance...
8535 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8537 * src/hildon-window.c: do not get the private date from HildonWindow before
8538 it passes the g_return_if_fail check. Once it's passed the test, there's no
8539 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8540 if you are only going to access the data once. Whitespace cleanups.
8542 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8544 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8545 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8547 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8553 * debian/changelog: Updating.
8555 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8557 * src/hildon-window.c: When destroying the window, remove (if exists) the
8558 escape timeout handler. Fixes #NB59276.
8560 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8562 * src/hildon-banner.c: When realizing the widget, set the window
8563 transiency. Setting the transiency in the gobject constructor is not
8564 good, as the widget is not realized at that point. Fixes: #NB56624.
8566 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8568 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8569 Add padding for future expansions.
8571 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8573 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8574 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8575 will fake an activation on the previous to the last item of the trail, so
8576 the effect can be overrided by the developer as usual.
8577 Also change the callback for the back button to do the same thing, so its
8578 effect can be overrided too. Fixes: NB#58982
8580 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8582 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8583 HildonCaption. Fixes NB#52379.
8585 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8587 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8588 the internal state of the trail after the user has had the chance of executing
8589 his handler for the signal. Specifically, it may happen that the activated button
8590 is removed and the user still lets the default handler run. This would segfault
8593 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8595 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8596 scrollbar to the preview dialog. Fixes NB#54147.
8598 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8600 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8601 max/min year properties can be altered, so the client can modify it
8602 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8604 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8606 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8607 hildonlike by default. Fixing a problem with disappearing arrows when
8608 scrolling through months and years. Fixes NB#54127.
8610 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8612 * examples/hildon-date-editor-example.c: Adding error callback to the date
8615 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8621 * configure.ac: Updating.
8623 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8625 * configure.ac: Adding a special '--enable-xan' configure option that
8626 turns off the -Werror compilation setting. Usefull for development.
8628 * src/hildon-calendar.c:
8629 * src/hildon-number-editor.c:
8630 * src/hildon-time-picker.c: Adding the 5* multiplier to
8633 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8635 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8636 instead of g_object_ref + gtk_object_sink.
8638 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8644 * debian/changelog: Updating.
8646 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8648 * src/hildon-color-chooser-dialog.c:
8649 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8650 straight from Tommi labs.
8652 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8654 * examples/hildon-finger-example.c: Correcting the header file path.
8656 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8657 the changed signal. Fixes a small memory leak.
8659 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8663 * src/hildon-banner.c: Importing several usefull fixes from the
8664 ubuntu-mobile branch.
8666 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8668 * examples/Makefile.am:
8669 * examples/hildon-finger-example.c: Adding a finger-checking code
8672 * src/hildon-font-selection-dialog.c: Do not allocate the color
8673 structure using the g_new. Fixes NB#54061.
8675 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8677 * src/hildon-helper.c: Correcting tabs in file.
8679 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8681 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8682 control the visibility of the children.
8684 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8686 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8692 * debian/changelog: Updating.
8694 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8696 * src/hildon-bread-crumb-trail.c:
8697 (hildon_bread_crumb_trail_size_allocate):
8699 Make the back button always a square.
8701 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8703 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8704 from the .c file as it's a private file.
8706 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8708 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8709 uses slightly bigger height.
8711 * src/hildon-font-selection-dialog.c: Adding some checks before
8712 freeing memory in the font selection dialog.
8714 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8716 * src/hildon-font-selection-dialog.c: Adding a small check when
8719 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8720 buttons sensitivity on page switching.
8722 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8724 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8725 internal details of adding a bread crumb to the trail.
8727 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8733 * debian/changelog: Updating.
8735 * src/hildon-bread-crumb-trail.h:
8736 * src/hildon-bread-crumb.h: Changing the API guard to
8737 HILDON_ENABLE_UNSTABLE_API.
8739 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8747 * src/hildon-helper.h: Updating.
8749 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8757 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8761 * src/hildon-helper.h: Small fix to make the package actually compile.
8763 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8765 * src/hildon-bread-crumb-trail.h:
8766 * src/hildon-bread-crumb.h:
8768 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8769 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8771 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8773 * examples/hildon-bread-crumb-trail-example.c:
8775 * src/hildon-bread-crumb-trail.c:
8776 * src/hildon-bread-crumb-trail.h:
8777 * src/hildon-bread-crumb.c:
8778 * src/hildon-bread-crumb.h:
8779 * src/hildon-marshalers.list:
8780 * src/hildon-bread-crumb-widget.c:
8781 * src/hildon-bread-crumb-widget.h:
8783 Slight change in the widget design. The bread crumb trail API is
8784 unchanged, but HildonBreadCrumb is now an interface. A *private*
8785 implementation, hildon-bread-crumb-widget, is provided and used
8786 internally by the trail for the push_text/push_icon functions.
8788 The generic push API is still available, so anyone can implement
8789 and use its own bread crumb widget.
8791 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8793 * debian/rules: Fixing the shlibs.
8795 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8797 * src/hildon-banner.c: Fixing a problem with timed banners having
8798 their parrent destroyed before they are.
8800 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8802 * src/hildon-bread-crumb.c:
8803 * src/hildon-bread-crumb.h:
8805 Make the get_natural_size function a vfunc.
8807 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8809 * src/hildon-bread-crumb.c:
8810 * src/hildon-bread-crumb-trail.c:
8814 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8821 * debian/changelog: Updating for release.
8823 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8825 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8826 don't leak the pango layout.
8828 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8831 * examples/hildon-bread-crumb-trail-example.c:
8835 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8837 * debian/changelog: Removing the bug-fixed entries that were actually
8838 resolved as WONTFIX.
8840 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8843 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8845 * src/hildon-bread-crumb-trail.c:
8846 * src/hildon-bread-crumb-trail.h:
8847 * src/hildon-bread-crumb.c:
8848 * src/hildon-bread-crumb.h:
8852 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8854 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8855 until it's passed the type check.
8857 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8859 * examples/hildon-bread-crumb-trail-example.c
8863 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8865 * examples/Makefile.am
8866 * examples/hildon-bread-crumb-trail-example.c
8868 * src/hildon-bread-crumb-trail.c
8869 * src/hildon-bread-crumb-trail.h
8870 * src/hildon-bread-crumb.c
8871 * src/hildon-bread-crumb.h
8873 New HildonBreadCrumbTrail widget.
8875 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8877 * src/hildon-range-editor.c (hildon_range_editor_init),
8878 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8879 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8880 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8881 hildon_time_editor_class_init, hildon_time_editor_init),
8882 src/hildon-get-password-dialog.c (invalid_input,
8883 hildon_get_password_set_property, hildon_get_password_get_property,
8884 create_contents, hildon_get_password_dialog_set_max_characters),
8885 src/hildon-set-password-dialog.c (create_contents),
8886 src/hildon-date-editor.c (hildon_date_editor_init),
8887 src/hildon-login-dialog.c (hildon_login_dialog_init),
8888 src/hildon-number-editor.c (hildon_number_editor_init),
8889 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8890 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8891 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8892 configure option and adding the respective checks in the code.
8893 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8894 hildon_calendar_drag_data_received): fixed some build warnings.
8896 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8898 * debian/changelog: A 1.0.0 release notes.