1 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
3 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
4 from HildonPickerDialog section.
6 2009-06-16 Alberto Garcia <agarcia@igalia.com>
8 * hildon/hildon-banner.c (hildon_banner_bind_style)
9 (screen_size_changed, hildon_banner_init)
10 (hildon_banner_real_show_information)
11 (hildon_banner_show_information_with_markup)
12 (hildon_banner_show_animation, hildon_banner_show_progress):
13 Set a different widget name to banners in portrait mode, for them
14 to be themed correctly.
16 2009-06-16 Alberto Garcia <agarcia@igalia.com>
18 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
19 Set a different widget name to notes in portrait mode, for them to
22 Partially fixes: NB#118401 (HildonNote causes unnecessary
25 2009-06-16 Alberto Garcia <agarcia@igalia.com>
27 * hildon/hildon-note.c (hildon_note_class_init)
28 (+hildon_note_size_request, screen_size_changed):
29 Always request the full width of the screen.
31 Fixes: NB#118375 (unnecessary rescaling of images)
33 2009-06-16 Alejandro G. Castro <alex@igalia.com>
35 * hildon/hildon-pannable-area.c,
36 (hildon_pannable_area_init),
37 (hildon_pannable_area_realize): Replaced old code adding flags in
38 the object init, now we add it with the other flags in the realize
41 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
43 * hildon/hildon-note.c: (hildon_note_class_init): Several
44 documentation improvements to the HildonNote widget.
46 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
48 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
50 Fixes: MB#4556 (HildonNoteType is undocumented)
52 2009-06-15 Alberto Garcia <agarcia@igalia.com>
54 * hildon/hildon-picker-button.c:
55 Explain how HildonPickerButton sets the title of its dialog
57 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
58 the title of its dialog)
60 2009-06-15 Alberto Garcia <agarcia@igalia.com>
62 * hildon/hildon-check-button.c:
65 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
68 2009-06-15 Alberto Garcia <agarcia@igalia.com>
71 * hildon/hildon-edit-toolbar-private.h
72 * hildon/hildon-edit-toolbar.c
73 (+hildon_edit_toolbar_set_progress_indicator)
74 (hildon_edit_toolbar_init): Add progress indicator to the
78 (hildon_gtk_window_set_progress_indicator):
79 If the window contains a HildonEditToolbar, enable the progress
82 * hildon/hildon-private.h
83 * hildon/hildon-private.c
84 (+hildon_private_create_animation)
85 * hildon/hildon-banner.c
86 (-hildon_banner_create_animation):
87 Moved to hildon-private.c
89 Fixes: NB#102373 (Progress indicator also for the Edit mode
92 2009-06-15 Alberto Garcia <agarcia@igalia.com>
94 * hildon/hildon-app-menu-private.h
95 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
96 (hildon_app_menu_add_filter, +menu_item_button_event)
97 (hildon_app_menu_button_release, hildon_app_menu_init):
98 Make sure that buttons receive 'button-release-event' in spite of
99 the grab held by HildonAppMenu
101 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
103 2009-06-15 Alberto Garcia <agarcia@igalia.com>
105 * hildon/hildon-app-menu.c
106 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
107 New style property to set the size of the group of filter buttons.
109 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
111 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
116 * configure.ac: Bump version.
117 * debian/changelog: Updates.
119 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
121 * hildon/hildon-main.c: Minor documentation fixes.
123 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
125 * doc/hildon-sections.txt:
126 * hildon/hildon-defines.h: Document the defines, organize them,
127 and mark deprecations as such.
129 Fixes: MB#4463 (Hildon size #defines are undocumented)
131 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
133 * hildon/hildon-animation-actor.c:
134 * hildon/hildon-app-menu.c:
135 * hildon/hildon-button.c:
136 * hildon/hildon-date-editor.c:
137 * hildon/hildon-dialog.c:
138 * hildon/hildon-edit-toolbar.c:
139 * hildon/hildon-entry.c:
140 * hildon/hildon-program.c:
141 * hildon/hildon-remote-texture.c:
142 * hildon/hildon-stackable-window.c:
143 * hildon/hildon-text-view.c:
144 * hildon/hildon-touch-selector.c:
145 * hildon/hildon-window-stack.c:
146 * hildon/hildon-window.c:
148 Remove redundant "represents" wording from most of the documentation.
150 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
152 2009-06-12 Alberto Garcia <agarcia@igalia.com>
157 * hildon/hildon-banner-private.h
158 * hildon/hildon-banner.c:
159 Move HildonBannerPrivate to hildon-banner.c and remove
160 hildon-banner-private.h
161 Use a bit field to store private booleans.
163 2009-06-12 Alberto Garcia <agarcia@igalia.com>
165 * hildon/hildon-app-menu.c (hildon_app_menu_map):
166 Don't install a new idle function if there's already one
171 2009-06-11 Alberto Garcia <agarcia@igalia.com>
173 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
174 (+legacy_menu_realized, +legacy_menu_unmapped)
175 (+set_legacy_menu_type):
176 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
177 they can be identified by the window manager.
179 Fixes: NB#101437 (Invoking CSM on the left side of page area is
180 displayed in wrong location)
182 Fixes: MB#4563 (Popup menu won't locate at the left side of the
185 2009-06-11 Alberto Garcia <agarcia@igalia.com>
187 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
189 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
192 2009-06-11 Alberto Garcia <agarcia@igalia.com>
194 * hildon/hildon-code-dialog.c
195 * hildon/hildon-date-editor.c
196 * hildon/hildon-number-editor.c
197 * hildon/hildon-seekbar.c
198 * hildon/hildon-stackable-window.c
199 * hildon/hildon-window.c:
200 Misc documentation updates
202 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
204 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
205 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
207 Fixes: NB#117931 (Theming issues in accounts dialogs)
209 2009-06-09 Alejandro G. Castro <alex@igalia.com>
211 * hildon/hildon-pannable-area.c,
212 (hildon_pannable_area_button_release_cb): Changed the coordinates
213 of the original release in case we want to discard the release,
214 some widgets in Fremantle do not handle the leave-notify.
216 2009-06-09 Alejandro G. Castro <alex@igalia.com>
218 * hildon/hildon-pannable-area.c,
219 (hildon_pannable_area_button_release_cb): Reviewed the logic of
220 the release using the last refactored functions and avoiding the
221 movement if an element was selected.
223 2009-06-09 Alejandro G. Castro <alex@igalia.com>
225 * hildon/hildon-pannable-area.c,
226 (hildon_pannable_area_check_move),
227 (hildon_pannable_area_handle_move),
228 (hildon_pannable_area_motion_notify_cb): Refactored the
229 motion_notify method using a couple of new functions.
231 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
233 * hildon/hildon-date-selector.c:
234 (hildon_date_selector_construct_ui):
235 * hildon/hildon-time-selector.c:
236 (hildon_time_selector_constructor):
237 * hildon/hildon-touch-selector-entry.c:
238 (hildon_touch_selector_entry_set_text_column),
239 (hildon_touch_selector_entry_get_text_column):
240 * hildon/hildon-touch-selector.c: (_default_print_func),
241 (hildon_touch_selector_new_text): Use
242 hildon_touch_selector_set/get_text_column() instead of
243 setting/getting the "text-column" property.
245 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
247 * doc/hildon-sections.txt: Add the new public methods below.
249 * examples/hildon-picker-button-multicolumn-example.c:
250 (create_touch_selector):
251 * examples/hildon-touch-selector-example.c: (create_selector):
252 * examples/hildon-touch-selector-multi-cells-example.c:
254 Use hildon_touch_selector_column_set_text_column()
256 * hildon/hildon-touch-selector-column.h:
257 * hildon/hildon-touch-selector.c:
258 (hildon_touch_selector_column_set_text_column),
259 (hildon_touch_selector_column_get_text_column):
260 Make hildon_touch_selector_column_set/get_column() public, use
261 them in the inline example, document them, and reference to them
264 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
266 * hildon/hildon-time-selector.c: Fix the docs for
267 hildon_time_selector_new_step().
269 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
271 * hildon/hildon-touch-selector.c: Improve the documentation for
272 hildon_touch_selector_append_column().
274 Fixes MB#4641 (Documentation:
275 hildon_touch_selector_append_column() ref-counting)
277 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
279 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
280 Comment out test 5, since the hildon_controlbar_set_range() range
281 check is broken and fixing it would have side effects. Also,
282 this finally fixes make distcheck.
284 Fixes: NB#101420 (Update unit tests and fix make distcheck)
286 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
288 * tests/TEST-CASES.txt: Remove other bogus test.
289 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
290 Remove bogus test that was setting/retrieving a valid value.
292 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
294 * tests/TEST-CASES.txt: Remove bogus tests.
295 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
296 Remove three bogus tests that were actually setting valid colors.
298 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
300 * configure.ac: post release version bump
301 * debian/changelog: post release version bump
303 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
308 * configure.ac: Bump version.
309 * debian/changelog: Updates.
311 2009-06-08 Christian Dywan <christian@lanedo.com>
315 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
316 Correct errors in hildon_format_file-size_for_display and use
317 translations from the hildon-fm package instead of osso-filemanager.
319 2009-06-08 Alejandro G. Castro <alex@igalia.com>
321 * hildon/hildon-pannable-area.c,
322 (hildon_pannable_area_init): Initialized new values to handle the
324 (hildon_pannable_area_adjust_value_changed): Check if the values
325 changed before even call the redraw function.
326 (hildon_pannable_area_size_allocate),
327 (hildon_pannable_axis_scroll),
328 (hildon_pannable_area_scroll),
329 (hildon_pannable_area_jump_to): Improved the diagonal movement
332 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
335 2009-06-08 Alberto Garcia <agarcia@igalia.com>
337 * examples/hildon-banner-example.c:
338 Several style updates
339 (on_animation_clicked, on_animation_idle)
340 (on_progress_clicked, on_progress_idle):
341 Add additional reference for the cases when the parent window is
344 2009-06-08 Alberto Garcia <agarcia@igalia.com>
346 * doc/hildon-sections.txt
347 * hildon/hildon-pannable-area.c
348 * hildon/hildon-banner.h
349 * hildon/hildon-banner.c: Documentation updates.
351 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
354 2009-06-05 Alejandro G. Castro <alex@igalia.com>
356 * hildon/hildon-calendar-popup.h:
357 * hildon/hildon-caption.h:
358 * hildon/hildon-code-dialog.h:
359 * hildon/hildon-controlbar.h:
360 * hildon/hildon-date-editor.h:
361 * hildon/hildon-dialog.h:
362 * hildon/hildon-get-password-dialog.h:
363 * hildon/hildon-hvolumebar.h:
364 * hildon/hildon-login-dialog.h:
365 * hildon/hildon-note.h:
366 * hildon/hildon-number-editor.h:
367 * hildon/hildon-range-editor.h:
368 * hildon/hildon-seekbar.h:
369 * hildon/hildon-set-password-dialog.h:
370 * hildon/hildon-sort-dialog.h:
371 * hildon/hildon-time-editor.h:
372 * hildon/hildon-time-picker.h:
373 * hildon/hildon-volumebar-range.h:
374 * hildon/hildon-volumebar.h:
375 * hildon/hildon-vvolumebar.h:
376 * hildon/hildon-weekday-picker.h:
377 * hildon/hildon-window.h:
378 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
379 macros with the current replacements
381 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
383 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
385 * hildon/hildon-color-button.c (hildon_color_button_init): Use
386 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
387 itself, to make it fit better with Fremantle style.
389 Fixes: NB#109878 (height and width of focus on color icon is not
390 consistent with other item in the application tool bar)
392 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
394 * hildon/hildon-touch-selector.c:
395 (hildon_touch_selector_optimal_size_request): use the current requisition
396 as the base, in order to include any possible extra widget, like the
397 hildon entry on HildonTouchSelectorEntry
399 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
401 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
403 * configure.ac: post release version bump
404 * debian/changelog: post release version bump
406 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
411 * configure.ac: Bump version.
412 * debian/changelog: Updates.
414 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
416 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
418 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
419 to ensure the banner contents are centered, instead of relying on
420 the expand and fill properties in GtkHBox.
421 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
423 Fixes: NB#108265 (Animation banner not properly centered)
425 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
427 * hildon/hildon-pannable-area.c
428 (hildon_pannable_area_initial_effect): Remove the initial_effect
429 management, check initial_hint
430 (hildon_pannable_are_expose_event): Remove the initial_hint management,
431 set initial_effect to FALSE
432 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
433 by launching the fade_timeout if the scrollbars state has changed and are
435 * examples/hildon-pannable-area-initial-hint-example.c
436 Modified to allow to remove rows too. Add and remove rows one by one.
438 2009-05-28 Alberto Garcia <agarcia@igalia.com>
440 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
441 Don't close the menu if there's an animation actor below it.
443 Fixes: NB#117927 (Application menu not usable with animation
446 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
448 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
449 "focus-on-click" from the dialog button, to avoid stealing the
450 focus from the entry.
452 Fixes: NB#118903 (Account setup wizard: Text in Search field
453 should be focused when "Region" touch list picker is reopened
456 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
458 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
459 (prepare_action_area): Completely hide the dialog separator.
461 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
463 * hildon/hildon-touch-selector-entry.c
464 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
465 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
466 now that the entry is exposed.
468 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
470 * hildon/hildon-touch-selector-entry.c
471 (hildon_touch_selector_entry_init): Change the entry's size
472 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
474 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
476 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
477 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
478 avoid unnecessary scaling.
480 2009-05-27 Alberto Garcia <agarcia@igalia.com>
482 * hildon/hildon-app-menu.c (hildon_app_menu_map):
483 Create grab transfer window before calling parent's map function.
485 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
486 "crushed" button(s) in the top left corner)
488 2009-05-26 Alberto Garcia <agarcia@igalia.com>
490 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
491 Check if the window is already realized when pushing it.
493 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
495 * configure.ac: post release version bump
496 * debian/changelog: post release version bump
498 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
503 * configure.ac: Bump version.
504 * debian/changelog: Updates.
506 2009-05-25 Alberto Garcia <agarcia@igalia.com>
508 * hildon/hildon-app-menu.c: Doc updates.
510 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
512 * hildon/hildon-banner.c: Remove leftover macro.
514 2009-05-25 Alejandro G. Castro <alex@igalia.com>
516 * hildon/hildon-pannable-area.c,
517 (hildon_pannable_area_scroll_indicator_fade),
518 (hildon_pannable_area_button_release_cb): Reviewed vmin
519 conditions, it could cause problems in the fadeout procedure.
521 2009-05-25 Alejandro G. Castro <alex@igalia.com>
523 * hildon/hildon-pannable-area.c
524 (hildon_pannable_area_button_release_cb): Added a threshold to
525 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
527 2009-05-25 Alejandro G. Castro <alex@igalia.com>
529 * hildon/hildon-pannable-area.c,
530 (hildon_pannable_area_set_property): Added code to sync the gtk
531 dnd threshold with the panning threshold.
533 2009-05-25 Alejandro G. Castro <alex@igalia.com>
535 * hildon/hildon-pannable-area.c,
536 (hildon_pannable_area_class_init): Changed some of the default
537 values, now it should be less responsive and more accurate.
539 2009-05-25 Alejandro G. Castro <alex@igalia.com>
541 * hildon/hildon-pannable-area.c,
542 (hildon_pannable_area_init),
543 (hildon_pannable_area_scroll_indicator_fade),
544 (hildon_pannable_area_button_press_cb),
545 (hildon_pannable_axis_scroll),
546 (hildon_pannable_area_timeout),
547 (hildon_pannable_area_motion_notify_cb),
548 (hildon_pannable_area_button_release_cb): Changed the name of the
549 clicked attribute to button_pressed, it is more clear about its use.
551 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
553 * src/hildon-pannable-area.c
554 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
556 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
557 vertical scrollbar visibility, and use the data on private section instead,
558 remove the initial_hint check
559 (hildon_pannable_area_expose_event): add the initial_hint check here
561 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
563 * src/hildon-pannable-area.c
564 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
565 if the fadeout effect was used
566 (hildon_pannable_area_expose_event): check if it is required to
567 manage the initial effect on the begining of the function. Previously
568 it was made at the end, but this doesn't ensure that the scrollbars
569 will be painted on the first show. Do not set to FALSE initial_effect,
570 to ensure that the initial hint is showed the first time the pannable
572 * examples/Makefile.am
573 * examples/hildon-pannable-area-initial-hint-example.c:
574 New example, to show that the initial-hint is showed when the widget
577 Fixes: NB#116607 (Pannable area should always have scrollbar visible
578 initially if the application can be scrolled)
580 2009-05-25 Alberto Garcia <agarcia@igalia.com>
582 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
583 Resize table before adding new items to make sure that
584 gtk_table_resize() is called just once.
586 2009-05-25 Alberto Garcia <agarcia@igalia.com>
588 * hildon/hildon-app-menu-private.h
589 * hildon/hildon-app-menu.c (item_visibility_changed)
590 (filter_visibility_changed, hildon_app_menu_show_all)
591 (hildon_app_menu_hide_all, hildon_app_menu_init):
592 Rearrange items just once when gtk_widget_show_all()/hide_all()
595 2009-05-25 Alberto Garcia <agarcia@igalia.com>
597 * hildon/hildon-app-menu.c
598 (hildon_app_menu_insert, hildon_app_menu_add_filter):
599 Don't call gtk_widget_show() on added items.
601 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
602 automatically when they're added)
604 2009-05-20 Alberto Garcia <agarcia@igalia.com>
606 * hildon/hildon-banner.c
607 (hildon_banner_realize, +hildon_banner_unrealize)
608 (+screen_size_changed, hildon_banner_class_init):
609 Redisplay the banner if the screen is rotated.
611 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
612 on transition from landscape to portrait)
614 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
616 * hildon/hildon-banner.[ch]:
617 (hildon_banner_show_information_override_dnd): remove icon_name from the
618 method definition as it is ignored.
619 * examples/hildon-banner-dnd-example.c: updated with the change on
622 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
624 * hildon/hildon-banner-private.h: new require_override_dnd and
625 overrides_dnd variables
626 * hildon/hildon-banner.h:
627 (hildon_banner_show_information_override_dnd): new method, that shows
628 the information but sets the override flag, in order to show important
630 * hildon/hildon-banner.c
631 (hildon_banner_show_information_override_dnd): new method
632 (hildon_banner_set_override_flag): new utility function
633 (hildon_banner_real_show_information): new utility function, in order to
634 generalize the current hildon_banner_show_information_override_dnd and
635 hildon_banner_show_information_override_dnd
636 * examples/Makefile.am
637 * examples/hildon-banner-dnd-example.c: New example that show how to
638 use the new hildon_banner_show_information_override_dnd
640 Fixes: NB#114874 (There is no possibility to show hildon banners with
643 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
645 * hildon/hildon-pannable-area.c: Add a comment explaining the math
646 behind hildon_pannable_calculate_vel_factor().
648 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
650 * hildon/hildon-pannable-area.c
651 (hildon_pannable_calculate_vel_factor): Correct the sum of the
652 deceleration factors.
654 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
656 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
657 Reduce the default value for 'scroll_time' to 1 second, since the
658 current initial scrolling takes too much time.
660 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
662 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
663 calculate velocity factor during initialization, since the properties
666 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
668 * hildon/hildon-pannable-area.c
669 (hildon_pannable_area_set_property): Calculate the velocity factor
670 after setting the deceleration property and not after.
672 2009-05-20 Alberto Garcia <agarcia@igalia.com>
674 * hildon/hildon-entry.c
675 (hildon_entry_class_init, +set_property, hildon_entry_new)
676 * hildon/hildon-check-button.c
677 (hildon_check_button_class_init)
678 (+set_property, hildon_check_button_new):
679 Make the theme size a property.
681 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
682 others) do too much in the _new function)
684 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
686 * configure.ac: post release version bump
687 * debian/changelog: post release version bump
689 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
694 * configure.ac: Bump version.
695 * debian/changelog: Updates.
697 2009-05-15 Alberto Garcia <agarcia@igalia.com>
699 * hildon/hildon-gtk.h
700 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
701 New API function to take a screenshot of a window
703 Fixes: NB#106374 (Need API to take a loading screenshot)
705 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
707 * hildon/hildon-time-selector.c
708 (update_format_policy): prevent to use hours and minutes unitialized
710 2009-05-15 Alberto Garcia <agarcia@igalia.com>
712 * hildon/hildon-window.c (hildon_window_size_request):
713 Always request the full size of the screen (minus the title bar if
714 not in fullscreen mode).
716 Fixes: NB#107486 (HildonWindow should size itself properly)
718 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
720 * hildon/hildon-note-private.h: Add idle_handler to the private data.
721 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
722 (on_show_cb), (sound_handling): Disconnect the idle handler for
723 the sound when the note is finalized to avoid possible crashes.
725 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
728 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
730 * src/hildon-animation-actor.c,
731 * src/hildon-remote-texture.c:
732 Added proper object cleanup to remove signal handler and object
733 references as HildonAnimationActor and HildonRemoteTexture
734 objects get destroyed.
736 Fixes: NB#116682 (Destroying parented animation actors when
737 parent in unmapped leads to crash)
739 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
741 Based on a patch by Christian Dywan (christian@imendio.com)
743 * doc/hildon-sections.txt:
744 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
745 * hildon/hildon-helper.h: New file size formatting method.
747 * debian/control: Depend on osso-filemanager l10n package for
748 proper localization strings.
750 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
752 * tests/Makefile.am: Include top_srcdir to make possible to build
753 tests in a different builddir.
754 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
755 on a different builddir.
757 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
759 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
760 (hildon_touch_selector_remove): Disconnect model's signal handler
763 Fixes: NB#116289 (Hildon home crashes while adding task
766 2009-05-11 Alberto Garcia <agarcia@igalia.com>
768 * hildon/hildon-button.c
769 (hildon_button_set_title, hildon_button_set_value):
770 Hide labels containing an empty string.
772 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
774 * configure.ac: post release version bump
775 * debian/changelog: post release version bump
777 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
782 * configure.ac: Bump version.
783 * debian/changelog: Updates.
785 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
787 * hildon/hildon-note-private.h: Removed sound_signal_handler
788 * hildon/hildon-note.c
789 (on_show_cb): new callback on note "show" event, this simply adds
790 a idle, with the function sound_handling
791 (sound_handling): removed the sound_signal_handler management
792 (hildon_note_init): connect note "show" event to on_show_cb
793 (hildon_note_realize): remove the connection to "expose-event"
795 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
796 device?' confirmation note)
798 2009-05-08 Alberto Garcia <agarcia@igalia.com>
800 * hildon/hildon-note.c
801 (hildon_note_new_information_with_icon_name)
802 (hildon_note_new_confirmation_with_icon_name):
803 Terminate the list of parameters in g_object_set() calls
805 Fixes: NB#115166 (Formatting memory card is not taking place)
807 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
809 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
810 "dialog-information" role for the sound being played.
812 2009-05-06 Alberto Garcia <agarcia@igalia.com>
814 * hildon/hildon-app-menu.c (hildon_app_menu_init):
815 Don't make the menu a modal window, it causes strange interactions
816 with the pointer grab and it's not really needed.
818 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
820 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
822 * hildon/hildon-touch-selector.[ch]
823 (hildon_touch_selector_optimal_size_request): function added to get a
824 optimal size request from the touch selector, when you want a dialog to
825 show as much of the selector
826 * hildon/hildon-picker-dialog.c:
827 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
828 (hildon_app_menu_class_init):
829 New "max-height-landscape" and "max-height-portrait" style properties
830 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
831 (hildon_picker_dialog_get_max_height): returns the maximum height using
832 the style properties defined and checking the current portrait/landscape
834 (_hildon_picker_dialog_set_selector): removed the set_size_request
836 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
838 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
840 * hildon/hildon-bread-crumb-trail.c:
841 * hildon/hildon-bread-crumb.c:
842 * hildon/hildon-seekbar.c:
843 Add reference to replacements for these deprecated widgets.
845 Fixes: MB#4461 (Documentation: All deprecations should mention
848 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
850 * examples/hildon-remote-texture-example.c
852 Change the include to the hildon-remote-texture in order to compile
853 properly the examples on the installed libhildon1-examples package
855 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
857 * tests/Makefile.am: Add check for HildonPickerButton.
858 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
859 (START_TEST), (create_hildon_picker_button_suite): Add three simple
860 checks for the HildonPickerButton.
861 * tests/check_test.c (configure_tests): Add the test suite.
862 * tests/test_suites.h: likewise.
864 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
866 * hildon/hildon-touch-selector.c
867 (+on_row_changed): Emit HildonTouchSelector:changed when the
868 contents of a selected row change.
869 (_create_new_column), (_hildon_touch_selector_set_model): connect
870 to GtkTreeModel:row-changed on a newly set model.
872 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
874 2009-05-05 Alberto Garcia <agarcia@igalia.com>
876 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
878 * hildon/hildon-banner.c (hildon_banner_destroy)
879 (hildon_banner_show_progress, hildon_banner_set_fraction):
880 Remove the progress bar from HildonBanner and use a progress
883 Fixes: NB#113761 (Update progress banner to use progress
886 2009-05-04 Alberto Garcia <agarcia@igalia.com>
888 * hildon/hildon-banner.c:
889 Calculate size of the banner label using the actual screen width
890 rather than using a fixed value.
892 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
895 2009-05-04 Alejandro G. Castro <alex@igalia.com>
897 * hildon/hildon-pannable-area.c,
898 (hildon_pannable_area_class_init): Fixed signals documentation
901 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
903 * configure.ac: post release version bump
904 * debian/changelog: post release version bump
906 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
911 * configure.ac: Bump version.
912 * debian/changelog: Updates.
914 2009-05-01 Alberto Garcia <agarcia@igalia.com>
916 * hildon/hildon-edit-toolbar.c
917 (hildon_edit_toolbar_init):
918 Don't let buttons in HildonEditToolbar receive focus.
920 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
921 typing on an HW arrows key)
923 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
925 * doc/Makefile.am: Fix build.
927 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
929 * doc/Makefile.am: Do not redefine content_files.
931 2009-04-30 Alberto Garcia <agarcia@igalia.com>
939 Renamed src/ to hildon/
944 Include <hildon/hildon.h> directly in all examples.
946 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
948 * src/hildon-sort-dialog.c
949 (hildon_sort_dialog_add_sort_key_with_sorting)
953 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
955 * src/Makefile.am: Move generated sources to CLEANFILES, so that
956 make distcheck passes.
958 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
960 * Makefile.am: Enable gtk-doc during distcheck.
962 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
964 * Makefile.am: Do not distribute the debian/ directory.
966 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
968 * doc/Makefile.am: Add the extra SGML files to content_files,
969 so that they are distributed properly.
971 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
973 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
976 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
978 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
979 (hildon_note_new_information_with_icon_name): Set the "icon" property
980 to preserve soundness.
982 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
984 * src/hildon-font-selection-dialog.c
985 (hildon_font_selection_dialog_set_property): Fail when the "family"
986 property is set to NULL.
988 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
990 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
993 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
995 * src/hildon-time-selector.h:
996 Added HildonTimeSelectorFormatPolicy
997 * src/hildon-time-selector.c:
998 Added PROP_TIME_FORMAT_POLICY
999 (_check_ampm_format): renamed to check_automatic_ampm_format
1000 (update_format_policy), (update_format_dependant_columns): new functions
1001 (hildon_time_selector_class_init)
1002 (hildon_time_selector_contructor)
1003 (hildon_time_selector_init)
1004 (hildon_time_selector_get_property)
1005 (hildon_time_selector_set_property)
1006 (hildon_time_selector_get_time)
1007 (hildon_time_selector_set_time)
1008 * src/hildon-touch-selector.h: new file
1009 * src/hildon-touch-selector.c
1010 (hildon_touch_selector_emit_changed)
1011 (hildon_touch_selector_block_changed)
1012 (hildon_touch_selector_unblock_changed)
1013 Added functions to allow to block the emission of the "changed" signal
1014 * src/hildon-picker-dialog.c
1015 (hildon_picker_dialog_show): call the parent show before the custom code
1016 * examples/hildon-time-button-example.c
1017 Modified, so now you can configure the time format using the new property
1019 Added a new property "time-format-policy" that allow to choose the time
1020 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1021 case it uses gconf in order to check if the time selector must use
1024 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1027 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1029 * src/hildon-note.c (hildon_note_init):
1030 Label in HildonNote must be left aligned, not centered. This
1031 reverts the last commit in HildonNote.
1033 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1034 is connectivity dialog)
1036 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1041 * doc/hildon-sections.txt:
1042 Added hildon_gtk_window_set_do_not_disturb()
1044 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1046 * src/hildon-note.c (hildon_note_init): Center label.
1048 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1051 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1056 * configure.ac: Bump version.
1057 * debian/changelog: Updates.
1059 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1061 * src/hildon-note-private.h: Add button-width to the private data.
1062 * src/hildon-note.c (+resize_button),
1063 (+hildon_note_orientation_update): methods to repack widgets on orientation
1065 (screen_size_changed): Call above method for confirmation notes.
1066 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1067 (hildon_note_rebuild): Store the original width request from buttons.
1069 Fixes: NB#109635 (Confirmation notes do not support portrait)
1071 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1073 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1074 when it is a progress note.
1076 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1078 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1079 in the note, since there are no horizontally arranged contents.
1081 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1083 * src/hildon-gtk.c (+set_flag): new generic method to
1084 set/delay a flag setting in a window.
1085 (hildon_gtk_window_set_progress_indicator):
1086 (hildon_gtk_window_set_do_not_disturb),
1087 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1088 avoid code redundance.
1090 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1092 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1094 * src/hildon-gtk.c (set_clear_window_flag),
1095 (do_set_progress_indicator), (do_set_do_not_disturb),
1096 (do_set_portrait_flags),
1097 (hildon_gtk_window_set_progress_indicator),
1098 (hildon_gtk_window_set_do_not_disturb),
1099 (hildon_gtk_window_set_portrait_flags):
1100 Allow setting dnd-flag, progress indicator, and portrait flags
1101 when the window is not realized.
1103 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1105 * src/hildon-pannable-area.c,
1106 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1107 the size request policy function and defines.
1109 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1111 * doc/hildon-sections.txt: Add the new API.
1112 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1113 method to set the portrait flags.
1114 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1116 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1118 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1120 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1121 to allow using this method with other flags.
1122 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1123 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1125 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1127 * src/hildon-touch-selector.c
1128 (hildon_touch_selector_append_text_column):
1129 Make the cell renderer use the smallest width possible.
1131 Fixes: NB#108470 (Selected items in multiple selection are either
1132 having a tick that is cut or not visible at all.)
1134 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1136 * src/hildon-touch-selector.c
1137 (hildon_touch_selector_append_text_column):
1140 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1142 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1143 Use g_strdup_printf() instead of a fixed size buffer.
1145 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1147 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1148 Close banners when a HildonAppMenu is popped up.
1150 Fixes: NB#111027 (Title menu closed immediately if activated when
1151 "Invalid e-mail address" banner is shown)
1153 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1158 * configure.ac: Bump version.
1159 * debian/changelog: Updates.
1161 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1163 * src/hildon-banner.c (hildon_banner_realize):
1164 Mark HildonBanner as supporting portrait mode.
1165 Use GDK to set window properties insetad of direct Xlib calls.
1167 Fixes: NB#111830 (HildonBanner should be marked as supporting
1170 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1172 * src/hildon-note.c (hildon_note_rebuild):
1173 Hide action area in information notes. Prevents text from being
1174 slightly aligned to the left.
1176 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1179 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1181 Patch by Mox Soini (ext-mox.soini@nokia.com)
1183 * src/hildon-banner.c (hildon_banner_create_animation):
1184 Use stylus-sized icons in animation banner.
1186 Fixes: NB#111206 (stylus sized icon for animation banner)
1188 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1192 (+hildon_gtk_window_set_do_not_disturb):
1193 New API to set the do-not-disturb flag.
1195 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1197 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1199 * examples/hildon-progress-indicator-example.c: Fix example
1201 * src/hildon-gtk.c (set_clear_window_flag)
1202 (hildon_gtk_window_set_progress_indicator):
1203 Create a generic function for setting flags to a window.
1204 Use GDK instead of direct Xlib calls.
1206 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1208 * src/hildon-button.c (hildon_button_set_arrangement):
1209 Due to NB#88126, if one of the labels is too long it will be
1210 painted outside the button. The 'value' label is more likely to be
1211 the longest one, so we change its packing options in order to
1212 truncate it if necessary. As a side effect, the 'title' label will
1213 no longer be truncated.
1215 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1217 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1222 * configure.ac: Bump version.
1223 * debian/changelog: Updates.
1225 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1227 Deprecation of the hildon_pannable_area_set_size_request_policy
1228 API, the only policy properly supported in gtk+ nowadays is the
1231 * src/hildon-pannable-area.c,
1232 (hildon_pannable_area_size_request): Added a workaround for the
1233 size_request to avoid the problems of huge pixmaps in case someone
1234 is still using the function.
1235 * src/hildon-pannable-area.h: Deprecated the enum with the
1238 Fixes: NB#110244 (Problems with the
1239 hildon_pannable_area_set_size_request_policy API)
1241 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1243 * src/hildon-pannable-area.c,
1244 (hildon_pannable_area_init),
1245 (hildon_pannable_area_size_request),
1246 (hildon_pannable_area_style_set),
1247 (hildon_pannable_draw_vscroll),
1248 (hildon_pannable_draw_hscroll),
1249 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1250 indicator_width to clarify the use of the attribute.
1252 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1257 * configure.ac: Bump version.
1258 * debian/changelog: Updates.
1260 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1262 * src/hildon-picker-dialog.c
1263 * src/hildon-touch-selector.c
1264 Reverting the change that tried to avoid the hardcoded height on
1265 the picker dialog, as causes problems on the hildon-touch-selector
1268 Fixes: NB#110029 (selectors not scrolling to selected value)
1270 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1272 * src/hildon-touch-selector.c: Fix typos
1274 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1276 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1277 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1278 request more motions after using it.
1280 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1282 * src/hildon-calendar.c (hildon_calendar_expose),
1283 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1284 Remove unused variables.
1286 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1288 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1289 variable assignment.
1291 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1293 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1294 Check the return value of gtk_tree_selection_get_selected()
1297 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1299 * src/hildon-animation-actor.c
1300 * src/hildon-button.c
1302 * src/hildon-pannable-area.c
1303 * src/hildon-picker-button.c
1304 * src/hildon-program.c
1305 * src/hildon-remote-texture.c
1306 * src/hildon-text-view.c
1307 * src/hildon-touch-selector.c
1308 * src/hildon-window-stack.c
1309 * src/hildon-window.c:
1310 Add missing 'Since: 2.2' tags.
1312 * doc/hildon-sections.txt:
1313 Add some missing symbols.
1315 * doc/hildon-docs.sgml:
1316 New 'Other' section for HildonAnimationActor and
1319 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1321 Patch by Iván Gómez (igomez@igalia.com)
1324 * doc/compiling.sgml
1325 * doc/hildon-docs.sgml
1326 * doc/hildon-sections.txt
1327 * doc/migration.sgml
1328 * doc/resources.sgml
1330 New chapters on using the Hildon library.
1331 Updated the general structure of the reference manual.
1332 Other minor documentation fixes.
1334 * src/hildon-calendar-popup.c
1335 * src/hildon-calendar.c
1336 * src/hildon-controlbar.c
1337 * src/hildon-date-editor.c
1338 * src/hildon-dialog.c
1339 * src/hildon-hvolumebar.c
1340 * src/hildon-number-editor.c
1341 * src/hildon-range-editor.c
1342 * src/hildon-sort-dialog.c
1343 * src/hildon-time-editor.c
1344 * src/hildon-time-picker.c
1345 * src/hildon-volumebar-range.c
1346 * src/hildon-volumebar.c
1347 * src/hildon-vvolumebar.c
1348 * src/hildon-weekday-picker.c:
1349 Add deprecation notes
1351 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1352 Document 'horizontal-movement' and 'vertical-movement' signals.
1354 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1359 * configure.ac: Bump version.
1360 * debian/changelog: Updates.
1362 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1364 * src/hildon-pannable-area.c,
1365 (hildon_pannable_area_class_init): increased the minimum velocity.
1366 (hildon_pannable_area_button_release_cb): Updated the
1367 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1368 setup. Review the code to control that last event.
1370 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1373 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1375 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1377 * src/hildon-get-password-dialog.c
1378 (hildon_get_password_set_property),
1379 (hildon_get_password_get_property), (create_contents):
1380 * src/hildon-login-dialog-private.h:
1381 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1382 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1383 (hildon_login_dialog_get_password):
1384 * src/hildon-set-password-dialog-private.h:
1385 * src/hildon-set-password-dialog.c
1386 (hildon_set_password_set_property),
1387 (hildon_set_password_get_property), (create_contents),
1388 (hildon_set_password_response_change),
1389 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1391 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1392 instead and look more Fremantle style.
1394 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1396 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1398 * doc/hildon-sections.txt
1399 * src/hildon-window-stack.h
1400 * src/hildon-window-stack.c
1401 (+hildon_window_stack_get_windows):
1402 New API to obtain the list of windows on a stack.
1404 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1406 * src/hildon-app-menu.c (hildon_app_menu_popup)
1407 (hildon_app_menu_class_init, -hildon_app_menu_show):
1408 Remove hildon_app_menu_show() and move all its checks to
1409 hildon_app_menu_popup()
1411 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1413 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1414 (_hildon_picker_dialog_set_selector): removed call to
1415 gtk_widget_set_size_request
1416 * src/hildon-touch-selector.c
1417 (_create_new_column): change the pannable size request policy
1419 Avoid to use a hardcoded height for the hildon picker dialog. In order
1420 to get that, we needed to change the hildon pannable size request
1422 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1424 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1426 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1427 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1430 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1432 * debian/control: Depend on osso-system-lock localization package.
1433 * src/hildon-code-dialog.c: Obtain the secu_application_title
1434 translation from osso-system-lock.
1435 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1436 for translation the atk related strings, that's not necessary.
1437 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1438 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1439 cancel button, it is not required.
1441 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1443 * src/hildon-pannable-area.c,
1444 (hildon_pannable_area_class_init): Modified the default value of
1445 the overshooting max speed, we have reduced it.
1447 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1449 * doc/hildon-sections.txt
1450 * src/hildon-window-private.h
1451 * src/hildon-window.h
1452 * src/hildon-window.c (hildon_window_class_init)
1453 (hildon_window_init, hildon_window_finalize)
1454 (hildon_window_realize, hildon_window_get_property)
1455 (hildon_window_set_property, hildon_window_update_markup)
1456 (hildon_window_get_markup, hildon_window_set_markup):
1457 New "markup" property and hildon_window_{get,set}_markup() methods.
1459 * examples/hildon-stackable-window-example.c (new_window):
1460 Update example to use hildon_window_set_markup()
1462 Fixes: NB#106375 (Need API to retitle a window with a title
1465 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1467 * src/hildon-pannable-area.c,
1468 (hildon_pannable_area_class_init): Changed the default value of
1469 the initial_hint to TRUE.
1470 (hildon_pannable_area_initial_effect): Changed the initial effect,
1471 not the effect is just the fade-out of the scrollbars.
1473 Fixes: NB#107775 (No scrollbars can be seen when several items are
1474 available in a dialog)
1476 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1478 * src/hildon-program.c (hildon_program_update_top_most):
1481 Fixes: NB#109179 (Memory leak in Hildon program)
1483 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1485 * src/hildon-banner.c (-get_current_app_window):
1486 Remove unused function.
1488 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1490 * src/hildon-pannable-area.c: Modified the documentation of the
1491 get adjustments functions to explain the problem of using the
1492 adjustment directly.
1493 (hildon_pannable_area_class_init): Improved the explanation about
1496 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1498 * src/hildon-app-menu-private.h
1499 * src/hildon-app-menu.c
1500 (hildon_app_menu_class_init):
1501 Bring back the 'external-border' style property
1502 (hildon_app_menu_class_init, hildon_app_menu_init)
1503 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1504 Set a fixed width-request for the menu, independent of the number
1507 Fixes: NB#94957 (Smoothly opened application menu)
1509 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1511 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1513 * src/hildon-banner.c
1514 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1516 Make sure that the banner is correctly placed the first time it's
1518 (hildon_banner_check_position, -check_fullscreen_state):
1519 Show the banner in the same place no matter if the window is in
1520 fullscreen mode or not.
1522 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1524 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1526 * src/hildon-touch-selector.c (_default_print_func): reorder
1527 concatenation for clarity.
1529 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1531 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1532 for multicolumn selectors.
1534 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1536 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1541 * configure.ac: Bump version.
1542 * debian/changelog: Updates.
1544 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1546 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1549 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1551 * configure.ac: removed libcangerra-gtk dependency
1552 * debian/control: removed libcanberra-gtk dependency
1553 * src/Makefile.am: removed libcanberra gtk related flags
1554 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1555 context, and manage a global canberra context instead
1557 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1559 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1561 Patch by Daniel Borgmann (danielb@openismus.com)
1563 * src/hildon-edit-toolbar.c:
1564 Adjust the left padding.
1565 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1566 Paint background of the edit toolbar.
1568 Fixes: NB#107897 (Patch to make editmodetoolbar background
1569 themeable and adjust margin)
1571 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1573 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1575 * src/hildon-program.c (hildon_program_update_top_most):
1576 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1578 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1579 change when the user tasks in/out of an application)
1581 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1583 * configure.ac: added libcangerra-gtk dependency
1584 * debian/control: added libcanberra-gtk dependency
1585 * src/Makefile.am: added libcanberra gtk related flags
1586 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1589 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1591 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1593 * src/hildon-program.c (hildon_program_remove_window)
1594 (hildon_program_add_window): Add checks for the window
1595 parameter. Don't decrease the window counter if the window is not
1598 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1600 * src/hildon-pannable-area.c,
1601 (hildon_pannable_area_realize): Fixed position of the event_window
1602 in the realize method.
1604 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1606 * src/hildon-app-menu-private.h
1607 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1608 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1609 (hildon_app_menu_key_press, hildon_app_menu_init)
1610 (hildon_app_menu_finalize):
1611 Make sure that all idle functions are removed when the widget is
1614 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1616 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1621 * configure.ac: Bump version.
1622 * debian/changelog: Updates.
1624 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1626 * src/hildon-entry.c
1627 (+hildon_entry_show_placeholder),
1628 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1629 that replace hildon_entry_update_contents().
1630 (hildon_entry_set_text),
1631 (hildon_entry_set_placeholder),
1632 (hildon_entry_focus_in_event),
1633 (hildon_entry_focus_out_event): Determine when it is needed
1634 either to show or hide the placeholder and call the above methods.
1636 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1637 when the placeholder text is already set)
1639 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1641 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1642 simple GdkPixbufAnim using the new icons for the banner.
1643 (hildon_banner_show_animation): Use the above mentioned method to
1644 create the animation widget.
1646 Fixes: NB#103564 (Make hildon animation banner use individual
1647 image files as the animation)
1649 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1651 * src/hildon-pannable-area.c,
1652 (hildon_pannable_leave_notify_event): Check if the child is NULL
1653 to avoid sending the leave.
1655 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1657 * src/hildon-pannable-area.c,
1658 (hildon_pannable_area_class_init),
1659 (hildon_pannable_leave_notify_event): Added a handler of the
1660 leave-notify-signal to consider when no motion notify before
1663 Fixes: NB#107494 (Items stay selected when clicking and moving
1664 away when inside pannable area)
1666 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1671 * configure.ac: Bump version.
1672 * debian/changelog: Updates.
1674 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1676 Patch by Alberto Garcia (agarcia@igalia.com)
1678 * src/hildon-date-button.c,
1679 (hildon_date_button_class_init),
1680 (hildon_date_button_init): Removed the construct property handling
1681 and created a default selector in the init method.
1682 * src/hildon-picker-button.c,
1683 (hildon_picker_button_class_init): Removed the construct flag of the
1686 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1688 * src/hildon-main.c (hildon_init):
1689 Don't allow hildon_init() to be called more than once.
1691 Fixes: NB#106607 (hildon_init should issue error message upon
1694 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1696 * examples/hildon-pannable-area-touch-list-example.c
1697 * examples/hildon-pannagle-area-touch-grid-example.c
1698 * examples/hildon-edit-toolbar-example.c
1699 * examples/hildon-touch-selector-multi-cells-example.c
1700 Removed the call to gtk_rc_parse_string, as it is not required since
1703 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1705 * src/hildon-pannable-area.c,
1706 (hildon_pannable_area_class_init): Modified the default panning
1707 threshold of the widget to 6px.
1709 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1710 than the threshold value ) within the button is not sending the
1713 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1715 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1716 for the treeview in the new column. This way, the touch list will never
1719 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1720 be selected manually for the HW keys to work)
1722 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1724 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1725 comparison instead of using strcmp(). Fixes a compiler warning as well.
1727 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1729 * doc/hildon-docs.sgml: Do not set the library version in the
1730 document title, use the releaseinfo tag for that purpose instead.
1732 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1734 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1735 Do not jump to the first item if the text in the entry is removed.
1737 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1742 * configure.ac: Bump version.
1743 * debian/changelog: Updates.
1745 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1747 * src/hildon-entry.c (hildon_entry_refresh_contents):
1748 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1749 Use "ReversedSecondaryTextColor" for the placeholder text.
1751 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1753 * src/hildon-text-view.c: Fix compilation warning.
1755 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1757 * src/hildon-button.c (hildon_button_class_init): Don't make
1758 "title" and "value" construction properties, to prevent them from
1759 overwriting labels set from derived classes.
1761 * src/hildon-picker-button.c
1762 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1763 (hildon_picker_button_class_init): Make touch-selector a
1764 construction property.
1766 * src/hildon-date-button.c (hildon_date_button_class_init)
1767 (+hildon_date_button_constructed): Add a default date selector if
1770 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1772 * src/hildon-touch-selector.c: Small documentation fixes.
1774 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1776 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1778 * src/hildon-entry.c (hildon_entry_refresh_contents),
1779 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1780 widget name, set the logical color directly instead and a boolean
1781 showing_placeholder instead.
1782 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1783 use the widget name here either.
1785 Fixes: NB#105678 (HildonTextView should use logical colours
1786 instead of setting widget name)
1788 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1790 Patch by Daniel Elster (danielk@openismus.com)
1792 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1793 Add user_data parameter.
1794 (hildon_touch_selector_set_print_func_full): New function akin
1795 hildon_touch_selector_set_print_func() but with support for user
1796 data and a destroy callback.
1797 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1798 to clean up the print function user data.
1799 (hildon_touch_selector_class_init): Install dispose function.
1800 (HildonTouchSelectorPrivate::print_user_data),
1801 (HildonTouchSelectorPrivate::print_destroy_func): New private
1803 (hildon_touch_selector_init): Initialize new private members.
1804 (hildon_touch_selector_get_current_text): Pass along user data
1805 to the print function.
1806 (_default_print_func): Add dummy user_data to parameter list.
1807 * hildon-date-selector.c (_custom_print_func): ditto,
1808 * hildon-time-selector.c (_custom_print_func): ditto,
1809 * hildon-touch-selector-entry.c
1810 (hildon_touch_selector_entry_print_func): ditto.
1812 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1814 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1816 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1818 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1820 * src/hildon-pannable-area.c,
1821 (hildon_pannable_area_init),
1822 (hildon_pannable_area_button_press_cb),
1823 (hildon_pannable_area_motion_notify_cb): We have added code to
1824 handle the leave and enter events when using the motion events.
1826 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1828 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1830 * src/hildon-date-button.c (hildon_date_button_get_date)
1831 (hildon_date_button_set_date): Make sure that the button has a
1834 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1836 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1838 * src/hildon-pannable-area.c,
1839 (hildon_pannable_area_class_init),
1840 (hildon_pannable_area_calculate_velocity): Modify the use of the
1841 force and adapt the value.
1843 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1845 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1846 (hildon_app_menu_class_init): Hide the menu if it receives a
1847 delete-event, but don't destroy it
1849 Fixes: NB#104485 (Not able to address the call when application
1850 menu is opened at background)
1852 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1854 * src/hildon-app-menu.c
1855 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1856 Remove the "external-border" style property, let the menu take its
1857 natural size (or the one set by the window manager)
1858 (hildon_app_menu_repack_items):
1859 Don't reshow the menu, avoid flickers.
1861 Partially fixes NB#94957 (Smoothly opened application menu)
1863 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1868 * configure.ac: Bump version.
1869 * debian/changelog: Updates.
1871 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1873 * src/hildon-pannable-area.c,
1874 (hildon_pannable_area_motion_notify_cb): We control that the
1875 direction error margin is used just in case the movement is
1876 allowed in the other direction.
1878 Fixes: NB#105012 (buttons inside a pannable area not getting
1879 release event when dragging/releasing)
1881 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1883 * src/hildon-pannable-area.c,
1884 (hildon_pannable_area_class_init),
1885 (hildon_pannable_area_get_property),
1886 (hildon_pannable_area_set_property),
1887 (hildon_pannable_area_initial_effect),
1888 (hildon_pannable_axis_scroll),
1889 (hildon_pannable_area_button_release_cb): Reviewed the
1890 overshooting effect, now it has its own max
1891 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1892 speed when bouncing.
1894 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1899 * configure.ac: Bump version.
1900 * debian/changelog: Updates.
1902 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1904 * src/hildon-pannable-area.c,
1905 (hildon_pannable_area_class_init): Changed the max speed, now
1906 users can launch the widget very fast. Reduced the default force,
1907 that way it is easier to control the launch speed.
1909 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1911 * src/hildon-pannable-area.c,
1912 (hildon_pannable_area_button_release_cb): Removed this check
1913 because it causes problems when the device is overloaded.
1915 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1917 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1918 add a current_text field to store the text entered in the
1919 touch selector entry.
1920 (_clean_current_selection): clean up the current text as well.
1921 (_save_current_selection), (_restore_current_selection):
1922 Save/restore the text in the entry if the selector is a
1923 HildonTouchSelectorEntry.
1925 Fixes: NB#102541 (value entered in the touch selector entry is not
1926 shown when opened for second time)
1928 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1930 * doc/hildon-sections.txt:
1931 * src/hildon-touch-selector-entry.c
1932 (+hildon_touch_selector_entry_get_entry):
1933 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1935 Fixes: NB#104815 (I need accessor to the entry inside
1936 HildonTouchSelectorEntry)
1938 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1940 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1941 (hildon_app_menu_class_init):
1942 New "filter-vertical-spacing" style property.
1944 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1946 * src/hildon-find-toolbar.c
1947 (hildon_find_toolbar_emit_close)
1948 (hildon_find_toolbar_emit_invalid_input)
1949 (hildon_find_toolbar_entry_activate):
1950 Use g_signal_emit() instead of g_signal_emit_by_name()
1952 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1954 Patch by Mox Soini (ext-mox.soini@nokia.com)
1956 * tests/TEST-CASES.txt
1957 * tests/check-hildon-banner.c
1958 * tests/check-hildon-note.c
1959 * src/hildon-banner.c
1960 * src/hildon-code-dialog.c
1961 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1962 * src/hildon-time-editor.c
1963 * examples/hildon-lookup-example.c (main):
1964 Replace obsolete icon names with new ones.
1966 * src/hildon-find-toolbar-private.h:
1967 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1968 (-hildon_find_toolbar_emit_search):
1969 Remove find button and change icon of close button.
1971 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1973 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1975 * src/hildon-time-button.c (hildon_time_button_new_step):
1976 Use the "touch-selector" property to set the selector directly
1977 when creating the object.
1979 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1981 Added a new example application that allows tuning the pannable
1982 area and replaced defines with properties in order to simplify the
1983 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1984 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1985 PROP_DIRECTION_ERROR_MARGIN.
1987 * examples/hildon-pannable-area-tuning-example.c: New example
1989 * src/hildon-pannable-area.c,
1990 (hildon_pannable_area_class_init),
1991 (hildon_pannable_area_init),
1992 (hildon_pannable_area_get_property),
1993 (hildon_pannable_area_set_property),
1994 (hildon_pannable_area_launch_fade_timeout),
1995 (hildon_pannable_area_adjust_value_changed),
1996 (hildon_pannable_axis_scroll),
1997 (hildon_pannable_area_motion_notify_cb),
1998 (hildon_pannable_area_scroll_cb),
1999 (hildon_pannable_area_button_release_cb): We have converted some
2000 of the defines that control the widget to properties to simplify
2003 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2005 * src/hildon-app-menu.c (hildon_app_menu_map)
2006 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2007 so it's closed if a new window appears.
2009 Fixes: NB#104485 (Not able to address the call when application
2010 menu is opened at background)
2012 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2014 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2015 missing 'break' statement in in 'case' construct to avoid
2018 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2020 * src/hildon-touch-selector-entry.c
2021 (hildon_touch_selector_entry_get_property),
2022 (hildon_touch_selector_entry_set_property): Add missing 'break'
2023 statements in in 'case' constructs to avoid incorrect warnings.
2025 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2027 * src/hildon-time-editor.c
2028 (hildon_time_editor_get_time_separators): Do not crash if
2029 the first label is NULL.
2031 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2033 * src/hildon-date-selector.c (_month_days): Check for month to be
2034 strictly less than 12, since otherwise we may overrun the array.
2036 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2038 * src/hildon-date-button.c (+hildon_date_button_new_full)
2039 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2040 (hildon_date_button_init): Set the date selector using a
2041 construction property, to make it happen after HildonButton's
2042 "value" property is set.
2044 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2045 current date by default)
2047 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2049 * doc/hildon-sections.txt
2050 * src/hildon-program.c
2051 * src/hildon-stackable-window.c
2052 * src/hildon-window.c:
2053 Documentation updates
2055 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2057 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2058 (hildon_window_stack_new, +hildon_window_stack_set_property)
2059 (+hildon_window_stack_get_property)
2060 (hildon_window_stack_class_init)
2061 (+hildon_window_stack_set_window_group)
2062 (+hildon_window_stack_get_window_group):
2063 Make the window group a construction property.
2065 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2067 * doc/hildon-sections.txt
2068 * src/hildon-stackable-window-private.h
2069 * src/hildon-stackable-window.h
2070 * src/hildon-stackable-window.c
2071 (-hildon_stackable_window_set_app_menu)
2072 (-hildon_stackable_window_get_app_menu)
2073 (-hildon_stackable_window_toggle_menu)
2074 (-hildon_stackable_window_finalize)
2075 (hildon_stackable_window_class_init)
2076 (hildon_stackable_window_init)
2077 * src/hildon-window-private.h
2078 * src/hildon-window.h
2079 * src/hildon-window.c (hildon_window_init)
2080 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2081 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2082 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2083 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2084 Moved all HildonAppMenu code to HildonWindow. The menu does not
2085 require a HildonStackableWindow anymore.
2087 * src/hildon-app-menu.c
2088 * src/hildon-program.c
2089 * examples/hildon-app-menu-example.c (main):
2090 Update examples and documentation to reflect HildonAppMenu
2093 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2095 * src/hildon-remote-texture.c
2096 * src/hildon-animation-actor.c:
2097 Don't include unused private headers.
2099 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2101 * src/hildon-program-private.h
2102 * src/hildon-program.c
2103 (hildon_program_set_common_menu)
2104 (hildon_program_get_common_menu)
2105 (hildon_program_set_common_app_menu)
2106 (hildon_program_get_common_app_menu):
2107 Change common menu pointers from GtkWidget* to GtkMenu* and
2108 HildonAppMenu* to avoid unnecessary casts.
2110 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2112 * src/hildon-window.c (hildon_window_set_main_menu):
2113 Removed incorrect 'Since:' tag
2115 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2117 * src/hildon-pannable-area.c,
2118 (hildon_pannable_area_calculate_velocity): We use now the
2119 RATIO_TOLERANCE here to check the distance, fixed typo in the
2121 (hildon_pannable_area_motion_notify_cb): We have to set the type
2122 and time even if we are not sending the motion.
2124 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2126 * doc/hildon-sections.txt
2127 * src/hildon-app-menu.h
2128 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2129 (+hildon_app_menu_get_filters): New methods to get the contents of
2132 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2135 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2137 * src/hildon-app-menu.c (hildon_app_menu_popup):
2140 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2142 * src/hildon-window.h
2143 * src/hildon-window.c (+hildon_window_get_main_menu)
2144 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2145 and deprecated hildon_window_get_menu().
2147 * src/hildon-stackable-window.h
2148 * src/hildon-stackable-window.c
2149 (+hildon_stackable_window_set_app_menu)
2150 (+hildon_stackable_window_get_app_menu)
2151 (hildon_stackable_window_set_main_menu): Created
2152 hildon_stackable_window_{get,set}_app_menu() and deprecated
2153 hildon_stackable_window_set_main_menu().
2155 * doc/hildon-sections.txt
2156 * examples/hildon-app-menu-example.c (main)
2157 * src/hildon-app-menu.c
2158 * src/hildon-program.c:
2159 Updated examples and documentation.
2161 Fixes: NB#103758 (No way to obtain a menu from a
2162 HildonStackableWindow)
2164 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2169 * configure.ac: Bump version.
2170 * debian/changelog: Updates.
2172 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2174 * examples/hildon-remote-texture-example.c: Include
2175 hildon-remote-texture.h explicitely.
2176 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2177 applications not defining _XOPEN_SOURCE which don't require this header.
2179 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2181 * doc/hildon-sections.txt
2182 * src/hildon-app-menu.h
2183 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2184 New function to pop up a HildonAppMenu
2186 * src/hildon-stackable-window.c
2187 (hildon_stackable_window_toggle_menu):
2188 Use hildon_app_menu_popup() to show the menu.
2190 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2192 * src/hildon-app-menu.c (hildon_app_menu_show)
2193 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2194 menu if there's another window between it and its parent window.
2196 Fixes: NB#100468 (Application menu window is launched even when a
2197 new secondary-window/dialog is pending to be shown/realized)
2199 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2201 * src/hildon-window-stack.c (hildon_window_stack_push)
2202 (hildon_window_stack_pop_and_push):
2203 Don't forget to push/pop the first window.
2204 Reverse the window list before calling _push_list()
2206 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2208 * src/hildon-picker-button.h
2209 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2210 Remove "value_changed" slot to avoid ABI breakage
2212 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2214 * src/hildon-pannable-area.c,
2215 (hildon_pannable_area_realize),
2216 (hildon_pannable_area_unrealize),
2217 (hildon_pannable_draw_vscroll),
2218 (hildon_pannable_draw_hscroll): Changed the method to handle the
2219 GC used to draw the transparent scrollbar, this way we avoid
2220 creating the GC all the time when drawing the scrollbars.
2222 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2224 * src/hildon-pannable-area.c,
2225 (hildon_pannable_area_init),
2226 (hildon_pannable_area_remove): Removed some unnecessary casts.
2227 (hildon_pannable_area_dispose): Disconnected some signals before
2228 releasing the adjustments.
2230 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2232 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2233 Make sure that all widgets contained in the toolbar are shown.
2235 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2237 * doc/hildon-sections.txt
2238 * src/hildon-picker-button.h
2239 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2240 (_selection_changed, hildon_picker_button_on_dialog_response)
2241 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2242 New hildon_picker_button_value_changed() method.
2245 * src/hildon-picker-button-private.h
2246 * src/hildon-picker-button.c (hildon_picker_button_init)
2247 (+hildon_picker_button_disable_value_changed): Add protected
2248 function for disabling the "value-changed" signal.
2250 * src/hildon-date-button.c (hildon_date_button_set_date):
2251 Don't emit "value-changed" for each one of the three columns.
2253 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2254 before actual change of values)
2256 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2258 * src/hildon-pannable-area.c,
2259 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2260 for the treeview overshooting.
2262 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2264 * src/hildon-banner.c (+hildon_banner_bind_style):
2265 Renamed from hildon_banner_bind_label_style(), now naming the
2266 banner itself as well.
2267 (hildon_banner_show_information),
2268 (hildon_banner_show_information_with_markup),
2269 (hildon_banner_show_animation), (hildon_banner_show_progress):
2270 Name the widgets and labels, based on their type.
2272 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2275 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2277 * src/hildon-note.c (hildon_note_set_property): call
2278 hildon_note_rename() on HildonNote:note-type set.
2279 (hildon_note_rename): Name the note and its label, based on the
2280 HildonNote:note-type property.
2282 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2285 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2287 * src/hildon-pannable-area.c,
2288 (hildon_pannable_area_class_init),
2289 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2290 panning parameters, increased SPS and deceleration factor. Added
2291 also a margin to control fake directions.
2293 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2295 Patch by Sven Herzberg (sven@imendio.com)
2297 * configure.ac: Add missing AM_PROG_CC_C_0
2298 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2300 See NB#101420 (Update unit tests and fix make check)
2302 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2304 This patch was applied before but reverted because it caused
2305 problems, we have changed the main condition and tested the
2306 regressions we detected before and they work ok. We have done a
2307 complete review of the topmost algorithm in order to get a more
2310 * src/hildon-pannable-area.c,
2311 (hildon_pannable_area_get_topmost): Added a new parameter to
2312 filter the the windows that do not include those events.
2313 (hildon_pannable_area_button_press_cb),
2314 (hildon_pannable_area_button_release_cb),
2315 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2316 topmost function, we have added the new parameter.
2318 Fixes: NB#97458 (Pannable area prevents propagation of button
2321 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2323 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2324 if all columns in the selector have an item selected.
2325 (_on_dialog_response): Stop "response" signal emission if there is
2326 any selector column without selected items.
2328 Fixes: NB#101889 (Picker dialog should not close when nothing is
2329 selected in multiple selection list)
2331 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2333 * src/hildon-font-selection-dialog.c
2334 (hildon_font_selection_dialog_class_init),
2335 (hildon_font_selection_dialog_init): Remove the preview
2336 button and dialog, since previewing with default theming is likely
2337 to be overcomplicated. The :preview property has now no effect.
2338 Update documentation blurbs to inform about this.
2340 Fixes: NB#92297 (Preview content is not clearly visible for
2341 default colour text)
2343 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2345 Reviewed the geometry that handles the children size and
2346 scrollbar, now it tries a size and reviews the results depending
2347 on the scrollbars visibility.
2349 * src/hildon-pannable-area.c,
2350 (hildon_pannable_area_realize): Fixed a typo.
2351 (hildon_pannable_area_child_allocate_calculate): Added this
2352 function to calculate the child allocation.
2353 (hildon_pannable_area_size_allocate): Reviewed the allocation
2355 (hildon_pannable_area_check_scrollbars),
2356 (hildon_pannable_area_refresh): Refactored refresh function, this
2357 way we can call the code handling the scrollbars without causing a
2358 size_request, it is interesting in the allocate.
2359 (hildon_pannable_area_init): Replace the callbacks of the
2360 value_changed and changed signals to propertly deal with the
2362 (hildon_pannable_area_grab_notify),
2363 (hildon_pannable_area_initial_effect),
2364 (hildon_pannable_area_launch_fade_timeout),
2365 (hildon_pannable_area_adjust_changed),
2366 (hildon_pannable_area_adjust_value_changed),
2367 (hildon_pannable_area_redraw),
2368 (hildon_pannable_area_button_press_cb),
2369 (hildon_pannable_area_button_release_cb),
2370 (hildon_pannable_area_scroll_cb),
2371 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2372 code and use the new functions adjust_changed and
2373 adjust_value_changed.
2375 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2376 Contact editor dialog)
2378 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2383 * configure.ac: Bump version.
2384 * debian/changelog: Updates.
2386 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2388 * src/hildon-pannable-area.c,
2389 (hildon_pannable_area_get_topmost),
2390 (hildon_pannable_area_button_press_cb),
2391 (hildon_pannable_area_button_release_cb),
2392 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2393 topmost function adding the event mask. We have to try a
2394 differente approach because it is still causing problems (NB#9745,
2397 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2399 * src/hildon-banner.c:
2400 Update the maximum width of timed banners.
2401 (force_to_wrap_truncated): Enforce the maximum text width if the
2404 Fixes: NB#102413 (The text margins (wrapping) in information
2405 banner should be HILDON_MARGIN_TRIPLE)
2407 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2409 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2411 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2412 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2413 bound when calculating the scroll indicator position.
2415 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2416 treat ->lower correctly)
2418 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2420 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2421 expose event handling, since it is not necessary to draw the focus
2424 Fixes: NB#102467 (Do not show highlight on the text in
2427 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2429 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2430 full height of the toolbar for the button and the label.
2432 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2434 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2435 padding before the label and after the button.
2437 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2439 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2441 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2442 Add a GtkVSeparator between the button and the back arrow.
2443 Let the button have automatic size.
2444 Set a name to the widget for theming handling.
2446 Fixes: NB#101793 (Make edit toolbar the same height as window
2447 title bar (use title area theming))
2449 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2451 * src/hildon-helper.c (attach_new_color_element): Fix memory
2454 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2456 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2458 * examples/hildon-button-example.c (common_buttons_window): Don't
2461 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2463 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2464 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2466 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2468 * src/hildon-gtk.c: Check that the window is realized.
2470 Fixes: NB#102225 (Crash setting the progress indicator to a non
2473 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2475 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2476 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2477 instead of modifying the one in the widget style.
2479 Fixes: NB#101043 (Second row of all the command button are
2480 displayed in transparent mode.)
2482 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2484 * src/hildon-date-button.c
2485 * src/hildon-time-button.c: Add gettext macros
2487 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2489 * src/hildon-date-button.c (hildon_date_button_new):
2490 * src/hildon-time-button.c (hildon_time_button_new_step):
2491 Use new logical strings to set the button default title.
2493 Fixes: NB#99915 (Date and Time options are not localised in Date
2496 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2498 * src/hildon-pannable-area.c
2499 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2500 the PANNING_THRESHOLD.
2502 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2504 * src/hildon-pannable-area.c,
2505 (hildon_pannable_area_class_init): Increased the maximum speed.
2506 (hildon_pannable_area_get_property),
2507 (hildon_pannable_area_set_property),
2508 (hildon_pannable_area_timeout): Added a new low friction mode, it
2509 allows the user avoid friction when launching the widget fast
2510 enough. It is interesting to traverse long lists.
2512 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2514 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2515 (+hildon_stackable_window_delete_event): Ignore delete events if
2516 the window is not the topmost one.
2518 Fixes: NB#101698 (Back button long press and delete-event handling)
2520 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2522 * src/hildon-pannable-area.c,
2523 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2524 gtk-dnd-drag-threshold, it was too big. We have defined our own
2525 dnd define and set a smaller value: PANNIG_THRESHOLD.
2527 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2529 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2530 user-defined icons, use always the default one.
2532 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2534 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2536 This patch was applied before but reverted because it caused
2537 problems, we have changed the main condition and tested the
2538 regressions we detected before and they work ok.
2540 * src/hildon-pannable-area.c,
2541 (hildon_pannable_area_get_topmost): Added a new parameter to
2542 filter the the windows that do not include those events. Added
2543 also a condition when finding the window to filter windows that do
2544 not ask for those events.
2545 (hildon_pannable_area_button_press_cb),
2546 (hildon_pannable_area_button_release_cb),
2547 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2548 topmost function, we have added the new parameter.
2550 Fixes: NB#97458 (Pannable area prevents propagation of button
2553 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2555 * tests/check-hildon-color-button.c (START_TEST): do not leak
2558 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2560 * src/hildon-font-selection-dialog.c
2561 (hildon_font_selection_dialog_get_preview_text): Return NULL
2562 instead of FALSE on the g_return_val_if_fail().
2564 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2566 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2567 * src/hildon-date-selector.c
2568 (hildon_date_selector_select_current_date):
2569 Do not compare unsigned integers to be greater than or equal 0,
2570 because it's always TRUE.
2572 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2574 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2575 (hildon_date_selector_constructor): Do not select the current
2576 date until we are handle the "changed" signal, to avoid having bogus
2577 elements in the days model.
2579 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2581 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2582 for num_days, since _month_days() can return a negative value.
2584 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2586 * src/hildon-caption.c (hildon_caption_size_allocate):
2587 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2588 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2590 Initialize allocation variables to 0, to avoid eventually using
2591 unitialized variables.
2593 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2595 * src/hildon-bread-crumb-trail.c
2596 (hildon_bread_crumb_trail_size_allocate):
2597 * src/hildon-calendar.c (hildon_calendar_set_background):
2598 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2599 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2600 * src/hildon-seekbar.c (hildon_seekbar_init):
2601 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2602 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2603 * src/hildon-touch-selector-entry.c
2604 (hildon_touch_selector_get_text_from_model):
2605 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2606 * src/hildon-window.c (hildon_window_finalize):
2608 Remove many unused variables.
2610 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2612 * src/hildon-seekbar.c: (hildon_seekbar_init),
2613 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2615 Remove unnecessary g_assert() calls.
2617 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2619 * src/hildon-caption.c: (hildon_caption_expose),
2620 (hildon_caption_set_property), (hildon_caption_init),
2621 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2622 (hildon_caption_size_request), (hildon_caption_size_allocate),
2623 (hildon_caption_forall), (hildon_caption_set_separator),
2624 (hildon_caption_activate), (hildon_caption_set_child_expand),
2625 (hildon_caption_set_label_text),
2626 (hildon_caption_get_label_alignment):
2628 Remove unnecessary g_assert() calls.
2630 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2632 * src/hildon-banner.c
2633 (hildon_banner_map, hildon_banner_init): Make banner temporary
2634 before mapping it to avoid closing other temporary windows, but
2635 make it non-temporary afterwards to avoid being closed by other
2636 non-temporary windows.
2637 (-hildon_banner_client_event, hildon_banner_init):
2638 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2640 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2643 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2645 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2648 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2650 * src/hildon-remote-texture.c
2651 * src/hildon-remote-texture.h
2652 * src/hildon-remote-texture-private.h
2653 * examples/hildon-remote-texture-example.c:
2654 Updates/fixes to remote-texture and its example.
2656 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2658 Patch by Mox Soini (ext-mox.soini@nokia.com)
2660 * src/hildon-code-dialog.c: Update logical id.
2661 * src/hildon-set-password-dialog.c: Update logical id.
2663 Fixes: NB#100646 (Logical strings is shown for ok in set
2664 password,Password needed dialogs)
2666 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2669 * src/hildon-remote-texture.c
2670 * src/hildon-remote-texture.h
2671 * src/hildon-remote-texture-private.h
2673 Added remote texture widget (for Clutter shared memory textures)
2675 * examples/hildon-remote-texture-example.c
2676 * examples/Makefile.am
2677 Added example file for remote texture usage
2679 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2681 * configure.ac: post release version bump.
2682 * debian/changelog: version bump.
2684 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2689 * configure.ac: Bump version.
2690 * debian/changelog: Updates.
2692 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2694 * src/hildon-date-selector.c (hildon_date_selector_init)
2695 (hildon_date_selector_constructor): Don't connect to the "changed"
2696 signal until the selector is completely constructed.
2698 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2700 * src/hildon-touch-selector.c: (_create_new_column),
2701 (hildon_touch_selector_append_column),
2702 (hildon_touch_selector_set_column_selection_mode),
2703 (hildon_touch_selector_set_active),
2704 (hildon_touch_selector_select_iter):
2705 Emit the HildonTouchSelector::changed signal every time selection
2706 is changed in any of the methods above. This behavior was already
2707 documented but not fully functional.
2709 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2710 selection is programmatically changed)
2712 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2714 * doc/hildon-sections.txt: Remove obsolete icon
2715 sizes from here as well.
2717 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2719 * examples/hildon-stackable-window-example.c (add_window): Remove
2722 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2724 * src/hildon-app-menu.c
2725 (hildon_app_menu_show): Check whether the parent window of a menu
2726 is topmost before popping it up.
2728 Fixes: NB#100468 (Application menu window is launched even when a
2729 new secondary-window/dialog is pending to be shown/realized.)
2731 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2733 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2736 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2738 Patch by Mox Soini (ext-mox.soini@nokia.com)
2740 * src/hildon-banner.c: (hildon_banner_show_animation):
2741 use stylus size instead of obsolete note size.
2742 * src/hildon-defines.h: Update icon sizes.
2744 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2746 * src/hildon-touch-selector-entry.c:
2747 (hildon_touch_selector_entry_init): Disable unsupported
2749 (hildon_touch_selector_entry_get_text_column): Emit a warning
2750 if an unsupported input modes is used and explicitile state
2751 these modes in the documentation.
2753 Fixes: NB#99802 (Hildon touch selector entry not working properly
2754 for some of the input modes)
2756 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2758 * src/hildon-pannable-area.c,
2759 (hildon_pannable_area_init): Added the changed signal handlers of
2762 Fixes: NB#100320 (HildonPannableArea does not listen to
2763 GtkAdjustment "change" signals)
2765 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2767 * doc/hildon-sections.txt
2768 * src/hildon-window-private.h
2769 * src/hildon-window.h
2770 * src/hildon-window.c (hildon_window_init)
2771 (hildon_window_realize, hildon_window_unrealize)
2772 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2773 (hildon_window_size_request, hildon_window_size_allocate)
2774 (hildon_window_forall, hildon_window_show_all)
2775 (hildon_window_destroy, +paint_edit_toolbar)
2776 (+hildon_window_set_edit_toolbar):
2777 New hildon_window_set_edit_toolbar() method, to add a
2778 HildonEditToolbar to a window without having to pack it manually.
2780 Reorganize hildon_window_size_allocate()
2782 * src/hildon-edit-toolbar.c: Update documentation.
2784 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2785 example to use the new API.
2787 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2789 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2791 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2792 Remove from stack before calling parent's hide.
2794 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2796 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2797 window is removed from the middle of the stack, update the
2798 transiency of the previous one.
2800 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2803 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2805 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2806 block/unblock the signal handler if it's not actually being used.
2807 Fixes some critical warnings.
2809 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2811 Based on a patch by Iván Gómez (igomez@igalia.com)
2813 * src/hildon-banner.c
2817 * src/hildon-pannable-area.c
2818 * src/hildon-picker-dialog.c
2819 * src/hildon-wizard-dialog.h
2820 * src/hildon-wizard-dialog.c: Documentation updates.
2822 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2823 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2825 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2827 * configure.ac: post release version bump.
2828 * debian/changelog: version bump.
2830 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2835 * configure.ac: Bump version.
2836 * debian/changelog: Updates.
2838 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2840 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2841 a stock icon nor change the relief of the back arrow.
2843 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2844 graphics from theme)
2846 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2848 * src/hildon-button.c (hildon_button_set_alignment): Use
2849 priv->alignment if the button has no child yet.
2851 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2853 * src/hildon-button.c: (hildon_button_init): Set the
2854 button style during initialization to give it the proper
2857 Fixes: NB#99713 (HildonButton value label color is wrong)
2859 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2861 * src/hildon-touch-selector.c: Document
2862 hildon_touch_selector_center_on_selected()
2864 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2866 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2867 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2868 all menu items, but not the menu itself.
2869 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2870 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2871 items after adding them to the menu so keyboard accelerators work.
2872 (hildon_app_menu_show): Don't show the menu if it contains items
2873 but none of them are visible.
2875 * examples/hildon-app-menu-example.c (create_menu): Use
2876 gtk_widget_show_all() to show all menu items.
2878 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2880 * src/hildon-picker-dialog.c:
2881 (-_update_title_on_selector_changed_cb),
2882 (-_dialog_update_title): Removed.
2883 (_select_on_selector_changed_cb), (_on_dialog_response),
2884 (on_selector_columns_changed): Do not update the dialog title.
2885 (setup_interaction_mode): Do not connect to
2886 HildonTouchSelector::changed signal if there's a "done" button, as
2887 the dialog title doesn't need to be updated.
2889 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2892 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2894 Patch by Kristian Rietveld (kris@imendio.com)
2896 * src/hildon-touch-selector.c: (_create_new_column): Use new
2897 GtkTreeView::hildon-row-tapped signal to react to user interactions
2898 instead of ::changed.
2900 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2901 with some dynamic tree model)
2903 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2905 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2906 (+screen_size_changed, +label_size_request)
2907 (hildon_note_class_init): Make the Hildon information note have a
2908 minimum height, and make its text hvae a maximum width.
2910 Fixes: NB#98614 (Hildon information note (background) should have
2911 minimum height and maximum text width)
2913 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2915 * src/hildon-banner.h
2916 * src/hildon-banner.c (hildon_banner_show_information)
2917 (hildon_banner_show_informationf)
2918 (hildon_banner_show_information_with_markup): Update documentation
2919 to reflect that the icon_name parameter is not used anymore.
2920 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2921 Remove all code from these functions and mark them as deprecated.
2922 (hildon_banner_show_progress): Mark as deprecated.
2924 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2926 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2928 * src/hildon-pannable-area.c,
2929 (hildon_pannable_area_class_init),
2930 (tranparency_color),
2931 (hildon_pannable_draw_vscroll),
2932 (hildon_pannable_draw_hscroll),
2933 (hildon_pannable_area_expose_event): Added a new way to render the
2934 scrollbars of the pannable area avoiding using cairo at all. This
2935 way we improve the performance of the pannable area rendering. The
2936 cairo rendering procedure is still in the code, we can control
2937 which one to use changing the value of the define
2938 USE_CAIRO_SCROLLBARS.
2940 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2942 * configure.ac: post release version bump.
2943 * debian/changelog: version bump.
2945 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2950 * configure.ac: Bump version.
2951 * debian/changelog: Updates.
2953 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2955 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2956 banners instead of destroying them when they receive a button
2959 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2961 Reverted commit 34028, it was causing regressions, probably the
2962 topmost condition is not correct, we have to check it in more
2963 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2964 propagation of button press events)
2966 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2968 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2969 that the selection is not empty before attempting to retrieve the
2970 current ampm selection.
2972 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2974 * src/hildon-picker-button.c:
2975 (hildon_picker_button_on_dialog_response): Directly update the
2976 button contents when required instead of calling _selection_changed.
2978 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2980 * src/hildon-program.c (hildon_program_update_top_most): Update
2981 'is-topmost' property also when wm_hints is not set.
2983 Fixes: NB#98383 (is-topmost signal is not emitted when task
2984 switcher is clicked.)
2986 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2988 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2992 * src/hildon-animation-actor.c,
2993 * src/hildon-animation-actor.h: Added the animation actor class,
2994 this widget represents an animation actor for WM-assisted
2995 animation effects in the Hildon framework.
2997 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2999 * src/hildon-window-stack-private.h
3000 * src/hildon-window-stack.c
3001 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3002 Avoid calling gtk_widget_show() again indirectly from
3003 hildon_stackable_window_show()
3005 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3007 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3010 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3012 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3013 (hildon_time_selector_init): Move the construction of the hours and
3014 ampm columns to the constructor to preserve the order the columns
3017 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3019 * src/hildon-picker-dialog.c:
3020 (hildon_picker_dialog_class_init): Connect a realize method.
3021 (+hildon_picker_dialog_realize): Setup the interaction mode here
3023 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3024 yet, do it during the realize instead.
3025 (_on_dialog_response):
3026 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3027 if the widget is not realized, to avoid the dialog response before it
3030 Avoid premature responses in the HildonPickerDialog that can cause it
3031 to be hidden before it's even shown.
3033 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3035 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3036 (on_selector_columns_changed), (requires_done_button),
3037 (+prepare_action_area), (setup_interaction_mode),
3038 (_hildon_picker_dialog_set_selector):
3040 Split the interaction mode setup into preparation of the
3041 action area (prepare_action_area()) and the connection of
3042 the signals in setup_interaction_mode() and update the code to
3045 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3047 * src/hildon-pannable-area.c,
3048 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3049 per second to 15, we will check if this is ok regarding
3052 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3054 * src/hildon-pannable-area.c,
3055 (hildon_pannable_axis_scroll): Avoid resize if we already have
3056 reached overshoot_max.
3058 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3060 * src/hildon-pannable-area.c,
3061 (hildon_pannable_area_init),
3062 (hildon_pannable_area_realize),
3063 (hildon_pannable_area_size_allocate),
3064 (hildon_pannable_area_map),
3065 (hildon_pannable_area_unmap),
3066 (hildon_pannable_draw_vscroll),
3067 (hildon_pannable_draw_hscroll),
3068 (hildon_pannable_area_expose_event),
3069 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3070 pannable are to avoid the expose events go to the window and
3071 redraw the window. We save this way that part of the stack and the
3072 paint_boxes. We had to change the positions of the elements when
3075 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3077 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3078 * src/hildon-color-chooser-dialog.c:
3079 (hildon_color_chooser_dialog_init):
3080 * src/hildon-font-selection-dialog.c:
3081 (hildon_font_selection_dialog_init),
3082 (hildon_font_selection_dialog_show_preview):
3083 * src/hildon-get-password-dialog.c:
3084 * src/hildon-login-dialog.c:
3085 * src/hildon-set-password-dialog.c:
3086 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3087 * src/hildon-time-picker.c: (hildon_time_picker_init):
3089 Remove obsolete logical string IDs and update to the appropriate ones.
3091 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3093 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3095 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3096 that happens if the window hasn't been realized yet.
3098 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3099 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3101 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3103 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3104 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3107 Fixes: NB#98537 (Device hangs in account settings dialog)
3109 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3111 * configure.ac: post release version bump.
3112 * debian/changelog: version bump
3114 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3119 * configure.ac: Bump version.
3120 * debian/changelog: Updates.
3122 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3124 Added a new function to the HildonTimeButton widget that allows to
3125 change the step of the minutes in the selector associated with the
3126 button: hildon_time_button_new_step
3128 * src/hildon-time-button.c,
3129 (hildon_time_button_init),
3130 (hildon_time_button_new),
3131 (hildon_time_button_new_step):
3132 * src/hildon-time-button.h: Added the new function and refactored
3134 * examples/hildon-time-button-example.c,
3135 (main): We have replaced the function without parameters with the
3136 function with the steps set to 5
3138 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3140 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3142 * src/hildon-time-selector.c,
3143 (hildon_time_selector_class_init),
3144 (hildon_time_selector_constructor),
3145 (hildon_time_selector_get_property),
3146 (hildon_time_selector_set_property),
3147 (_create_minutes_model),
3148 (hildon_time_selector_new_step),
3149 (hildon_time_selector_set_time),
3150 * src/hildon-time-selector.h: Added a new property to the
3151 HildonTimeSelector (minutes-step), we use that property to control
3152 the steps between the minutes in the list of the selector. We have
3153 added a new function to the API to create a widget changing the
3154 step: hildon_time_selector_new_step.
3156 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3158 * src/hildon-time-selector.c,
3159 (hildon_time_selector_class_init),
3160 (hildon_time_selector_constructor),
3161 (hildon_time_selector_init): Overrided the construct function when
3162 creating the time selector object. We have moved the minutes model
3163 handling code from the init to the new construction function:
3164 hildon_time_selector_constructor.
3166 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3168 * examples/hildon-date-button-example.c: (main): Use the new
3169 hildon_date_button_new_with_year_range() method in the example.
3170 * src/hildon-date-button.c:
3171 (+hildon_date_button_new_with_year_range): New public method
3172 to conveniently create a HildonDateButton with a custom year range
3173 in its HildonDateSelector.
3174 * src/hildon-date-button.h: Add the new public method definition.
3176 Fixes: NB#97908 (Not possible to change the year range in
3177 HildonDateSelector/HildonDateButton)
3179 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3181 * src/hildon-date-selector.c:
3182 (+hildon_date_selector_set_property),
3183 (+hildon_date_selector_get_property),
3184 (hildon_date_selector_class_init): Install new properties "min-year"
3185 and "max-year" to define boundaries for the year column.
3186 (_create_year_model): Use the boundary properties to populate the model.
3187 (+hildon_date_selector_new_with_year_range): New public method to
3188 create a HildonDateSelector with a user defined year range.
3189 (hildon_date_selector_select_current_date): Use the new boundaries to
3190 calculate the iterator of current year.
3191 * src/hildon-date-selector.h: Add the new public method definition.
3193 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3195 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3196 Install a constructor method.
3197 (+hildon_date_selector_construct_ui): construct the widget.
3198 (+hildon_date_selector_constructor): new constructor.
3199 (+hildon_date_selector_init): move out widget construction code to
3200 the new constructor.
3202 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3204 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3205 that there's actually a month or year selected before obtaining them.
3206 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3207 of the HildonTouchSelector::changed signal, as it was emitted on every
3208 single item selection.
3210 Fix some warnings and possible crashers due to the selection restoring.
3212 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3214 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3215 the signal handlers only after creating the dialog instead of on every
3218 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3220 * src/hildon-button.c (hildon_button_init)
3221 * src/hildon-check-button.c (hildon_check_button_init)
3222 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3223 focus when clicked by default.
3225 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3227 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3230 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3232 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3233 Alejandro G. Castro (alex@igalia.com)
3235 * src/hildon-picker-dialog.c:
3236 (hildon_picker_dialog_class_init): install new "center-on-show"
3238 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3239 (hildon_picker_dialog_set_property): add setter code for the new
3241 (hildon_picker_dialog_get_property): add getter code for the new
3243 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3244 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3247 Fixes: NB#92849 (Selected item is not always visible when
3248 HildonTouchSelector is shown)
3250 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3252 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3253 Alejandro G. Castro (alex@igalia.com)
3255 * src/hildon-touch-selector.c:
3256 (_create_new_column): Do not connect to the "realize" signal of the
3258 (hildon_touch_selector_append_column): center on the selected items
3259 when a new column is appended.
3260 (hildon_touch_selector_select_iter): Factor out the code to select a
3261 column to hildon_touch_selector_scroll_to().
3262 (+search_nearest_element): Method to retrieve the nearest selected
3263 element to the visible area of the pannable area in a column.
3264 (+on_realize_cb): scroll to the initially selected item.
3265 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3266 the pannable area is realized, otherwise delay this until it is.
3267 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3268 selected items of a given column.
3269 (+hildon_touch_selector_center_on_selected): Public method to center
3270 all columns on the nearest selected item.
3271 * src/hildon-touch-selector.h: Add definition for
3272 hildon_touch_selector_center_on_selected().
3274 Implement public API to ensure visibility of all selected items in
3275 a HildonTouchSelector.
3277 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3279 Fixed a problem in the fading when calling the scroll_to API, and
3280 improve scrollbar fading handling.
3282 * src/hildon-pannable-area.c,
3283 (hildon_pannable_area_grab_notify): avoid the timeout when the
3285 (hildon_pannable_area_button_press_cb),
3286 (hildon_pannable_area_motion_notify_cb): Code style changes.
3287 (hildon_pannable_area_button_release_cb): Review the conditions
3288 when releasing the mouse button to avoid unrequired fading
3290 (hildon_pannable_area_scroll_to): Do not calculate and set the
3291 velocity if the scroll is not required.
3293 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3295 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3296 Don't check whether the new selector is NULL: it cannot be.
3297 Hold a reference to the selector while doing the replacement.
3299 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3301 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3302 unnecessary size_request in a removed widget.
3304 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3306 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3307 an unnecessary reference tracking that was leaking.
3309 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3311 Added delayed motion notify event handling, this way we can
3312 discard redrawing if more than 25 events arrive per second.
3314 * src/hildon-pannable-area.c,
3315 (hildon_pannable_area_init): Initialized the new private atributes
3316 controlling this timeout
3317 (hildon_pannable_area_dispose): Remove the timeout that controls
3318 the motion notify events.
3319 (hildon_pannable_area_scroll): Added a condition to control the
3320 use of the acceleration.
3321 (hildon_pannable_area_motion_event_scroll_timeout),
3322 (hildon_pannable_area_motion_event_scroll): Added this two
3323 functions, they handle the motion notify events inside the
3325 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3326 to the scroll method with the new function.
3327 (hildon_pannable_area_button_release_cb): We have to remove the
3328 timeout handler and move to the last position if the last motion
3329 events were not handled.
3331 Fixes: NB#97028 (Pannable area updates on every motion event)
3333 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3335 * src/hildon-pannable-area.c,
3336 (hildon_pannable_area_get_topmost): Added a new parameter to
3337 filter the the windows that do not include those events. Added
3338 also a condition when finding the window to filter windows that do
3339 not ask for those events.
3340 (hildon_pannable_area_button_press_cb),
3341 (hildon_pannable_area_button_release_cb),
3342 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3343 topmost function, we have added the new parameter.
3345 Fixes: NB#97458 (Pannable area prevents propagation of button
3348 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3350 * src/hildon-pannable-area.c,
3351 (hildon_pannable_area_initial_effect): Added controls before
3352 launching the timeout and the idle functions.
3353 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3354 of the method, in some situations it can return with TRUE and 0 in
3356 (hildon_pannable_area_button_press_cb): We do not need to set
3357 DELAY for fading out here.
3359 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3361 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3363 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3364 post-cleaning if the selection is not NULL.
3366 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3368 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3369 all items before restoring the selection.
3371 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3373 * src/hildon-touch-selector.c:
3374 (+hildon_touch_selector_unselect_all):
3375 * src/hildon-touch-selector.h: New API to unselect all items in a
3376 column of the touch selector.
3378 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3380 * src/hildon-pannable-area.c,
3381 (hildon_pannable_area_redraw): Added a call to the refresh
3382 function inside the redraw because apparently in some cases the
3383 change in the adjustment does not imply a size allocate.
3385 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3386 despite the view not being scrollable)
3388 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3390 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3391 leak. Check for NULL before attempting to set the window title.
3393 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3395 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3396 whether to show or not the 'Done' button each time the dialog is
3397 shown, as it depends on the HildonTouchSelector selection mode.
3399 Fixes: NB#96226 (In multiple selection mode Done button is shown
3400 sometimes in listpicker)
3402 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3404 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3405 for the number of columns in the HildonTouchSelector more than once.
3407 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3409 * src/hildon-touch-selector.c: Minor documentation fixes.
3411 * src/hildon-picker-dialog.c (+_dialog_update_title)
3412 (_select_on_selector_changed_cb)
3413 (_update_title_on_selector_changed_cb)
3414 (on_selector_columns_changed): Update dialog title when there's no
3415 'Done' button and also when the number of columns in the selector
3419 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3420 (+_selection_changed, hildon_picker_button_on_dialog_response)
3421 (hildon_picker_button_selector_selection_changed)
3422 (+hildon_picker_button_selector_columns_changed)
3423 (hildon_picker_button_set_selector): Update button value and emit
3424 'value-changed' when the number of columns in the selector
3428 Fixes: NB#96225 (Dialog titles are not shown according to the
3429 values selected in the list picker)
3431 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3433 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3434 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3435 New "arrow-width" and "arrow-height" style properties to set the
3436 size of the arrow button.
3437 Set name of arrow button ("hildon-edit-toolbar-arrow").
3439 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3440 graphics from theme)
3442 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3444 * src/hildon-picker-button.c:
3445 (hildon_picker_button_selector_selection_changed): Use
3446 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3447 the dialog is present.
3449 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3450 the selection is accepted in the dialog)
3452 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3454 * src/hildon-color-chooser.h
3455 * src/hildon-color-chooser-dialog.h:
3456 Added G_BEGIN_DECLS and G_END_DECLS
3458 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3460 (_clean_current_selection): plug a leak in the list.
3462 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3464 * src/hildon-picker-dialog.c:
3465 (+free_path_list): Method to free a GList of GtkTreePaths.
3466 (_clean_current_selection), (_save_current_selection),
3467 (_restore_current_selection): Save the current selection in
3468 as a list of lists, to support multiple selection properly.
3470 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3472 patch by Claudio Saavedra (csaavedra@igalia.com)
3474 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3475 Store the press position.
3476 (+hildon_text_view_button_release_event): If the release position is
3477 close enough to the press position, move the cursor here. Otherwise,
3479 (hildon_text_view_class_init): Override GtkTextView press, release, and
3480 motion event handlers, disabling this way text selection through
3481 pointer interaction, and allowing the container widget to handle the
3484 Fixes: NB#95828 (HildonTextView functionality)
3486 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3488 Based on a patch by Iván Gómez (igomez@igalia.com)
3490 * src/hildon-button.[ch]
3491 * src/hildon-calendar.c
3492 * src/hildon-check-button.c
3493 * src/hildon-date-editor.c
3494 * src/hildon-date-selector.c
3495 * src/hildon-picker-button.c
3496 * src/hildon-time-editor.c
3497 * src/hildon-time-selector.c
3498 * src/hildon-touch-selector.[ch]:
3499 Documentation updates
3501 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3503 * src/hildon-pannable-area.c,
3504 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3505 threshold, it was required due to X events handling.
3507 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3509 * src/hildon-pannable-area.c,
3510 (hildon_pannable_area_grab_notify),
3511 (hildon_pannable_area_initial_effect),
3512 (hildon_pannable_area_button_press_cb),
3513 (hildon_pannable_area_button_release_cb),
3514 (hildon_pannable_area_scroll_cb),
3515 (hildon_pannable_area_scroll_to): Review the timeout management of
3516 the scrollbar, the frecuency was incorrectly set.
3518 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3520 * src/hildon-picker-button.c:
3521 (+hildon_picker_button_on_dialog_response),
3522 (hildon_picker_button_clicked): Present the dialog instead of
3523 running it with gtk_dialog_run().
3525 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3528 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3530 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3531 (hildon_app_menu_finalize): When a window is hidden it doesn't
3532 emit notify::is-topmost, so make sure than the menu also
3533 disappears in that case.
3534 (parent_window_topmost_notify): Renamed from parent_window_hidden
3536 Fixes: NB#94460 (stackable window's menu is not closed when its
3539 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3541 * src/hildon-touch-selector-entry.c:
3542 (+hildon_touch_selector_entry_set_input_mode),
3543 (+hildon_touch_selector_entry_get_input_mode):
3544 * src/hildon-touch-selector-entry.h: New methods to access the input
3545 mode in the selector's entry.
3547 Fixes: NB#93410 (API required for setting IM mode in
3548 HildonTouchSelectorEntry)
3550 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3552 * configure.ac: post release version bump.
3553 * debian/changelog: version bump
3555 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3560 * configure.ac: Bump version.
3561 * debian/changelog: Updates.
3563 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3565 * src/hildon-touch-selector.c:
3566 (_hildon_touch_selector_has_multiple_selection): No need
3567 to initialize the variables here.
3569 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3571 * src/hildon-note-private.h
3572 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3573 (hildon_note_finalize, hildon_note_rebuild): Close information
3574 notes when they receive a button press.
3576 Fixes: NB#89890 (Information notes does not get disappeared after
3579 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3581 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3582 mark from the wizard title, as it's not really necessary. Also,
3583 do not display the page title if not set.
3585 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3587 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3588 (parent_window_hidden): Use the window's "is-topmost" property to
3589 detect when to hide the menu.
3591 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3593 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3594 (hildon_app_menu_finalize): If the parent window of the menu is
3595 hidden, hide the menu too.
3597 Fixes: NB#94460 (stackable window's menu is not closed when its
3600 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3603 * debian/libhildon1-examples.install
3605 * examples/Makefile.am:
3606 Use dh_install to install all examples.
3607 Use DEB_SRCDIR instead of defining SOURCE_DIR
3609 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3611 * configure.ac: post release version bump.
3612 * debian/changelog: version bump
3614 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3619 * configure.ac: bump version
3620 * debian/changelog: updates
3621 * debian/control: bump gtk+ dependency
3623 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3625 patch by Christian Dywan (christian@imendio.com)
3627 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3628 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3630 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3632 * src/hildon-check-button.c (hildon_check_button_init)
3633 (hildon_check_button_class_init, hildon_check_button_style_set)
3634 (hildon_check_button_apply_style):
3635 New "checkbox-size" style property.
3637 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3638 larger / configurable size)
3640 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3642 * configure.ac: post release version bump.
3643 * debian/changelog: version bump
3645 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3650 * configure.ac: bump version
3651 * debian/changelog: updates
3653 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3655 * doc/hildon-sections.txt
3656 * src/hildon-pannable-area.c
3657 * src/hildon-program.c
3658 * src/hildon-time-editor.c
3659 * src/hildon-touch-selector-entry.c:
3661 More documentation updates.
3663 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3665 * doc/hildon-sections.txt
3666 * src/hildon-caption.c
3667 * src/hildon-code-dialog.c
3668 * src/hildon-color-button.c
3669 * src/hildon-controlbar.c
3670 * src/hildon-date-editor.c
3671 * src/hildon-date-selector.c
3672 * src/hildon-edit-toolbar.c
3673 * src/hildon-find-toolbar.c
3674 * src/hildon-font-selection-dialog.c
3676 * src/hildon-program.c
3677 * src/hildon-range-editor.c
3678 * src/hildon-seekbar.c
3679 * src/hildon-time-editor.c
3680 * src/hildon-time-selector.c
3681 * src/hildon-volumebar-range.c
3682 * src/hildon-volumebar.c
3683 * src/hildon-vvolumebar.c
3684 * src/hildon-weekday-picker.c
3685 * src/hildon-window.c
3686 * src/hildon-wizard-dialog.c:
3688 Lots of documentation fixes.
3690 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3692 Patch contributed by Iván Gómez (igomez@igalia.com)
3694 * src/hildon-check-button.c:
3695 * src/hildon-date-button.c:
3696 * src/hildon-date-selector.c:
3697 * src/hildon-dialog.c:
3698 * src/hildon-edit-toolbar.c:
3699 * src/hildon-entry.c:
3700 * src/hildon-picker-button.c:
3701 * src/hildon-program.c:
3702 * src/hildon-text-view.c:
3703 * src/hildon-time-button.c:
3704 * src/hildon-touch-selector-entry.c:
3705 * src/hildon-window-stack.c:
3707 Add more "since" tags to the new API.
3709 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3711 * doc/hildon-sections.txt: Add below method.
3712 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3713 version for the hildonized scale.
3714 * src/hildon-gtk.h: Add the definition.
3716 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3718 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3720 * doc/hildon-sections.txt: Add missing entries for new methods.
3722 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3724 Added API to pannable are in order to get its adjustments. We
3725 added two properties to manage the values we had in the private
3728 * src/hildon-pannable-area.c:
3729 (hildon_pannable_area_class_init): Added hadjustment and
3730 vadjustment properties in order to expose horizontal and vertical
3732 (hildon_pannable_area_get_property),
3733 (hildon_pannable_area_set_property): Added code to handle the new
3735 (hildon_pannable_area_get_hadjustment),
3736 (hildon_pannable_area_get_vadjustment): API functions to get the
3738 * src/hildon-pannable-area.h:
3739 (hildon_pannable_area_get_hadjustment),
3740 (hildon_pannable_area_get_vadjustment): API functions to get the
3743 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3745 Fixed some leaks, after valgrinding.
3747 * src/hildon-touch-selector.c:
3748 (_default_print_func): Fixed a leak.
3749 (hildon_touch_selector_append_column): Fixed a leak.
3750 * src/hildon-date-button.c:
3751 (hildon_date_button_init): Fixed a leak.
3752 * src/hildon-date-selector.c
3753 (hildon_date_selector_finalize): Fixed a leak.
3755 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3757 Based on a patch by Christian Dywan (christian@imendio.com)
3759 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3761 * src/hildon-gtk.h: Add definition.
3763 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3765 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3767 * src/hildon-picker-button.c: (hildon_picker_button_init),
3768 (hildon_picker_button_new): Set the HildonButton::style property
3769 in the init method, to propagate the value to the derived classes.
3771 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3773 * src/hildon-button.c: (hildon_button_class_init): Do not make
3774 the "style" property a construct property.
3776 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3778 * src/hildon-wizard-dialog.h
3779 * src/hildon-wizard-dialog.c
3780 (hildon_wizard_dialog_set_forward_page_func)
3781 * src/hildon-pannable-area.h
3782 * src/hildon-pannable-area.c
3783 (hildon_pannable_area_set_size_request_policy):
3784 Documentation fixes.
3786 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3788 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3790 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3792 * doc/hildon-sections.txt: Added sections file.
3794 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3797 * src/*.[ch]: Updates.
3799 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3801 * examples/hildon-progress-indicator-example.c: new file
3802 * examples/Makefile.am: include the new example program
3804 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3806 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3808 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3810 * configure.ac: post release version bump
3811 * debian/changelog: version bump
3813 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3818 * configure.ac: bump version
3819 * debian/changelog: updates
3820 * debian/control: bump gtk+ dependency
3822 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3824 * src/hildon-dialog.c: Mark as deprecated.
3825 * src/hildon-dialog.h: Mark as deprecated.
3826 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3827 from HildonDialog and still work, even if
3828 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3829 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3831 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3832 maemo changes) instead)
3834 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3836 * src/hildon-pannable_area.h:
3837 * src/hildon-pannable_area.c:
3838 (hildon_pannable_area_class_init),
3839 (hildon_pannable_area_set_property),
3840 (hildon_pannable_area_get_property),
3841 (hildon_pannable_area_size_request),
3842 (hildon_pannable_area_get_size_request_policy),
3843 (hildon_pannable_area_set_size_request_policy): Added new API
3844 allowing applications to control the request policy. Now they can
3845 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3846 children allocation (HILDON_MOVEMENT_CHILDREN).
3848 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3852 (hildon_gtk_tree_view_set_ui_mode)
3853 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3854 mode of treeviews and iconviews.
3856 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3858 * src/hildon-touch-selector-entry.c:
3859 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3860 of a GtkEntry to get proper theming.
3862 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3863 widget, not GtkEntry)
3865 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3867 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3868 no HildonWizardDialogPageFunc.
3870 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3872 Patch contributed by Iván Gómez (igomez@igalia.com)
3874 * src/hildon-app-menu.c:
3875 * src/hildon-button.c:
3876 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3877 * src/hildon-stackable-window.c:
3878 * src/hildon-time-selector.c:
3879 * src/hildon-touch-selector.c:
3880 * src/hildon-window.c:
3882 Add more "since" tags to the new API in hildon 2.2.
3884 2008-12-05 Tim Janik <timj@imendio.com>
3886 Patch contributed by Christian Dywan (christian@imendio.com)
3888 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3889 HildonSizeType, which are supplied by Gtk+ now.
3891 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3893 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3894 (with maemo changes) instead)
3896 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3898 Patch contributed by Iván Gómez (igomez@igalia.com)
3900 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3903 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3905 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3906 (some_page_func), (main): Update the example to use a
3907 HildonWizardDialogPageFunc function.
3909 * src/hildon-wizard-dialog-private.h: Add private data for
3910 the HildonWizardDialogPageFunc function usage.
3912 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3913 (destroy), (hildon_wizard_dialog_init), (response),
3914 (hildon_wizard_dialog_set_forward_page_func):
3915 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3916 that applications can use to stop a HildonWizardDialog to jump to
3919 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3922 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3924 * src/hildon-program.h
3925 * src/hildon-program-private.h
3926 * src/hildon-program.c (hildon_program_init)
3927 (hildon_program_set_common_app_menu)
3928 (hildon_program_get_common_app_menu):
3929 New API for setting a common HildonAppMenu for all
3930 HildonStackableWindows registered with the HildonProgram.
3932 * src/hildon-stackable-window.c
3933 (hildon_stackable_window_toggle_menu):
3934 Use the common HildonAppMenu if a window doesn't have a specific
3937 * src/hildon-app-menu-private.h
3938 * src/hildon-app-menu.c
3939 (hildon_app_menu_get_parent_window):
3940 Function to obtain the window a HildonAppMenu is attached to.
3941 (hildon_app_menu_set_parent_window):
3942 Hide the menu if the parent window is set to NULL.
3944 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3946 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3947 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3948 search widget to popup.
3950 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3952 * configure.ac: post release version bump
3953 * debian/changelog: version bump
3955 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3960 * configure.ac: bump version
3961 * debian/changelog: updates
3963 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3965 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3967 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3968 (hildon_window_stack_window_realized)
3969 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3970 Set the leader GdkWindow when a window is stacked and realized,
3971 unset it when it's unstacked.
3972 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3974 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3976 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3978 * src/hildon-stackable-window.h
3979 * src/hildon-window-stack.h:
3980 Protect definition of HildonWindowStack using the preprocessor.
3982 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3984 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3985 Fix warning if all menu items are hidden.
3987 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3989 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3991 * src/hildon-controlbar.c:
3992 * src/hildon-hvolumebar.c:
3993 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3994 Multiple scale size defines updates.
3996 Fixes: NB#94322 (Scale Updates)
3998 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4000 * examples/hildon-app-menu-example.c (create_menu)
4001 Show items after adding them to the menu, as in the future the
4002 menu will no longer call gtk_widget_show() on the added items.
4004 * src/hildon-app-menu.c:
4005 Update example as explained above.
4007 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4009 * src/hildon-app-menu.c
4010 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4011 Make sure that all menu items have finger height.
4013 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4015 * src/hildon-picker-dialog.c:
4016 (_on_dialog_response), (_save_current_selection),
4017 (_restore_current_selection), (_clean_current_selection),
4018 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4019 Defined new functions in order to save the current internal selector
4020 selection previous open the dialog, in case that the use cancel the
4021 interaction, so the widget restores the previous selection.
4023 Fixes: NB#92032 (In calendar application, date values in 'new event'
4026 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4028 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4030 * src/hildon-button.c: Add a reference to the button examples in
4031 hildon-button-example.c
4033 * examples/hildon-button-example.c: Added examples of the most
4034 common button layouts.
4036 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4038 * src/hildon-app-menu.c (hildon_app_menu_show)
4039 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4041 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4043 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4045 * src/hildon-picker-dialog.c:
4046 (hildon_picker_dialog_init): Initialize the signal id for
4047 HildonTouchSelector::columns-changed.
4048 (+on_selector_columns_changed): Set up the interaction mode everytime a
4049 column is added or removed from the HildonTouchSelector.
4050 (_hildon_picker_dialog_set_selector): Connect to
4051 HildonTouchSelector::columns-changed and keep track of it.
4053 Make sure to update the interaction mode of the dialog everytime a
4054 column is added or removed in the HildonTouchSelector.
4056 Fixes: NB#93228 (Done button is not shown always in listpicker)
4058 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4060 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4061 a new ::columns-changed signal.
4062 (hildon_touch_selector_append_column): Emit ::columns-changed.
4063 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4065 Add a ::columns-changed signal, emitted when the number of columns in a
4066 HildonTouchSelector changes.
4068 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4070 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4071 (_hildon_picker_dialog_set_selector): Factor out the code
4072 to set up the dialog interaction mode.
4074 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4076 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4077 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4078 to signal_changed_id.
4080 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4082 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4085 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4087 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4088 Updated the logical ids related to ampm format, as now it is required to
4089 show it correctly localized even on languages with no default
4090 abbreviations for am or pm
4091 (_check_am_pm_format): check correctly the 24h format gconf property
4093 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4095 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4097 * src/hildon-button.c: Documentation updates.
4099 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4101 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4102 * src/hildon-caption.c: (hildon_caption_class_init):
4103 * src/hildon-color-button.c: (hildon_color_button_class_init):
4104 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4105 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4106 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4107 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4109 Remove deprecated GTK+ marshalers and replace them with the ones
4110 provided by GLib, for those available, add a marshaler for
4111 BOOLEAN:VOID, which is not available in GLib, and use it.
4113 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4115 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4116 the text from the previous column if there is no
4117 HildonTouchSelectorColumn::text-property set.
4119 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4121 * src/hildon-button.h
4122 * src/hildon-button.c (hildon_button_set_property)
4123 (hildon_button_get_property, hildon_button_class_init)
4124 (hildon_button_set_style, hildon_button_get_style):
4125 New "style" property to change the visual appearance of the
4128 * src/hildon-picker-button.c (hildon_picker_button_new):
4129 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4131 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4132 HildonButton look like PickerButton)
4134 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4136 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4137 column while building the default string.
4139 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4141 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4142 scroll indicator by default.
4144 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4146 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4148 * src/hildon-main.c: Fix the documentation for hildon_init()
4150 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4152 * doc/hildon-docs.sgml
4156 * src/hildon-window-stack-private.h
4157 * src/hildon-window-stack.h
4158 * src/hildon-window-stack.c:
4159 New HildonWindowStack object, that adds support for multiple
4160 stacks of windows per process.
4162 * src/hildon-stackable-window-private.h
4163 * src/hildon-stackable-window.h
4164 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4165 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4166 (hildon_stackable_window_show, hildon_stackable_window_hide)
4167 (hildon_stackable_window_class_init)
4168 (hildon_stackable_window_init):
4169 Use HildonWindowStack for stack management.
4171 * src/hildon-program.c (hildon_program_pop_window_stack)
4172 (hildon_program_peek_window_stack)
4173 (hildon_program_go_to_root_window):
4174 Add a fallback implementation to the deprecated functions using
4177 * examples/hildon-stackable-window-example.c:
4178 Use the new HildonWindowStack API.
4180 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4182 * src/hildon-stackable-window-private.h
4183 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4184 (hildon_stackable_window_hide, hildon_stackable_window_init):
4185 Remove all window stack management.
4187 * src/hildon-program-private.h
4188 * src/hildon-program.h
4189 * src/hildon-program.c (hildon_program_init)
4190 (hildon_program_pop_window_stack)
4191 (hildon_program_peek_window_stack)
4192 (hildon_program_go_to_root_window):
4193 Remove all window stack management and mark functions as
4196 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4198 * src/hildon-app-menu.c (hildon_app_menu_realize):
4199 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4201 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4203 * configure.ac: post release version bump
4204 * debian/changelog: version bump
4206 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4211 * configure.ac: bump version
4212 * debian/changelog: updates
4214 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4216 Based on initial code by Christian Dywan (christian@imendio.com)
4218 * doc/hildon-docs.sgml: Add section for hildon-main.
4219 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4220 * src/Makefile.am: Add new hildon-main.[ch]
4221 * src/hildon-defines.h: Update the icon sizes.
4222 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4223 new library initialization files and register icon sizes.
4224 * src/hildon-main.h: New declarations.
4225 * src/hildon.h: Include hildon-main.h
4227 Add new initialization functions to the library. These methods
4228 will register the hildon specific icon sizes and can be used in the
4229 future for other hildon specific bits.
4231 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4233 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4235 * src/hildon-window.c: (hildon_window_realize),
4236 (hildon_window_notify), (-hildon_window_update_title): Do not set
4237 the application name in the window title.
4239 Fixes: NB#89754 (Applications shouldn't display their names in the
4242 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4244 * src/hildon-note-private.h:
4245 * src/hildon-note.c: (hildon_note_set_property),
4246 (hildon_note_get_property), (hildon_note_class_init),
4247 (hildon_note_init), (hildon_note_finalize),
4248 (hildon_note_new_confirmation_with_icon_name),
4249 (hildon_note_new_information_with_icon_name):
4251 No need to mark as deprecated the actual code. Revert
4252 to avoid missing symbols in widgets using deprecated API.
4254 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4256 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4258 * src/hildon-volumebar.h
4259 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4260 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4262 * src/hildon-helper.h
4263 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4264 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4266 * examples/Makefile.am:
4267 Deprecate hildon-insensitive-example
4269 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4271 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4273 * examples/hildon-pannable-area-buttons-scroll-example.c:
4274 Make all buttons finger height
4276 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4278 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4280 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4281 update the day model only if it is really required, and to avoid the
4282 full-reconstruction aproach. Now it only add or remove the required days.
4284 The purpose of this is avoid superfluous HildonTouchSelector::changed
4287 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4288 with strange parameters)
4290 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4292 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4294 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4295 the WINDOW_TYPE property.
4297 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4299 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4302 Fix dependency to allow parallel compilation with make -jX
4304 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4306 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4307 color frame and some minor tweaks to make it more consistent with
4310 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4311 highlighted but not visible)
4313 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4315 * examples/Makefile.am: Fixed typo in the Makefile.am.
4317 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4319 Reviewed the use of MAEMO_GTK define, now we add the define in the
4320 compilation line, and we also add it to the pc file.
4322 * configure.ac: Added MAEMO_GTK define to the compilation command
4323 and removed it from the config.h.
4325 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4326 do not have to take care about this define if the library was
4330 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4332 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4334 * examples/Makefile.am,
4335 * examples/hildon-pannable-area-buttons-scroll-example.c,
4336 * examples/hildon-pannable-area-gesture-signals-example.c,
4337 * examples/hildon-pannable-area-scroll-jump-example.c,
4338 * examples/hildon-pannable-area-tree-view-example.c:
4339 Renamed the pannable area examples, now they have more meaningful
4342 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4344 * src/hildon-touch-selector.c:
4345 (hildon_touch_selector_set_column_selection_mode): Used of
4346 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4347 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4348 to avoid re-seting the same selection mode.
4350 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4351 breaks HildonPickerDialog)
4353 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4355 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4356 conditional in the Makefile.am
4358 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4360 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4361 Remove unused methods.
4363 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4365 * src/hildon-button.c (hildon_button_init):
4366 Make button images center-aligned by default
4368 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4371 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4372 activated, we have to think about how to deal with both defines
4373 MAEMO_GTK and MAEMO_CHANGES.
4375 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4377 * examples/hildon-app-menu-example.c (create_menu): Make all
4378 buttons finger size.
4380 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4382 Fixed the compilation without maemo gtk adding ifdefs with
4383 MAEMO_GTK define to the code, we have to check this version more
4386 * examples/Makefile.am: Added control to avoid some examples that
4387 just make sense with maemo gtk.
4390 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4391 hildon modes with the define.
4393 * examples/hildon-edit-toolbar-example.c,
4394 (create_icon_view): Create the icon view without hildon-gtk
4395 helpers if we are not using maemo gtk.
4397 * src/hildon-touch-selector.c,
4398 (_create_new_column): Create the treeview without hildon-gtk
4399 helpers if we are not using maemo gtk.
4401 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4403 * src/hildon-pnnable-area.c,
4404 (hildon_pannable_area_dispose),
4405 (hildon_pannable_area_button_press_cb),
4406 (hildon_pannable_area_child_mapped),
4407 (hildon_pannable_area_add),
4408 (hildon_pannable_area_remove): Added code to control the position
4409 of the event_window when adding and removing children from the
4410 pannable. We have to raise the event window when the child is
4413 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4414 selection mode using custom widget inside pannable)
4416 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4418 * configure.ac: post release version bump
4419 * debian/changelog: version bump
4421 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4426 * configure.ac: bump version
4427 * debian/changelog: updates
4429 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4431 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4432 search mode, in order to avoid lose the focus on the treeview when
4433 a hw key (like enter) is pressed.
4435 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4436 in HildonDateSelector dialog)
4438 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4440 * debian/rules: Added --enable-maintainer-mode
4441 * Makefile.am: Added ACLOCAL_AMFLAGS
4443 This allows to properly regenerate the Makefiles if you modify the
4444 configure.ac or any Makefile.am.
4446 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4448 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4449 properties, not needed at all.
4451 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4453 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4455 * src/hildon-note.c: (hildon_note_set_property),
4456 (hildon_note_get_property), (hildon_note_class_init),
4457 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4458 (hildon_note_new_confirmation_add_buttons): Remove icons.
4459 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4460 (hildon_note_new_information_with_icon_name): Deprecate.
4461 (hildon_note_new_confirmation): Act directly, without calling
4462 the deprecated constructor.
4463 (hildon_note_new_information): Act directly, without calling
4464 the deprecated constructor.
4465 * src/hildon-note.h: Mark deprecate methods as such.
4466 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4467 not run tests on the deprecated methods if built with deprecation
4470 Fixes: NB#91688 (Never show icons in information notes/confirmation
4473 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4475 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4476 (hildon_app_menu_key_press): Remove leftover usage of the
4477 private structure in HildonAppMenu struct.
4478 * src/hildon-app-menu.h: Remove leftover private structure
4479 from the HildonAppMenu struct.
4481 Fixes a crasher when using the HildonAppMenu.
4483 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4485 * src/hildon-picker-dialog.c: Use appropriate logical id
4486 for the default "Done" text.
4488 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4490 * configure.ac: post release version bump
4491 * debian/changelog: version bump
4493 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4495 Modified the way to scroll to the current selection just when the touch
4496 selector is shown on the screen, avoiding a g_idle. Added too a property
4497 to configure this behaviour. See hildon_pannable_area_jump_to_child
4498 documentation for more information.
4500 * src/hildon-touch-selector.c
4501 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4502 Added 'initial-scroll' property
4503 (hildon_touch_selector_set_property): Added
4504 (hildon_touch_selector_map): Removed as not required anymore
4505 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4506 only a concrete column, instead of iterate along all the columns
4508 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4513 * configure.ac: bump version
4514 * debian/changelog: updates
4516 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4518 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4519 compilation time warnings.
4521 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4523 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4524 the default value for HildonPannableArea::mov-mode to
4525 HILDON_PANNABLE_AREA_MODE_VERT.
4527 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4529 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4531 Reverting following commit:
4533 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4535 * src/hildon-app-menu-private.h
4536 * src/hildon-app-menu.[ch]
4537 * src/hildon-button.[ch]
4538 * src/hildon-check-button.[ch]
4539 * src/hildon-entry.[ch]
4540 * src/hildon-pannable-area.[ch]
4541 * src/hildon-text-view.[ch]:
4542 Added private field to the object's structure.
4544 because it causes an ABI breakage. We will need to introduce these
4545 changes later at some point. See NB#91636 for an extensive
4546 explanation and status.
4548 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4550 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4552 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4553 remove special cases that are no longer necessary.
4555 Fixes: NB#91016 (Change toolbar sizes, simplification)
4557 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4559 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4560 is shown in the cancel note.
4562 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4564 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4565 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4566 (hildon_seekbar_init): Remove steppers, remove expose event.
4567 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4569 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4571 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4573 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4574 label font to "SmallSystemFont" for vertically arranged buttons.
4576 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4579 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4581 * src/hildon-check-button.c
4582 (hildon_check_button_set_active, hildon_check_button_clicked):
4583 Don't access private parts directly, use getters instead.
4585 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4587 * src/hildon-check-button.c (hildon_check_button_new):
4588 Align the contents of the check button to the left.
4590 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4592 * src/hildon-pannable-area.c,
4593 (hildon_pannable_area_scroll_to),
4594 (hildon_pannable_area_jump_to),
4595 (hildon_pannable_area_scroll_to_child),
4596 (hildon_pannable_area_jump_to_child): Replace the mapped
4597 precondition of these functions with the realized, it is the
4598 correct state of the widget in this case. Changed the
4599 documentation according to this modification.
4601 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4603 Added a new EXTRA_CFLAGS option to add the deprecated define to
4604 the compilation command. This way we can avoid using the define in
4605 the documentation compilation.
4607 * configure.ac: Defined EXTRA_CFLAGS.
4609 * examples/Makefile.am:
4611 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4613 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4615 * src/hildon-picker-dialog.c:
4616 Defined a utility macro with the desired touch selector height
4617 Removed currently unused separator, and title_label variables from
4619 (hildon_picker_dialog_init): Removed code related to the creation
4620 of unused private variables title_label and separator.
4621 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4622 to ensure correct visualization of the touch selector inside the dialog.
4623 * src/hildon-touch-selector.c
4624 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4625 ensure a concrete height of the widget.
4627 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4630 * tests/Makefile.am:
4632 Remove spurious whitespaces.
4634 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4636 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4637 compilation warning after the cancel button removal.
4639 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4641 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4643 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4644 Makefile.am, that way we can choose not to compile some examples
4645 and tests of the deprecated widgets.
4647 * examples/Makefile.am: Divided the sources in deprecated and
4650 * src/Makefile.am: Added undef statement of the deprecated
4651 symbol to the enums file generation process.
4653 * src/hildon-color-chooser-dialog.c
4654 * src/hildon-color-chooser-dialog.h
4655 * src/hildon-color-button.c
4656 * src/hildon-color-button.h
4657 * src/hildon-color-chooser.c
4658 * src/hildon-color-chooser.h
4659 * src/hildon-controlbar.c
4660 * src/hildon-controlbar.h
4661 * src/hildon-date-editor.c
4662 * src/hildon-date-editor.h
4663 * src/hildon-hvolumebar.c
4664 * src/hildon-hvolumebar.h
4665 * src/hildon-private.c
4666 * src/hildon-private.h
4667 * src/hildon-range-editor.c
4668 * src/hildon-range-editor.h
4669 * src/hildon-seekbar.c
4670 * src/hildon-seekbar.h
4671 * src/hildon-time-editor.c
4672 * src/hildon-time-editor.h
4673 * src/hildon-time-picker.c
4674 * src/hildon-time-picker.h
4675 * src/hildon-volumebar.c
4676 * src/hildon-volumebar.h
4677 * src/hildon-vvolumebar.c
4678 * src/hildon-vvolumebar.h
4679 * src/hildon-bread-crumb-trail.h
4680 * src/hildon-bread-crumb-trail.c
4681 * src/hildon-calendar-popup.c
4682 * src/hildon-calendar-popup.h
4683 * src/hildon-weekday-picker.c:
4684 * src/hildon-weekday-picker.h:
4685 * src/hildon-bread-crumb-widget.c:
4686 * src/hildon-bread-crumb-widget.h:
4687 * src/hildon-bread-crumb.c:
4688 * src/hildon-bread-crumb.h:
4689 * src/hildon-calendar.c:
4690 * src/hildon-calendar.h:
4691 * src/hildon-caption.c:
4692 * src/hildon-code-dialog.c:
4693 * src/hildon-code-dialog.h:
4694 * src/hildon-font-selection-dialog.c:
4695 * src/hildon-font-selection-dialog.h:
4696 * src/hildon-get-password-dialog.c:
4697 * src/hildon-get-password-dialog.h:
4698 * src/hildon-login-dialog.c:
4699 * src/hildon-login-dialog.h:
4700 * src/hildon-number-editor.c:
4701 * src/hildon-number-editor.h:
4702 * src/hildon-set-password-dialog.c:
4703 * src/hildon-set-password-dialog.h:
4704 * src/hildon-sort-dialog.c:
4705 * src/hildon-sort-dialog.h: This is the list of deprecated
4708 * src/hildon-touch-selector.c:
4709 * src/hildon-window.c: Added undef statement to avoid compilation
4712 * tests/Makefile.am: Divided the sources in deprecated and
4715 * tests/check_test.c,
4716 (configure_tests): Marked the deprecated code that was adding
4717 suites with deprecated tests.
4719 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4721 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4723 * src/hildon-touch-selector.c: (_default_print_func): Do not
4724 duplicate a string returned by gtk_tree_model_get(), it is already
4727 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4730 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4732 * src/hildon-pannable-area.c
4733 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4734 method, it had problems when adding a widget with viewport the
4735 second time. Now checks if it already has a viewport and uses it.
4737 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4740 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4742 * src/hildon-pannable-area.c,
4743 (hildon_pannable_area_scroll_to),
4744 (hildon_pannable_area_jump_to),
4745 (hildon_pannable_area_scroll_to_child),
4746 (hildon_pannable_area_jump_to_child): Added a precondition to the
4747 scroll and jump to functions: the widget must be mapped before we
4748 can safely call these functions. We have also added documentation
4749 to the functions to explain how to use them in this situation.
4752 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4754 Reviewed the threading handling of the pannable widget, we have
4755 used the gdk_threads_add_timeout function instead of the usual
4756 glib handlers. This avoids some problems with the threads.
4758 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4759 (hildon_pannable_area_initial_effect),
4760 (hildon_pannable_area_scroll_indicator_fade),
4761 (hildon_pannable_area_button_press_cb),
4762 (hildon_pannable_area_timeout),
4763 (hildon_pannable_area_motion_notify_cb),
4764 (hildon_pannable_area_button_release_cb),
4765 (hildon_pannable_area_scroll_cb),
4766 (hildon_pannable_area_scroll_to): Removed the
4767 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4768 gdk_threads_add_timeout.
4770 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4772 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4777 * configure.ac: bump version
4778 * debian/changelog: updates
4780 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4782 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4783 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4784 * src/hildon-color-chooser-dialog.c:
4785 (hildon_color_chooser_dialog_init):
4786 * src/hildon-font-selection-dialog.c:
4787 (hildon_font_selection_dialog_init):
4788 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4790 Remove all cancel/close-like dialogs, as these are not going to be
4793 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4795 * src/hildon-note.c: (hildon_note_rebuild),
4796 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4799 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4801 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4803 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4804 sure all buttons are shown, even the Cancel/Close-like ones.
4806 Fixes: NB#90861 (Custom Confirmation dialogs should be
4807 protected from cancel button removal)
4809 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4811 * debian/control: Change libhildon1-examples dependency from libhildon1
4813 * debian/libhildon1-examples.install
4815 * Makefile.am: Modified the final install directory for the examples on
4816 package libhildon1-examples
4817 * Makefile.static: Update clean target in order to remove all the binary
4820 Changes suggested by Claudio after review new libhildon1-examples package
4822 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4824 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4825 * src/hildon-touch-selector.c: Ditto.
4827 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4829 * debian/control: Added new package libhildon1-examples, in order to pack
4830 the current hildon examples as documentation
4831 * debian/rules: Not to compress .c files, modify some includes on the
4832 examples (as normally are compiled locally, but when installed it will
4833 require to include the installed libhildon1 library), and rename
4835 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4836 install all the example files on the new example package
4837 * examples/Makefile.static: Added static makefile that can be used to
4838 compile the examples, once installed the new example package
4839 * examples: Most of the examples were modified in order to grant that
4840 all use only '#include "hildon.h"', in order to be easy to prepare
4841 it on the example package
4843 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4846 * debian/libhildon1-dev.install
4847 * debian/libhildon1-doc.install:
4848 Move all gtk-doc files to a separate libhildon1-doc package.
4850 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4852 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4854 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4856 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4858 * debian/rules: Fixed a error in order to avoid unnecessary calls
4859 to autogen.sh on package building
4861 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4863 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4865 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4867 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4870 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4872 * src/hildon-picker-button.c
4873 (hildon_picker_button_finalize):
4874 Free priv->done_button_text
4876 * src/hildon-time-button.c
4877 (hildon_time_button_set_time)
4878 * src/hildon-picker-button.c
4879 (hildon_picker_button_clicked)
4880 (hildon_picker_button_selector_selection_changed)
4881 (hildon_picker_button_set_selector)
4882 * src/hildon-date-button.c
4883 (hildon_date_button_set_date):
4884 Free strings returned by hildon_touch_selector_get_current_text()
4886 * src/hildon-button.c (hildon_button_construct_child):
4887 Fix leaks in priv->image and priv->label_box
4889 Fixes: NB#90535 (Memory leak in picker button)
4891 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4893 * src/hildon-button.c: (hildon_button_get_property): Do not access
4894 private elements directly, use getters instead.
4896 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4898 * src/hildon-app-menu-private.h
4899 * src/hildon-app-menu.c
4900 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4901 Store the menu's parent window.
4903 * src/hildon-stackable-window.c
4904 (hildon_stackable_window_toggle_menu)
4905 (hildon_stackable_window_finalize):
4906 Set the menu's parent window when the menu is shown, unset it when
4909 * src/hildon-app-menu.c
4910 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4911 (hildon_app_menu_class_init):
4912 Send unhandled keyboard accelerators to the parent window.
4914 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4916 * src/hildon-stackable-window.c
4917 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4919 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4921 * configure.ac: post release version bump
4923 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4926 * configure.ac: Bump version
4927 * debian/changelog: Updates
4928 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4931 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4933 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4936 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4937 GtkMenu with Hildon style.
4939 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4941 * src/hildon-picker-button.c:
4942 (hildon_picker_button_set_done_button_text): Set the dialog's
4943 done button text here as well.
4945 Fixes: NB#90232 (Picker button does not set the label on done button
4946 for the second time)
4948 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4950 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4953 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4955 * src/hildon-app-menu.c (hildon_app_menu_insert)
4956 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4957 the HildonAppMenu to be activatable using keyboard accelerators
4958 when the menu is not being shown.
4960 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4962 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4964 * src/hildon-stackable-window.c
4965 (hildon_stackable_window_show):
4966 Don't hide old windows automatically when new windows are shown:
4967 this is now a task for the window manager.
4968 (hildon_stackable_window_class_init)
4969 (hildon_stackable_window_hide):
4970 Remove windows from the stack everytime they're hidden.
4971 (hildon_stackable_window_realize):
4972 Don't change the _NET_WM_WINDOW_TYPE property. Use
4973 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4974 it as a stackable window.
4976 * src/hildon-program.c
4977 (hildon_program_pop_window_stack):
4978 Just hide the window to remove it from the stack.
4979 (hildon_program_go_to_root_window):
4980 Don't call gtk_widget_show(), this is now a task for the window
4983 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4985 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4987 * src/hildon-button.c
4988 (hildon_button_construct_child):
4989 Don't pack anything in the button until text or image are
4990 set. This allows adding a custom child after creating the button
4991 with hildon_button_new().
4992 (hildon_button_finalize, hildon_button_class_init)
4993 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4994 alignment and the label box even when they're not packed in the
4997 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4999 * src/hildon-touch-selector.h:
5000 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5001 currently the type definition was using GTK_TYPE_VBOX
5002 * src/hildon-touch-selector.c:
5003 Added some implementation notes in order to clarify that any other widget
5004 added without the column related API will not be included on the
5005 selection logic, and how the widget is freed, as some people ask about
5007 (hildon_touch_selector_remove): Reimplemented in order to free properly
5008 the column related data when you remove the private hbox.
5009 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5010 to get a proper HildonTouchSelectorColumn documentation
5012 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5014 * src/hildon-touch-selector-entry.c:
5015 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5016 text in the GtkEntry and there is no item selected. Fixes a
5019 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5021 * src/hildon-app-menu-private.h
5022 * src/hildon-app-menu.[ch]
5023 * src/hildon-button.[ch]
5024 * src/hildon-check-button.[ch]
5025 * src/hildon-entry.[ch]
5026 * src/hildon-pannable-area.[ch]
5027 * src/hildon-text-view.[ch]:
5028 Added private field to the object's structure.
5030 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5032 * configure.ac: post-release version bump
5034 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5038 * configure.ac: pre-release version bump
5040 * debian/changelog: updates.
5042 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5044 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5045 Disconnect the handler for HildonTouchSelector::changed.
5047 (hildon_picker_button_selector_selection_changed): Update the button
5048 value if the selection change was not triggered by the
5051 (hildon_picker_button_set_selector): connect to
5052 HildonTouchSelector::changed.
5054 Fixes: NB#89650 (Picker button is not updated, when selection in
5055 selector has changed)
5057 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5059 * src/hildon-picker-dialog.c
5060 (hildon_picker_dialog_realize): Removed as not required
5061 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5062 * src/hildon-picker-button.c
5063 (_current_selector_empty): New function, checks if the selector is empty
5064 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5065 if the current selector is empty, in order to avoid to show the dialog
5066 close the dialog in this case (and shows a g_warning).
5068 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5070 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5072 * src/hildon-pannable-area.c,
5073 (hildon_pannable_area_scroll): Added clause to stop movement when
5074 the child of pannable is smaller than one page.
5075 (hildon_pannable_area_scroll_to): Added conditions to avoid
5076 starting the scrolling movement if the child is smaller than one
5077 page, the complete child is in the screen, we do not have to move.
5079 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5081 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5083 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5084 this is managed automatically by the widget when the size of the
5087 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5089 * src/hildon-picker-button.c
5090 (hildon_picker_button_set_done_button_text): Make a copy of the
5091 text, and free the previous value.
5093 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5095 * src/hildon-touch-selector-entry.c:
5096 (hildon_touch_selector_entry_print_func): Return the selected row's
5097 text if the entry is empty.
5099 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5102 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5104 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5106 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5109 * src/hildon-check-button.h
5110 * src/hildon-check-button.c
5111 * examples/hildon-check-button-example.c:
5112 HildonCheckButton is now a new widget. 'toggled' signal added.
5114 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5116 * src/hildon-program-private.h
5117 * src/hildon-program.c (hildon_program_init)
5118 (hildon_program_finalize): Removed unused variables group_leader
5119 and name from HildonProgramPrivate.
5121 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5123 * src/hildon-check-button.c (hildon_check_button_set_active)
5124 (hildon_check_button_get_active, hildon_check_button_new): Use
5125 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5127 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5129 * src/hildon-touch-selector.h
5130 (hildon_touch_selector_set_column_attributes): added deprecation
5131 guard HILDON_DISABLE_DEPRECATED
5132 * src/hildon-time-selector.c
5133 (hildon_time_selector_set_time)
5134 (hildon_time_selector_get_time): Fixed a typo on documentation
5135 * src/hildon-touch-selector.c: update HildonTouchSelector and
5136 HildonTouchSelectorColumn documentation
5137 * src/hildon-touch-selector-entry.c: update "text-column" property
5139 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5140 to be added to the general documentation.
5142 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5144 * examples/hildon-pannable-area-example-4.c,
5146 * examples/hildon-pannable-area-example.c,
5147 (main): Modified the code in order to use the container add, with
5148 viewport treeviews could have problems if they are really big.
5150 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5152 * src/hildon-weekday-picker.c,
5153 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5154 the agreement regarding deprecation in the library.
5156 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5158 * examples/hildon-picker-button-multicolumn-example.c:
5159 (main): Use custom "done" button text.
5161 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5162 (hildon_picker_button_set_property),
5163 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5164 (hildon_picker_button_init),
5165 (+hildon_picker_button_get_done_button_text),
5166 (+hildon_picker_button_set_done_button_text): New methods to customize
5167 the "done" button label in the launched HildonPickerDialog. Also,
5170 * src/hildon-picker-button.h: add the public API.
5172 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5174 * src/hildon-date-selector.h:
5175 * src/hildon-picker-dialog.h:
5176 * src/hildon-time-selector.h:
5177 * src/hildon-touch-selector-column.h:
5178 * src/hildon-touch-selector.h:
5180 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5181 declarations. Fixes gtk-doc warnings.
5183 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5185 * src/hildon-picker-dialog.h
5186 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5187 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5189 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5190 long text is set as label for done button)
5192 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5194 * src/hildon-dialog.c (hildon_dialog_add_button):
5195 Set fixed width to all buttons in the HildonDialog.
5197 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5199 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5201 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5202 Set widget name using class name plus "-finger" or "-thumb".
5204 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5206 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5207 'clicked' when the state of the button is manually changed.
5209 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5211 * src/hildon-app-menu.c (hildon_app_menu_realize)
5212 (hildon_app_menu_unrealize, hildon_app_menu_init)
5213 (hildon_app_menu_class_init, item_visibility_changed):
5214 Change the menu layout when the size of the screen changes.
5215 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5216 Show warning only when changing the number of colums using the
5219 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5221 * debian/compat: Set to 5
5222 * debian/control: Update dependencies.
5223 * debian/libhildon1-dbg.install: Remove.
5224 * debian/libhildon1-dev.install: Update according to cdbs paths.
5225 * debian/libhildon1.install: Update according to cdbs paths.
5226 * debian/rules: Switch to cdbs.
5228 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5230 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5231 'item' variable renamed to 'filter'
5233 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5235 * src/hildon-app-menu.c (hildon_app_menu_insert)
5236 (hildon_app_menu_add_filter, remove_item_from_list)
5237 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5238 Don't leak hidden items when the menu is destroyed.
5240 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5242 * src/hildon-app-menu.c (hildon_app_menu_insert)
5243 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5244 (hildon_app_menu_set_columns, item_visibility_changed)
5245 (filter_visibility_changed, hildon_app_menu_repack_filters)
5246 (hildon_app_menu_repack_items):
5247 Repack items and filters separately.
5249 Don't repack all items, change only the ones that are needed to
5252 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5254 * src/Makefile.am: added hildon-touch-selector-column.h
5256 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5258 * src/hildon-touch-selector.c: added the property "text-column" to the
5259 class HildonTouchSelectorColumn, and related get/set functions
5260 (_default_printf_func): updated to use "text-column" property
5261 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5262 "text-column" in his documentation, as this is now included on
5263 HildonTouchSelectorColumn. The get/set_property can still be used,
5264 working as a wrapper to the concrete column "text-column" property
5265 (_text_column_modified): callback added in order to handle the signal
5266 "notify::text-column" of the concrete HildonTouchSelectorColumn
5267 (hildon_touch_selector_entry_get_text_column)
5268 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5269 modified in order to use the HildonTouchSelectorColumn "text-column"
5271 * src/hildon-time-selector.c:
5272 * src/hildon-date-selector.c:
5273 * examples/hildon-touch-selector-example.c
5274 * examples/hildon-touch-selector-multi-cells-example.c
5275 * examples/hildon-picker-button-multicolumn-example.c
5276 Set the right value to "text-column" property on the creation of a new
5277 column using hildon_touch_selector_append_column()
5279 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5281 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5283 * src/hildon-app-menu.c
5284 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5285 updating the layout of the menu, don't create all widgets again,
5286 just repack the items in their new places.
5288 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5290 * src/hildon-time-selector.c
5291 (hildon_time_selector_get_time)
5292 (hildon_time_selector_set_time)
5293 Added documentation of these public methods
5295 * src/hildon-date-button.h
5296 * src/hildon-touch-selector-column.h
5297 * src/hildon-time-button.h
5298 * src/hildon-picker-dialog.h
5299 * src/hildon-time-selector.h
5300 * src/hildon-picker-button.h
5301 * src/hildon-touch-selector.h
5302 * src/hildon-time-picker.h
5303 * src/hildon-date-selector.h
5304 * src/hildon-touch-selector-entry.h
5305 Modified in order to use hildon-widgets code style
5307 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5309 Added deprecated support to the compilation process using
5310 HILDON_DISABLE_DEPRECATED
5312 * configure.ac: Added the --disable-deprecated to the configure
5315 * src/hildon-weekday-picker.c:
5316 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5317 to use the deprecated support. We will update the other deprecated
5318 widgets status in a new patch.
5320 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5322 * configure.ac: Fixed typo with fatal warnings support, the
5323 variable name was not correct
5325 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5327 * src/hildon-app-menu.c
5328 * src/hildon-program.c: Update documentation.
5330 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5332 * configure.ac: Post-release version bump.
5334 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5339 * configure.ac: Pre-release version bump.
5340 * debian/changelog: Updates.
5342 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5344 * NEWS: Update news for previous releases.
5346 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5348 * examples/hildon-touch-selector-multi-cells-example.c:
5349 (create_selector): Update the example to use
5350 hildon_touch_selector_append_column() with a NULL renderer and set
5351 the renderers later.
5352 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5353 passed a NULL renderer. This is documented behavior now.
5355 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5356 This must be used if the developer wants full control on the layout of
5357 the renderers to be added to the column.
5359 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5361 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5363 * src/hildon-touch-selector.c: Documentation fixes.
5365 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5367 * src/hildon-wizard-dialog-private.h: Remove image and box.
5368 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5369 (hildon_wizard_dialog_set_property), (response): Completely remove
5370 image/icon support, and the containers required for the layout.
5372 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5374 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5376 * src/hildon-app-menu.c: Updated documentation.
5378 * src/hildon-stackable-window.c
5379 (hildon_stackable_window_set_main_menu): Unref the old menu after
5380 ref'ing the new one.
5382 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5384 * src/hildon-stackable-window.c
5385 (hildon_stackable_window_set_main_menu): Unref the previous menu
5386 instead of destroying it.
5388 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5389 floating reference and set has_user_ref_count to FALSE to make
5390 HildonAppMenu act like a normal ref-counted widget and not a
5393 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5396 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5398 * src/hildon-touch-selector-column.h: new file
5399 * src/hildon-touch-selector.h
5400 * src/hildon-touch-selector.c
5401 Implemented GtkCellLayout interface, in order to allow to configure
5402 the cell layout on each individual selector column
5403 (hildon_touch_selector_set_column_attributes): marked as deprecated
5404 * examples/hildon-touch-selector-multi-cells-example.c
5405 Example of how to use the GtkCellLayout interface on the selector
5407 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5409 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5411 * src/hildon-app-menu.h
5412 * src/hildon-app-menu.c
5413 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5414 (hildon_app_menu_append, hildon_app_menu_prepend):
5415 New methods to prepend, insert and move items in the menu.
5417 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5419 * src/hildon-wizard-dialog.c:
5421 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5423 (create_title): Update logical IDs and related code.
5424 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5426 * src/hildon-wizard-dialog.h: Note that
5427 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5428 point, as it is not used anymore.
5430 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5432 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5434 * src/hildon-note.c:
5435 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5436 shown. Do not display an icon in confirmation notes nor information
5438 (hildon_note_set_button_text): Update logical ID for cancel button.
5440 Fixes: NB#88850 (Update HildonNote button strings + signals)
5442 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5444 * src/hildon-stackable-window.c
5445 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5447 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5449 * src/hildon-app-menu-private.h
5450 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5451 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5452 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5453 temporary property 'columns' to change the number of columns.
5455 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5457 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5459 * examples/hildon-note-example.c: (on_information_clicked),
5460 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5461 debugging information.
5462 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5464 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5465 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5466 in order to close: this will be handled by the WM from now on.
5468 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5470 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5472 * src/hildon-app-menu-private.h
5473 * src/hildon-app-menu.c
5474 (hildon_app_menu_append, hildon_app_menu_add_filter)
5475 (button_visibility_changed, hildon_app_menu_apply_style)
5476 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5477 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5478 layout everytime a button (item or filter) is shown or hidden.
5480 * src/hildon-stackable-window.c
5481 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5484 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5486 * src/hildon-touch-selector.c:
5487 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5488 that the treeview inside the touch selector is in fremantle hildon mode
5489 * examples/hildon-date-button-example.c
5490 * examples/hildon-picker-button-multicolumn-example.c
5491 * examples/hildon-touch-selector-entry-example.c
5492 * examples/hildon-touch-selector-example.c
5493 * examples/hildon-time-button-example.c
5494 * examples/hildon-picker-button-example.c:
5495 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5497 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5499 * examples/hildon-text-view-example.c: (main): Remove the
5500 gtkrc bits, now handled by the theme.
5502 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5504 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5507 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5509 * po/Makefile.am: Install properly the mo files.
5510 * po/en_GB.po: Update translation, to ease testing purposes.
5512 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5514 * examples/hildon-picker-button-example.c: (main): Select an item
5515 in the selector before setting it to the button.
5517 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5519 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5520 Update button's value if the selector has an item active.
5522 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5523 'value' with the selector)
5525 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5527 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5528 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5529 (hildon_picker_button_class_init): Plug the finalize method.
5530 (hildon_picker_button_set_selector): If there's a previously set
5531 selector, unref'it before setting a new one.
5533 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5534 HildonTouchSelector)
5536 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5538 * src/hildon-touch-selector-entry.c:
5539 (hildon_touch_selector_entry_changed): Check if there is no text
5540 selected before setting the entry text.
5543 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5545 * src/hildon-touch-selector.h
5546 * src/hildon-touch-selector.c
5547 (hildon_touch_selector_get_active)
5548 (hildon_touch_selector_set_active): New methods to set/get the
5549 index of the selected item.
5551 * src/hildon-picker-button.h
5552 * src/hildon-picker-button.c
5553 (hildon_picker_button_get_active)
5554 (hildon_picker_button_set_active): New methods to set/get the
5555 index of the selected item.
5557 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5559 * configure.ac: post-release version bump.
5561 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5565 * configure.ac: Pre-release version bump.
5566 * debian/changelog: Updates.
5567 * debian/control: Add myself as maintainer and depend on l10n
5570 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5572 * src/hildon-window.c
5573 (hildon_window_set_main_menu)
5574 * src/hildon-stackable-window.c
5575 (hildon_stackable_window_set_main_menu):
5576 Updated documentation.
5578 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5580 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5581 Don't free selector->priv manually.
5584 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5587 (hildon_gtk_window_set_progress_indicator):
5588 * src/hildon-gtk.h: Added the new API
5589 hildon_gtk_window_set_progress_indicator, it changes the state of
5590 the window progress hint.
5592 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5594 * src/hildon-button.c
5595 * src/hildon-stackable-window.c: Minor documentation updates.
5597 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5599 * src/hildon-stackable-window.c: Updated documentation.
5601 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5603 * src/hildon-defines.h: Update margins definitions
5604 to the Fremantle sizes.
5607 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5609 * src/hildon-touch-selector.c,
5610 (_hildon_touch_selector_set_model): Cleaning the code after
5611 review, removed g_print and #if 0 from the code.
5613 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5615 * src/hildon-edit-toolbar.c: Update documentation.
5617 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5619 * src/hildon-check-button.h
5620 * src/hildon-check-button.c
5621 (hildon_check_button_set_label, hildon_check_button_get_label)
5622 * examples/hildon-check-button-example.c
5623 (button_clicked_cb):
5624 Removed deprecated methods.
5626 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5628 * src/hildon-text-view.c:
5629 Add sample code to the documentation.
5631 * src/hildon-entry.h
5632 * src/hildon-text-view.h:
5633 Minor cosmetic changes.
5635 * src/hildon-entry.c:
5636 Add sample code to the documentation.
5637 (hildon_entry_init, hildon_entry_refresh_contents):
5638 Don't allow NULL values in the placeholder.
5640 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5642 * doc/hildon-docs.sgml
5644 * examples/Makefile.am
5645 * examples/hildon-text-view-example.c
5647 * src/hildon-text-view.c
5648 * src/hildon-text-view.h
5650 New HildonTextView widget, with example.
5652 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5654 * po/POTFILES.in: Add missing files with translatable strings.
5655 Partially fixes NB#88287.
5657 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5659 * examples/hildon-pannable-area-example-2.c: (main): No need to
5660 set the cellrenderer height inside hildon touch lists, the theme does
5663 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5665 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5666 they are integrated in the theme.
5668 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5670 * examples/hildon-entry-example.c: Update the example adding
5671 widgets to modify the text and the placeholder of the HildonEntry.
5673 * src/hildon-entry.c: Show the placeholder everytime the widget
5674 is empty and loses the focus.
5676 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5678 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5680 * src/hildon-pannable-area.c,
5681 (hildon_pannable_area_size_request): Fixed bug in height
5682 requisition, avoid increasing size and add border twice.
5684 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5686 * configure.ac: postrelease version bump.
5688 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5692 * configure.ac: Prerelease version bump.
5693 * debian/changelog: update.
5694 * debian/rules: make -dbg package contain useful debugging symbols.
5696 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5698 * src/hildon-dialog.h
5699 * src/hildon-dialog.c
5700 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5701 New methods to add buttons with finger size.
5702 (hildon_dialog_new_with_buttons):
5703 Create buttons with finger size.
5705 * examples/hildon-dialog-example.c (main): Use HildonDialog
5706 methods to add buttons.
5708 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5710 * src/hildon-entry.c: Updated HildonButton documentation.
5712 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5714 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5715 button value label with (FALSE, FALSE) to prevent NB#88126 from
5718 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5720 * examples/hildon-pannable-area-example.c,
5721 (main): Removed examples panning a vbox inside a pannable
5722 area. Check bug NB#87965
5724 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5726 Patch contributed by Kris Rietveld (kris@imendio.com)
5728 * src/hildon-pannable-area.c,
5729 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5730 get_size and get_position, this saves an X server roundtrip.
5732 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5734 * doc/hildon-docs.sgml
5736 * examples/Makefile.am
5737 * examples/hildon-entry-example.c
5739 * src/hildon-entry.c
5740 * src/hildon-entry.h
5742 New HildonEntry widget, with example.
5744 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5746 * src/hildon-button.c (hildon_button_construct_child): Pack the
5747 image with expand == fill == FALSE. This is a workaround for a bug
5750 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5752 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5753 labels for the text column, to make it more look more dynamic.
5755 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5757 * src/hildon-time-selector.c
5758 Define gettext auxiliar macro N_
5759 (_create_minutes_model)
5760 (_create_hours_model)
5761 (_create_ampm_model): use of strftime in order to fill the model
5762 * src/hildon-date-selector.c
5763 (hildon_date_selector_finalize):
5764 (_locales_init): remove the logic related to get the name of the months
5765 using nl_langinfo, as it is not required anymore
5767 (_create_year_model)
5768 (_create_month_model)
5769 (_update_day_model): use of strftime in order to fill the model properly
5772 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5774 * src/hildon-button.h
5775 * src/hildon-button.c (hildon_button_get_image): New method to
5778 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5780 * src/hildon-touch-selector.c:
5781 (hildon_touch_selector_remove_column): Remove from the correct parent
5782 and also remove the list element and free it.
5785 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5787 * src/hildon-time-selector.c
5788 (_create_hours_model): change the range on 12h ampm format in order to use
5789 a 12-11 range instead of previous 01-12 range
5790 (hildon_time_selector_set_time): change the way to select the current time
5791 on 12h ampm format, due the change on the range
5792 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5795 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5797 * src/hildon-touch-selector.c
5798 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5799 in order to allow use this function on multiple row selection mode if
5800 the column is different that the first one
5803 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5805 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5806 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5808 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5810 * src/hildon-date-selector.h: clean some comments, now on the .c
5811 * src/hildon-date-selector.c
5812 (hildon_date_selector_select_month): first implementation
5813 (hildon_date_selector_select_day): added documentation, reimplemented
5814 using hildon_date_selector_select_current_date to avoid repeat code
5817 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5819 Reviewed interaction logic based on device experiences, refactored
5822 * src/hildon-pannable-area.c,
5823 (hildon_pannable_area_class_init): Updated default vmax speed.
5824 (hildon_pannable_area_calculate_velocity): Added this function, it
5825 avoids duplicate valocity calculation. Adjusted calculation to
5826 avoid problems with zero dist events.
5828 (hildon_pannable_area_motion_notify_cb): Now we use the
5829 calculate_velocity function.
5831 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5833 * src/hildon-date-selector.c
5834 (hildon_date_selector_select_current_date): fix the day range check
5835 as it failed using the last day of the current month
5838 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5840 * src/hildon-touch-selector.c
5841 (hildon_touch_selector_get_num_columns): added a parameter validation
5844 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5846 * examples/Makefile.am
5847 * examples/hildon-edit-toolbar-example.c: Example of the
5848 HildonEditToolbar widget.
5850 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5852 * configure.ac: postrelease version bump.
5854 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5858 * configure.ac: prerelease version bump.
5859 * debian/changelog: update.
5861 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5863 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5864 renderer to display stock icons in the touch list. Also, set the sizes
5865 to the recommended in the style guide.
5867 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5868 * src/hildon-touch-selector.h
5869 (hildon_touch_selector_set_active_iter): renamed, now is
5870 hildon_touch_selector_select_iter
5871 (hildon_touch_selector_get_active_iter): renamed, now is
5872 hildon_touch_selector_get_selected
5873 (hildon_touch_selector_unselect_iter): added
5874 * src/hildon-touch-selector.c
5875 Update after API modification (methods renamed)
5876 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5877 order to avoid problems selecting multiple elements on the column
5878 (hildon_touch_selector_unselect_iter): added the implementation
5879 * src/hildon-time-selector.c
5880 * src/hildon-date-selector.c
5881 * src/hildon-touch-selector-entry.c
5882 Update methods calls after hildon-touch-selector.h API modification (methods
5885 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5887 * src/hildon-stackable-window.c
5888 (hildon_stackable_window_finalize): Call the parent class's finalize.
5890 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5892 * examples/hildon-touch-selector-example.c: (create_selector): Use
5893 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5896 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5898 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5899 set a cell background color, to respect theming.
5901 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5903 * doc/hildon-docs.sgml
5906 * src/hildon-edit-toolbar.c
5907 * src/hildon-edit-toolbar.h
5908 * src/hildon.h: New HildonEditToolbar widget.
5910 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5912 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5915 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5916 * src/hildon-touch-selector.c
5917 (_create_new_column): use g_object_set instead of two g_object_set_property
5919 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5920 * src/hildon-touch-selector.c
5921 (_create_new_column): use of hildon_gtk_tree_view_new to create
5922 the treeview, instead of use directly g_object_new
5923 (_create_new_column): update the property name "vindicator-mode" for the
5924 new one "vscrollbar-policy"
5925 * examples/hildon-date-button-example.c
5926 * examples/hildon-picker-button-multicolumn-example.c
5927 * examples/hildon-touch-selector-entry-example.c
5928 * examples/hildon-touch-selector-example.c
5929 * examples/hildon-time-button-example.c
5930 * examples/hildon-picker-button-example.c
5931 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5932 to all the treeviews inside a pannable area.
5934 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5936 * src/hildon-button.h
5937 * src/hildon-button.c (hildon_button_init)
5938 (hildon_button_set_arrangement, hildon_button_set_alignment)
5939 (hildon_button_set_title_alignment)
5940 (hildon_button_set_value_alignment)
5941 (hildon_button_set_image_alignment)
5942 (hildon_button_construct_child): New methods to set the alignment
5943 of the individual components of the button (title, value,
5944 image). Also, new method to alter the xscale and yscale properties
5945 of the GtkAlignment inside the button, so more complex layouts can
5948 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5950 * src/hildon-button.c (hildon_button_style_set)
5951 (hildon_button_class_init, hildon_button_set_arrangement)
5952 (hildon_button_construct_child): Apply style properties
5953 correctly. Use the 'image-spacing' style property too.
5955 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5957 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5958 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5961 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5963 * src/hildon-pannable-area.c,
5964 (hildon_pannable_area_size_request): Fixed problem with
5965 pannable-area size_request.
5967 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5969 Added management for the grab-focus to a child widget, like a
5970 range, we need to fade out the scrollbar when releasing.
5972 * src/hildon-pannable-area.c,
5973 (hildon_pannable_area_init): Connected the grab-focus signal to
5975 (hildon_pannable_area_grab_notify): Added this function in order
5976 to manage the situation when the grab-focus ends. We have to
5977 fade-out the scrollbar.
5979 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5981 * src/hildon-app-menu.c: Minor documentation update.
5983 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5985 * src/hildon-app-menu.c
5986 * examples/hildon-app-menu-example.c (create_menu): Update
5987 examples and documentation to explain how to connect callbacks.
5989 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5991 * examples/hildon-button-example.c
5992 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5993 hildon_stackable_window_new instead of gtk_window_new
5995 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5997 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5998 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5999 (hildon_pannable_area_set_property),
6000 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6001 (hildon_pannable_area_unrealize),
6002 (hildon_pannable_area_size_request),
6003 (hildon_pannable_area_size_allocate),
6004 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6005 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6006 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6007 (hildon_pannable_area_initial_effect),
6008 (hildon_pannable_area_redraw),
6009 (hildon_pannable_area_scroll_indicator_fade),
6010 (hildon_pannable_area_expose_event),
6011 (hildon_pannable_area_get_topmost), (synth_crossing),
6012 (hildon_pannable_area_button_press_cb),
6013 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6014 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6015 (hildon_pannable_area_motion_notify_cb),
6016 (hildon_pannable_area_button_release_cb),
6017 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6018 (hildon_pannable_area_remove),
6019 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6020 chage the code layout to a more GtkWidget like. Review the use of
6023 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6025 * examples/hildon-pannable-area-example-4.c,
6026 (main): Modified the name of the hindicator_mode to
6029 * src/hildon-pannable-area.c,
6030 (hildon_pannable_area_class_init),
6031 (hildon_pannable_area_motion_notify_cb),
6032 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6033 we have reduced the amount of signals and managed reviewed its
6034 rationale. Changed the default decelerate value.
6036 (hildon_pannable_area_add),
6037 (hildon_pannable_area_redraw): Refactored functions.
6039 (hildon_pannable_area_init),
6040 (hildon_pannable_area_get_property),
6041 (hildon_pannable_area_set_property):
6042 (hildon_pannable_draw_vscroll),
6043 (hildon_pannable_draw_hscroll),
6044 (hildon_pannable_area_initial_effect),
6045 (hildon_pannable_area_expose_event),
6046 (hildon_pannable_area_scroll),
6047 (hildon_pannable_area_button_press_cb),
6048 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6049 and vindicator_mode with hscrollbar_policy and
6050 vscrollbar_policy. Replaced hscroll and vscroll with
6051 hscroll_visible and vscroll_visible.
6053 (hildon_pannable_area_refresh): Refactor the function, remove
6054 variables and check the calls to this function, added resize
6055 conditions in case the children change their layout.
6057 (hildon_pannable_area_size_request): Added more detailed
6058 size_request calculation.
6061 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6063 * src/hildon-color-chooser.c
6064 (init_borders): use the correct gtk_border_free instead of g_free, to
6065 avoid a crash when this widget is used (ie: the three color selection
6068 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6070 * src/hildon-check-button.c,
6071 (hildon_check_button_set_active): Fixed problem when setting the
6072 active value, the widget was not redrawn.
6074 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6076 * src/hildon-pannable-area.c,
6077 (hildon_pannable_area_refresh),
6078 (hildon_pannable_area_scroll),
6079 (hildon_pannable_area_motion_notify_cb): Small code style change.
6081 (hildon_pannable_area_class_init): Default initial_hint set to
6082 FALSE, it is not in the specs.
6084 (hildon_pannable_area_initial_effect),
6085 (hildon_pannable_area_expose_event),
6086 (hildon_pannable_area_map),
6087 (hildon_pannable_area_init): Moved the launching point of the
6088 initial effect, it was in map but the sizes where not correct in
6089 that method so we do not know if we have the reproduce it. Now it
6090 is placed in the expose_event method and uses a variable to
6091 reproduce it just once.
6093 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6095 * src/hildon-pannable-area.c,
6096 (hildon_pannable_draw_vscroll),
6097 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6098 position allowed for the scrollbars.
6100 (hildon_pannable_area_size_allocate): Small style change.
6102 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6104 * src/hildon-pannable-area.c,
6105 (hildon_pannable_area_scroll_indicator_fade),
6106 (hildon_pannable_area_button_press_cb),
6107 (hildon_pannable_area_button_release_cb),
6108 (hildon_pannable_area_scroll_cb),
6109 (hildon_pannable_area_expose_event),
6110 (hildon_pannable_area_init): Added the define parameter
6111 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6112 and refactor the fade variable.
6114 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6116 * src/hildon-pannable-area.c,
6117 (hildon_pannable_area_redraw),
6118 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6119 lines, we were reimplemeting the redraw code.
6121 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6123 * src/hildon-pannable-area.c,
6124 (hildon_pannable_area_scroll_cb),
6125 (hildon_pannable_area_realize),
6126 (hildon_pannable_area_class_init): Added scroll_event management
6127 for pannable area, now we can scroll the usual desktop method.
6129 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6130 initialization of the parameters should depend on idle_id.
6132 (hildon_pannable_area_init),
6133 (hildon_pannable_area_map): Small code style modifications
6135 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6137 * src/hildon-pannable-area.c
6138 (hildon_pannable_area_button_press_cb),
6139 (hildon_pannable_area_motion_notify_cb),
6140 (hildon_pannable_area_button_release_cb),
6141 (hildon_pannable_area_size_allocate),
6142 (hildon_pannable_area_scroll_to): Improved the timeouts
6143 management, we avoid creating them each time.
6145 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6147 * src/hildon-pannable-area.c:
6148 (hildon_pannable_area_refresh),
6149 (hildon_pannable_area_motion_notify_cb),
6150 (hildon_pannable_area_class_init):
6151 * src/hildon-pannable-area.h:
6152 * src/hildon-touch-selector.c
6153 (_create_new_column):
6154 * examples/hildon-pannable-area-example-4.c:
6155 (horizontal_movement),
6156 (vertical_movement),
6158 Replaced the names of enums in the HildonPannableArea:
6159 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6160 HILDON_MOVEMENT_MODE_*
6161 - HILDON_PANNABLE_AREA_MOV_* ->
6163 - Removed HildonPannableAreaIndicatorMode, now we
6166 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6168 * examples/hildon-pannable-area-touch-grid-example.c
6169 * examples/hildon-pannable-area-touch-list-example.c: Fix
6170 compilation warnings.
6172 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6174 * src/hildon-gtk.c (hildon_gtk_button_new)
6175 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6176 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6177 images overriding the value of the "gtk-button-images" setting.
6179 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6181 * src/hildon-check-button.c (hildon_check_button_new):
6182 Instead of using a custom container, display the label and the
6183 checkbox using the standard GtkButton API.
6185 * examples/hildon-check-button-example.c (main): Don't use
6186 hildon_check_button_set_label() anymore
6188 * src/hildon-check-button.h
6189 * src/hildon-check-button.c
6190 (hildon_check_button_set_label, hildon_check_button_get_label):
6191 Set as deprecated, now we're using gtk_button_{get,set}_label()
6193 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6195 * src/hildon-pannable-area.c,
6196 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6197 GtkTreeview first line we detected it after the inclusion of the
6198 GtkWindowImpl in gtk+. We now check if the window is visible, not
6199 just if the pointer is over the window.
6200 (hildon_pannable_axis_scroll),
6201 (hildon_pannable_area_expose_event): Small style changes.
6203 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6205 * src/hildon-button.c: Update documentation.
6207 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6209 * examples/hildon-button-example.c: Add a switch to show images in
6212 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6214 * doc/hildon-docs.sgml: Some docs reorganization.
6216 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6218 * examples/hildon-pannable-area-touch-list-example.c
6220 * examples/hildon-pannable-area-touch-grid-example.c
6221 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6222 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6223 Fix memory leak when setting the tree model.
6225 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6229 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6231 * doc/hildon.types: Remove duplicated hildon_window_get_type
6232 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6233 documentation comment.
6235 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6237 * doc/Makefile.am: Complete list of private headers.
6239 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6241 * doc/hildon-docs.sgml
6242 * src/hildon-app-menu.c
6243 * src/hildon-bread-crumb.c
6244 * src/hildon-button.c
6246 * src/hildon-program.c
6247 * src/hildon-stackable-window.c
6248 * src/hildon-window.c: Lots of documentation updates.
6250 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6252 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6254 * configure.ac: Require Gtk+ 2.12.9 at least
6256 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6258 * src/hildon-pannable-area.c
6259 (hildon_pannable_area_scroll_indicator_fade),
6260 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6261 to protect the return of this timeout callbacks, avoiding deadlocks.
6263 2008-08-12 Christian Dywan <christian@imendio.com>
6266 * src/hildon-*.h: Ensure a consistent include order,
6267 include <gtk/gtk.h> instead of particular files and
6268 only include the topmost header in the gtk stack. See NB #39857
6270 2008-08-12 Christian Dywan <christian@imendio.com>
6272 * src/hildon-picker-dialog.c
6273 * src/hildon-touch-selector.c: Fix warnings about unused and
6274 uninitialized variables.
6276 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6278 * examples/Makefile.am
6279 * examples/hildon-check-button-example.c: Example of the hildon
6282 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6284 * src/hildon-window.h
6285 * src/hildon-window.c (hildon_window_class_init)
6286 (hildon_window_unset_program): Don't make
6287 hildon_window_unset_program a virtual function anymore.
6289 * src/hildon-stackable-window.c: Update documentation
6291 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6294 * doc/hildon-docs.sgml
6295 * doc/visual_index.xml
6296 * src/hildon-defines.c
6298 * src/hildon-helper.c
6299 * src/hildon-range-editor.c: Lots of documentation fixes.
6301 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6303 * examples/hildon-picker-button-multicolumn-example.c
6304 (create_touch_selector): Fix compilation warning.
6306 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6308 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6309 (hildon_pannable_area_button_release_cb)
6310 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6312 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6314 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6317 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6319 * src/hildon-bread-crumb-trail.h
6320 * src/hildon-date-editor.c
6321 * src/hildon-date-selector.c
6322 * src/hildon-pannable-area.c
6323 * src/hildon-picker-dialog.c
6324 * src/hildon-time-selector.c
6325 * src/hildon-touch-selector-entry.c
6326 * src/hildon-touch-selector.c
6327 * src/hildon-touch-selector.h: Misc documentation fixes
6329 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6331 * examples/hildon-date-editor-example.c (main): Updated date
6334 * examples/hildon-note-example.c (on_confirmation_clicked):
6335 Updated confirmation note example.
6337 * src/hildon-date-editor.c
6338 * src/hildon-note.c: Updated sample programs in documentation.
6341 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6343 * src/hildon-date-button.h:
6344 * src/hildon-picker-button.h:
6345 * src/hildon-time-button.c:
6346 * src/hildon-time-button.h:
6348 Some declarations changes to allow gtk-doc to document the widgets
6351 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6353 * src/hildon-date-button.c: Document the widget.
6354 * src/hildon-time-button.c: Document the widget.
6356 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6358 * src/hildon-picker-button.c: Document the widget.
6359 * src/hildon-touch-selector-entry.c: Document the widget.
6361 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6363 * doc/hildon-docs.sgml
6366 * src/hildon-check-button.h
6367 * src/hildon-check-button.c: New functions to create the Hildon
6371 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6373 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6375 * src/hildon-button.h
6376 * src/hildon-button.c
6377 (hildon_button_add_title_size_group)
6378 (hildon_button_add_value_size_group)
6379 (hildon_button_add_image_size_group)
6380 (hildon_button_add_size_groups): New functions to set size groups
6381 for the button labels and image.
6382 (hildon_button_new_full): Removed
6384 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6386 * src/hildon-time-selector.c
6387 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6388 in order to avoid a crash if gconf is not available
6390 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6392 * src/hildon-button.c (hildon_button_set_arrangement)
6393 (hildon_button_construct_child): Don't construct the button child
6394 before setting the arrangement.
6396 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6398 * src/hildon-program-private.h
6399 * src/hildon-program.c
6400 * src/hildon-program.h
6401 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6402 (hildon_program_peek_window_stack)
6403 (hildon_program_pop_window_stack)
6404 (hildon_program_go_to_root_window): HildonProgram now has a
6405 separate list for stackable windows. Functions are provided to
6406 manage that list with a stack-like API.
6408 * src/hildon-stackable-window.c: Stackable window management is
6409 now much simpler with the new HildonProgram API. Windows no
6410 longer need to be manually added to the program, they're
6411 automatically pushed to the top of the stack when shown.
6413 * examples/hildon-stackable-window-example.c: Updated example to
6414 reflect the API changes.
6416 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6418 * src/hildon-touch-selector.c: Comment out unimplemented
6419 hildon_touch_selector_insert_column() to avoid a compile warning.
6421 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6423 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6424 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6425 (hildon_touch_selector_set_column_selection_mode),
6426 (_hildon_touch_selector_set_model),
6427 (hildon_touch_selector_set_model):
6429 Complete review of HildonTouchSelector documentation.
6431 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6433 * doc/hildon-docs.sgml
6437 * src/hildon-gtk.c: Convenience functions for standard Gtk
6438 widgets, used to easily perform frequent operations.
6440 * src/hildon-button-helpers.h
6441 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6443 * src/hildon-helper.h
6444 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6445 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6447 * src/hildon-button.h
6448 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6450 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6452 * src/hildon-button.c (hildon_button_init)
6453 (hildon_button_set_arrangement, hildon_button_construct_child):
6454 Pack the image and the labels inside the same GtkAlignment so
6455 gtk_button_set_alignment() can be used
6457 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6459 * src/hildon-button.h
6460 * src/hildon-button.c
6461 (hildon_button_init, hildon_button_set_image)
6462 (hildon_button_set_image_position)
6463 (hildon_button_construct_child): New functions to add an image to
6466 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6468 * src/hildon-date-button.c
6469 * src/hildon-picker-button.c
6470 * src/hildon-time-button.c
6471 * src/hildon-button.c:
6472 (hildon_button_class_init): "size-flags" renamed to "size"
6473 (hildon_button_set_title): Hide the title label if set to NULL.
6475 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6477 HildonButtonFlags split into HildonButtonArrangement (to set the
6478 button layout) and HildonSizeType (which can be used for any
6481 * src/hildon-button.h
6482 * src/hildon-button.c
6483 (hildon_button_class_init)
6484 (hildon_button_set_arrangement)
6485 (hildon_button_set_property): New "size-flags"
6486 property. "arrangement-flags" renamed to "arrangement".
6487 (hildon_button_new, hildon_button_new_with_text)
6488 (hildon_button_new_full): Constructors updated to reflect type changes.
6490 * src/hildon-helper.h
6491 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6492 to set the size of a widget.
6496 * src/hildon-button-helpers.c
6497 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6499 * src/hildon-date-button.c
6500 * src/hildon-date-button.h
6501 * src/hildon-picker-button.c
6502 * src/hildon-picker-button.h
6503 * src/hildon-time-button.c
6504 * src/hildon-time-button.h: Updated widgets to reflect
6505 HildonButton API changes.
6507 * examples/hildon-button-example.c
6508 * examples/hildon-date-button-example.c
6509 * examples/hildon-picker-button-example.c
6510 * examples/hildon-picker-button-multicolumn-example.c
6511 * examples/hildon-time-button-example.c
6512 * examples/hildon-touch-selector-entry-example.c
6513 * examples/hildon-touch-selector-example.c: Updated examples to
6514 reflect HildonButton API changes.
6516 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6518 * doc/hildon-docs.sgml:
6520 * examples/Makefile.am:
6521 * examples/hildon-touch-selector-entry-example.c:
6523 * src/hildon-touch-selector-entry.c:
6524 * src/hildon-touch-selector-entry.h:
6527 Moved HildonTouchSelectorEntry from sandbox. Added its
6528 documentation and examples.
6530 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6532 * src/hildon-touch-selector.h:
6533 * examples/hildon-picker-button-multicolumn-example.c:
6534 (hildon_touch_selector_append_text_column): Add a gboolean
6535 parameter to determine if text must be centered in the column.
6537 * src/hildon-date-selector.c: (hildon_date_selector_init):
6538 * src/hildon-time-selector.c: (hildon_time_selector_init):
6539 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6540 (create_touch_selector): Update widgets and example to reflect
6543 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6545 * src/hildon-touch-selector.c:
6546 (hildon_touch_selector_set_active_iter): Set also the cursor in
6549 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6551 * doc/hildon-docs.sgml
6554 * src/hildon-toggle-button.c
6555 * src/hildon-toggle-button.h
6556 * src/hildon.h: Removed HildonToggleButton widget, a derived
6557 class is not necessary for this.
6559 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6561 * src/hildon-pannable-area.c,
6562 (hildon_pannable_area_realize),
6563 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6566 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6568 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6569 "done" button the default widget for the dialog.
6571 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6573 * src/hildon-touch-selector.c:
6574 (hildon_touch_selector_class_init),
6575 (hildon_touch_selector_get_property),
6576 (_hildon_touch_selector_set_model),
6577 (_hildon_touch_selector_has_multiple_selection),
6578 (hildon_touch_selector_has_multiple_selection):
6579 Add a "has-multiple-selection" property with a virtual
6580 has_multiple_selection() method to allow derived classes to
6581 override the default value for it. See the method and property
6582 documentation for details.
6584 * src/hildon-touch-selector.h: Add the new API.
6586 * src/hildon-picker-dialog.c: (requires_done_button): Call
6587 hildon_touch_selector_has_multiple_selection() instead of
6588 determining the need for a button itself.
6590 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6592 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6593 (_hildon_touch_selector_set_model),
6594 (hildon_touch_selector_set_model): Move working code to
6595 _hildon_touch_selector_set_mode(). Call the class method instead.
6597 * src/hildon-touch-selector.h: Add (*set_model) to
6598 HildonTouchSelectorClass.
6600 Make hildon_touch_selector_set_model() a virtual method, so that
6601 derived classes can extend it and do fancy stuff with the model.
6603 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6605 * configure.ac: Set back the tarname in AC_INIT to hildon.
6607 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6611 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6612 instead of libesd (NB#86876). Volume handling is still an open issue.
6614 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6617 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6619 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6620 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6621 derived class to ease placement of an entry widget in
6622 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6623 end, where the selector columns are packed now.
6625 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6627 * src/hildon-picker-button.c: Removed the simple _text() API.
6628 * src/hildon-picker-button.h: Likewise.
6630 * src/hildon-touch-selector.h:
6631 * src/hildon-touch-selector.c:
6632 (hildon_touch_selector_new_text),
6633 (hildon_touch_selector_append_text),
6634 (hildon_touch_selector_prepend_text),
6635 (hildon_touch_selector_insert_text):
6637 Moved the simple _text() API from HildonPickerButton to
6638 HildonTouchPicker, to provide better escalability and not to tie
6639 that API to HildonPickerButton.
6641 * examples/hildon-picker-button-example.c: (main): Example updated.
6643 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6645 * src/hildon-button.c: Updated documentation.
6647 * examples/hildon-button-example.c: Add the posibility to create
6648 the buttons using horizontal layout for title and value.
6650 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6652 * src/hildon-app-menu-private.h
6653 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6654 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6655 GtkSizeGroup for the filters, use the 'homogeneous' property of
6658 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6660 * examples/hildon-button-example.c: Updated example.
6662 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6664 * doc/hildon-docs.sgml:
6667 Update documentation.
6669 * examples/Makefile.am: Update renamed examples.
6671 * examples/hildon-picker-button-multicolumn-example.c:
6672 (create_touch_selector), (main): Update after the rename.
6674 * examples/hildon-touch-picker-example.c: Removed.
6675 * examples/hildon-touch-selector-example.c: (value_changed),
6676 (create_selector), (get_visible_content), (main): Renamed from
6677 hildon-touch-picker-example.c
6679 * src/Makefile.am: Updated renamed files.
6681 * src/hildon-date-button.c: (hildon_date_button_init),
6682 (hildon_date_button_get_date), (hildon_date_button_set_date):
6683 * src/hildon-date-selector.c: (hildon_date_selector_init),
6684 (_custom_print_func), (_update_day_model),
6685 (_manage_selector_change_cb),
6686 (hildon_date_selector_select_current_date),
6687 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6688 * src/hildon-date-selector.h:
6689 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6690 (hildon_picker_button_set_property),
6691 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6692 (hildon_picker_button_init), (hildon_picker_button_new_text),
6693 (hildon_picker_button_append_text),
6694 (hildon_picker_button_prepend_text),
6695 (hildon_picker_button_insert_text),
6696 (hildon_picker_button_set_selector),
6697 (hildon_picker_button_get_selector):
6698 * src/hildon-picker-button.h:
6699 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6700 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6701 (_update_title_on_selector_changed_cb), (requires_done_button),
6702 (_hildon_picker_dialog_set_selector),
6703 (hildon_picker_dialog_set_selector),
6704 (hildon_picker_dialog_get_selector):
6705 * src/hildon-picker-dialog.h:
6706 * src/hildon-time-button.c: (hildon_time_button_init),
6707 (hildon_time_button_get_time), (hildon_time_button_set_time):
6708 * src/hildon-time-selector.c: (hildon_time_selector_init),
6709 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6710 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6711 * src/hildon-time-selector.h:
6714 Massive code updates after the rename.
6716 * src/hildon-touch-picker.c: Removed.
6717 * src/hildon-touch-picker.h: Removed.
6719 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6720 (hildon_touch_selector_init), (hildon_touch_selector_map),
6721 (hildon_touch_selector_remove), (_default_print_func),
6722 (_selection_changed_cb), (_create_new_column),
6723 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6724 (hildon_touch_selector_append_text_column),
6725 (hildon_touch_selector_remove_column),
6726 (hildon_touch_selector_set_column_attributes),
6727 (hildon_touch_selector_insert_column),
6728 (hildon_touch_selector_get_num_columns),
6729 (hildon_touch_selector_get_column_selection_mode),
6730 (hildon_touch_selector_set_column_selection_mode),
6731 (hildon_touch_selector_set_print_func),
6732 (hildon_touch_selector_get_print_func),
6733 (hildon_touch_selector_get_active_iter),
6734 (hildon_touch_selector_set_active_iter),
6735 (hildon_touch_selector_get_selected_rows),
6736 (hildon_touch_selector_get_model),
6737 (hildon_touch_selector_set_model),
6738 (hildon_touch_selector_get_current_text),
6739 (_hildon_touch_selector_center_on_selected_items):
6740 * src/hildon-touch-selector.h: Renamed from
6741 hildon-touch-picker.[ch]
6743 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6744 references, code examples, and related documentation.
6746 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6748 * doc/hildon-docs.sgml
6751 * src/hildon-toggle-button.c
6752 * src/hildon-toggle-button.h
6753 * src/hildon.h: New HildonToggleButton widget.
6755 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6757 * src/hildon-button.c: Add API documentation.
6758 (hildon_button_set_size_groups): Check input parameters
6760 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6762 * src/hildon-pannable-area.c
6763 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6764 effect after reaching the movement thredshold. This way we start
6765 using the distance after passing the thredshold.
6767 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6769 * src/hildon-button.c: (hildon_button_set_property): Use the
6770 appropriate g_value_get_flags() method.
6772 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6774 * doc/hildon-docs.sgml:
6777 Add the touch pickers, picker dialogs, and picker button widgets
6778 to the documentation.
6780 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6782 * src/hildon-button.c: (hildon_button_set_property),
6783 (hildon_button_class_init): Make "arrangement-flags" a proper
6784 G_TYPE_FLAGS derived property.
6786 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6788 * examples/Makefile.am: Add below examples.
6789 * examples/hildon-date-button-example.c:
6790 * examples/hildon-picker-button-example.c:
6791 * examples/hildon-picker-button-multicolumn-example.c:
6792 * examples/hildon-time-button-example.c:
6793 * examples/hildon-touch-picker-example.c:
6795 Add examples for the recently added touch pickers,
6796 picker dialogs, and picker button widgets.
6798 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6800 * src/hildon-button.c: Add some API documentation
6802 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6804 * src/hildon-button.h
6805 * src/hildon-button.c
6807 (hildon_button_new_with_text): New constructor to create a button
6808 with no text at all.
6809 (hildon_button_init, hildon_button_set_arrangement)
6810 (hildon_button_set_title, hildon_button_set_value)
6811 (hildon_button_set_text)
6812 (hildon_button_construct_child): Hide the value when it's not used
6813 so the rest of the text is properly aligned.
6814 Allow creating buttons with arbitrary widgets inside (not just
6815 title/value labels).
6817 * examples/hildon-button-example.c (vertical_buttons_window)
6818 (horizontal_buttons_window): Update example to use new API.
6820 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6822 * src/Makefile.am: Added HildonTimeButton.
6823 * src/hildon-time-button.c: Added missing LGPL header.
6824 * src/hildon-time-button.h: Added missing LGPL header.
6825 * src/hildon.h: Add hildon-time-button.h
6827 Copied HildonTimeButton from sandbox to trunk. Future work on this
6828 widget must take place in trunk.
6830 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6832 * src/Makefile.am: Added HildonDateButton.
6833 * src/hildon-date-button.c: Update includes.
6834 * src/hildon.h: Add hildon-date-button.h
6836 Copied HildonDateButton from sandbox to trunk. Future work on this
6837 widget must take place in trunk.
6839 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6841 * src/Makefile.am: Added HildonPickerButton.
6842 * src/hildon-picker-button.h: Update includes.
6843 * src/hildon.h: Add hildon-picker-button.h
6845 Copied HildonPickerButton from sandbox to trunk. Future work on
6846 this widget must take place in trunk.
6848 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6850 * src/Makefile.am: Added HildonPickerDialog.
6851 * src/hildon-picker-dialog.c: Update includes.
6852 * src/hildon.h: Add hildon-picker-dialog.h
6854 Copied HildonPickerDialog from sandbox to trunk. Future work
6855 on this widget must take place in trunk.
6857 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6859 * src/Makefile.am: Added HildonTimeSelector.
6860 * src/hildon.h: Add hildon-time-selector.h
6862 Copied HildonTimeSelector widget from sandbox to trunk. Future
6863 work on this widget must happen in trunk.
6865 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6867 * src/Makefile.am: Added HildonDateSelector.
6868 * src/hildon.h: Add hildon-date-selector.h
6870 Copied HildonDateSelector widget from sandbox to trunk. Future
6871 work on this widget must happen in trunk.
6873 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6875 * src/Makefile.am: Added HildonTouchPicker.
6876 * src/hildon-touch-picker.c: Update includes.
6877 * src/hildon.h: Add hildon-touch-picker.h
6879 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6880 on this widget must happen in trunk.
6882 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6884 * src/hildon-pannable-area.c:
6885 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6887 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6889 * examples/hildon-app-menu-example.c (main): Let the window
6892 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6894 * src/hildon-pannable-area.c
6895 (hildon_pannable_area_class_init): Set the min value of the
6896 overshoot properties to zero, which points out that not
6897 overshooting allowed.
6899 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6901 Modified the procedure to get the widget at a point inside the
6902 pannable area when using the movement type signals. Now the user
6903 has to call a function to get the child, that way we just
6904 calculate the child in case the user really want to use it and not
6907 * src/hildon-marshalers.list: Modified the marshallers, now we do
6908 not have the widget as a parameter.
6910 * src/hildon-pannable-area.c
6911 (hildon_pannable_area_motion_notify_cb),
6912 (hildon_pannable_area_class_init),
6913 (hildon_pannable_get_child_widget_at): Removed the widget
6914 parameter from the signal callback. We have also refactored the
6915 emission of the signals.
6917 * src/hildon-pannable-area.h: Added a new method to the API to
6918 calculate a widget at a point inside the pannable area,
6919 hildon_pannable_get_child_widget_at.
6921 * examples/hildon-pannable-area-example-4.c
6922 (horizontal_movement): Modified the example to use the new API,
6923 added condition to control which widget is under the event. This
6924 way we can avoid scrolling laterally over other widgets.
6926 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6928 * src/hildon-pannable-area.c
6929 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6930 modes, we stop getting the pointer events due to returning the
6931 callback without properly calling the get pointer again. Fixed
6932 also an error using the hscroll and vscroll.
6934 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6936 * src/hildon-app-menu-private.h
6937 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6938 (hildon_app_menu_button_release, hildon_app_menu_init)
6939 (hildon_app_menu_class_init): Don't hide the menu on button
6940 release if the user didn't press outside first.
6942 * src/hildon-window.h
6943 * src/hildon-window.c (hildon_window_toggle_menu)
6944 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6945 hildon_window_toggle_menu a virtual function for the stackable
6946 window to override it.
6948 * src/hildon-stackable-window.h
6949 * src/hildon-stackable-window-private.h
6950 * src/hildon-stackable-window.c
6951 (hildon_stackable_window_realize)
6952 (hildon_stackable_window_finalize)
6953 (hildon_stackable_window_class_init)
6954 (hildon_stackable_window_init)
6955 (hildon_stackable_window_set_main_menu): New function to set the
6956 app menu of a HildonStackableWindow.
6958 * examples/hildon-app-menu-example.c: Remove the button to show
6959 the app menu, now it'll be shown when clicking on the title bar
6962 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6964 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6965 set the widget name if the arrangement flags do not specify
6968 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6970 * src/hildon-button.c: (hildon_button_set_property),
6971 (hildon_button_class_init), (hildon_button_new_full),
6972 (hildon_button_set_arrangement): Added "arrangement-flags"
6975 Make the HildonButtonFlags a construction-only property, to allow
6976 subclasses to set them properly.
6978 2008-07-21 Tim Janik <timj@imendio.com>
6980 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6981 insertion position after backspace, so additional digits are appended,
6984 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6986 * src/hildon-pannable-area.c,
6987 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6988 TODO list, it was complete and removed the g_debug and g_print
6991 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6993 Added the movement modes to the hildon-pannable-area, with this
6994 modes the developers can control in which directions the widget
6995 can scroll. They can also connect to signals in order to do
6996 something when that happens, allowing applications scroll. There
6997 is an example uploaded showing how to use it.
6999 * examples/Makefile.am:
7000 * examples/hildon-pannable-area-example-4.c: Added this example of
7001 an application using the modes.
7003 * src/hildon-marshalers.list: Added a new marshaller for the new
7006 * src/hildon-pannable-area.h: Added new enumerations and flags in
7007 order to control the movement modes and the new signals to warn
7008 about the movements in the area.
7010 * src/hildon-pannable-area.c:
7011 (hildon_pannable_axis_scroll),
7012 (hildon_pannable_area_scroll),
7013 (hildon_pannable_area_motion_notify_cb),
7014 (hildon_pannable_area_get_property),
7015 (hildon_pannable_area_set_property),
7016 (hildon_pannable_area_map),
7017 (hildon_pannable_area_class_init),
7018 (hildon_pannable_area_init),
7019 (hildon_pannable_area_jump_to): Added the modes to control the
7020 movement in the widget. We have added properties to control it,
7021 signals to warn about the movements and refactored some code.
7023 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7025 Changes required in order to allow vfast_factor set to zero to
7028 * src/hildon-pannable-area.c:
7029 (hildon_pannable_area_button_press_cb): Changed the condition, it
7030 is required for not allowing click when vfast_factor is zero.
7031 (hildon_pannable_area_timeout): Initialized velocity variables
7032 when we stop moving, it was less than 1 but not zero and we need
7033 to check zero in some situations.
7034 (hildon_pannable_area_class_init): Changed the default value of
7035 the speed factor, now the button_press is just sent in case the
7036 speed is 2 per cent of the max speed.
7037 (hildon_pannable_area_init): Initialization with 0.
7039 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7041 * src/hildon-pannable-area.c,
7042 (hildon_pannable_area_get_topmost): replaced
7043 gdk_window_get_children with gdk_window_peek_children, this way we
7044 do not have to free the list because it is not a copy.
7046 (hildon_pannable_axis_scroll),
7047 (hildon_pannable_area_scroll),
7048 (hildon_pannable_area_timeout),
7049 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7050 two parameters that were only used inside the
7051 hildon_pannable_area_scroll function.
7053 * examples/hildon-pannable-area-example.c,
7054 (get_sawtooth_label): Fixed small memory leak.
7056 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7058 More checks for the case where the overshoot is bigger than the
7061 * src/hildon-pannable-area.c:
7062 (hildon_pannable_draw_vscroll),
7063 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7064 to draw the slider of the scrollbar under the other scrollbar.
7065 (hildon_pannable_area_expose_event): added new checks to control
7066 the drawing of the overshooting area rectangle, in case it is too
7067 big for the area of the widget.
7068 (hildon_pannable_area_size_allocate): add more checks to avoid
7069 setting a position to the child widget outside the area.
7071 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7073 * src/hildon-pannable-area.c
7074 (hildon_pannable_area_size_allocate): Added conditions to control
7075 when overshooting is bigger than the allocated space for the
7076 children, this avoids negative allocations.
7078 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7080 * doc/hildon-docs.sgml
7082 * examples/Makefile.am
7083 * examples/hildon-button-example.c
7085 * src/hildon-button.c
7086 * src/hildon-button.h
7087 * src/hildon.h: Initial version of the new HildonButton widget,
7090 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7092 * src/hildon-pannable-area.c:
7093 (hildon_pannable_area_button_press_cb),
7094 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7095 (hildon_pannable_area_motion_notify_cb),
7096 (hildon_pannable_area_button_release_cb),
7097 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7098 (hildon_pannable_area_jump_to_child):
7100 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7102 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7104 * examples/Makefile.am
7105 * examples/hildon-pannable-area-touch-grid-example.c
7106 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7107 the Hildon Touch List and Hildon Touch Grid using the
7108 HildonPannableArea widget.
7110 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7112 * src/hildon-pannable-area.c,
7113 (hildon_pannable_area_button_press_cb),
7114 (hildon_pannable_area_refresh),
7115 (hildon_pannable_area_scroll),
7116 (hildon_pannable_area_motion_notify_cb),
7117 (hildon_pannable_area_button_release_cb),
7118 (hildon_pannable_area_expose_event),
7119 (hildon_pannable_area_add),
7120 (hildon_pannable_area_remove),
7121 (hildon_pannable_area_realize),
7122 (hildon_pannable_area_size_allocate),
7123 (hildon_pannable_area_class_init),
7124 (hildon_pannable_area_init),
7125 (hildon_pannable_area_scroll_to_child),
7126 (hildon_pannable_area_jump_to_child): Fixed the problem of
7127 removing the child from the GtkBin, we have rearranged the widget
7128 hierarchy, now there is no GtkAlignment which was not doing
7129 anything interesting but breaking some of the assumptions of
7130 GtkContainer. Now developers if they want to add a GtkAlignment
7131 they could, but it is not inside the area.
7133 We had to review the whole allocation/expose process, now it is
7134 improved and we save at least three signals which would be saving
7135 some time when rendering the widget. The allocation of the
7136 scrollbars is now made in the allocate method as usual.
7138 We have also added some conditions in order to control when there
7139 is no child of the pannable area. Maybe we will need more work
7142 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7144 * src/hildon-pannable-area.c,
7145 (hildon_pannable_area_dispose): Released the fade-out timeout when
7146 disposing the widget.
7148 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7150 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7151 zero, we are going to use that property in order to deactivate the
7153 (hildon_pannable_axis_scroll),
7154 (hildon_pannable_area_size_allocate): Added conditions to control
7155 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7156 call, now it is called in all situations and we can remove calls
7157 in the allocate method.
7158 (hildon_pannable_area_map): Control the situation when
7159 overshoot_max is zero, we do not need the timeout.
7160 (hildon_pannable_area_class_init): Added documentation in order to
7161 point out that setting zero to overshoot_max means deactivate
7164 NOTE: removed trailing whitespaces from my previous comments of
7167 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7169 * src/hildon-pannable-area.c
7170 (hildon_pannable_area_get_property),
7171 (hildon_pannable_area_set_property),
7172 (hildon_pannable_area_map),
7173 (hildon_pannable_area_class_init),
7174 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7175 to cause the widget give a hint about its panning abilities upon
7178 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7180 * src/hildon-pannable-area.c: Several documentation improvements.
7182 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7184 * src/hildon-program.c
7185 * src/hildon-stackable-window.c: Update documentation.
7187 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7189 * src/hildon-stackable-window.c (get_previous_window_if_last):
7190 Renamed get_last_window()
7191 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7192 (hildon_stackable_window_unset_program):
7194 (get_previous_window_if_last):
7195 Detect if the window hasn't been added to a HildonProgram.
7197 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7199 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7201 * src/hildon-pannable-area.c
7202 (hildon_pannable_area_button_press_cb),
7203 (hildon_pannable_axis_scroll),
7204 (hildon_pannable_area_scroll),
7205 (hildon_pannable_area_timeout),
7206 (hildon_pannable_calculate_vel_factor),
7207 (hildon_pannable_area_get_property),
7208 (hildon_pannable_area_set_property),
7209 (hildon_pannable_area_class_init),
7210 (hildon_pannable_area_init),
7211 (hildon_pannable_area_scroll_to),
7212 (hildon_pannable_area_jump_to),
7213 (hildon_pannable_area_scroll_to_child),
7214 (hildon_pannable_area_jump_to_child):
7215 * src/hildon-pannable-area.h: Added the new API functions:
7216 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7217 hildon_pannable_area_scroll_to_child,
7218 hildon_pannable_area_jump_to_child
7221 * examples/Makefile.am
7222 * examples/hildon-pannable-area-example-2.c
7223 * examples/hildon-pannable-area-example-3.c: Added these two new
7224 examples in order to test and show how the new APIs work.
7226 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7228 * examples/hildon-stackable-window-example.c (new_window):
7229 * src/Makefile.am (noinst_HEADERS):
7230 * src/hildon-program.c (hildon_program_go_to_root_window):
7231 * src/hildon-program.h:
7232 * src/hildon-stackable-window-private.h:
7233 * src/hildon-stackable-window.c:
7234 * src/hildon-stackable-window.h:
7235 Create hildon-stackable-window-private.h
7236 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7238 * examples/hildon-app-menu-example.c (create_menu):
7239 * examples/hildon-hvolumebar-insensitive-example.c (main):
7240 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7241 * examples/hildon-toolbar-seekbar-example.c (main):
7242 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7243 * src/hildon-banner.c (hildon_banner_set_property):
7244 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7245 Fix compilation warnings
7247 * src/hildon-window.c:
7250 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7252 * src/hildon-stackable-window.c
7253 (hildon_stackable_window_unset_program):
7254 Calculate correctly whether to show the previous window if the
7255 last one is removed from the stack.
7256 (hildon_stackable_window_go_to_root_window):
7257 Send delete events starting from the topmost window.
7258 Stop if one of the windows is not destroyed.
7260 (hildon_stackable_window_delete_event)
7261 (hildon_stackable_window_class_init):
7262 Ignore the delete event if the window is not the topmost one.
7264 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7266 * src/hildon-pannable-area.c
7267 (hildon_pannable_area_expose_event): Fixed a problem when
7268 selecting the background color of the scrollbars.
7270 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7272 * examples/hildon-stackable-window-example.c
7273 * src/hildon-stackable-window.c
7274 * src/hildon-stackable-window.h
7275 hildon_stackable_window_go_home() renamed to
7276 hildon_stackable_window_go_to_root_window()
7277 Send delete events to windows rather than closing them with
7278 gtk_widget_destroy()
7280 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7282 * src/hildon-pannable-area.c
7283 (hildon_pannable_area_button_release_cb): Fix overshooting in
7286 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7288 * src/hildon-pannable-area.c
7289 (hildon_pannable_area_init): Initially show the scroll indicators.
7290 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7292 Add initial effect showing the widget is pannable.
7294 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7296 * src/hildon-pannable-area.c
7297 (hildon_pannable_area_class_init)
7298 (hildon_pannable_area_set_property)
7299 (hildon_pannable_area_get_property)
7300 (hildon_pannable_area_button_press_cb):
7301 New 'velocity_fast_factor' property to decide which velocity is
7304 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7306 * src/hildon-pannable-area.c
7307 (hildon_pannable_draw_hscroll)
7308 (hildon_pannable_draw_vscroll):
7309 Use float variables to calculate the size of the scrollbars to
7310 avoid error propagation and resizing during scrolling.
7312 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7314 * src/hildon-pannable-area.c
7315 (hildon_pannable_draw_vscroll)
7316 (hildon_pannable_draw_hscroll):
7317 Define a minimum size for the scroll bars
7319 * src/hildon-stackable-window.c
7320 (hildon_stackable_window_go_home): Fix compilation warning
7321 (get_last_window): Minor optimizations
7322 (hildon_stackable_window_class_init): Fix initialization of
7325 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7327 * src/hildon-stackable-window.c: Fixed typos in doc
7329 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7331 * src/hildon-pannable-area.c
7332 (hildon_pannable_area_scroll):
7333 Calculate here whether we need to scroll instead of using the booleans
7334 that tell us whether to /draw/ the scrolling bars.
7336 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7338 * src/hildon-app-menu.h
7340 * src/hildon-app-menu.c
7341 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7342 multiple filter groups related code and API. Now we support only
7344 * examples/hildon-app-menu-example.c:
7346 Update to reflect API changes.
7348 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7350 * src/hildon-stackable-window.c
7351 (hildon_stackable_window_class_init):
7352 Add hildon_stackable_window_realize.
7353 (hildon_stackable_window_realize):
7354 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7355 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7356 to apply theming and behavior specific to HildonStackableWindow
7359 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7361 * src/hildon-note.c (hildon_note_button_release):
7362 Close information notes also when tapping on them
7364 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7366 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7367 ELASTICITY, refactor and review, fix some issues with drawing
7370 * src/hildon-pannable-area.c:
7371 (hildon_pannable_area_button_press_cb): removed the conditions to
7372 avoid clicks when overshooting. It is not required
7374 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7375 define. Refatored and reviewed the code, now we do not need to
7376 manage velocity in motion_notify.
7378 (hildon_pannable_area_motion_notify_cb): We have moved the code
7379 that controls the area_scroll to the axis_scroll function and get
7380 rid of duplicated code.
7382 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7384 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7386 (hildon_pannable_draw_vscroll),
7387 (hildon_pannable_draw_hscroll): Fixed the problems with the
7388 scrollbar drawing, now we do not use two surfaces, it is easier
7389 and saves resources.
7391 (hildon_pannable_area_get_property): Style modification.
7393 (hildon_pannable_area_class_init): Changed some default values.
7395 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7397 * src/hildon-stackable-window.c: Fix some typos in the
7400 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7402 * src/hildon-dialog.c:
7403 Change indentation style
7406 (hildon_note_button_release):
7407 Use root coordinates to check if the release event happened
7410 * src/hildon-app-menu.c
7411 (hildon_app_menu_button_release):
7412 Remove unnecessary check
7414 * examples/hildon-app-menu-example.c
7416 Add cast to fix warning
7418 * src/hildon-app-menu.c
7419 (hildon_app_menu_class_init):
7420 New inner-border style property.
7421 Set all default spacings to 16
7422 (hildon_app_menu_init):
7423 Use vertical-spacing to set the space between filter buttons and
7424 regular menu buttons.
7425 Set the default container border using the inner-border value.
7427 * examples/hildon-app-menu-example.c
7429 Don't set the menu border explicitly, now we have the inner-border
7430 style property for that.
7432 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7434 * src/hildon-app-menu.c (hildon_app_menu_init):
7435 Make the window modal
7437 * src/hildon-note.c (hildon_note_map)
7438 * src/hildon-app-menu.c (hildon_app_menu_map):
7439 Destroy the grab window if we're unable to grab the pointer
7441 * src/hildon-app-menu-private.h
7442 * src/hildon-app-menu.c
7443 (hildon_app_menu_init, hildon_app_menu_finalize)
7444 (hildon_app_menu_map, hildon_app_menu_unmap)
7445 (hildon_app_menu_button_release)
7446 (grab_transfer_window_get):
7447 Bring back the grab window
7448 (hildon_app_menu_realize):
7449 Decorate the window, set WM hint for Matchbox
7451 * src/hildon-note.c (hildon_note_realize):
7452 * src/hildon-banner.c (hildon_banner_realize):
7453 Add WM hints for Matchbox
7455 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7457 * src/hildon-app-menu-private.h
7458 * src/hildon-app-menu.c
7459 (hildon_app_menu_init, hildon_app_menu_finalize)
7460 (hildon_app_menu_map, hildon_app_menu_unmap)
7461 (hildon_app_menu_button_release):
7462 Remove the grab window, it's not needed anymore
7464 * src/hildon-program.c
7465 Fixed typo in documentation
7467 * src/hildon-app-menu.h
7468 * src/hildon-app-menu.c
7469 * examples/hildon-app-menu-example.c
7470 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7472 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7475 Added new transfer_window and close_if_pressed_outside private
7477 (hildon_note_rebuild):
7478 Don't add a cancel button to the information note. It will be
7479 closed when tapping outside
7480 Remove the comment about the OK button in the documentation
7481 (hildon_note_realize):
7482 Set the notification type hint
7483 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7484 Grab/ungrab pointer and keyboard if the note has to be closed when
7486 (hildon_note_button_release):
7487 Close the note when tapping outside (if applicable)
7489 * src/hildon-app-menu.c
7490 Grab/ungrab pointer and keyboard on map/unmap
7491 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7492 Close the menu on button release, not button press
7494 * src/hildon-banner.c
7495 (hildon_banner_set_property)
7496 (hildon_banner_check_position):
7497 Make the banner use the full width of the screen
7498 (hildon_banner_show_information)
7499 (hildon_banner_show_information_with_markup):
7500 Don't display an icon by default
7502 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7504 Added fading scrollbars and adapted all the overshooting code to
7505 horizontal scrolling. We have also fixed bugs with overshooting
7506 and current fading implementation.
7508 * src/hildon-pannable-area.c
7509 (hildon_pannable_area_scroll_indicator_fade): Time out function
7510 used to change the transparency of the scrollbars.
7512 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7513 control and fixed a problem with fading, we now remove the fade
7514 timeout before adding a new one.
7516 (hildon_pannable_axis_scroll):
7517 (hildon_pannable_area_scroll):
7518 (hildon_pannable_area_timeout): Added this functions so we can use
7519 the scroll code both for vertical and horizontal.
7521 (hildon_pannable_area_motion_notify_cb):
7522 (hildon_pannable_area_button_release_cb): Added the horizontal
7523 scrolling control, fixed a problem with the overshooting timeout.
7525 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7526 painting of the scrolls.
7528 (hildon_pannable_draw_vscroll):
7529 (hildon_pannable_draw_hscroll):
7530 (hildon_pannable_area_expose_event):
7531 Draw both scrollbars and rectangles in the overshooting area.
7533 (hildon_pannable_area_get_property):
7534 (hildon_pannable_area_set_property):
7535 Modified the overshoot property to overshoot_max
7537 (hildon_pannable_area_map):
7538 Replaced the comments symbols.
7540 (hildon_pannable_area_size_allocate):
7541 (hildon_pannable_area_class_init):
7542 (hildon_pannable_area_init): Added horizontal scroll, fading
7543 effect properties, fixed a problem when overshooting in the bottom
7546 * examples/hildon-pannable-area-example.c:
7547 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7548 looks better in the example.
7550 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7552 * src/hildon-window.c
7553 * src/hildon-window.h
7554 (hildon_window_class_init)
7555 (hildon_window_unset_program)
7556 (hildon_window_unset_program_real):
7557 Make unset_program a virtual function
7559 * src/hildon-stackable-window.c
7560 * src/hildon-stackable-window.h
7561 Added hildon_stackable_window_go_home()
7563 * examples/Makefile.am
7564 * examples/hildon-stackable-window-example.c
7565 HildonStackableWindow example
7567 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7569 * hildon-pannable-area.c: Added the overshoot property and removed
7570 the OVERSHOOT define. Fixed an indent style error.
7571 (hildon_pannable_area_motion_notify_cb):
7572 (hildon_pannable_area_get_property):
7573 (hildon_pannable_area_set_property): Add overshoot property.
7575 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7578 (hildon_pannable_area_class_init): Installed the new property.
7580 * hildon-pannable-area-example.c: Added a sawtooth function, this
7581 way it is easier to check the movement in the pannable.
7582 (get_sawtooth_label): Added this function.
7583 (main): Now we get the labels from the new get_sawtooth_label
7586 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7588 * src/hildon-app-menu.h
7589 * src/hildon-app-menu.c
7590 Renamed API variables for consistency
7592 (hildon_app_menu_popup): Use also the default window size to
7593 decide where to place the menu
7595 (hildon_app_menu_init, hildon_app_menu_class_init): New
7596 external-border style property
7598 2008-05-26 Michael Natterer <mitch@imendio.com>
7600 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7601 widget_class->tap_and_hold_setup signal slot doesn't exist any
7602 longer, stop overriding it.
7604 (hildon_time_editor_init): g_signal_connect() to the
7605 tap-and-hold-setup signal instead.
7607 (hildon_time_editor_entry_keypress): add cast to fix warning.
7609 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7611 * doc/hildon-docs.sgml
7613 * examples/Makefile.am
7614 * examples/hildon-app-menu-example.c
7616 * src/hildon-app-menu-private.h
7617 * src/hildon-app-menu.c
7618 * src/hildon-app-menu.h
7620 New HildonAppMenu widget
7622 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7624 Rearranged the inheritance of the pannable area, now it inherits
7625 from GtkBin. This will allow us to control the event_window and
7626 the allocation process of the widget, required for some effects.
7628 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7629 GtkBin structures. * src/hildon-pannable-area.c: Added the
7630 event_window variable.
7631 (hildon_pannable_area_button_press_cb):
7632 (hildon_pannable_area_button_release_cb):
7633 (hildon_pannable_area_motion_notify_cb):
7634 Changed the signature of the method, now we override the event
7635 callback instead of connecting to the signal.
7637 (hildon_pannable_area_realize):
7638 (hildon_pannable_area_unrealize):
7639 (hildon_pannable_area_map):
7640 (hildon_pannable_area_unmap):
7641 (hildon_pannable_area_size_allocate):
7642 Added functions to control the widget construction. We add a
7643 INPUT_ONLY window and we put it over the widgets inside the
7644 container, this event_window handles the events.
7646 (hildon_pannable_area_class_init):
7647 Replaced the signal connections with overrides of the event
7650 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7652 Bouncing effect added when touching the borders, you can change
7653 the elasticity of the border changing the ELASTICITY define.
7655 * src/hildon-pannable-area.c: Added ELASTICITY define.
7656 (hildon_pannable_area_timeout): Added inverse velocity when
7657 touching the border of the child widget, that causes a bounce.
7659 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7661 Improved performance, we now do not go to the X server in order to
7662 get the list of window children. Apparently the effect is the
7663 same, we have to be careful and check if this breaks something in
7666 * src/hildon-pannable-area.c:
7667 (get_ordered_children): Removed this function.
7668 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7669 the children windows function with gdk_window_get_children.
7671 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7673 * src/hildon-pannable-area.c:
7674 (hildon_pannable_area_dispose): Fixed a crash when closing the
7675 window and kinetics is activated.
7677 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7679 * src/hildon-pannable-area.h
7680 * src/hildon-pannable-area.c
7681 Changed indentation style to meet the one used in Hildon
7683 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7685 Reviewed the interaction of the AUTO mode, now we use the time
7686 attribute of the events and calculate the velocity in the motion,
7687 doing a gimp like calculation. The velocity is calculated in each
7688 motion event using the last velocity and the current one, the
7689 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7691 * src/hildon-pannable-area.c: Replaced the time based algorithm
7693 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7694 timeout for the AUTO mode when we are still moving the cursor. We
7695 added also the velocity calculation in this function.
7696 (hildon_pannable_area_button_release_cb): launch the timeout in
7697 case we are in AUTO mode. There are still some constants here that
7698 come from the old implementation that should be reviewed and
7701 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7703 * doc/hildon-docs.sgml
7706 * src/hildon-stackable-window.c
7707 * src/hildon-stackable-window.h
7709 New HildonStackableWindow widget
7711 * examples/hildon-dialog-example.c
7712 * examples/hildon-pannable-area-example.c
7715 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7717 * src/hildon-dialog.c
7718 (hildon_dialog_new_with_buttons): New constructor.
7720 * examples/hildon-dialog-example.c
7721 (main): Update the example to use the new
7722 hildon_dialog_new_with_buttons().
7724 * examples/hildon-pannable-area-example.c
7725 (main): Update example.
7727 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7729 * doc/hildon-docs.sgml
7731 Added HildonPannableArea to the documentation.
7733 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7735 * doc/visual_index.xml
7736 Fix reference to HildonLoginDialog in documentation
7738 * doc/hildon-docs.sgml
7740 * examples/Makefile.am
7741 * examples/hildon-dialog-example.c
7743 * src/hildon-dialog.c
7744 * src/hildon-dialog.h
7746 New HildonDialog widget.
7748 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7750 * src/hildon-pannable-area.c
7751 Merge latest changes (r4318, r4342) from libmokoui trunk
7753 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7755 * examples/Makefile.am
7756 * examples/hildon-pannable-area-example.c
7758 * src/hildon-pannable-area.c
7759 * src/hildon-pannable-area.h
7761 New HildonPannableArea widget.
7763 2008-04-15 18:05:19 <timj@imendio.com>
7765 * src/hildon-banner.c: revert the recent change, that introduced
7766 gtk_window_present() calls. this reopens:
7767 Bug 78481 - [freetest] information banners are hidden under browser menu
7768 But resolves another variant of:
7769 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7771 2008-04-15 13:21:13 <timj@imendio.com>
7773 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7774 recreated its layout, spotted by Kris. this fixes all remaining
7775 artefacts and stability issues with the banner code. in particular:
7776 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7778 2008-04-14 16:52:59 <timj@imendio.com>
7780 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7781 operating on unrealized widgets, fixes:
7782 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7784 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7786 2008-04-09 Kristian Rietveld <kris@imendio.com>
7788 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7789 makes banner disappear.
7790 Fixes: NB#79182: info banner flickering with certain message lengts.
7792 * src/hildon-banner.c (hildon_banner_constructor),
7793 (hildon_banner_init), (hildon_banner_set_text),
7794 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7795 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7796 FALSE, reset size requests of label and banner,
7797 (force_to_wrap_truncated): when the text is too wide, always enforce
7798 the maximum possible width instead of recalculating it from the
7799 layout; enforce the maximum banner height of 3 lines,
7800 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7801 nicer wrapping and no truncated chars if space gets tight.
7803 * src/hildon-banner-private.h: add has_been_wrapped and
7804 has_been_truncated fields.
7806 2008-04-07 Sven Herzberg <sven@imendio.com>
7808 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7809 local values in hildon_date_editor_size_allocate
7811 * src/hildon-date-editor.c: moved the real allocation code into the
7814 2008-04-07 Sven Herzberg <sven@imendio.com>
7816 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7817 local values in hildon_date_editor_size_allocate
7819 * src/hildon-date-editor.c: merged the two if() branches together
7821 2008-04-07 Sven Herzberg <sven@imendio.com>
7823 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7824 local values in hildon_date_editor_size_allocate
7826 * src/hildon-date-editor.c: changed the arguments of the if()
7829 2008-04-07 Sven Herzberg <sven@imendio.com>
7831 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7832 local values in hildon_date_editor_size_allocate
7834 * src/hildon-date-editor.c: split the calculation of the allocation
7835 from the real allocation
7837 2008-03-27 Michael Natterer <mitch@imendio.com>
7839 Fixes: NB#81696: The passcode is not overwritten even after
7842 * src/hildon-code-dialog.c
7843 (hildon_code_dialog_button_clicked)
7844 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7845 because that doesn't overwrite selected text. Instead, emit the
7846 "commit" signal on the entry's im_context so the entry's normal
7847 insert logic is triggered. Set the cursor to the end of the entry
7848 after each insert operation so that we *only* insert in the middle
7849 of the text if something was selected.
7851 2008-03-27 Michael Natterer <mitch@imendio.com>
7853 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7854 selector cannot be opened
7856 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7857 when the popup color selector is created. Please connect to this
7858 signal in order to set the dialog's help ID.
7860 2008-03-25 Sven Herzberg <sven@imendio.com>
7862 Fixes: MB#1212: Hide info banners (infoprints) on click
7864 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7865 extracted the close event simulation into an extra function
7866 (hildon_banner_button_press_event): simulate a close event and destroy
7867 the widget if the event wasn't handled
7868 (hildon_banner_class_init): added the button_press_event handler
7869 (hildon_banner_init): added button-press events to the widget
7871 2008-03-25 Sven Herzberg <sven@imendio.com>
7873 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7874 Patch from: Mohammad Anwari <mdamt@maemo.org>
7876 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7877 instead of the right in RTL mode
7878 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7879 breadcrumb button list in RTL mode
7880 * src/hildon-caption.c: mirror the appearance of the caption widget in
7882 * src/hildon-date-editor.c: mirror appearance of the date editor in
7884 * src/hildon-time-editor.c: mirror appearance of the time editor in
7886 * src/hildon-window.c: fix the position of the popup in RTL mode
7888 2008-03-25 Sven Herzberg <sven@imendio.com>
7890 Amendment to the fix of NB#22072. Fix compilation.
7892 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7894 2008-03-19 Sven Herzberg <sven@imendio.com>
7896 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7899 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7900 timeout id properly when the timeout will disappear this leaves no
7901 artifacts around in the destroy(); there will only be the timeout
7902 created by hildon_banner_ensure_timeout() and adding a new timeout
7903 will also work if the timeout gets removed because the timeout_handler
7906 2008-03-19 Michael Natterer <mitch@imendio.com>
7908 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7910 * src/hildon-volumebar.c
7911 * src/hildon-vvolumebar.c
7912 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7913 the widget becomes focussable at all.
7915 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7916 set the focus to wither the mute button or the volumebar.
7918 Remove own "can-focus" property and instead listen to
7919 notify::can-focus in order to update the widget's state.
7921 Implement GtkWidget::focus() and make sure we can also *leave* the
7922 widget, not only enter it, depending on volumebar orientation and
7923 requested focus direction.
7925 Clean up set_mute() to cooperate nicely with all the above.
7927 2008-03-04 Michael Natterer <mitch@imendio.com>
7929 Fixes: NB#78481: information banners are hidden under browser menu
7931 * src/hildon-banner.c: call gtk_window_present() on the banners so
7932 they are risen if they are already visible.
7934 2008-03-03 Sven Herzberg <sven@imendio.com>
7936 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7938 * examples/hildon-window-menu-example.c: (main): extended the window
7939 menu example to serve as a testcase for automatically added
7940 accelerator groups, too
7941 * src/hildon-window.c: (hildon_window_add_accel_group),
7942 (hildon_window_set_menu): added patch by Tommi Komulainen
7944 2008-03-03 Sven Herzberg <sven@imendio.com>
7946 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7948 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7949 knowledge about the border allocators used within GTK+
7951 2008-02-26 Sven Herzberg <sven@imendio.com>
7953 Fixes: MB#2981: Build with asserts broken
7955 * src/hildon-date-editor.c,
7956 * src/hildon-number-editor.c,
7957 * src/hildon-time-editor.c,
7958 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7959 the proper GType instance check
7961 2008-02-25 Sven Herzberg <sven@imendio.com>
7963 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7965 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7966 * examples/hildon-window-menu-example.c: (main): explicitly show
7968 * src/hildon-window.c:
7969 (hildon_window_set_main_menu): moved most of the code from set_menu()
7970 to this place; skipped the call to gtk_widget_show_all(); also didn't
7971 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7972 (hildon_window_set_menu): removed most of the code, just keep the
7973 questionable gtk_widget_show_all()
7974 * src/hildon-window.h: added the new function and deprecate the old
7977 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7983 * debian/changelog: Updating.
7985 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7988 * pkgconfig/Makefile.am:
7989 * pkgconfig/hildon.pc.in:
7992 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7993 use newly created API_MAJOR_VERSION.
7995 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8001 * debian/changelog: Updating.
8003 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8005 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8007 Add outer_border style property, we use it but don't define it (!).
8011 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8013 * examples/hildon-bread-crumb-trail-example.c (main):
8017 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8019 Fix logic for the bread crumb trail node removal.
8023 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8029 * debian/changelog: Updating.
8031 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8033 Patch by Alejandro to get/set passwords dialogs accesibility.
8035 * hildon-1/src/hildon-get-password-dialog.c:
8036 * hildon-1/src/hildon-set-password-dialog.c:
8037 Set atk_set_name to the passwd entries in order to allow
8038 accessibility by name on this entries.
8040 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8045 * debian/control: Updating gtk dep.
8047 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8049 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8050 USE_MAEMO_GTK is enabled.
8052 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8054 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8055 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8057 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8063 * debian/changelog: Updating.
8065 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8067 * examples/Makefile.am:
8068 * examples/hildon-logical-color-example.c:
8069 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8070 applied + adding a test case. Fixes: NB#71660.
8072 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8074 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8075 to be visible, fixes warning on map for windows without toolbars.
8077 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8079 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8080 2.11.0, add a check for that besides the MAEMO_GTK check.
8082 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8088 * debian/changelog: Updating.
8090 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8092 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8093 visibility. Fixes: NB#70842 and MB#615.
8095 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8097 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8098 set the separator as no-show-all so it doesn't unintentionally appear when
8099 someone does a show_all.
8101 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8103 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8104 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8105 toplevel item. Fixes: NB#62031
8107 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8109 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8110 fix the name of the function in the docs.
8112 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8118 * debian/changelog: Updating.
8120 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8122 * examples/hildon-banner-long-example.c: Adding a test-case for long
8125 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8127 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8129 * src/hildon-color-chooser-dialog.c:
8130 * src/hildon-color-chooser.c:
8131 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8132 memory leaks in font selector and color selector. Fixes: NB#70499 and
8135 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8137 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8139 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8141 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8142 little bit bigger. Fixes: #NB63694.
8144 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8150 * debian/changelog: Updating.
8152 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8155 * doc/hildon-docs.sgml:
8156 * doc/images/bread-crumb-trail.png:
8157 * doc/images/calendar-popup.png:
8158 * doc/images/caption.png:
8159 * doc/images/code-dialog.png:
8160 * doc/images/color-button.png:
8161 * doc/images/color-chooser-dialog.png:
8162 * doc/images/color-chooser.png:
8163 * doc/images/controlbar.png:
8164 * doc/images/date-editor.png:
8165 * doc/images/font-selection-dialog.png:
8166 * doc/images/get-password-dialog.png:
8167 * doc/images/hvolumebar.png:
8168 * doc/images/login-dialog.png:
8169 * doc/images/note.png:
8170 * doc/images/number-editor.png:
8171 * doc/images/range-editor.png:
8172 * doc/images/seekbar.png:
8173 * doc/images/set-password-dialog.png:
8174 * doc/images/sort-dialog.png:
8175 * doc/images/time-editor.png:
8176 * doc/images/time-picker.png:
8177 * doc/images/vvolumebar.png:
8178 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8179 Adding the bread-crumb-trial and helpers to the documentation.
8181 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8183 * examples/hildon-find-toolbar-example.c:
8184 * src/hildon-find-toolbar.c:
8185 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8186 actually continue firing the other handlers if connected. Adding a new
8188 hildon_find_toolbar_get_last_index that gets the index of the most
8189 recently added (last) item. Fixes: NB#52301.
8191 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8193 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8194 behaviour. Fixes: NB#68610.
8196 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8198 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8201 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8203 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8204 when realizing the banner. Should make the infonbanner effect a bit more
8207 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8209 * src/hildon-volumebar.c:
8210 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8211 hildon_volumebar_set_range_insensitive_message and
8212 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8214 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8216 * src/hildon-window.c: Fixing the border freeing on destroy.
8218 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8220 * src/hildon-code-dialog-private.h:
8221 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8222 kw keyboard support in HildonCodeDialog.
8224 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8230 * debian/changelog: Updating.
8232 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8234 * src/hildon-date-editor.c:
8235 * src/hildon-number-editor.c:
8236 * src/hildon-private.c:
8237 * src/hildon-private.h:
8238 * src/hildon-time-editor.c:
8239 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8240 handling in subclassed composite widgets. Fixes: NB#66628.
8242 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8244 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8245 from destroy_ callback as it introduces problems in async dbus signal
8246 handlers. Fixes NB#66673.
8248 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8250 * examples/hildon-hvolumebar-example.c:
8251 * src/hildon-volumebar.c: Improving the focus handling in the
8252 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8253 set_property accessor so that "mute" property can be actually set. I'm
8254 scared that nobody noticed it's totally broken.
8256 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8258 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8261 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8263 * src/hildon-calendar.c:
8264 * src/hildon-number-editor.c:
8265 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8266 matches the spec of 6 chars per second. Fixes: NB#60489.
8268 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8270 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8271 gtk_style_lookup_color sometime returns FALSE even though color was
8272 found and values were filled properly. Weird. Removing the warning for the
8275 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8277 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8278 expand vertically. Adding some extra space to the find toolbar buttons to
8279 make them thumbable. Fixes NB#66060.
8281 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8283 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8284 popup with "Ok" and "Cancel". Fixes NB#59299.
8286 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8288 * src/hildon-calendar.c: Process all window updates before executing next
8289 timeout. Fixes: NB#54146.
8291 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8297 * debian/changelog: Updating.
8299 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8301 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8302 the client event and ignore it, since we use the delete event to close
8305 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8307 * src/hildon-helper.c: Remove the bogus warning about color not being
8308 found. Fixes NB#58352.
8310 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8312 * examples/Makefile.am:
8313 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8314 HildonSeekbar widget inside a toolbar.
8316 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8318 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8319 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8320 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8321 don't want to be closed by non-temporary windows on map.
8323 Also use G_DEFINE_TYPE instead of manually typed code.
8325 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8332 * debian/rules: Updating.
8334 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8336 * examples/Makefile.am:
8337 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8338 bug NB#61128. Strangely it works.
8340 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8342 * src/hildon-date-editor.c: When the date editor entry has been changed
8343 but the numbers of characters < max, turn off the skip validation flag.
8344 Prevents a situation when we enter first a valid year and later re-write
8345 it with an invalid one. Fixes NB#60154.
8347 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8349 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8350 code dialog. Fixes NB#64355.
8352 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8354 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8355 switching the page. Fixes NB#49374.
8357 * examples/Makefile.am:
8358 * examples/hildon-wizard-dialog-example.c: Adding an example for
8359 HildonWizardDialog that shows how to handle manual sensitivity setting on
8362 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8366 * src/hildon-version.h.in:
8367 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8369 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8371 * src/hildon-volumebar.c: Updating the docs.
8373 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8379 * debian/changelog: Updating.
8381 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8383 * src/hildon-find-toolbar.c:
8384 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8385 selected item: hildon_find_toolbar_set_active,
8386 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8387 hildon_find_toolbar_get_active_iter . They correspond to respective
8388 GtkComboBox functions.
8390 * examples/Makefile.am:
8391 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8394 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8396 * examples/Makefile.am:
8397 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8400 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8401 when font size > 32 and we pack a focusable widget inside. Actually using
8402 the default response would work too, but since we don't show default
8403 response state in any way (no theming) it would not be visible to the
8404 user. Fixes NB#63430.
8406 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8408 * src/hildon-date-editor.c: Adding the missing variable setter in the
8409 set_property handler. Fixes NB#54182.
8411 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8413 * src/hildon-window.h: Changing the long key press time from 1500ms to
8414 800ms as requested in NB#63700. I have a bad feeling about this, let's
8415 see... Fixes NB#63700.
8417 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8419 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8420 hildon_time_picker_map, hildon_time_picker_realize,
8421 hildon_time_picker_style_set): Split the contents of map to more
8422 appropriate functions; set window decorations on realize and update
8423 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8425 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8430 * debian/changelog: Updating.
8432 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8434 * src/Makefile.am: fixed installation of the header files
8436 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8442 * debian/changelog: Updating.
8444 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8446 * configure.ac: Removing some remaining of --enable-xan.
8448 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8450 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8451 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8453 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8454 2.10.12-osso6 because the move-focus signal needs to be available in
8457 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8459 * examples/Makefile.am:
8460 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8461 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8462 fine. Prolly NB#61128 is fixed now.
8464 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8466 * src/hildon-volumebar.c:
8467 * src/hildon-volumebar.h: Adding the
8468 hildon_volumebar_set_range_insensitive_message and
8469 hildon_volumebar_set_range_insensitive_messagef functions to set
8470 insensitive message on the slider of the volumebar. Fixes NB#61129.
8472 * examples/Makefile.am:
8473 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8474 test the new insensitive messsage functionality on HildonVolumebar.
8476 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8478 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8481 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8483 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8484 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8485 button on after clearing the trail.
8487 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8489 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8491 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8493 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8494 by splitting the installed headers in generated and non-generated groups. Use
8495 only the non-generated headers to create the hildon-enum-types.h file.
8497 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8499 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8501 * src/hildon-window.c: Hide the window before performing the destroy.
8502 Should make the app closing a little tiny bit more snappy.
8504 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8506 * src/hildon-seekbar.c: add gtkrange.h header
8507 * src/hildon-caption.c: remove unused variable
8509 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8511 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8514 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8520 * debian/changelog: Updating.
8522 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8524 * src/hildon-window.c (hildon_window_window_state_event,
8525 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8526 escape timeout on focus-out-event rather than notify::is-topmost; the
8527 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8529 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8531 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8532 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8534 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8536 * src/hildon-window: actually, you need to use the macro always, there's
8537 no private pointer in the instance structure. We should have cleaned this up
8538 when we had the chance...
8540 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8542 * src/hildon-window.c: do not get the private date from HildonWindow before
8543 it passes the g_return_if_fail check. Once it's passed the test, there's no
8544 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8545 if you are only going to access the data once. Whitespace cleanups.
8547 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8549 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8550 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8552 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8558 * debian/changelog: Updating.
8560 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8562 * src/hildon-window.c: When destroying the window, remove (if exists) the
8563 escape timeout handler. Fixes #NB59276.
8565 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8567 * src/hildon-banner.c: When realizing the widget, set the window
8568 transiency. Setting the transiency in the gobject constructor is not
8569 good, as the widget is not realized at that point. Fixes: #NB56624.
8571 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8573 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8574 Add padding for future expansions.
8576 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8578 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8579 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8580 will fake an activation on the previous to the last item of the trail, so
8581 the effect can be overrided by the developer as usual.
8582 Also change the callback for the back button to do the same thing, so its
8583 effect can be overrided too. Fixes: NB#58982
8585 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8587 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8588 HildonCaption. Fixes NB#52379.
8590 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8592 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8593 the internal state of the trail after the user has had the chance of executing
8594 his handler for the signal. Specifically, it may happen that the activated button
8595 is removed and the user still lets the default handler run. This would segfault
8598 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8600 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8601 scrollbar to the preview dialog. Fixes NB#54147.
8603 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8605 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8606 max/min year properties can be altered, so the client can modify it
8607 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8609 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8611 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8612 hildonlike by default. Fixing a problem with disappearing arrows when
8613 scrolling through months and years. Fixes NB#54127.
8615 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8617 * examples/hildon-date-editor-example.c: Adding error callback to the date
8620 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8626 * configure.ac: Updating.
8628 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8630 * configure.ac: Adding a special '--enable-xan' configure option that
8631 turns off the -Werror compilation setting. Usefull for development.
8633 * src/hildon-calendar.c:
8634 * src/hildon-number-editor.c:
8635 * src/hildon-time-picker.c: Adding the 5* multiplier to
8638 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8640 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8641 instead of g_object_ref + gtk_object_sink.
8643 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8649 * debian/changelog: Updating.
8651 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8653 * src/hildon-color-chooser-dialog.c:
8654 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8655 straight from Tommi labs.
8657 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8659 * examples/hildon-finger-example.c: Correcting the header file path.
8661 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8662 the changed signal. Fixes a small memory leak.
8664 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8668 * src/hildon-banner.c: Importing several usefull fixes from the
8669 ubuntu-mobile branch.
8671 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8673 * examples/Makefile.am:
8674 * examples/hildon-finger-example.c: Adding a finger-checking code
8677 * src/hildon-font-selection-dialog.c: Do not allocate the color
8678 structure using the g_new. Fixes NB#54061.
8680 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8682 * src/hildon-helper.c: Correcting tabs in file.
8684 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8686 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8687 control the visibility of the children.
8689 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8691 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8697 * debian/changelog: Updating.
8699 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8701 * src/hildon-bread-crumb-trail.c:
8702 (hildon_bread_crumb_trail_size_allocate):
8704 Make the back button always a square.
8706 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8708 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8709 from the .c file as it's a private file.
8711 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8713 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8714 uses slightly bigger height.
8716 * src/hildon-font-selection-dialog.c: Adding some checks before
8717 freeing memory in the font selection dialog.
8719 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8721 * src/hildon-font-selection-dialog.c: Adding a small check when
8724 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8725 buttons sensitivity on page switching.
8727 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8729 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8730 internal details of adding a bread crumb to the trail.
8732 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8738 * debian/changelog: Updating.
8740 * src/hildon-bread-crumb-trail.h:
8741 * src/hildon-bread-crumb.h: Changing the API guard to
8742 HILDON_ENABLE_UNSTABLE_API.
8744 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8752 * src/hildon-helper.h: Updating.
8754 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8762 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8766 * src/hildon-helper.h: Small fix to make the package actually compile.
8768 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8770 * src/hildon-bread-crumb-trail.h:
8771 * src/hildon-bread-crumb.h:
8773 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8774 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8776 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8778 * examples/hildon-bread-crumb-trail-example.c:
8780 * src/hildon-bread-crumb-trail.c:
8781 * src/hildon-bread-crumb-trail.h:
8782 * src/hildon-bread-crumb.c:
8783 * src/hildon-bread-crumb.h:
8784 * src/hildon-marshalers.list:
8785 * src/hildon-bread-crumb-widget.c:
8786 * src/hildon-bread-crumb-widget.h:
8788 Slight change in the widget design. The bread crumb trail API is
8789 unchanged, but HildonBreadCrumb is now an interface. A *private*
8790 implementation, hildon-bread-crumb-widget, is provided and used
8791 internally by the trail for the push_text/push_icon functions.
8793 The generic push API is still available, so anyone can implement
8794 and use its own bread crumb widget.
8796 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8798 * debian/rules: Fixing the shlibs.
8800 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8802 * src/hildon-banner.c: Fixing a problem with timed banners having
8803 their parrent destroyed before they are.
8805 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8807 * src/hildon-bread-crumb.c:
8808 * src/hildon-bread-crumb.h:
8810 Make the get_natural_size function a vfunc.
8812 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8814 * src/hildon-bread-crumb.c:
8815 * src/hildon-bread-crumb-trail.c:
8819 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8826 * debian/changelog: Updating for release.
8828 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8830 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8831 don't leak the pango layout.
8833 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8836 * examples/hildon-bread-crumb-trail-example.c:
8840 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8842 * debian/changelog: Removing the bug-fixed entries that were actually
8843 resolved as WONTFIX.
8845 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8848 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8850 * src/hildon-bread-crumb-trail.c:
8851 * src/hildon-bread-crumb-trail.h:
8852 * src/hildon-bread-crumb.c:
8853 * src/hildon-bread-crumb.h:
8857 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8859 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8860 until it's passed the type check.
8862 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8864 * examples/hildon-bread-crumb-trail-example.c
8868 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8870 * examples/Makefile.am
8871 * examples/hildon-bread-crumb-trail-example.c
8873 * src/hildon-bread-crumb-trail.c
8874 * src/hildon-bread-crumb-trail.h
8875 * src/hildon-bread-crumb.c
8876 * src/hildon-bread-crumb.h
8878 New HildonBreadCrumbTrail widget.
8880 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8882 * src/hildon-range-editor.c (hildon_range_editor_init),
8883 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8884 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8885 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8886 hildon_time_editor_class_init, hildon_time_editor_init),
8887 src/hildon-get-password-dialog.c (invalid_input,
8888 hildon_get_password_set_property, hildon_get_password_get_property,
8889 create_contents, hildon_get_password_dialog_set_max_characters),
8890 src/hildon-set-password-dialog.c (create_contents),
8891 src/hildon-date-editor.c (hildon_date_editor_init),
8892 src/hildon-login-dialog.c (hildon_login_dialog_init),
8893 src/hildon-number-editor.c (hildon_number_editor_init),
8894 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8895 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8896 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8897 configure option and adding the respective checks in the code.
8898 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8899 hildon_calendar_drag_data_received): fixed some build warnings.
8901 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8903 * debian/changelog: A 1.0.0 release notes.