1 2009-06-16 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
4 Set a different widget name to notes in portrait mode, for them to
7 Partially fixes: NB#118401 (HildonNote causes unnecessary
10 2009-06-16 Alberto Garcia <agarcia@igalia.com>
12 * hildon/hildon-note.c (hildon_note_class_init)
13 (+hildon_note_size_request, screen_size_changed):
14 Always request the full width of the screen.
16 Fixes: NB#118375 (unnecessary rescaling of images)
18 2009-06-16 Alejandro G. Castro <alex@igalia.com>
20 * hildon/hildon-pannable-area.c,
21 (hildon_pannable_area_init),
22 (hildon_pannable_area_realize): Replaced old code adding flags in
23 the object init, now we add it with the other flags in the realize
26 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
28 * hildon/hildon-note.c: (hildon_note_class_init): Several
29 documentation improvements to the HildonNote widget.
31 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
33 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
35 Fixes: MB#4556 (HildonNoteType is undocumented)
37 2009-06-15 Alberto Garcia <agarcia@igalia.com>
39 * hildon/hildon-picker-button.c:
40 Explain how HildonPickerButton sets the title of its dialog
42 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
43 the title of its dialog)
45 2009-06-15 Alberto Garcia <agarcia@igalia.com>
47 * hildon/hildon-check-button.c:
50 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
53 2009-06-15 Alberto Garcia <agarcia@igalia.com>
56 * hildon/hildon-edit-toolbar-private.h
57 * hildon/hildon-edit-toolbar.c
58 (+hildon_edit_toolbar_set_progress_indicator)
59 (hildon_edit_toolbar_init): Add progress indicator to the
63 (hildon_gtk_window_set_progress_indicator):
64 If the window contains a HildonEditToolbar, enable the progress
67 * hildon/hildon-private.h
68 * hildon/hildon-private.c
69 (+hildon_private_create_animation)
70 * hildon/hildon-banner.c
71 (-hildon_banner_create_animation):
72 Moved to hildon-private.c
74 Fixes: NB#102373 (Progress indicator also for the Edit mode
77 2009-06-15 Alberto Garcia <agarcia@igalia.com>
79 * hildon/hildon-app-menu-private.h
80 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
81 (hildon_app_menu_add_filter, +menu_item_button_event)
82 (hildon_app_menu_button_release, hildon_app_menu_init):
83 Make sure that buttons receive 'button-release-event' in spite of
84 the grab held by HildonAppMenu
86 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
88 2009-06-15 Alberto Garcia <agarcia@igalia.com>
90 * hildon/hildon-app-menu.c
91 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
92 New style property to set the size of the group of filter buttons.
94 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
96 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
101 * configure.ac: Bump version.
102 * debian/changelog: Updates.
104 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
106 * hildon/hildon-main.c: Minor documentation fixes.
108 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
110 * doc/hildon-sections.txt:
111 * hildon/hildon-defines.h: Document the defines, organize them,
112 and mark deprecations as such.
114 Fixes: MB#4463 (Hildon size #defines are undocumented)
116 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
118 * hildon/hildon-animation-actor.c:
119 * hildon/hildon-app-menu.c:
120 * hildon/hildon-button.c:
121 * hildon/hildon-date-editor.c:
122 * hildon/hildon-dialog.c:
123 * hildon/hildon-edit-toolbar.c:
124 * hildon/hildon-entry.c:
125 * hildon/hildon-program.c:
126 * hildon/hildon-remote-texture.c:
127 * hildon/hildon-stackable-window.c:
128 * hildon/hildon-text-view.c:
129 * hildon/hildon-touch-selector.c:
130 * hildon/hildon-window-stack.c:
131 * hildon/hildon-window.c:
133 Remove redundant "represents" wording from most of the documentation.
135 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
137 2009-06-12 Alberto Garcia <agarcia@igalia.com>
142 * hildon/hildon-banner-private.h
143 * hildon/hildon-banner.c:
144 Move HildonBannerPrivate to hildon-banner.c and remove
145 hildon-banner-private.h
146 Use a bit field to store private booleans.
148 2009-06-12 Alberto Garcia <agarcia@igalia.com>
150 * hildon/hildon-app-menu.c (hildon_app_menu_map):
151 Don't install a new idle function if there's already one
156 2009-06-11 Alberto Garcia <agarcia@igalia.com>
158 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
159 (+legacy_menu_realized, +legacy_menu_unmapped)
160 (+set_legacy_menu_type):
161 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
162 they can be identified by the window manager.
164 Fixes: NB#101437 (Invoking CSM on the left side of page area is
165 displayed in wrong location)
167 Fixes: MB#4563 (Popup menu won't locate at the left side of the
170 2009-06-11 Alberto Garcia <agarcia@igalia.com>
172 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
174 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
177 2009-06-11 Alberto Garcia <agarcia@igalia.com>
179 * hildon/hildon-code-dialog.c
180 * hildon/hildon-date-editor.c
181 * hildon/hildon-number-editor.c
182 * hildon/hildon-seekbar.c
183 * hildon/hildon-stackable-window.c
184 * hildon/hildon-window.c:
185 Misc documentation updates
187 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
189 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
190 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
192 Fixes: NB#117931 (Theming issues in accounts dialogs)
194 2009-06-09 Alejandro G. Castro <alex@igalia.com>
196 * hildon/hildon-pannable-area.c,
197 (hildon_pannable_area_button_release_cb): Changed the coordinates
198 of the original release in case we want to discard the release,
199 some widgets in Fremantle do not handle the leave-notify.
201 2009-06-09 Alejandro G. Castro <alex@igalia.com>
203 * hildon/hildon-pannable-area.c,
204 (hildon_pannable_area_button_release_cb): Reviewed the logic of
205 the release using the last refactored functions and avoiding the
206 movement if an element was selected.
208 2009-06-09 Alejandro G. Castro <alex@igalia.com>
210 * hildon/hildon-pannable-area.c,
211 (hildon_pannable_area_check_move),
212 (hildon_pannable_area_handle_move),
213 (hildon_pannable_area_motion_notify_cb): Refactored the
214 motion_notify method using a couple of new functions.
216 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
218 * hildon/hildon-date-selector.c:
219 (hildon_date_selector_construct_ui):
220 * hildon/hildon-time-selector.c:
221 (hildon_time_selector_constructor):
222 * hildon/hildon-touch-selector-entry.c:
223 (hildon_touch_selector_entry_set_text_column),
224 (hildon_touch_selector_entry_get_text_column):
225 * hildon/hildon-touch-selector.c: (_default_print_func),
226 (hildon_touch_selector_new_text): Use
227 hildon_touch_selector_set/get_text_column() instead of
228 setting/getting the "text-column" property.
230 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
232 * doc/hildon-sections.txt: Add the new public methods below.
234 * examples/hildon-picker-button-multicolumn-example.c:
235 (create_touch_selector):
236 * examples/hildon-touch-selector-example.c: (create_selector):
237 * examples/hildon-touch-selector-multi-cells-example.c:
239 Use hildon_touch_selector_column_set_text_column()
241 * hildon/hildon-touch-selector-column.h:
242 * hildon/hildon-touch-selector.c:
243 (hildon_touch_selector_column_set_text_column),
244 (hildon_touch_selector_column_get_text_column):
245 Make hildon_touch_selector_column_set/get_column() public, use
246 them in the inline example, document them, and reference to them
249 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
251 * hildon/hildon-time-selector.c: Fix the docs for
252 hildon_time_selector_new_step().
254 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
256 * hildon/hildon-touch-selector.c: Improve the documentation for
257 hildon_touch_selector_append_column().
259 Fixes MB#4641 (Documentation:
260 hildon_touch_selector_append_column() ref-counting)
262 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
264 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
265 Comment out test 5, since the hildon_controlbar_set_range() range
266 check is broken and fixing it would have side effects. Also,
267 this finally fixes make distcheck.
269 Fixes: NB#101420 (Update unit tests and fix make distcheck)
271 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
273 * tests/TEST-CASES.txt: Remove other bogus test.
274 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
275 Remove bogus test that was setting/retrieving a valid value.
277 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
279 * tests/TEST-CASES.txt: Remove bogus tests.
280 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
281 Remove three bogus tests that were actually setting valid colors.
283 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
285 * configure.ac: post release version bump
286 * debian/changelog: post release version bump
288 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
293 * configure.ac: Bump version.
294 * debian/changelog: Updates.
296 2009-06-08 Christian Dywan <christian@lanedo.com>
300 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
301 Correct errors in hildon_format_file-size_for_display and use
302 translations from the hildon-fm package instead of osso-filemanager.
304 2009-06-08 Alejandro G. Castro <alex@igalia.com>
306 * hildon/hildon-pannable-area.c,
307 (hildon_pannable_area_init): Initialized new values to handle the
309 (hildon_pannable_area_adjust_value_changed): Check if the values
310 changed before even call the redraw function.
311 (hildon_pannable_area_size_allocate),
312 (hildon_pannable_axis_scroll),
313 (hildon_pannable_area_scroll),
314 (hildon_pannable_area_jump_to): Improved the diagonal movement
317 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
320 2009-06-08 Alberto Garcia <agarcia@igalia.com>
322 * examples/hildon-banner-example.c:
323 Several style updates
324 (on_animation_clicked, on_animation_idle)
325 (on_progress_clicked, on_progress_idle):
326 Add additional reference for the cases when the parent window is
329 2009-06-08 Alberto Garcia <agarcia@igalia.com>
331 * doc/hildon-sections.txt
332 * hildon/hildon-pannable-area.c
333 * hildon/hildon-banner.h
334 * hildon/hildon-banner.c: Documentation updates.
336 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
339 2009-06-05 Alejandro G. Castro <alex@igalia.com>
341 * hildon/hildon-calendar-popup.h:
342 * hildon/hildon-caption.h:
343 * hildon/hildon-code-dialog.h:
344 * hildon/hildon-controlbar.h:
345 * hildon/hildon-date-editor.h:
346 * hildon/hildon-dialog.h:
347 * hildon/hildon-get-password-dialog.h:
348 * hildon/hildon-hvolumebar.h:
349 * hildon/hildon-login-dialog.h:
350 * hildon/hildon-note.h:
351 * hildon/hildon-number-editor.h:
352 * hildon/hildon-range-editor.h:
353 * hildon/hildon-seekbar.h:
354 * hildon/hildon-set-password-dialog.h:
355 * hildon/hildon-sort-dialog.h:
356 * hildon/hildon-time-editor.h:
357 * hildon/hildon-time-picker.h:
358 * hildon/hildon-volumebar-range.h:
359 * hildon/hildon-volumebar.h:
360 * hildon/hildon-vvolumebar.h:
361 * hildon/hildon-weekday-picker.h:
362 * hildon/hildon-window.h:
363 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
364 macros with the current replacements
366 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
368 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
370 * hildon/hildon-color-button.c (hildon_color_button_init): Use
371 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
372 itself, to make it fit better with Fremantle style.
374 Fixes: NB#109878 (height and width of focus on color icon is not
375 consistent with other item in the application tool bar)
377 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
379 * hildon/hildon-touch-selector.c:
380 (hildon_touch_selector_optimal_size_request): use the current requisition
381 as the base, in order to include any possible extra widget, like the
382 hildon entry on HildonTouchSelectorEntry
384 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
386 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
388 * configure.ac: post release version bump
389 * debian/changelog: post release version bump
391 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
396 * configure.ac: Bump version.
397 * debian/changelog: Updates.
399 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
401 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
403 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
404 to ensure the banner contents are centered, instead of relying on
405 the expand and fill properties in GtkHBox.
406 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
408 Fixes: NB#108265 (Animation banner not properly centered)
410 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
412 * hildon/hildon-pannable-area.c
413 (hildon_pannable_area_initial_effect): Remove the initial_effect
414 management, check initial_hint
415 (hildon_pannable_are_expose_event): Remove the initial_hint management,
416 set initial_effect to FALSE
417 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
418 by launching the fade_timeout if the scrollbars state has changed and are
420 * examples/hildon-pannable-area-initial-hint-example.c
421 Modified to allow to remove rows too. Add and remove rows one by one.
423 2009-05-28 Alberto Garcia <agarcia@igalia.com>
425 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
426 Don't close the menu if there's an animation actor below it.
428 Fixes: NB#117927 (Application menu not usable with animation
431 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
433 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
434 "focus-on-click" from the dialog button, to avoid stealing the
435 focus from the entry.
437 Fixes: NB#118903 (Account setup wizard: Text in Search field
438 should be focused when "Region" touch list picker is reopened
441 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
443 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
444 (prepare_action_area): Completely hide the dialog separator.
446 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
448 * hildon/hildon-touch-selector-entry.c
449 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
450 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
451 now that the entry is exposed.
453 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
455 * hildon/hildon-touch-selector-entry.c
456 (hildon_touch_selector_entry_init): Change the entry's size
457 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
459 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
461 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
462 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
463 avoid unnecessary scaling.
465 2009-05-27 Alberto Garcia <agarcia@igalia.com>
467 * hildon/hildon-app-menu.c (hildon_app_menu_map):
468 Create grab transfer window before calling parent's map function.
470 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
471 "crushed" button(s) in the top left corner)
473 2009-05-26 Alberto Garcia <agarcia@igalia.com>
475 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
476 Check if the window is already realized when pushing it.
478 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
480 * configure.ac: post release version bump
481 * debian/changelog: post release version bump
483 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
488 * configure.ac: Bump version.
489 * debian/changelog: Updates.
491 2009-05-25 Alberto Garcia <agarcia@igalia.com>
493 * hildon/hildon-app-menu.c: Doc updates.
495 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
497 * hildon/hildon-banner.c: Remove leftover macro.
499 2009-05-25 Alejandro G. Castro <alex@igalia.com>
501 * hildon/hildon-pannable-area.c,
502 (hildon_pannable_area_scroll_indicator_fade),
503 (hildon_pannable_area_button_release_cb): Reviewed vmin
504 conditions, it could cause problems in the fadeout procedure.
506 2009-05-25 Alejandro G. Castro <alex@igalia.com>
508 * hildon/hildon-pannable-area.c
509 (hildon_pannable_area_button_release_cb): Added a threshold to
510 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
512 2009-05-25 Alejandro G. Castro <alex@igalia.com>
514 * hildon/hildon-pannable-area.c,
515 (hildon_pannable_area_set_property): Added code to sync the gtk
516 dnd threshold with the panning threshold.
518 2009-05-25 Alejandro G. Castro <alex@igalia.com>
520 * hildon/hildon-pannable-area.c,
521 (hildon_pannable_area_class_init): Changed some of the default
522 values, now it should be less responsive and more accurate.
524 2009-05-25 Alejandro G. Castro <alex@igalia.com>
526 * hildon/hildon-pannable-area.c,
527 (hildon_pannable_area_init),
528 (hildon_pannable_area_scroll_indicator_fade),
529 (hildon_pannable_area_button_press_cb),
530 (hildon_pannable_axis_scroll),
531 (hildon_pannable_area_timeout),
532 (hildon_pannable_area_motion_notify_cb),
533 (hildon_pannable_area_button_release_cb): Changed the name of the
534 clicked attribute to button_pressed, it is more clear about its use.
536 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
538 * src/hildon-pannable-area.c
539 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
541 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
542 vertical scrollbar visibility, and use the data on private section instead,
543 remove the initial_hint check
544 (hildon_pannable_area_expose_event): add the initial_hint check here
546 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
548 * src/hildon-pannable-area.c
549 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
550 if the fadeout effect was used
551 (hildon_pannable_area_expose_event): check if it is required to
552 manage the initial effect on the begining of the function. Previously
553 it was made at the end, but this doesn't ensure that the scrollbars
554 will be painted on the first show. Do not set to FALSE initial_effect,
555 to ensure that the initial hint is showed the first time the pannable
557 * examples/Makefile.am
558 * examples/hildon-pannable-area-initial-hint-example.c:
559 New example, to show that the initial-hint is showed when the widget
562 Fixes: NB#116607 (Pannable area should always have scrollbar visible
563 initially if the application can be scrolled)
565 2009-05-25 Alberto Garcia <agarcia@igalia.com>
567 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
568 Resize table before adding new items to make sure that
569 gtk_table_resize() is called just once.
571 2009-05-25 Alberto Garcia <agarcia@igalia.com>
573 * hildon/hildon-app-menu-private.h
574 * hildon/hildon-app-menu.c (item_visibility_changed)
575 (filter_visibility_changed, hildon_app_menu_show_all)
576 (hildon_app_menu_hide_all, hildon_app_menu_init):
577 Rearrange items just once when gtk_widget_show_all()/hide_all()
580 2009-05-25 Alberto Garcia <agarcia@igalia.com>
582 * hildon/hildon-app-menu.c
583 (hildon_app_menu_insert, hildon_app_menu_add_filter):
584 Don't call gtk_widget_show() on added items.
586 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
587 automatically when they're added)
589 2009-05-20 Alberto Garcia <agarcia@igalia.com>
591 * hildon/hildon-banner.c
592 (hildon_banner_realize, +hildon_banner_unrealize)
593 (+screen_size_changed, hildon_banner_class_init):
594 Redisplay the banner if the screen is rotated.
596 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
597 on transition from landscape to portrait)
599 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
601 * hildon/hildon-banner.[ch]:
602 (hildon_banner_show_information_override_dnd): remove icon_name from the
603 method definition as it is ignored.
604 * examples/hildon-banner-dnd-example.c: updated with the change on
607 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
609 * hildon/hildon-banner-private.h: new require_override_dnd and
610 overrides_dnd variables
611 * hildon/hildon-banner.h:
612 (hildon_banner_show_information_override_dnd): new method, that shows
613 the information but sets the override flag, in order to show important
615 * hildon/hildon-banner.c
616 (hildon_banner_show_information_override_dnd): new method
617 (hildon_banner_set_override_flag): new utility function
618 (hildon_banner_real_show_information): new utility function, in order to
619 generalize the current hildon_banner_show_information_override_dnd and
620 hildon_banner_show_information_override_dnd
621 * examples/Makefile.am
622 * examples/hildon-banner-dnd-example.c: New example that show how to
623 use the new hildon_banner_show_information_override_dnd
625 Fixes: NB#114874 (There is no possibility to show hildon banners with
628 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
630 * hildon/hildon-pannable-area.c: Add a comment explaining the math
631 behind hildon_pannable_calculate_vel_factor().
633 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
635 * hildon/hildon-pannable-area.c
636 (hildon_pannable_calculate_vel_factor): Correct the sum of the
637 deceleration factors.
639 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
641 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
642 Reduce the default value for 'scroll_time' to 1 second, since the
643 current initial scrolling takes too much time.
645 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
647 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
648 calculate velocity factor during initialization, since the properties
651 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
653 * hildon/hildon-pannable-area.c
654 (hildon_pannable_area_set_property): Calculate the velocity factor
655 after setting the deceleration property and not after.
657 2009-05-20 Alberto Garcia <agarcia@igalia.com>
659 * hildon/hildon-entry.c
660 (hildon_entry_class_init, +set_property, hildon_entry_new)
661 * hildon/hildon-check-button.c
662 (hildon_check_button_class_init)
663 (+set_property, hildon_check_button_new):
664 Make the theme size a property.
666 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
667 others) do too much in the _new function)
669 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
671 * configure.ac: post release version bump
672 * debian/changelog: post release version bump
674 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
679 * configure.ac: Bump version.
680 * debian/changelog: Updates.
682 2009-05-15 Alberto Garcia <agarcia@igalia.com>
684 * hildon/hildon-gtk.h
685 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
686 New API function to take a screenshot of a window
688 Fixes: NB#106374 (Need API to take a loading screenshot)
690 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
692 * hildon/hildon-time-selector.c
693 (update_format_policy): prevent to use hours and minutes unitialized
695 2009-05-15 Alberto Garcia <agarcia@igalia.com>
697 * hildon/hildon-window.c (hildon_window_size_request):
698 Always request the full size of the screen (minus the title bar if
699 not in fullscreen mode).
701 Fixes: NB#107486 (HildonWindow should size itself properly)
703 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
705 * hildon/hildon-note-private.h: Add idle_handler to the private data.
706 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
707 (on_show_cb), (sound_handling): Disconnect the idle handler for
708 the sound when the note is finalized to avoid possible crashes.
710 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
713 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
715 * src/hildon-animation-actor.c,
716 * src/hildon-remote-texture.c:
717 Added proper object cleanup to remove signal handler and object
718 references as HildonAnimationActor and HildonRemoteTexture
719 objects get destroyed.
721 Fixes: NB#116682 (Destroying parented animation actors when
722 parent in unmapped leads to crash)
724 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
726 Based on a patch by Christian Dywan (christian@imendio.com)
728 * doc/hildon-sections.txt:
729 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
730 * hildon/hildon-helper.h: New file size formatting method.
732 * debian/control: Depend on osso-filemanager l10n package for
733 proper localization strings.
735 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
737 * tests/Makefile.am: Include top_srcdir to make possible to build
738 tests in a different builddir.
739 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
740 on a different builddir.
742 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
744 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
745 (hildon_touch_selector_remove): Disconnect model's signal handler
748 Fixes: NB#116289 (Hildon home crashes while adding task
751 2009-05-11 Alberto Garcia <agarcia@igalia.com>
753 * hildon/hildon-button.c
754 (hildon_button_set_title, hildon_button_set_value):
755 Hide labels containing an empty string.
757 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
759 * configure.ac: post release version bump
760 * debian/changelog: post release version bump
762 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
767 * configure.ac: Bump version.
768 * debian/changelog: Updates.
770 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
772 * hildon/hildon-note-private.h: Removed sound_signal_handler
773 * hildon/hildon-note.c
774 (on_show_cb): new callback on note "show" event, this simply adds
775 a idle, with the function sound_handling
776 (sound_handling): removed the sound_signal_handler management
777 (hildon_note_init): connect note "show" event to on_show_cb
778 (hildon_note_realize): remove the connection to "expose-event"
780 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
781 device?' confirmation note)
783 2009-05-08 Alberto Garcia <agarcia@igalia.com>
785 * hildon/hildon-note.c
786 (hildon_note_new_information_with_icon_name)
787 (hildon_note_new_confirmation_with_icon_name):
788 Terminate the list of parameters in g_object_set() calls
790 Fixes: NB#115166 (Formatting memory card is not taking place)
792 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
794 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
795 "dialog-information" role for the sound being played.
797 2009-05-06 Alberto Garcia <agarcia@igalia.com>
799 * hildon/hildon-app-menu.c (hildon_app_menu_init):
800 Don't make the menu a modal window, it causes strange interactions
801 with the pointer grab and it's not really needed.
803 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
805 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
807 * hildon/hildon-touch-selector.[ch]
808 (hildon_touch_selector_optimal_size_request): function added to get a
809 optimal size request from the touch selector, when you want a dialog to
810 show as much of the selector
811 * hildon/hildon-picker-dialog.c:
812 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
813 (hildon_app_menu_class_init):
814 New "max-height-landscape" and "max-height-portrait" style properties
815 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
816 (hildon_picker_dialog_get_max_height): returns the maximum height using
817 the style properties defined and checking the current portrait/landscape
819 (_hildon_picker_dialog_set_selector): removed the set_size_request
821 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
823 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
825 * hildon/hildon-bread-crumb-trail.c:
826 * hildon/hildon-bread-crumb.c:
827 * hildon/hildon-seekbar.c:
828 Add reference to replacements for these deprecated widgets.
830 Fixes: MB#4461 (Documentation: All deprecations should mention
833 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
835 * examples/hildon-remote-texture-example.c
837 Change the include to the hildon-remote-texture in order to compile
838 properly the examples on the installed libhildon1-examples package
840 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
842 * tests/Makefile.am: Add check for HildonPickerButton.
843 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
844 (START_TEST), (create_hildon_picker_button_suite): Add three simple
845 checks for the HildonPickerButton.
846 * tests/check_test.c (configure_tests): Add the test suite.
847 * tests/test_suites.h: likewise.
849 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
851 * hildon/hildon-touch-selector.c
852 (+on_row_changed): Emit HildonTouchSelector:changed when the
853 contents of a selected row change.
854 (_create_new_column), (_hildon_touch_selector_set_model): connect
855 to GtkTreeModel:row-changed on a newly set model.
857 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
859 2009-05-05 Alberto Garcia <agarcia@igalia.com>
861 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
863 * hildon/hildon-banner.c (hildon_banner_destroy)
864 (hildon_banner_show_progress, hildon_banner_set_fraction):
865 Remove the progress bar from HildonBanner and use a progress
868 Fixes: NB#113761 (Update progress banner to use progress
871 2009-05-04 Alberto Garcia <agarcia@igalia.com>
873 * hildon/hildon-banner.c:
874 Calculate size of the banner label using the actual screen width
875 rather than using a fixed value.
877 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
880 2009-05-04 Alejandro G. Castro <alex@igalia.com>
882 * hildon/hildon-pannable-area.c,
883 (hildon_pannable_area_class_init): Fixed signals documentation
886 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
888 * configure.ac: post release version bump
889 * debian/changelog: post release version bump
891 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
896 * configure.ac: Bump version.
897 * debian/changelog: Updates.
899 2009-05-01 Alberto Garcia <agarcia@igalia.com>
901 * hildon/hildon-edit-toolbar.c
902 (hildon_edit_toolbar_init):
903 Don't let buttons in HildonEditToolbar receive focus.
905 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
906 typing on an HW arrows key)
908 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
910 * doc/Makefile.am: Fix build.
912 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
914 * doc/Makefile.am: Do not redefine content_files.
916 2009-04-30 Alberto Garcia <agarcia@igalia.com>
924 Renamed src/ to hildon/
929 Include <hildon/hildon.h> directly in all examples.
931 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
933 * src/hildon-sort-dialog.c
934 (hildon_sort_dialog_add_sort_key_with_sorting)
938 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
940 * src/Makefile.am: Move generated sources to CLEANFILES, so that
941 make distcheck passes.
943 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
945 * Makefile.am: Enable gtk-doc during distcheck.
947 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
949 * Makefile.am: Do not distribute the debian/ directory.
951 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
953 * doc/Makefile.am: Add the extra SGML files to content_files,
954 so that they are distributed properly.
956 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
958 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
961 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
963 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
964 (hildon_note_new_information_with_icon_name): Set the "icon" property
965 to preserve soundness.
967 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
969 * src/hildon-font-selection-dialog.c
970 (hildon_font_selection_dialog_set_property): Fail when the "family"
971 property is set to NULL.
973 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
975 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
978 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
980 * src/hildon-time-selector.h:
981 Added HildonTimeSelectorFormatPolicy
982 * src/hildon-time-selector.c:
983 Added PROP_TIME_FORMAT_POLICY
984 (_check_ampm_format): renamed to check_automatic_ampm_format
985 (update_format_policy), (update_format_dependant_columns): new functions
986 (hildon_time_selector_class_init)
987 (hildon_time_selector_contructor)
988 (hildon_time_selector_init)
989 (hildon_time_selector_get_property)
990 (hildon_time_selector_set_property)
991 (hildon_time_selector_get_time)
992 (hildon_time_selector_set_time)
993 * src/hildon-touch-selector.h: new file
994 * src/hildon-touch-selector.c
995 (hildon_touch_selector_emit_changed)
996 (hildon_touch_selector_block_changed)
997 (hildon_touch_selector_unblock_changed)
998 Added functions to allow to block the emission of the "changed" signal
999 * src/hildon-picker-dialog.c
1000 (hildon_picker_dialog_show): call the parent show before the custom code
1001 * examples/hildon-time-button-example.c
1002 Modified, so now you can configure the time format using the new property
1004 Added a new property "time-format-policy" that allow to choose the time
1005 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1006 case it uses gconf in order to check if the time selector must use
1009 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1012 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1014 * src/hildon-note.c (hildon_note_init):
1015 Label in HildonNote must be left aligned, not centered. This
1016 reverts the last commit in HildonNote.
1018 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1019 is connectivity dialog)
1021 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1026 * doc/hildon-sections.txt:
1027 Added hildon_gtk_window_set_do_not_disturb()
1029 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1031 * src/hildon-note.c (hildon_note_init): Center label.
1033 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1036 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1041 * configure.ac: Bump version.
1042 * debian/changelog: Updates.
1044 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1046 * src/hildon-note-private.h: Add button-width to the private data.
1047 * src/hildon-note.c (+resize_button),
1048 (+hildon_note_orientation_update): methods to repack widgets on orientation
1050 (screen_size_changed): Call above method for confirmation notes.
1051 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1052 (hildon_note_rebuild): Store the original width request from buttons.
1054 Fixes: NB#109635 (Confirmation notes do not support portrait)
1056 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1058 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1059 when it is a progress note.
1061 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1063 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1064 in the note, since there are no horizontally arranged contents.
1066 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1068 * src/hildon-gtk.c (+set_flag): new generic method to
1069 set/delay a flag setting in a window.
1070 (hildon_gtk_window_set_progress_indicator):
1071 (hildon_gtk_window_set_do_not_disturb),
1072 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1073 avoid code redundance.
1075 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1077 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1079 * src/hildon-gtk.c (set_clear_window_flag),
1080 (do_set_progress_indicator), (do_set_do_not_disturb),
1081 (do_set_portrait_flags),
1082 (hildon_gtk_window_set_progress_indicator),
1083 (hildon_gtk_window_set_do_not_disturb),
1084 (hildon_gtk_window_set_portrait_flags):
1085 Allow setting dnd-flag, progress indicator, and portrait flags
1086 when the window is not realized.
1088 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1090 * src/hildon-pannable-area.c,
1091 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1092 the size request policy function and defines.
1094 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1096 * doc/hildon-sections.txt: Add the new API.
1097 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1098 method to set the portrait flags.
1099 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1101 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1103 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1105 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1106 to allow using this method with other flags.
1107 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1108 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1110 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1112 * src/hildon-touch-selector.c
1113 (hildon_touch_selector_append_text_column):
1114 Make the cell renderer use the smallest width possible.
1116 Fixes: NB#108470 (Selected items in multiple selection are either
1117 having a tick that is cut or not visible at all.)
1119 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1121 * src/hildon-touch-selector.c
1122 (hildon_touch_selector_append_text_column):
1125 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1127 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1128 Use g_strdup_printf() instead of a fixed size buffer.
1130 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1132 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1133 Close banners when a HildonAppMenu is popped up.
1135 Fixes: NB#111027 (Title menu closed immediately if activated when
1136 "Invalid e-mail address" banner is shown)
1138 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1143 * configure.ac: Bump version.
1144 * debian/changelog: Updates.
1146 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1148 * src/hildon-banner.c (hildon_banner_realize):
1149 Mark HildonBanner as supporting portrait mode.
1150 Use GDK to set window properties insetad of direct Xlib calls.
1152 Fixes: NB#111830 (HildonBanner should be marked as supporting
1155 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1157 * src/hildon-note.c (hildon_note_rebuild):
1158 Hide action area in information notes. Prevents text from being
1159 slightly aligned to the left.
1161 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1164 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1166 Patch by Mox Soini (ext-mox.soini@nokia.com)
1168 * src/hildon-banner.c (hildon_banner_create_animation):
1169 Use stylus-sized icons in animation banner.
1171 Fixes: NB#111206 (stylus sized icon for animation banner)
1173 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1177 (+hildon_gtk_window_set_do_not_disturb):
1178 New API to set the do-not-disturb flag.
1180 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1182 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1184 * examples/hildon-progress-indicator-example.c: Fix example
1186 * src/hildon-gtk.c (set_clear_window_flag)
1187 (hildon_gtk_window_set_progress_indicator):
1188 Create a generic function for setting flags to a window.
1189 Use GDK instead of direct Xlib calls.
1191 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1193 * src/hildon-button.c (hildon_button_set_arrangement):
1194 Due to NB#88126, if one of the labels is too long it will be
1195 painted outside the button. The 'value' label is more likely to be
1196 the longest one, so we change its packing options in order to
1197 truncate it if necessary. As a side effect, the 'title' label will
1198 no longer be truncated.
1200 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1202 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1207 * configure.ac: Bump version.
1208 * debian/changelog: Updates.
1210 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1212 Deprecation of the hildon_pannable_area_set_size_request_policy
1213 API, the only policy properly supported in gtk+ nowadays is the
1216 * src/hildon-pannable-area.c,
1217 (hildon_pannable_area_size_request): Added a workaround for the
1218 size_request to avoid the problems of huge pixmaps in case someone
1219 is still using the function.
1220 * src/hildon-pannable-area.h: Deprecated the enum with the
1223 Fixes: NB#110244 (Problems with the
1224 hildon_pannable_area_set_size_request_policy API)
1226 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1228 * src/hildon-pannable-area.c,
1229 (hildon_pannable_area_init),
1230 (hildon_pannable_area_size_request),
1231 (hildon_pannable_area_style_set),
1232 (hildon_pannable_draw_vscroll),
1233 (hildon_pannable_draw_hscroll),
1234 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1235 indicator_width to clarify the use of the attribute.
1237 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1242 * configure.ac: Bump version.
1243 * debian/changelog: Updates.
1245 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1247 * src/hildon-picker-dialog.c
1248 * src/hildon-touch-selector.c
1249 Reverting the change that tried to avoid the hardcoded height on
1250 the picker dialog, as causes problems on the hildon-touch-selector
1253 Fixes: NB#110029 (selectors not scrolling to selected value)
1255 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1257 * src/hildon-touch-selector.c: Fix typos
1259 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1261 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1262 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1263 request more motions after using it.
1265 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1267 * src/hildon-calendar.c (hildon_calendar_expose),
1268 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1269 Remove unused variables.
1271 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1273 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1274 variable assignment.
1276 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1278 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1279 Check the return value of gtk_tree_selection_get_selected()
1282 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1284 * src/hildon-animation-actor.c
1285 * src/hildon-button.c
1287 * src/hildon-pannable-area.c
1288 * src/hildon-picker-button.c
1289 * src/hildon-program.c
1290 * src/hildon-remote-texture.c
1291 * src/hildon-text-view.c
1292 * src/hildon-touch-selector.c
1293 * src/hildon-window-stack.c
1294 * src/hildon-window.c:
1295 Add missing 'Since: 2.2' tags.
1297 * doc/hildon-sections.txt:
1298 Add some missing symbols.
1300 * doc/hildon-docs.sgml:
1301 New 'Other' section for HildonAnimationActor and
1304 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1306 Patch by Iván Gómez (igomez@igalia.com)
1309 * doc/compiling.sgml
1310 * doc/hildon-docs.sgml
1311 * doc/hildon-sections.txt
1312 * doc/migration.sgml
1313 * doc/resources.sgml
1315 New chapters on using the Hildon library.
1316 Updated the general structure of the reference manual.
1317 Other minor documentation fixes.
1319 * src/hildon-calendar-popup.c
1320 * src/hildon-calendar.c
1321 * src/hildon-controlbar.c
1322 * src/hildon-date-editor.c
1323 * src/hildon-dialog.c
1324 * src/hildon-hvolumebar.c
1325 * src/hildon-number-editor.c
1326 * src/hildon-range-editor.c
1327 * src/hildon-sort-dialog.c
1328 * src/hildon-time-editor.c
1329 * src/hildon-time-picker.c
1330 * src/hildon-volumebar-range.c
1331 * src/hildon-volumebar.c
1332 * src/hildon-vvolumebar.c
1333 * src/hildon-weekday-picker.c:
1334 Add deprecation notes
1336 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1337 Document 'horizontal-movement' and 'vertical-movement' signals.
1339 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1344 * configure.ac: Bump version.
1345 * debian/changelog: Updates.
1347 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1349 * src/hildon-pannable-area.c,
1350 (hildon_pannable_area_class_init): increased the minimum velocity.
1351 (hildon_pannable_area_button_release_cb): Updated the
1352 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1353 setup. Review the code to control that last event.
1355 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1358 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1360 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1362 * src/hildon-get-password-dialog.c
1363 (hildon_get_password_set_property),
1364 (hildon_get_password_get_property), (create_contents):
1365 * src/hildon-login-dialog-private.h:
1366 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1367 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1368 (hildon_login_dialog_get_password):
1369 * src/hildon-set-password-dialog-private.h:
1370 * src/hildon-set-password-dialog.c
1371 (hildon_set_password_set_property),
1372 (hildon_set_password_get_property), (create_contents),
1373 (hildon_set_password_response_change),
1374 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1376 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1377 instead and look more Fremantle style.
1379 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1381 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1383 * doc/hildon-sections.txt
1384 * src/hildon-window-stack.h
1385 * src/hildon-window-stack.c
1386 (+hildon_window_stack_get_windows):
1387 New API to obtain the list of windows on a stack.
1389 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1391 * src/hildon-app-menu.c (hildon_app_menu_popup)
1392 (hildon_app_menu_class_init, -hildon_app_menu_show):
1393 Remove hildon_app_menu_show() and move all its checks to
1394 hildon_app_menu_popup()
1396 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1398 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1399 (_hildon_picker_dialog_set_selector): removed call to
1400 gtk_widget_set_size_request
1401 * src/hildon-touch-selector.c
1402 (_create_new_column): change the pannable size request policy
1404 Avoid to use a hardcoded height for the hildon picker dialog. In order
1405 to get that, we needed to change the hildon pannable size request
1407 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1409 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1411 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1412 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1415 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1417 * debian/control: Depend on osso-system-lock localization package.
1418 * src/hildon-code-dialog.c: Obtain the secu_application_title
1419 translation from osso-system-lock.
1420 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1421 for translation the atk related strings, that's not necessary.
1422 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1423 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1424 cancel button, it is not required.
1426 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1428 * src/hildon-pannable-area.c,
1429 (hildon_pannable_area_class_init): Modified the default value of
1430 the overshooting max speed, we have reduced it.
1432 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1434 * doc/hildon-sections.txt
1435 * src/hildon-window-private.h
1436 * src/hildon-window.h
1437 * src/hildon-window.c (hildon_window_class_init)
1438 (hildon_window_init, hildon_window_finalize)
1439 (hildon_window_realize, hildon_window_get_property)
1440 (hildon_window_set_property, hildon_window_update_markup)
1441 (hildon_window_get_markup, hildon_window_set_markup):
1442 New "markup" property and hildon_window_{get,set}_markup() methods.
1444 * examples/hildon-stackable-window-example.c (new_window):
1445 Update example to use hildon_window_set_markup()
1447 Fixes: NB#106375 (Need API to retitle a window with a title
1450 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1452 * src/hildon-pannable-area.c,
1453 (hildon_pannable_area_class_init): Changed the default value of
1454 the initial_hint to TRUE.
1455 (hildon_pannable_area_initial_effect): Changed the initial effect,
1456 not the effect is just the fade-out of the scrollbars.
1458 Fixes: NB#107775 (No scrollbars can be seen when several items are
1459 available in a dialog)
1461 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1463 * src/hildon-program.c (hildon_program_update_top_most):
1466 Fixes: NB#109179 (Memory leak in Hildon program)
1468 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1470 * src/hildon-banner.c (-get_current_app_window):
1471 Remove unused function.
1473 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1475 * src/hildon-pannable-area.c: Modified the documentation of the
1476 get adjustments functions to explain the problem of using the
1477 adjustment directly.
1478 (hildon_pannable_area_class_init): Improved the explanation about
1481 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1483 * src/hildon-app-menu-private.h
1484 * src/hildon-app-menu.c
1485 (hildon_app_menu_class_init):
1486 Bring back the 'external-border' style property
1487 (hildon_app_menu_class_init, hildon_app_menu_init)
1488 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1489 Set a fixed width-request for the menu, independent of the number
1492 Fixes: NB#94957 (Smoothly opened application menu)
1494 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1496 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1498 * src/hildon-banner.c
1499 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1501 Make sure that the banner is correctly placed the first time it's
1503 (hildon_banner_check_position, -check_fullscreen_state):
1504 Show the banner in the same place no matter if the window is in
1505 fullscreen mode or not.
1507 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1509 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1511 * src/hildon-touch-selector.c (_default_print_func): reorder
1512 concatenation for clarity.
1514 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1516 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1517 for multicolumn selectors.
1519 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1521 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1526 * configure.ac: Bump version.
1527 * debian/changelog: Updates.
1529 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1531 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1534 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1536 * configure.ac: removed libcangerra-gtk dependency
1537 * debian/control: removed libcanberra-gtk dependency
1538 * src/Makefile.am: removed libcanberra gtk related flags
1539 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1540 context, and manage a global canberra context instead
1542 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1544 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1546 Patch by Daniel Borgmann (danielb@openismus.com)
1548 * src/hildon-edit-toolbar.c:
1549 Adjust the left padding.
1550 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1551 Paint background of the edit toolbar.
1553 Fixes: NB#107897 (Patch to make editmodetoolbar background
1554 themeable and adjust margin)
1556 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1558 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1560 * src/hildon-program.c (hildon_program_update_top_most):
1561 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1563 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1564 change when the user tasks in/out of an application)
1566 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1568 * configure.ac: added libcangerra-gtk dependency
1569 * debian/control: added libcanberra-gtk dependency
1570 * src/Makefile.am: added libcanberra gtk related flags
1571 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1574 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1576 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1578 * src/hildon-program.c (hildon_program_remove_window)
1579 (hildon_program_add_window): Add checks for the window
1580 parameter. Don't decrease the window counter if the window is not
1583 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1585 * src/hildon-pannable-area.c,
1586 (hildon_pannable_area_realize): Fixed position of the event_window
1587 in the realize method.
1589 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1591 * src/hildon-app-menu-private.h
1592 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1593 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1594 (hildon_app_menu_key_press, hildon_app_menu_init)
1595 (hildon_app_menu_finalize):
1596 Make sure that all idle functions are removed when the widget is
1599 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1601 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1606 * configure.ac: Bump version.
1607 * debian/changelog: Updates.
1609 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1611 * src/hildon-entry.c
1612 (+hildon_entry_show_placeholder),
1613 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1614 that replace hildon_entry_update_contents().
1615 (hildon_entry_set_text),
1616 (hildon_entry_set_placeholder),
1617 (hildon_entry_focus_in_event),
1618 (hildon_entry_focus_out_event): Determine when it is needed
1619 either to show or hide the placeholder and call the above methods.
1621 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1622 when the placeholder text is already set)
1624 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1626 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1627 simple GdkPixbufAnim using the new icons for the banner.
1628 (hildon_banner_show_animation): Use the above mentioned method to
1629 create the animation widget.
1631 Fixes: NB#103564 (Make hildon animation banner use individual
1632 image files as the animation)
1634 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1636 * src/hildon-pannable-area.c,
1637 (hildon_pannable_leave_notify_event): Check if the child is NULL
1638 to avoid sending the leave.
1640 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1642 * src/hildon-pannable-area.c,
1643 (hildon_pannable_area_class_init),
1644 (hildon_pannable_leave_notify_event): Added a handler of the
1645 leave-notify-signal to consider when no motion notify before
1648 Fixes: NB#107494 (Items stay selected when clicking and moving
1649 away when inside pannable area)
1651 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1656 * configure.ac: Bump version.
1657 * debian/changelog: Updates.
1659 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1661 Patch by Alberto Garcia (agarcia@igalia.com)
1663 * src/hildon-date-button.c,
1664 (hildon_date_button_class_init),
1665 (hildon_date_button_init): Removed the construct property handling
1666 and created a default selector in the init method.
1667 * src/hildon-picker-button.c,
1668 (hildon_picker_button_class_init): Removed the construct flag of the
1671 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1673 * src/hildon-main.c (hildon_init):
1674 Don't allow hildon_init() to be called more than once.
1676 Fixes: NB#106607 (hildon_init should issue error message upon
1679 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1681 * examples/hildon-pannable-area-touch-list-example.c
1682 * examples/hildon-pannagle-area-touch-grid-example.c
1683 * examples/hildon-edit-toolbar-example.c
1684 * examples/hildon-touch-selector-multi-cells-example.c
1685 Removed the call to gtk_rc_parse_string, as it is not required since
1688 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1690 * src/hildon-pannable-area.c,
1691 (hildon_pannable_area_class_init): Modified the default panning
1692 threshold of the widget to 6px.
1694 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1695 than the threshold value ) within the button is not sending the
1698 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1700 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1701 for the treeview in the new column. This way, the touch list will never
1704 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1705 be selected manually for the HW keys to work)
1707 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1709 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1710 comparison instead of using strcmp(). Fixes a compiler warning as well.
1712 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1714 * doc/hildon-docs.sgml: Do not set the library version in the
1715 document title, use the releaseinfo tag for that purpose instead.
1717 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1719 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1720 Do not jump to the first item if the text in the entry is removed.
1722 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1727 * configure.ac: Bump version.
1728 * debian/changelog: Updates.
1730 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1732 * src/hildon-entry.c (hildon_entry_refresh_contents):
1733 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1734 Use "ReversedSecondaryTextColor" for the placeholder text.
1736 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1738 * src/hildon-text-view.c: Fix compilation warning.
1740 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1742 * src/hildon-button.c (hildon_button_class_init): Don't make
1743 "title" and "value" construction properties, to prevent them from
1744 overwriting labels set from derived classes.
1746 * src/hildon-picker-button.c
1747 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1748 (hildon_picker_button_class_init): Make touch-selector a
1749 construction property.
1751 * src/hildon-date-button.c (hildon_date_button_class_init)
1752 (+hildon_date_button_constructed): Add a default date selector if
1755 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1757 * src/hildon-touch-selector.c: Small documentation fixes.
1759 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1761 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1763 * src/hildon-entry.c (hildon_entry_refresh_contents),
1764 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1765 widget name, set the logical color directly instead and a boolean
1766 showing_placeholder instead.
1767 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1768 use the widget name here either.
1770 Fixes: NB#105678 (HildonTextView should use logical colours
1771 instead of setting widget name)
1773 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1775 Patch by Daniel Elster (danielk@openismus.com)
1777 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1778 Add user_data parameter.
1779 (hildon_touch_selector_set_print_func_full): New function akin
1780 hildon_touch_selector_set_print_func() but with support for user
1781 data and a destroy callback.
1782 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1783 to clean up the print function user data.
1784 (hildon_touch_selector_class_init): Install dispose function.
1785 (HildonTouchSelectorPrivate::print_user_data),
1786 (HildonTouchSelectorPrivate::print_destroy_func): New private
1788 (hildon_touch_selector_init): Initialize new private members.
1789 (hildon_touch_selector_get_current_text): Pass along user data
1790 to the print function.
1791 (_default_print_func): Add dummy user_data to parameter list.
1792 * hildon-date-selector.c (_custom_print_func): ditto,
1793 * hildon-time-selector.c (_custom_print_func): ditto,
1794 * hildon-touch-selector-entry.c
1795 (hildon_touch_selector_entry_print_func): ditto.
1797 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1799 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1801 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1803 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1805 * src/hildon-pannable-area.c,
1806 (hildon_pannable_area_init),
1807 (hildon_pannable_area_button_press_cb),
1808 (hildon_pannable_area_motion_notify_cb): We have added code to
1809 handle the leave and enter events when using the motion events.
1811 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1813 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1815 * src/hildon-date-button.c (hildon_date_button_get_date)
1816 (hildon_date_button_set_date): Make sure that the button has a
1819 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1821 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1823 * src/hildon-pannable-area.c,
1824 (hildon_pannable_area_class_init),
1825 (hildon_pannable_area_calculate_velocity): Modify the use of the
1826 force and adapt the value.
1828 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1830 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1831 (hildon_app_menu_class_init): Hide the menu if it receives a
1832 delete-event, but don't destroy it
1834 Fixes: NB#104485 (Not able to address the call when application
1835 menu is opened at background)
1837 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1839 * src/hildon-app-menu.c
1840 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1841 Remove the "external-border" style property, let the menu take its
1842 natural size (or the one set by the window manager)
1843 (hildon_app_menu_repack_items):
1844 Don't reshow the menu, avoid flickers.
1846 Partially fixes NB#94957 (Smoothly opened application menu)
1848 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1853 * configure.ac: Bump version.
1854 * debian/changelog: Updates.
1856 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1858 * src/hildon-pannable-area.c,
1859 (hildon_pannable_area_motion_notify_cb): We control that the
1860 direction error margin is used just in case the movement is
1861 allowed in the other direction.
1863 Fixes: NB#105012 (buttons inside a pannable area not getting
1864 release event when dragging/releasing)
1866 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1868 * src/hildon-pannable-area.c,
1869 (hildon_pannable_area_class_init),
1870 (hildon_pannable_area_get_property),
1871 (hildon_pannable_area_set_property),
1872 (hildon_pannable_area_initial_effect),
1873 (hildon_pannable_axis_scroll),
1874 (hildon_pannable_area_button_release_cb): Reviewed the
1875 overshooting effect, now it has its own max
1876 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1877 speed when bouncing.
1879 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1884 * configure.ac: Bump version.
1885 * debian/changelog: Updates.
1887 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1889 * src/hildon-pannable-area.c,
1890 (hildon_pannable_area_class_init): Changed the max speed, now
1891 users can launch the widget very fast. Reduced the default force,
1892 that way it is easier to control the launch speed.
1894 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1896 * src/hildon-pannable-area.c,
1897 (hildon_pannable_area_button_release_cb): Removed this check
1898 because it causes problems when the device is overloaded.
1900 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1902 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1903 add a current_text field to store the text entered in the
1904 touch selector entry.
1905 (_clean_current_selection): clean up the current text as well.
1906 (_save_current_selection), (_restore_current_selection):
1907 Save/restore the text in the entry if the selector is a
1908 HildonTouchSelectorEntry.
1910 Fixes: NB#102541 (value entered in the touch selector entry is not
1911 shown when opened for second time)
1913 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1915 * doc/hildon-sections.txt:
1916 * src/hildon-touch-selector-entry.c
1917 (+hildon_touch_selector_entry_get_entry):
1918 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1920 Fixes: NB#104815 (I need accessor to the entry inside
1921 HildonTouchSelectorEntry)
1923 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1925 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1926 (hildon_app_menu_class_init):
1927 New "filter-vertical-spacing" style property.
1929 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1931 * src/hildon-find-toolbar.c
1932 (hildon_find_toolbar_emit_close)
1933 (hildon_find_toolbar_emit_invalid_input)
1934 (hildon_find_toolbar_entry_activate):
1935 Use g_signal_emit() instead of g_signal_emit_by_name()
1937 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1939 Patch by Mox Soini (ext-mox.soini@nokia.com)
1941 * tests/TEST-CASES.txt
1942 * tests/check-hildon-banner.c
1943 * tests/check-hildon-note.c
1944 * src/hildon-banner.c
1945 * src/hildon-code-dialog.c
1946 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1947 * src/hildon-time-editor.c
1948 * examples/hildon-lookup-example.c (main):
1949 Replace obsolete icon names with new ones.
1951 * src/hildon-find-toolbar-private.h:
1952 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1953 (-hildon_find_toolbar_emit_search):
1954 Remove find button and change icon of close button.
1956 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1958 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1960 * src/hildon-time-button.c (hildon_time_button_new_step):
1961 Use the "touch-selector" property to set the selector directly
1962 when creating the object.
1964 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1966 Added a new example application that allows tuning the pannable
1967 area and replaced defines with properties in order to simplify the
1968 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1969 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1970 PROP_DIRECTION_ERROR_MARGIN.
1972 * examples/hildon-pannable-area-tuning-example.c: New example
1974 * src/hildon-pannable-area.c,
1975 (hildon_pannable_area_class_init),
1976 (hildon_pannable_area_init),
1977 (hildon_pannable_area_get_property),
1978 (hildon_pannable_area_set_property),
1979 (hildon_pannable_area_launch_fade_timeout),
1980 (hildon_pannable_area_adjust_value_changed),
1981 (hildon_pannable_axis_scroll),
1982 (hildon_pannable_area_motion_notify_cb),
1983 (hildon_pannable_area_scroll_cb),
1984 (hildon_pannable_area_button_release_cb): We have converted some
1985 of the defines that control the widget to properties to simplify
1988 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1990 * src/hildon-app-menu.c (hildon_app_menu_map)
1991 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1992 so it's closed if a new window appears.
1994 Fixes: NB#104485 (Not able to address the call when application
1995 menu is opened at background)
1997 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1999 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2000 missing 'break' statement in in 'case' construct to avoid
2003 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2005 * src/hildon-touch-selector-entry.c
2006 (hildon_touch_selector_entry_get_property),
2007 (hildon_touch_selector_entry_set_property): Add missing 'break'
2008 statements in in 'case' constructs to avoid incorrect warnings.
2010 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2012 * src/hildon-time-editor.c
2013 (hildon_time_editor_get_time_separators): Do not crash if
2014 the first label is NULL.
2016 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2018 * src/hildon-date-selector.c (_month_days): Check for month to be
2019 strictly less than 12, since otherwise we may overrun the array.
2021 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2023 * src/hildon-date-button.c (+hildon_date_button_new_full)
2024 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2025 (hildon_date_button_init): Set the date selector using a
2026 construction property, to make it happen after HildonButton's
2027 "value" property is set.
2029 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2030 current date by default)
2032 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2034 * doc/hildon-sections.txt
2035 * src/hildon-program.c
2036 * src/hildon-stackable-window.c
2037 * src/hildon-window.c:
2038 Documentation updates
2040 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2042 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2043 (hildon_window_stack_new, +hildon_window_stack_set_property)
2044 (+hildon_window_stack_get_property)
2045 (hildon_window_stack_class_init)
2046 (+hildon_window_stack_set_window_group)
2047 (+hildon_window_stack_get_window_group):
2048 Make the window group a construction property.
2050 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2052 * doc/hildon-sections.txt
2053 * src/hildon-stackable-window-private.h
2054 * src/hildon-stackable-window.h
2055 * src/hildon-stackable-window.c
2056 (-hildon_stackable_window_set_app_menu)
2057 (-hildon_stackable_window_get_app_menu)
2058 (-hildon_stackable_window_toggle_menu)
2059 (-hildon_stackable_window_finalize)
2060 (hildon_stackable_window_class_init)
2061 (hildon_stackable_window_init)
2062 * src/hildon-window-private.h
2063 * src/hildon-window.h
2064 * src/hildon-window.c (hildon_window_init)
2065 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2066 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2067 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2068 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2069 Moved all HildonAppMenu code to HildonWindow. The menu does not
2070 require a HildonStackableWindow anymore.
2072 * src/hildon-app-menu.c
2073 * src/hildon-program.c
2074 * examples/hildon-app-menu-example.c (main):
2075 Update examples and documentation to reflect HildonAppMenu
2078 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2080 * src/hildon-remote-texture.c
2081 * src/hildon-animation-actor.c:
2082 Don't include unused private headers.
2084 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2086 * src/hildon-program-private.h
2087 * src/hildon-program.c
2088 (hildon_program_set_common_menu)
2089 (hildon_program_get_common_menu)
2090 (hildon_program_set_common_app_menu)
2091 (hildon_program_get_common_app_menu):
2092 Change common menu pointers from GtkWidget* to GtkMenu* and
2093 HildonAppMenu* to avoid unnecessary casts.
2095 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2097 * src/hildon-window.c (hildon_window_set_main_menu):
2098 Removed incorrect 'Since:' tag
2100 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2102 * src/hildon-pannable-area.c,
2103 (hildon_pannable_area_calculate_velocity): We use now the
2104 RATIO_TOLERANCE here to check the distance, fixed typo in the
2106 (hildon_pannable_area_motion_notify_cb): We have to set the type
2107 and time even if we are not sending the motion.
2109 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2111 * doc/hildon-sections.txt
2112 * src/hildon-app-menu.h
2113 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2114 (+hildon_app_menu_get_filters): New methods to get the contents of
2117 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2120 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2122 * src/hildon-app-menu.c (hildon_app_menu_popup):
2125 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2127 * src/hildon-window.h
2128 * src/hildon-window.c (+hildon_window_get_main_menu)
2129 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2130 and deprecated hildon_window_get_menu().
2132 * src/hildon-stackable-window.h
2133 * src/hildon-stackable-window.c
2134 (+hildon_stackable_window_set_app_menu)
2135 (+hildon_stackable_window_get_app_menu)
2136 (hildon_stackable_window_set_main_menu): Created
2137 hildon_stackable_window_{get,set}_app_menu() and deprecated
2138 hildon_stackable_window_set_main_menu().
2140 * doc/hildon-sections.txt
2141 * examples/hildon-app-menu-example.c (main)
2142 * src/hildon-app-menu.c
2143 * src/hildon-program.c:
2144 Updated examples and documentation.
2146 Fixes: NB#103758 (No way to obtain a menu from a
2147 HildonStackableWindow)
2149 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2154 * configure.ac: Bump version.
2155 * debian/changelog: Updates.
2157 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2159 * examples/hildon-remote-texture-example.c: Include
2160 hildon-remote-texture.h explicitely.
2161 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2162 applications not defining _XOPEN_SOURCE which don't require this header.
2164 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2166 * doc/hildon-sections.txt
2167 * src/hildon-app-menu.h
2168 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2169 New function to pop up a HildonAppMenu
2171 * src/hildon-stackable-window.c
2172 (hildon_stackable_window_toggle_menu):
2173 Use hildon_app_menu_popup() to show the menu.
2175 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2177 * src/hildon-app-menu.c (hildon_app_menu_show)
2178 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2179 menu if there's another window between it and its parent window.
2181 Fixes: NB#100468 (Application menu window is launched even when a
2182 new secondary-window/dialog is pending to be shown/realized)
2184 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2186 * src/hildon-window-stack.c (hildon_window_stack_push)
2187 (hildon_window_stack_pop_and_push):
2188 Don't forget to push/pop the first window.
2189 Reverse the window list before calling _push_list()
2191 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2193 * src/hildon-picker-button.h
2194 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2195 Remove "value_changed" slot to avoid ABI breakage
2197 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2199 * src/hildon-pannable-area.c,
2200 (hildon_pannable_area_realize),
2201 (hildon_pannable_area_unrealize),
2202 (hildon_pannable_draw_vscroll),
2203 (hildon_pannable_draw_hscroll): Changed the method to handle the
2204 GC used to draw the transparent scrollbar, this way we avoid
2205 creating the GC all the time when drawing the scrollbars.
2207 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2209 * src/hildon-pannable-area.c,
2210 (hildon_pannable_area_init),
2211 (hildon_pannable_area_remove): Removed some unnecessary casts.
2212 (hildon_pannable_area_dispose): Disconnected some signals before
2213 releasing the adjustments.
2215 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2217 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2218 Make sure that all widgets contained in the toolbar are shown.
2220 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2222 * doc/hildon-sections.txt
2223 * src/hildon-picker-button.h
2224 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2225 (_selection_changed, hildon_picker_button_on_dialog_response)
2226 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2227 New hildon_picker_button_value_changed() method.
2230 * src/hildon-picker-button-private.h
2231 * src/hildon-picker-button.c (hildon_picker_button_init)
2232 (+hildon_picker_button_disable_value_changed): Add protected
2233 function for disabling the "value-changed" signal.
2235 * src/hildon-date-button.c (hildon_date_button_set_date):
2236 Don't emit "value-changed" for each one of the three columns.
2238 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2239 before actual change of values)
2241 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2243 * src/hildon-pannable-area.c,
2244 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2245 for the treeview overshooting.
2247 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2249 * src/hildon-banner.c (+hildon_banner_bind_style):
2250 Renamed from hildon_banner_bind_label_style(), now naming the
2251 banner itself as well.
2252 (hildon_banner_show_information),
2253 (hildon_banner_show_information_with_markup),
2254 (hildon_banner_show_animation), (hildon_banner_show_progress):
2255 Name the widgets and labels, based on their type.
2257 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2260 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2262 * src/hildon-note.c (hildon_note_set_property): call
2263 hildon_note_rename() on HildonNote:note-type set.
2264 (hildon_note_rename): Name the note and its label, based on the
2265 HildonNote:note-type property.
2267 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2270 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2272 * src/hildon-pannable-area.c,
2273 (hildon_pannable_area_class_init),
2274 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2275 panning parameters, increased SPS and deceleration factor. Added
2276 also a margin to control fake directions.
2278 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2280 Patch by Sven Herzberg (sven@imendio.com)
2282 * configure.ac: Add missing AM_PROG_CC_C_0
2283 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2285 See NB#101420 (Update unit tests and fix make check)
2287 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2289 This patch was applied before but reverted because it caused
2290 problems, we have changed the main condition and tested the
2291 regressions we detected before and they work ok. We have done a
2292 complete review of the topmost algorithm in order to get a more
2295 * src/hildon-pannable-area.c,
2296 (hildon_pannable_area_get_topmost): Added a new parameter to
2297 filter the the windows that do not include those events.
2298 (hildon_pannable_area_button_press_cb),
2299 (hildon_pannable_area_button_release_cb),
2300 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2301 topmost function, we have added the new parameter.
2303 Fixes: NB#97458 (Pannable area prevents propagation of button
2306 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2308 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2309 if all columns in the selector have an item selected.
2310 (_on_dialog_response): Stop "response" signal emission if there is
2311 any selector column without selected items.
2313 Fixes: NB#101889 (Picker dialog should not close when nothing is
2314 selected in multiple selection list)
2316 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2318 * src/hildon-font-selection-dialog.c
2319 (hildon_font_selection_dialog_class_init),
2320 (hildon_font_selection_dialog_init): Remove the preview
2321 button and dialog, since previewing with default theming is likely
2322 to be overcomplicated. The :preview property has now no effect.
2323 Update documentation blurbs to inform about this.
2325 Fixes: NB#92297 (Preview content is not clearly visible for
2326 default colour text)
2328 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2330 Reviewed the geometry that handles the children size and
2331 scrollbar, now it tries a size and reviews the results depending
2332 on the scrollbars visibility.
2334 * src/hildon-pannable-area.c,
2335 (hildon_pannable_area_realize): Fixed a typo.
2336 (hildon_pannable_area_child_allocate_calculate): Added this
2337 function to calculate the child allocation.
2338 (hildon_pannable_area_size_allocate): Reviewed the allocation
2340 (hildon_pannable_area_check_scrollbars),
2341 (hildon_pannable_area_refresh): Refactored refresh function, this
2342 way we can call the code handling the scrollbars without causing a
2343 size_request, it is interesting in the allocate.
2344 (hildon_pannable_area_init): Replace the callbacks of the
2345 value_changed and changed signals to propertly deal with the
2347 (hildon_pannable_area_grab_notify),
2348 (hildon_pannable_area_initial_effect),
2349 (hildon_pannable_area_launch_fade_timeout),
2350 (hildon_pannable_area_adjust_changed),
2351 (hildon_pannable_area_adjust_value_changed),
2352 (hildon_pannable_area_redraw),
2353 (hildon_pannable_area_button_press_cb),
2354 (hildon_pannable_area_button_release_cb),
2355 (hildon_pannable_area_scroll_cb),
2356 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2357 code and use the new functions adjust_changed and
2358 adjust_value_changed.
2360 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2361 Contact editor dialog)
2363 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2368 * configure.ac: Bump version.
2369 * debian/changelog: Updates.
2371 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2373 * src/hildon-pannable-area.c,
2374 (hildon_pannable_area_get_topmost),
2375 (hildon_pannable_area_button_press_cb),
2376 (hildon_pannable_area_button_release_cb),
2377 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2378 topmost function adding the event mask. We have to try a
2379 differente approach because it is still causing problems (NB#9745,
2382 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2384 * src/hildon-banner.c:
2385 Update the maximum width of timed banners.
2386 (force_to_wrap_truncated): Enforce the maximum text width if the
2389 Fixes: NB#102413 (The text margins (wrapping) in information
2390 banner should be HILDON_MARGIN_TRIPLE)
2392 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2394 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2396 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2397 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2398 bound when calculating the scroll indicator position.
2400 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2401 treat ->lower correctly)
2403 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2405 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2406 expose event handling, since it is not necessary to draw the focus
2409 Fixes: NB#102467 (Do not show highlight on the text in
2412 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2414 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2415 full height of the toolbar for the button and the label.
2417 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2419 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2420 padding before the label and after the button.
2422 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2424 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2426 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2427 Add a GtkVSeparator between the button and the back arrow.
2428 Let the button have automatic size.
2429 Set a name to the widget for theming handling.
2431 Fixes: NB#101793 (Make edit toolbar the same height as window
2432 title bar (use title area theming))
2434 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2436 * src/hildon-helper.c (attach_new_color_element): Fix memory
2439 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2441 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2443 * examples/hildon-button-example.c (common_buttons_window): Don't
2446 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2448 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2449 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2451 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2453 * src/hildon-gtk.c: Check that the window is realized.
2455 Fixes: NB#102225 (Crash setting the progress indicator to a non
2458 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2460 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2461 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2462 instead of modifying the one in the widget style.
2464 Fixes: NB#101043 (Second row of all the command button are
2465 displayed in transparent mode.)
2467 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2469 * src/hildon-date-button.c
2470 * src/hildon-time-button.c: Add gettext macros
2472 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2474 * src/hildon-date-button.c (hildon_date_button_new):
2475 * src/hildon-time-button.c (hildon_time_button_new_step):
2476 Use new logical strings to set the button default title.
2478 Fixes: NB#99915 (Date and Time options are not localised in Date
2481 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2483 * src/hildon-pannable-area.c
2484 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2485 the PANNING_THRESHOLD.
2487 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2489 * src/hildon-pannable-area.c,
2490 (hildon_pannable_area_class_init): Increased the maximum speed.
2491 (hildon_pannable_area_get_property),
2492 (hildon_pannable_area_set_property),
2493 (hildon_pannable_area_timeout): Added a new low friction mode, it
2494 allows the user avoid friction when launching the widget fast
2495 enough. It is interesting to traverse long lists.
2497 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2499 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2500 (+hildon_stackable_window_delete_event): Ignore delete events if
2501 the window is not the topmost one.
2503 Fixes: NB#101698 (Back button long press and delete-event handling)
2505 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2507 * src/hildon-pannable-area.c,
2508 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2509 gtk-dnd-drag-threshold, it was too big. We have defined our own
2510 dnd define and set a smaller value: PANNIG_THRESHOLD.
2512 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2514 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2515 user-defined icons, use always the default one.
2517 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2519 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2521 This patch was applied before but reverted because it caused
2522 problems, we have changed the main condition and tested the
2523 regressions we detected before and they work ok.
2525 * src/hildon-pannable-area.c,
2526 (hildon_pannable_area_get_topmost): Added a new parameter to
2527 filter the the windows that do not include those events. Added
2528 also a condition when finding the window to filter windows that do
2529 not ask for those events.
2530 (hildon_pannable_area_button_press_cb),
2531 (hildon_pannable_area_button_release_cb),
2532 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2533 topmost function, we have added the new parameter.
2535 Fixes: NB#97458 (Pannable area prevents propagation of button
2538 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2540 * tests/check-hildon-color-button.c (START_TEST): do not leak
2543 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2545 * src/hildon-font-selection-dialog.c
2546 (hildon_font_selection_dialog_get_preview_text): Return NULL
2547 instead of FALSE on the g_return_val_if_fail().
2549 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2551 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2552 * src/hildon-date-selector.c
2553 (hildon_date_selector_select_current_date):
2554 Do not compare unsigned integers to be greater than or equal 0,
2555 because it's always TRUE.
2557 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2559 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2560 (hildon_date_selector_constructor): Do not select the current
2561 date until we are handle the "changed" signal, to avoid having bogus
2562 elements in the days model.
2564 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2566 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2567 for num_days, since _month_days() can return a negative value.
2569 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2571 * src/hildon-caption.c (hildon_caption_size_allocate):
2572 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2573 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2575 Initialize allocation variables to 0, to avoid eventually using
2576 unitialized variables.
2578 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2580 * src/hildon-bread-crumb-trail.c
2581 (hildon_bread_crumb_trail_size_allocate):
2582 * src/hildon-calendar.c (hildon_calendar_set_background):
2583 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2584 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2585 * src/hildon-seekbar.c (hildon_seekbar_init):
2586 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2587 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2588 * src/hildon-touch-selector-entry.c
2589 (hildon_touch_selector_get_text_from_model):
2590 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2591 * src/hildon-window.c (hildon_window_finalize):
2593 Remove many unused variables.
2595 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2597 * src/hildon-seekbar.c: (hildon_seekbar_init),
2598 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2600 Remove unnecessary g_assert() calls.
2602 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2604 * src/hildon-caption.c: (hildon_caption_expose),
2605 (hildon_caption_set_property), (hildon_caption_init),
2606 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2607 (hildon_caption_size_request), (hildon_caption_size_allocate),
2608 (hildon_caption_forall), (hildon_caption_set_separator),
2609 (hildon_caption_activate), (hildon_caption_set_child_expand),
2610 (hildon_caption_set_label_text),
2611 (hildon_caption_get_label_alignment):
2613 Remove unnecessary g_assert() calls.
2615 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2617 * src/hildon-banner.c
2618 (hildon_banner_map, hildon_banner_init): Make banner temporary
2619 before mapping it to avoid closing other temporary windows, but
2620 make it non-temporary afterwards to avoid being closed by other
2621 non-temporary windows.
2622 (-hildon_banner_client_event, hildon_banner_init):
2623 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2625 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2628 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2630 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2633 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2635 * src/hildon-remote-texture.c
2636 * src/hildon-remote-texture.h
2637 * src/hildon-remote-texture-private.h
2638 * examples/hildon-remote-texture-example.c:
2639 Updates/fixes to remote-texture and its example.
2641 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2643 Patch by Mox Soini (ext-mox.soini@nokia.com)
2645 * src/hildon-code-dialog.c: Update logical id.
2646 * src/hildon-set-password-dialog.c: Update logical id.
2648 Fixes: NB#100646 (Logical strings is shown for ok in set
2649 password,Password needed dialogs)
2651 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2654 * src/hildon-remote-texture.c
2655 * src/hildon-remote-texture.h
2656 * src/hildon-remote-texture-private.h
2658 Added remote texture widget (for Clutter shared memory textures)
2660 * examples/hildon-remote-texture-example.c
2661 * examples/Makefile.am
2662 Added example file for remote texture usage
2664 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2666 * configure.ac: post release version bump.
2667 * debian/changelog: version bump.
2669 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2674 * configure.ac: Bump version.
2675 * debian/changelog: Updates.
2677 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2679 * src/hildon-date-selector.c (hildon_date_selector_init)
2680 (hildon_date_selector_constructor): Don't connect to the "changed"
2681 signal until the selector is completely constructed.
2683 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2685 * src/hildon-touch-selector.c: (_create_new_column),
2686 (hildon_touch_selector_append_column),
2687 (hildon_touch_selector_set_column_selection_mode),
2688 (hildon_touch_selector_set_active),
2689 (hildon_touch_selector_select_iter):
2690 Emit the HildonTouchSelector::changed signal every time selection
2691 is changed in any of the methods above. This behavior was already
2692 documented but not fully functional.
2694 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2695 selection is programmatically changed)
2697 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2699 * doc/hildon-sections.txt: Remove obsolete icon
2700 sizes from here as well.
2702 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2704 * examples/hildon-stackable-window-example.c (add_window): Remove
2707 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2709 * src/hildon-app-menu.c
2710 (hildon_app_menu_show): Check whether the parent window of a menu
2711 is topmost before popping it up.
2713 Fixes: NB#100468 (Application menu window is launched even when a
2714 new secondary-window/dialog is pending to be shown/realized.)
2716 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2718 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2721 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2723 Patch by Mox Soini (ext-mox.soini@nokia.com)
2725 * src/hildon-banner.c: (hildon_banner_show_animation):
2726 use stylus size instead of obsolete note size.
2727 * src/hildon-defines.h: Update icon sizes.
2729 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2731 * src/hildon-touch-selector-entry.c:
2732 (hildon_touch_selector_entry_init): Disable unsupported
2734 (hildon_touch_selector_entry_get_text_column): Emit a warning
2735 if an unsupported input modes is used and explicitile state
2736 these modes in the documentation.
2738 Fixes: NB#99802 (Hildon touch selector entry not working properly
2739 for some of the input modes)
2741 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2743 * src/hildon-pannable-area.c,
2744 (hildon_pannable_area_init): Added the changed signal handlers of
2747 Fixes: NB#100320 (HildonPannableArea does not listen to
2748 GtkAdjustment "change" signals)
2750 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2752 * doc/hildon-sections.txt
2753 * src/hildon-window-private.h
2754 * src/hildon-window.h
2755 * src/hildon-window.c (hildon_window_init)
2756 (hildon_window_realize, hildon_window_unrealize)
2757 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2758 (hildon_window_size_request, hildon_window_size_allocate)
2759 (hildon_window_forall, hildon_window_show_all)
2760 (hildon_window_destroy, +paint_edit_toolbar)
2761 (+hildon_window_set_edit_toolbar):
2762 New hildon_window_set_edit_toolbar() method, to add a
2763 HildonEditToolbar to a window without having to pack it manually.
2765 Reorganize hildon_window_size_allocate()
2767 * src/hildon-edit-toolbar.c: Update documentation.
2769 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2770 example to use the new API.
2772 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2774 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2776 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2777 Remove from stack before calling parent's hide.
2779 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2781 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2782 window is removed from the middle of the stack, update the
2783 transiency of the previous one.
2785 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2788 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2790 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2791 block/unblock the signal handler if it's not actually being used.
2792 Fixes some critical warnings.
2794 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2796 Based on a patch by Iván Gómez (igomez@igalia.com)
2798 * src/hildon-banner.c
2802 * src/hildon-pannable-area.c
2803 * src/hildon-picker-dialog.c
2804 * src/hildon-wizard-dialog.h
2805 * src/hildon-wizard-dialog.c: Documentation updates.
2807 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2808 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2810 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2812 * configure.ac: post release version bump.
2813 * debian/changelog: version bump.
2815 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2820 * configure.ac: Bump version.
2821 * debian/changelog: Updates.
2823 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2825 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2826 a stock icon nor change the relief of the back arrow.
2828 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2829 graphics from theme)
2831 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2833 * src/hildon-button.c (hildon_button_set_alignment): Use
2834 priv->alignment if the button has no child yet.
2836 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2838 * src/hildon-button.c: (hildon_button_init): Set the
2839 button style during initialization to give it the proper
2842 Fixes: NB#99713 (HildonButton value label color is wrong)
2844 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2846 * src/hildon-touch-selector.c: Document
2847 hildon_touch_selector_center_on_selected()
2849 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2851 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2852 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2853 all menu items, but not the menu itself.
2854 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2855 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2856 items after adding them to the menu so keyboard accelerators work.
2857 (hildon_app_menu_show): Don't show the menu if it contains items
2858 but none of them are visible.
2860 * examples/hildon-app-menu-example.c (create_menu): Use
2861 gtk_widget_show_all() to show all menu items.
2863 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2865 * src/hildon-picker-dialog.c:
2866 (-_update_title_on_selector_changed_cb),
2867 (-_dialog_update_title): Removed.
2868 (_select_on_selector_changed_cb), (_on_dialog_response),
2869 (on_selector_columns_changed): Do not update the dialog title.
2870 (setup_interaction_mode): Do not connect to
2871 HildonTouchSelector::changed signal if there's a "done" button, as
2872 the dialog title doesn't need to be updated.
2874 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2877 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2879 Patch by Kristian Rietveld (kris@imendio.com)
2881 * src/hildon-touch-selector.c: (_create_new_column): Use new
2882 GtkTreeView::hildon-row-tapped signal to react to user interactions
2883 instead of ::changed.
2885 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2886 with some dynamic tree model)
2888 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2890 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2891 (+screen_size_changed, +label_size_request)
2892 (hildon_note_class_init): Make the Hildon information note have a
2893 minimum height, and make its text hvae a maximum width.
2895 Fixes: NB#98614 (Hildon information note (background) should have
2896 minimum height and maximum text width)
2898 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2900 * src/hildon-banner.h
2901 * src/hildon-banner.c (hildon_banner_show_information)
2902 (hildon_banner_show_informationf)
2903 (hildon_banner_show_information_with_markup): Update documentation
2904 to reflect that the icon_name parameter is not used anymore.
2905 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2906 Remove all code from these functions and mark them as deprecated.
2907 (hildon_banner_show_progress): Mark as deprecated.
2909 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2911 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2913 * src/hildon-pannable-area.c,
2914 (hildon_pannable_area_class_init),
2915 (tranparency_color),
2916 (hildon_pannable_draw_vscroll),
2917 (hildon_pannable_draw_hscroll),
2918 (hildon_pannable_area_expose_event): Added a new way to render the
2919 scrollbars of the pannable area avoiding using cairo at all. This
2920 way we improve the performance of the pannable area rendering. The
2921 cairo rendering procedure is still in the code, we can control
2922 which one to use changing the value of the define
2923 USE_CAIRO_SCROLLBARS.
2925 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2927 * configure.ac: post release version bump.
2928 * debian/changelog: version bump.
2930 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2935 * configure.ac: Bump version.
2936 * debian/changelog: Updates.
2938 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2940 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2941 banners instead of destroying them when they receive a button
2944 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2946 Reverted commit 34028, it was causing regressions, probably the
2947 topmost condition is not correct, we have to check it in more
2948 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2949 propagation of button press events)
2951 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2953 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2954 that the selection is not empty before attempting to retrieve the
2955 current ampm selection.
2957 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2959 * src/hildon-picker-button.c:
2960 (hildon_picker_button_on_dialog_response): Directly update the
2961 button contents when required instead of calling _selection_changed.
2963 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2965 * src/hildon-program.c (hildon_program_update_top_most): Update
2966 'is-topmost' property also when wm_hints is not set.
2968 Fixes: NB#98383 (is-topmost signal is not emitted when task
2969 switcher is clicked.)
2971 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2973 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2977 * src/hildon-animation-actor.c,
2978 * src/hildon-animation-actor.h: Added the animation actor class,
2979 this widget represents an animation actor for WM-assisted
2980 animation effects in the Hildon framework.
2982 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2984 * src/hildon-window-stack-private.h
2985 * src/hildon-window-stack.c
2986 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2987 Avoid calling gtk_widget_show() again indirectly from
2988 hildon_stackable_window_show()
2990 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2992 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2995 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2997 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2998 (hildon_time_selector_init): Move the construction of the hours and
2999 ampm columns to the constructor to preserve the order the columns
3002 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3004 * src/hildon-picker-dialog.c:
3005 (hildon_picker_dialog_class_init): Connect a realize method.
3006 (+hildon_picker_dialog_realize): Setup the interaction mode here
3008 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3009 yet, do it during the realize instead.
3010 (_on_dialog_response):
3011 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3012 if the widget is not realized, to avoid the dialog response before it
3015 Avoid premature responses in the HildonPickerDialog that can cause it
3016 to be hidden before it's even shown.
3018 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3020 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3021 (on_selector_columns_changed), (requires_done_button),
3022 (+prepare_action_area), (setup_interaction_mode),
3023 (_hildon_picker_dialog_set_selector):
3025 Split the interaction mode setup into preparation of the
3026 action area (prepare_action_area()) and the connection of
3027 the signals in setup_interaction_mode() and update the code to
3030 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3032 * src/hildon-pannable-area.c,
3033 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3034 per second to 15, we will check if this is ok regarding
3037 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3039 * src/hildon-pannable-area.c,
3040 (hildon_pannable_axis_scroll): Avoid resize if we already have
3041 reached overshoot_max.
3043 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3045 * src/hildon-pannable-area.c,
3046 (hildon_pannable_area_init),
3047 (hildon_pannable_area_realize),
3048 (hildon_pannable_area_size_allocate),
3049 (hildon_pannable_area_map),
3050 (hildon_pannable_area_unmap),
3051 (hildon_pannable_draw_vscroll),
3052 (hildon_pannable_draw_hscroll),
3053 (hildon_pannable_area_expose_event),
3054 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3055 pannable are to avoid the expose events go to the window and
3056 redraw the window. We save this way that part of the stack and the
3057 paint_boxes. We had to change the positions of the elements when
3060 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3062 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3063 * src/hildon-color-chooser-dialog.c:
3064 (hildon_color_chooser_dialog_init):
3065 * src/hildon-font-selection-dialog.c:
3066 (hildon_font_selection_dialog_init),
3067 (hildon_font_selection_dialog_show_preview):
3068 * src/hildon-get-password-dialog.c:
3069 * src/hildon-login-dialog.c:
3070 * src/hildon-set-password-dialog.c:
3071 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3072 * src/hildon-time-picker.c: (hildon_time_picker_init):
3074 Remove obsolete logical string IDs and update to the appropriate ones.
3076 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3078 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3080 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3081 that happens if the window hasn't been realized yet.
3083 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3084 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3086 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3088 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3089 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3092 Fixes: NB#98537 (Device hangs in account settings dialog)
3094 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3096 * configure.ac: post release version bump.
3097 * debian/changelog: version bump
3099 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3104 * configure.ac: Bump version.
3105 * debian/changelog: Updates.
3107 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3109 Added a new function to the HildonTimeButton widget that allows to
3110 change the step of the minutes in the selector associated with the
3111 button: hildon_time_button_new_step
3113 * src/hildon-time-button.c,
3114 (hildon_time_button_init),
3115 (hildon_time_button_new),
3116 (hildon_time_button_new_step):
3117 * src/hildon-time-button.h: Added the new function and refactored
3119 * examples/hildon-time-button-example.c,
3120 (main): We have replaced the function without parameters with the
3121 function with the steps set to 5
3123 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3125 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3127 * src/hildon-time-selector.c,
3128 (hildon_time_selector_class_init),
3129 (hildon_time_selector_constructor),
3130 (hildon_time_selector_get_property),
3131 (hildon_time_selector_set_property),
3132 (_create_minutes_model),
3133 (hildon_time_selector_new_step),
3134 (hildon_time_selector_set_time),
3135 * src/hildon-time-selector.h: Added a new property to the
3136 HildonTimeSelector (minutes-step), we use that property to control
3137 the steps between the minutes in the list of the selector. We have
3138 added a new function to the API to create a widget changing the
3139 step: hildon_time_selector_new_step.
3141 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3143 * src/hildon-time-selector.c,
3144 (hildon_time_selector_class_init),
3145 (hildon_time_selector_constructor),
3146 (hildon_time_selector_init): Overrided the construct function when
3147 creating the time selector object. We have moved the minutes model
3148 handling code from the init to the new construction function:
3149 hildon_time_selector_constructor.
3151 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3153 * examples/hildon-date-button-example.c: (main): Use the new
3154 hildon_date_button_new_with_year_range() method in the example.
3155 * src/hildon-date-button.c:
3156 (+hildon_date_button_new_with_year_range): New public method
3157 to conveniently create a HildonDateButton with a custom year range
3158 in its HildonDateSelector.
3159 * src/hildon-date-button.h: Add the new public method definition.
3161 Fixes: NB#97908 (Not possible to change the year range in
3162 HildonDateSelector/HildonDateButton)
3164 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3166 * src/hildon-date-selector.c:
3167 (+hildon_date_selector_set_property),
3168 (+hildon_date_selector_get_property),
3169 (hildon_date_selector_class_init): Install new properties "min-year"
3170 and "max-year" to define boundaries for the year column.
3171 (_create_year_model): Use the boundary properties to populate the model.
3172 (+hildon_date_selector_new_with_year_range): New public method to
3173 create a HildonDateSelector with a user defined year range.
3174 (hildon_date_selector_select_current_date): Use the new boundaries to
3175 calculate the iterator of current year.
3176 * src/hildon-date-selector.h: Add the new public method definition.
3178 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3180 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3181 Install a constructor method.
3182 (+hildon_date_selector_construct_ui): construct the widget.
3183 (+hildon_date_selector_constructor): new constructor.
3184 (+hildon_date_selector_init): move out widget construction code to
3185 the new constructor.
3187 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3189 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3190 that there's actually a month or year selected before obtaining them.
3191 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3192 of the HildonTouchSelector::changed signal, as it was emitted on every
3193 single item selection.
3195 Fix some warnings and possible crashers due to the selection restoring.
3197 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3199 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3200 the signal handlers only after creating the dialog instead of on every
3203 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3205 * src/hildon-button.c (hildon_button_init)
3206 * src/hildon-check-button.c (hildon_check_button_init)
3207 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3208 focus when clicked by default.
3210 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3212 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3215 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3217 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3218 Alejandro G. Castro (alex@igalia.com)
3220 * src/hildon-picker-dialog.c:
3221 (hildon_picker_dialog_class_init): install new "center-on-show"
3223 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3224 (hildon_picker_dialog_set_property): add setter code for the new
3226 (hildon_picker_dialog_get_property): add getter code for the new
3228 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3229 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3232 Fixes: NB#92849 (Selected item is not always visible when
3233 HildonTouchSelector is shown)
3235 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3237 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3238 Alejandro G. Castro (alex@igalia.com)
3240 * src/hildon-touch-selector.c:
3241 (_create_new_column): Do not connect to the "realize" signal of the
3243 (hildon_touch_selector_append_column): center on the selected items
3244 when a new column is appended.
3245 (hildon_touch_selector_select_iter): Factor out the code to select a
3246 column to hildon_touch_selector_scroll_to().
3247 (+search_nearest_element): Method to retrieve the nearest selected
3248 element to the visible area of the pannable area in a column.
3249 (+on_realize_cb): scroll to the initially selected item.
3250 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3251 the pannable area is realized, otherwise delay this until it is.
3252 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3253 selected items of a given column.
3254 (+hildon_touch_selector_center_on_selected): Public method to center
3255 all columns on the nearest selected item.
3256 * src/hildon-touch-selector.h: Add definition for
3257 hildon_touch_selector_center_on_selected().
3259 Implement public API to ensure visibility of all selected items in
3260 a HildonTouchSelector.
3262 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3264 Fixed a problem in the fading when calling the scroll_to API, and
3265 improve scrollbar fading handling.
3267 * src/hildon-pannable-area.c,
3268 (hildon_pannable_area_grab_notify): avoid the timeout when the
3270 (hildon_pannable_area_button_press_cb),
3271 (hildon_pannable_area_motion_notify_cb): Code style changes.
3272 (hildon_pannable_area_button_release_cb): Review the conditions
3273 when releasing the mouse button to avoid unrequired fading
3275 (hildon_pannable_area_scroll_to): Do not calculate and set the
3276 velocity if the scroll is not required.
3278 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3280 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3281 Don't check whether the new selector is NULL: it cannot be.
3282 Hold a reference to the selector while doing the replacement.
3284 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3286 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3287 unnecessary size_request in a removed widget.
3289 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3291 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3292 an unnecessary reference tracking that was leaking.
3294 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3296 Added delayed motion notify event handling, this way we can
3297 discard redrawing if more than 25 events arrive per second.
3299 * src/hildon-pannable-area.c,
3300 (hildon_pannable_area_init): Initialized the new private atributes
3301 controlling this timeout
3302 (hildon_pannable_area_dispose): Remove the timeout that controls
3303 the motion notify events.
3304 (hildon_pannable_area_scroll): Added a condition to control the
3305 use of the acceleration.
3306 (hildon_pannable_area_motion_event_scroll_timeout),
3307 (hildon_pannable_area_motion_event_scroll): Added this two
3308 functions, they handle the motion notify events inside the
3310 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3311 to the scroll method with the new function.
3312 (hildon_pannable_area_button_release_cb): We have to remove the
3313 timeout handler and move to the last position if the last motion
3314 events were not handled.
3316 Fixes: NB#97028 (Pannable area updates on every motion event)
3318 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3320 * src/hildon-pannable-area.c,
3321 (hildon_pannable_area_get_topmost): Added a new parameter to
3322 filter the the windows that do not include those events. Added
3323 also a condition when finding the window to filter windows that do
3324 not ask for those events.
3325 (hildon_pannable_area_button_press_cb),
3326 (hildon_pannable_area_button_release_cb),
3327 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3328 topmost function, we have added the new parameter.
3330 Fixes: NB#97458 (Pannable area prevents propagation of button
3333 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3335 * src/hildon-pannable-area.c,
3336 (hildon_pannable_area_initial_effect): Added controls before
3337 launching the timeout and the idle functions.
3338 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3339 of the method, in some situations it can return with TRUE and 0 in
3341 (hildon_pannable_area_button_press_cb): We do not need to set
3342 DELAY for fading out here.
3344 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3346 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3348 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3349 post-cleaning if the selection is not NULL.
3351 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3353 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3354 all items before restoring the selection.
3356 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3358 * src/hildon-touch-selector.c:
3359 (+hildon_touch_selector_unselect_all):
3360 * src/hildon-touch-selector.h: New API to unselect all items in a
3361 column of the touch selector.
3363 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3365 * src/hildon-pannable-area.c,
3366 (hildon_pannable_area_redraw): Added a call to the refresh
3367 function inside the redraw because apparently in some cases the
3368 change in the adjustment does not imply a size allocate.
3370 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3371 despite the view not being scrollable)
3373 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3375 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3376 leak. Check for NULL before attempting to set the window title.
3378 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3380 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3381 whether to show or not the 'Done' button each time the dialog is
3382 shown, as it depends on the HildonTouchSelector selection mode.
3384 Fixes: NB#96226 (In multiple selection mode Done button is shown
3385 sometimes in listpicker)
3387 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3389 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3390 for the number of columns in the HildonTouchSelector more than once.
3392 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3394 * src/hildon-touch-selector.c: Minor documentation fixes.
3396 * src/hildon-picker-dialog.c (+_dialog_update_title)
3397 (_select_on_selector_changed_cb)
3398 (_update_title_on_selector_changed_cb)
3399 (on_selector_columns_changed): Update dialog title when there's no
3400 'Done' button and also when the number of columns in the selector
3404 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3405 (+_selection_changed, hildon_picker_button_on_dialog_response)
3406 (hildon_picker_button_selector_selection_changed)
3407 (+hildon_picker_button_selector_columns_changed)
3408 (hildon_picker_button_set_selector): Update button value and emit
3409 'value-changed' when the number of columns in the selector
3413 Fixes: NB#96225 (Dialog titles are not shown according to the
3414 values selected in the list picker)
3416 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3418 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3419 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3420 New "arrow-width" and "arrow-height" style properties to set the
3421 size of the arrow button.
3422 Set name of arrow button ("hildon-edit-toolbar-arrow").
3424 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3425 graphics from theme)
3427 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3429 * src/hildon-picker-button.c:
3430 (hildon_picker_button_selector_selection_changed): Use
3431 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3432 the dialog is present.
3434 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3435 the selection is accepted in the dialog)
3437 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3439 * src/hildon-color-chooser.h
3440 * src/hildon-color-chooser-dialog.h:
3441 Added G_BEGIN_DECLS and G_END_DECLS
3443 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3445 (_clean_current_selection): plug a leak in the list.
3447 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3449 * src/hildon-picker-dialog.c:
3450 (+free_path_list): Method to free a GList of GtkTreePaths.
3451 (_clean_current_selection), (_save_current_selection),
3452 (_restore_current_selection): Save the current selection in
3453 as a list of lists, to support multiple selection properly.
3455 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3457 patch by Claudio Saavedra (csaavedra@igalia.com)
3459 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3460 Store the press position.
3461 (+hildon_text_view_button_release_event): If the release position is
3462 close enough to the press position, move the cursor here. Otherwise,
3464 (hildon_text_view_class_init): Override GtkTextView press, release, and
3465 motion event handlers, disabling this way text selection through
3466 pointer interaction, and allowing the container widget to handle the
3469 Fixes: NB#95828 (HildonTextView functionality)
3471 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3473 Based on a patch by Iván Gómez (igomez@igalia.com)
3475 * src/hildon-button.[ch]
3476 * src/hildon-calendar.c
3477 * src/hildon-check-button.c
3478 * src/hildon-date-editor.c
3479 * src/hildon-date-selector.c
3480 * src/hildon-picker-button.c
3481 * src/hildon-time-editor.c
3482 * src/hildon-time-selector.c
3483 * src/hildon-touch-selector.[ch]:
3484 Documentation updates
3486 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3488 * src/hildon-pannable-area.c,
3489 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3490 threshold, it was required due to X events handling.
3492 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3494 * src/hildon-pannable-area.c,
3495 (hildon_pannable_area_grab_notify),
3496 (hildon_pannable_area_initial_effect),
3497 (hildon_pannable_area_button_press_cb),
3498 (hildon_pannable_area_button_release_cb),
3499 (hildon_pannable_area_scroll_cb),
3500 (hildon_pannable_area_scroll_to): Review the timeout management of
3501 the scrollbar, the frecuency was incorrectly set.
3503 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3505 * src/hildon-picker-button.c:
3506 (+hildon_picker_button_on_dialog_response),
3507 (hildon_picker_button_clicked): Present the dialog instead of
3508 running it with gtk_dialog_run().
3510 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3513 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3515 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3516 (hildon_app_menu_finalize): When a window is hidden it doesn't
3517 emit notify::is-topmost, so make sure than the menu also
3518 disappears in that case.
3519 (parent_window_topmost_notify): Renamed from parent_window_hidden
3521 Fixes: NB#94460 (stackable window's menu is not closed when its
3524 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3526 * src/hildon-touch-selector-entry.c:
3527 (+hildon_touch_selector_entry_set_input_mode),
3528 (+hildon_touch_selector_entry_get_input_mode):
3529 * src/hildon-touch-selector-entry.h: New methods to access the input
3530 mode in the selector's entry.
3532 Fixes: NB#93410 (API required for setting IM mode in
3533 HildonTouchSelectorEntry)
3535 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3537 * configure.ac: post release version bump.
3538 * debian/changelog: version bump
3540 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3545 * configure.ac: Bump version.
3546 * debian/changelog: Updates.
3548 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3550 * src/hildon-touch-selector.c:
3551 (_hildon_touch_selector_has_multiple_selection): No need
3552 to initialize the variables here.
3554 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3556 * src/hildon-note-private.h
3557 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3558 (hildon_note_finalize, hildon_note_rebuild): Close information
3559 notes when they receive a button press.
3561 Fixes: NB#89890 (Information notes does not get disappeared after
3564 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3566 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3567 mark from the wizard title, as it's not really necessary. Also,
3568 do not display the page title if not set.
3570 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3572 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3573 (parent_window_hidden): Use the window's "is-topmost" property to
3574 detect when to hide the menu.
3576 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3578 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3579 (hildon_app_menu_finalize): If the parent window of the menu is
3580 hidden, hide the menu too.
3582 Fixes: NB#94460 (stackable window's menu is not closed when its
3585 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3588 * debian/libhildon1-examples.install
3590 * examples/Makefile.am:
3591 Use dh_install to install all examples.
3592 Use DEB_SRCDIR instead of defining SOURCE_DIR
3594 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3596 * configure.ac: post release version bump.
3597 * debian/changelog: version bump
3599 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3604 * configure.ac: bump version
3605 * debian/changelog: updates
3606 * debian/control: bump gtk+ dependency
3608 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3610 patch by Christian Dywan (christian@imendio.com)
3612 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3613 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3615 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3617 * src/hildon-check-button.c (hildon_check_button_init)
3618 (hildon_check_button_class_init, hildon_check_button_style_set)
3619 (hildon_check_button_apply_style):
3620 New "checkbox-size" style property.
3622 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3623 larger / configurable size)
3625 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3627 * configure.ac: post release version bump.
3628 * debian/changelog: version bump
3630 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3635 * configure.ac: bump version
3636 * debian/changelog: updates
3638 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3640 * doc/hildon-sections.txt
3641 * src/hildon-pannable-area.c
3642 * src/hildon-program.c
3643 * src/hildon-time-editor.c
3644 * src/hildon-touch-selector-entry.c:
3646 More documentation updates.
3648 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3650 * doc/hildon-sections.txt
3651 * src/hildon-caption.c
3652 * src/hildon-code-dialog.c
3653 * src/hildon-color-button.c
3654 * src/hildon-controlbar.c
3655 * src/hildon-date-editor.c
3656 * src/hildon-date-selector.c
3657 * src/hildon-edit-toolbar.c
3658 * src/hildon-find-toolbar.c
3659 * src/hildon-font-selection-dialog.c
3661 * src/hildon-program.c
3662 * src/hildon-range-editor.c
3663 * src/hildon-seekbar.c
3664 * src/hildon-time-editor.c
3665 * src/hildon-time-selector.c
3666 * src/hildon-volumebar-range.c
3667 * src/hildon-volumebar.c
3668 * src/hildon-vvolumebar.c
3669 * src/hildon-weekday-picker.c
3670 * src/hildon-window.c
3671 * src/hildon-wizard-dialog.c:
3673 Lots of documentation fixes.
3675 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3677 Patch contributed by Iván Gómez (igomez@igalia.com)
3679 * src/hildon-check-button.c:
3680 * src/hildon-date-button.c:
3681 * src/hildon-date-selector.c:
3682 * src/hildon-dialog.c:
3683 * src/hildon-edit-toolbar.c:
3684 * src/hildon-entry.c:
3685 * src/hildon-picker-button.c:
3686 * src/hildon-program.c:
3687 * src/hildon-text-view.c:
3688 * src/hildon-time-button.c:
3689 * src/hildon-touch-selector-entry.c:
3690 * src/hildon-window-stack.c:
3692 Add more "since" tags to the new API.
3694 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3696 * doc/hildon-sections.txt: Add below method.
3697 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3698 version for the hildonized scale.
3699 * src/hildon-gtk.h: Add the definition.
3701 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3703 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3705 * doc/hildon-sections.txt: Add missing entries for new methods.
3707 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3709 Added API to pannable are in order to get its adjustments. We
3710 added two properties to manage the values we had in the private
3713 * src/hildon-pannable-area.c:
3714 (hildon_pannable_area_class_init): Added hadjustment and
3715 vadjustment properties in order to expose horizontal and vertical
3717 (hildon_pannable_area_get_property),
3718 (hildon_pannable_area_set_property): Added code to handle the new
3720 (hildon_pannable_area_get_hadjustment),
3721 (hildon_pannable_area_get_vadjustment): API functions to get the
3723 * src/hildon-pannable-area.h:
3724 (hildon_pannable_area_get_hadjustment),
3725 (hildon_pannable_area_get_vadjustment): API functions to get the
3728 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3730 Fixed some leaks, after valgrinding.
3732 * src/hildon-touch-selector.c:
3733 (_default_print_func): Fixed a leak.
3734 (hildon_touch_selector_append_column): Fixed a leak.
3735 * src/hildon-date-button.c:
3736 (hildon_date_button_init): Fixed a leak.
3737 * src/hildon-date-selector.c
3738 (hildon_date_selector_finalize): Fixed a leak.
3740 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3742 Based on a patch by Christian Dywan (christian@imendio.com)
3744 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3746 * src/hildon-gtk.h: Add definition.
3748 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3750 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3752 * src/hildon-picker-button.c: (hildon_picker_button_init),
3753 (hildon_picker_button_new): Set the HildonButton::style property
3754 in the init method, to propagate the value to the derived classes.
3756 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3758 * src/hildon-button.c: (hildon_button_class_init): Do not make
3759 the "style" property a construct property.
3761 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3763 * src/hildon-wizard-dialog.h
3764 * src/hildon-wizard-dialog.c
3765 (hildon_wizard_dialog_set_forward_page_func)
3766 * src/hildon-pannable-area.h
3767 * src/hildon-pannable-area.c
3768 (hildon_pannable_area_set_size_request_policy):
3769 Documentation fixes.
3771 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3773 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3775 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3777 * doc/hildon-sections.txt: Added sections file.
3779 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3782 * src/*.[ch]: Updates.
3784 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3786 * examples/hildon-progress-indicator-example.c: new file
3787 * examples/Makefile.am: include the new example program
3789 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3791 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3793 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3795 * configure.ac: post release version bump
3796 * debian/changelog: version bump
3798 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3803 * configure.ac: bump version
3804 * debian/changelog: updates
3805 * debian/control: bump gtk+ dependency
3807 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3809 * src/hildon-dialog.c: Mark as deprecated.
3810 * src/hildon-dialog.h: Mark as deprecated.
3811 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3812 from HildonDialog and still work, even if
3813 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3814 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3816 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3817 maemo changes) instead)
3819 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3821 * src/hildon-pannable_area.h:
3822 * src/hildon-pannable_area.c:
3823 (hildon_pannable_area_class_init),
3824 (hildon_pannable_area_set_property),
3825 (hildon_pannable_area_get_property),
3826 (hildon_pannable_area_size_request),
3827 (hildon_pannable_area_get_size_request_policy),
3828 (hildon_pannable_area_set_size_request_policy): Added new API
3829 allowing applications to control the request policy. Now they can
3830 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3831 children allocation (HILDON_MOVEMENT_CHILDREN).
3833 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3837 (hildon_gtk_tree_view_set_ui_mode)
3838 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3839 mode of treeviews and iconviews.
3841 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3843 * src/hildon-touch-selector-entry.c:
3844 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3845 of a GtkEntry to get proper theming.
3847 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3848 widget, not GtkEntry)
3850 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3852 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3853 no HildonWizardDialogPageFunc.
3855 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3857 Patch contributed by Iván Gómez (igomez@igalia.com)
3859 * src/hildon-app-menu.c:
3860 * src/hildon-button.c:
3861 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3862 * src/hildon-stackable-window.c:
3863 * src/hildon-time-selector.c:
3864 * src/hildon-touch-selector.c:
3865 * src/hildon-window.c:
3867 Add more "since" tags to the new API in hildon 2.2.
3869 2008-12-05 Tim Janik <timj@imendio.com>
3871 Patch contributed by Christian Dywan (christian@imendio.com)
3873 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3874 HildonSizeType, which are supplied by Gtk+ now.
3876 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3878 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3879 (with maemo changes) instead)
3881 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3883 Patch contributed by Iván Gómez (igomez@igalia.com)
3885 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3888 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3890 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3891 (some_page_func), (main): Update the example to use a
3892 HildonWizardDialogPageFunc function.
3894 * src/hildon-wizard-dialog-private.h: Add private data for
3895 the HildonWizardDialogPageFunc function usage.
3897 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3898 (destroy), (hildon_wizard_dialog_init), (response),
3899 (hildon_wizard_dialog_set_forward_page_func):
3900 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3901 that applications can use to stop a HildonWizardDialog to jump to
3904 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3907 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3909 * src/hildon-program.h
3910 * src/hildon-program-private.h
3911 * src/hildon-program.c (hildon_program_init)
3912 (hildon_program_set_common_app_menu)
3913 (hildon_program_get_common_app_menu):
3914 New API for setting a common HildonAppMenu for all
3915 HildonStackableWindows registered with the HildonProgram.
3917 * src/hildon-stackable-window.c
3918 (hildon_stackable_window_toggle_menu):
3919 Use the common HildonAppMenu if a window doesn't have a specific
3922 * src/hildon-app-menu-private.h
3923 * src/hildon-app-menu.c
3924 (hildon_app_menu_get_parent_window):
3925 Function to obtain the window a HildonAppMenu is attached to.
3926 (hildon_app_menu_set_parent_window):
3927 Hide the menu if the parent window is set to NULL.
3929 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3931 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3932 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3933 search widget to popup.
3935 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3937 * configure.ac: post release version bump
3938 * debian/changelog: version bump
3940 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3945 * configure.ac: bump version
3946 * debian/changelog: updates
3948 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3950 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3952 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3953 (hildon_window_stack_window_realized)
3954 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3955 Set the leader GdkWindow when a window is stacked and realized,
3956 unset it when it's unstacked.
3957 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3959 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3961 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3963 * src/hildon-stackable-window.h
3964 * src/hildon-window-stack.h:
3965 Protect definition of HildonWindowStack using the preprocessor.
3967 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3969 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3970 Fix warning if all menu items are hidden.
3972 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3974 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3976 * src/hildon-controlbar.c:
3977 * src/hildon-hvolumebar.c:
3978 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3979 Multiple scale size defines updates.
3981 Fixes: NB#94322 (Scale Updates)
3983 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3985 * examples/hildon-app-menu-example.c (create_menu)
3986 Show items after adding them to the menu, as in the future the
3987 menu will no longer call gtk_widget_show() on the added items.
3989 * src/hildon-app-menu.c:
3990 Update example as explained above.
3992 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3994 * src/hildon-app-menu.c
3995 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3996 Make sure that all menu items have finger height.
3998 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4000 * src/hildon-picker-dialog.c:
4001 (_on_dialog_response), (_save_current_selection),
4002 (_restore_current_selection), (_clean_current_selection),
4003 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4004 Defined new functions in order to save the current internal selector
4005 selection previous open the dialog, in case that the use cancel the
4006 interaction, so the widget restores the previous selection.
4008 Fixes: NB#92032 (In calendar application, date values in 'new event'
4011 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4013 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4015 * src/hildon-button.c: Add a reference to the button examples in
4016 hildon-button-example.c
4018 * examples/hildon-button-example.c: Added examples of the most
4019 common button layouts.
4021 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4023 * src/hildon-app-menu.c (hildon_app_menu_show)
4024 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4026 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4028 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4030 * src/hildon-picker-dialog.c:
4031 (hildon_picker_dialog_init): Initialize the signal id for
4032 HildonTouchSelector::columns-changed.
4033 (+on_selector_columns_changed): Set up the interaction mode everytime a
4034 column is added or removed from the HildonTouchSelector.
4035 (_hildon_picker_dialog_set_selector): Connect to
4036 HildonTouchSelector::columns-changed and keep track of it.
4038 Make sure to update the interaction mode of the dialog everytime a
4039 column is added or removed in the HildonTouchSelector.
4041 Fixes: NB#93228 (Done button is not shown always in listpicker)
4043 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4045 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4046 a new ::columns-changed signal.
4047 (hildon_touch_selector_append_column): Emit ::columns-changed.
4048 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4050 Add a ::columns-changed signal, emitted when the number of columns in a
4051 HildonTouchSelector changes.
4053 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4055 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4056 (_hildon_picker_dialog_set_selector): Factor out the code
4057 to set up the dialog interaction mode.
4059 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4061 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4062 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4063 to signal_changed_id.
4065 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4067 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4070 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4072 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4073 Updated the logical ids related to ampm format, as now it is required to
4074 show it correctly localized even on languages with no default
4075 abbreviations for am or pm
4076 (_check_am_pm_format): check correctly the 24h format gconf property
4078 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4080 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4082 * src/hildon-button.c: Documentation updates.
4084 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4086 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4087 * src/hildon-caption.c: (hildon_caption_class_init):
4088 * src/hildon-color-button.c: (hildon_color_button_class_init):
4089 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4090 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4091 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4092 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4094 Remove deprecated GTK+ marshalers and replace them with the ones
4095 provided by GLib, for those available, add a marshaler for
4096 BOOLEAN:VOID, which is not available in GLib, and use it.
4098 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4100 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4101 the text from the previous column if there is no
4102 HildonTouchSelectorColumn::text-property set.
4104 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4106 * src/hildon-button.h
4107 * src/hildon-button.c (hildon_button_set_property)
4108 (hildon_button_get_property, hildon_button_class_init)
4109 (hildon_button_set_style, hildon_button_get_style):
4110 New "style" property to change the visual appearance of the
4113 * src/hildon-picker-button.c (hildon_picker_button_new):
4114 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4116 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4117 HildonButton look like PickerButton)
4119 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4121 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4122 column while building the default string.
4124 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4126 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4127 scroll indicator by default.
4129 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4131 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4133 * src/hildon-main.c: Fix the documentation for hildon_init()
4135 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4137 * doc/hildon-docs.sgml
4141 * src/hildon-window-stack-private.h
4142 * src/hildon-window-stack.h
4143 * src/hildon-window-stack.c:
4144 New HildonWindowStack object, that adds support for multiple
4145 stacks of windows per process.
4147 * src/hildon-stackable-window-private.h
4148 * src/hildon-stackable-window.h
4149 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4150 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4151 (hildon_stackable_window_show, hildon_stackable_window_hide)
4152 (hildon_stackable_window_class_init)
4153 (hildon_stackable_window_init):
4154 Use HildonWindowStack for stack management.
4156 * src/hildon-program.c (hildon_program_pop_window_stack)
4157 (hildon_program_peek_window_stack)
4158 (hildon_program_go_to_root_window):
4159 Add a fallback implementation to the deprecated functions using
4162 * examples/hildon-stackable-window-example.c:
4163 Use the new HildonWindowStack API.
4165 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4167 * src/hildon-stackable-window-private.h
4168 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4169 (hildon_stackable_window_hide, hildon_stackable_window_init):
4170 Remove all window stack management.
4172 * src/hildon-program-private.h
4173 * src/hildon-program.h
4174 * src/hildon-program.c (hildon_program_init)
4175 (hildon_program_pop_window_stack)
4176 (hildon_program_peek_window_stack)
4177 (hildon_program_go_to_root_window):
4178 Remove all window stack management and mark functions as
4181 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4183 * src/hildon-app-menu.c (hildon_app_menu_realize):
4184 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4186 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4188 * configure.ac: post release version bump
4189 * debian/changelog: version bump
4191 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4196 * configure.ac: bump version
4197 * debian/changelog: updates
4199 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4201 Based on initial code by Christian Dywan (christian@imendio.com)
4203 * doc/hildon-docs.sgml: Add section for hildon-main.
4204 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4205 * src/Makefile.am: Add new hildon-main.[ch]
4206 * src/hildon-defines.h: Update the icon sizes.
4207 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4208 new library initialization files and register icon sizes.
4209 * src/hildon-main.h: New declarations.
4210 * src/hildon.h: Include hildon-main.h
4212 Add new initialization functions to the library. These methods
4213 will register the hildon specific icon sizes and can be used in the
4214 future for other hildon specific bits.
4216 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4218 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4220 * src/hildon-window.c: (hildon_window_realize),
4221 (hildon_window_notify), (-hildon_window_update_title): Do not set
4222 the application name in the window title.
4224 Fixes: NB#89754 (Applications shouldn't display their names in the
4227 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4229 * src/hildon-note-private.h:
4230 * src/hildon-note.c: (hildon_note_set_property),
4231 (hildon_note_get_property), (hildon_note_class_init),
4232 (hildon_note_init), (hildon_note_finalize),
4233 (hildon_note_new_confirmation_with_icon_name),
4234 (hildon_note_new_information_with_icon_name):
4236 No need to mark as deprecated the actual code. Revert
4237 to avoid missing symbols in widgets using deprecated API.
4239 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4241 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4243 * src/hildon-volumebar.h
4244 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4245 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4247 * src/hildon-helper.h
4248 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4249 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4251 * examples/Makefile.am:
4252 Deprecate hildon-insensitive-example
4254 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4256 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4258 * examples/hildon-pannable-area-buttons-scroll-example.c:
4259 Make all buttons finger height
4261 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4263 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4265 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4266 update the day model only if it is really required, and to avoid the
4267 full-reconstruction aproach. Now it only add or remove the required days.
4269 The purpose of this is avoid superfluous HildonTouchSelector::changed
4272 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4273 with strange parameters)
4275 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4277 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4279 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4280 the WINDOW_TYPE property.
4282 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4284 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4287 Fix dependency to allow parallel compilation with make -jX
4289 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4291 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4292 color frame and some minor tweaks to make it more consistent with
4295 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4296 highlighted but not visible)
4298 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4300 * examples/Makefile.am: Fixed typo in the Makefile.am.
4302 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4304 Reviewed the use of MAEMO_GTK define, now we add the define in the
4305 compilation line, and we also add it to the pc file.
4307 * configure.ac: Added MAEMO_GTK define to the compilation command
4308 and removed it from the config.h.
4310 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4311 do not have to take care about this define if the library was
4315 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4317 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4319 * examples/Makefile.am,
4320 * examples/hildon-pannable-area-buttons-scroll-example.c,
4321 * examples/hildon-pannable-area-gesture-signals-example.c,
4322 * examples/hildon-pannable-area-scroll-jump-example.c,
4323 * examples/hildon-pannable-area-tree-view-example.c:
4324 Renamed the pannable area examples, now they have more meaningful
4327 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4329 * src/hildon-touch-selector.c:
4330 (hildon_touch_selector_set_column_selection_mode): Used of
4331 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4332 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4333 to avoid re-seting the same selection mode.
4335 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4336 breaks HildonPickerDialog)
4338 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4340 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4341 conditional in the Makefile.am
4343 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4345 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4346 Remove unused methods.
4348 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4350 * src/hildon-button.c (hildon_button_init):
4351 Make button images center-aligned by default
4353 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4356 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4357 activated, we have to think about how to deal with both defines
4358 MAEMO_GTK and MAEMO_CHANGES.
4360 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4362 * examples/hildon-app-menu-example.c (create_menu): Make all
4363 buttons finger size.
4365 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4367 Fixed the compilation without maemo gtk adding ifdefs with
4368 MAEMO_GTK define to the code, we have to check this version more
4371 * examples/Makefile.am: Added control to avoid some examples that
4372 just make sense with maemo gtk.
4375 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4376 hildon modes with the define.
4378 * examples/hildon-edit-toolbar-example.c,
4379 (create_icon_view): Create the icon view without hildon-gtk
4380 helpers if we are not using maemo gtk.
4382 * src/hildon-touch-selector.c,
4383 (_create_new_column): Create the treeview without hildon-gtk
4384 helpers if we are not using maemo gtk.
4386 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4388 * src/hildon-pnnable-area.c,
4389 (hildon_pannable_area_dispose),
4390 (hildon_pannable_area_button_press_cb),
4391 (hildon_pannable_area_child_mapped),
4392 (hildon_pannable_area_add),
4393 (hildon_pannable_area_remove): Added code to control the position
4394 of the event_window when adding and removing children from the
4395 pannable. We have to raise the event window when the child is
4398 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4399 selection mode using custom widget inside pannable)
4401 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4403 * configure.ac: post release version bump
4404 * debian/changelog: version bump
4406 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4411 * configure.ac: bump version
4412 * debian/changelog: updates
4414 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4416 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4417 search mode, in order to avoid lose the focus on the treeview when
4418 a hw key (like enter) is pressed.
4420 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4421 in HildonDateSelector dialog)
4423 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4425 * debian/rules: Added --enable-maintainer-mode
4426 * Makefile.am: Added ACLOCAL_AMFLAGS
4428 This allows to properly regenerate the Makefiles if you modify the
4429 configure.ac or any Makefile.am.
4431 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4433 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4434 properties, not needed at all.
4436 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4438 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4440 * src/hildon-note.c: (hildon_note_set_property),
4441 (hildon_note_get_property), (hildon_note_class_init),
4442 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4443 (hildon_note_new_confirmation_add_buttons): Remove icons.
4444 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4445 (hildon_note_new_information_with_icon_name): Deprecate.
4446 (hildon_note_new_confirmation): Act directly, without calling
4447 the deprecated constructor.
4448 (hildon_note_new_information): Act directly, without calling
4449 the deprecated constructor.
4450 * src/hildon-note.h: Mark deprecate methods as such.
4451 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4452 not run tests on the deprecated methods if built with deprecation
4455 Fixes: NB#91688 (Never show icons in information notes/confirmation
4458 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4460 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4461 (hildon_app_menu_key_press): Remove leftover usage of the
4462 private structure in HildonAppMenu struct.
4463 * src/hildon-app-menu.h: Remove leftover private structure
4464 from the HildonAppMenu struct.
4466 Fixes a crasher when using the HildonAppMenu.
4468 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4470 * src/hildon-picker-dialog.c: Use appropriate logical id
4471 for the default "Done" text.
4473 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4475 * configure.ac: post release version bump
4476 * debian/changelog: version bump
4478 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4480 Modified the way to scroll to the current selection just when the touch
4481 selector is shown on the screen, avoiding a g_idle. Added too a property
4482 to configure this behaviour. See hildon_pannable_area_jump_to_child
4483 documentation for more information.
4485 * src/hildon-touch-selector.c
4486 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4487 Added 'initial-scroll' property
4488 (hildon_touch_selector_set_property): Added
4489 (hildon_touch_selector_map): Removed as not required anymore
4490 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4491 only a concrete column, instead of iterate along all the columns
4493 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4498 * configure.ac: bump version
4499 * debian/changelog: updates
4501 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4503 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4504 compilation time warnings.
4506 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4508 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4509 the default value for HildonPannableArea::mov-mode to
4510 HILDON_PANNABLE_AREA_MODE_VERT.
4512 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4514 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4516 Reverting following commit:
4518 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4520 * src/hildon-app-menu-private.h
4521 * src/hildon-app-menu.[ch]
4522 * src/hildon-button.[ch]
4523 * src/hildon-check-button.[ch]
4524 * src/hildon-entry.[ch]
4525 * src/hildon-pannable-area.[ch]
4526 * src/hildon-text-view.[ch]:
4527 Added private field to the object's structure.
4529 because it causes an ABI breakage. We will need to introduce these
4530 changes later at some point. See NB#91636 for an extensive
4531 explanation and status.
4533 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4535 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4537 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4538 remove special cases that are no longer necessary.
4540 Fixes: NB#91016 (Change toolbar sizes, simplification)
4542 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4544 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4545 is shown in the cancel note.
4547 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4549 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4550 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4551 (hildon_seekbar_init): Remove steppers, remove expose event.
4552 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4554 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4556 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4558 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4559 label font to "SmallSystemFont" for vertically arranged buttons.
4561 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4564 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4566 * src/hildon-check-button.c
4567 (hildon_check_button_set_active, hildon_check_button_clicked):
4568 Don't access private parts directly, use getters instead.
4570 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4572 * src/hildon-check-button.c (hildon_check_button_new):
4573 Align the contents of the check button to the left.
4575 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4577 * src/hildon-pannable-area.c,
4578 (hildon_pannable_area_scroll_to),
4579 (hildon_pannable_area_jump_to),
4580 (hildon_pannable_area_scroll_to_child),
4581 (hildon_pannable_area_jump_to_child): Replace the mapped
4582 precondition of these functions with the realized, it is the
4583 correct state of the widget in this case. Changed the
4584 documentation according to this modification.
4586 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4588 Added a new EXTRA_CFLAGS option to add the deprecated define to
4589 the compilation command. This way we can avoid using the define in
4590 the documentation compilation.
4592 * configure.ac: Defined EXTRA_CFLAGS.
4594 * examples/Makefile.am:
4596 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4598 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4600 * src/hildon-picker-dialog.c:
4601 Defined a utility macro with the desired touch selector height
4602 Removed currently unused separator, and title_label variables from
4604 (hildon_picker_dialog_init): Removed code related to the creation
4605 of unused private variables title_label and separator.
4606 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4607 to ensure correct visualization of the touch selector inside the dialog.
4608 * src/hildon-touch-selector.c
4609 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4610 ensure a concrete height of the widget.
4612 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4615 * tests/Makefile.am:
4617 Remove spurious whitespaces.
4619 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4621 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4622 compilation warning after the cancel button removal.
4624 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4626 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4628 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4629 Makefile.am, that way we can choose not to compile some examples
4630 and tests of the deprecated widgets.
4632 * examples/Makefile.am: Divided the sources in deprecated and
4635 * src/Makefile.am: Added undef statement of the deprecated
4636 symbol to the enums file generation process.
4638 * src/hildon-color-chooser-dialog.c
4639 * src/hildon-color-chooser-dialog.h
4640 * src/hildon-color-button.c
4641 * src/hildon-color-button.h
4642 * src/hildon-color-chooser.c
4643 * src/hildon-color-chooser.h
4644 * src/hildon-controlbar.c
4645 * src/hildon-controlbar.h
4646 * src/hildon-date-editor.c
4647 * src/hildon-date-editor.h
4648 * src/hildon-hvolumebar.c
4649 * src/hildon-hvolumebar.h
4650 * src/hildon-private.c
4651 * src/hildon-private.h
4652 * src/hildon-range-editor.c
4653 * src/hildon-range-editor.h
4654 * src/hildon-seekbar.c
4655 * src/hildon-seekbar.h
4656 * src/hildon-time-editor.c
4657 * src/hildon-time-editor.h
4658 * src/hildon-time-picker.c
4659 * src/hildon-time-picker.h
4660 * src/hildon-volumebar.c
4661 * src/hildon-volumebar.h
4662 * src/hildon-vvolumebar.c
4663 * src/hildon-vvolumebar.h
4664 * src/hildon-bread-crumb-trail.h
4665 * src/hildon-bread-crumb-trail.c
4666 * src/hildon-calendar-popup.c
4667 * src/hildon-calendar-popup.h
4668 * src/hildon-weekday-picker.c:
4669 * src/hildon-weekday-picker.h:
4670 * src/hildon-bread-crumb-widget.c:
4671 * src/hildon-bread-crumb-widget.h:
4672 * src/hildon-bread-crumb.c:
4673 * src/hildon-bread-crumb.h:
4674 * src/hildon-calendar.c:
4675 * src/hildon-calendar.h:
4676 * src/hildon-caption.c:
4677 * src/hildon-code-dialog.c:
4678 * src/hildon-code-dialog.h:
4679 * src/hildon-font-selection-dialog.c:
4680 * src/hildon-font-selection-dialog.h:
4681 * src/hildon-get-password-dialog.c:
4682 * src/hildon-get-password-dialog.h:
4683 * src/hildon-login-dialog.c:
4684 * src/hildon-login-dialog.h:
4685 * src/hildon-number-editor.c:
4686 * src/hildon-number-editor.h:
4687 * src/hildon-set-password-dialog.c:
4688 * src/hildon-set-password-dialog.h:
4689 * src/hildon-sort-dialog.c:
4690 * src/hildon-sort-dialog.h: This is the list of deprecated
4693 * src/hildon-touch-selector.c:
4694 * src/hildon-window.c: Added undef statement to avoid compilation
4697 * tests/Makefile.am: Divided the sources in deprecated and
4700 * tests/check_test.c,
4701 (configure_tests): Marked the deprecated code that was adding
4702 suites with deprecated tests.
4704 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4706 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4708 * src/hildon-touch-selector.c: (_default_print_func): Do not
4709 duplicate a string returned by gtk_tree_model_get(), it is already
4712 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4715 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4717 * src/hildon-pannable-area.c
4718 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4719 method, it had problems when adding a widget with viewport the
4720 second time. Now checks if it already has a viewport and uses it.
4722 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4725 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4727 * src/hildon-pannable-area.c,
4728 (hildon_pannable_area_scroll_to),
4729 (hildon_pannable_area_jump_to),
4730 (hildon_pannable_area_scroll_to_child),
4731 (hildon_pannable_area_jump_to_child): Added a precondition to the
4732 scroll and jump to functions: the widget must be mapped before we
4733 can safely call these functions. We have also added documentation
4734 to the functions to explain how to use them in this situation.
4737 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4739 Reviewed the threading handling of the pannable widget, we have
4740 used the gdk_threads_add_timeout function instead of the usual
4741 glib handlers. This avoids some problems with the threads.
4743 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4744 (hildon_pannable_area_initial_effect),
4745 (hildon_pannable_area_scroll_indicator_fade),
4746 (hildon_pannable_area_button_press_cb),
4747 (hildon_pannable_area_timeout),
4748 (hildon_pannable_area_motion_notify_cb),
4749 (hildon_pannable_area_button_release_cb),
4750 (hildon_pannable_area_scroll_cb),
4751 (hildon_pannable_area_scroll_to): Removed the
4752 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4753 gdk_threads_add_timeout.
4755 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4757 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4762 * configure.ac: bump version
4763 * debian/changelog: updates
4765 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4767 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4768 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4769 * src/hildon-color-chooser-dialog.c:
4770 (hildon_color_chooser_dialog_init):
4771 * src/hildon-font-selection-dialog.c:
4772 (hildon_font_selection_dialog_init):
4773 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4775 Remove all cancel/close-like dialogs, as these are not going to be
4778 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4780 * src/hildon-note.c: (hildon_note_rebuild),
4781 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4784 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4786 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4788 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4789 sure all buttons are shown, even the Cancel/Close-like ones.
4791 Fixes: NB#90861 (Custom Confirmation dialogs should be
4792 protected from cancel button removal)
4794 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4796 * debian/control: Change libhildon1-examples dependency from libhildon1
4798 * debian/libhildon1-examples.install
4800 * Makefile.am: Modified the final install directory for the examples on
4801 package libhildon1-examples
4802 * Makefile.static: Update clean target in order to remove all the binary
4805 Changes suggested by Claudio after review new libhildon1-examples package
4807 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4809 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4810 * src/hildon-touch-selector.c: Ditto.
4812 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4814 * debian/control: Added new package libhildon1-examples, in order to pack
4815 the current hildon examples as documentation
4816 * debian/rules: Not to compress .c files, modify some includes on the
4817 examples (as normally are compiled locally, but when installed it will
4818 require to include the installed libhildon1 library), and rename
4820 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4821 install all the example files on the new example package
4822 * examples/Makefile.static: Added static makefile that can be used to
4823 compile the examples, once installed the new example package
4824 * examples: Most of the examples were modified in order to grant that
4825 all use only '#include "hildon.h"', in order to be easy to prepare
4826 it on the example package
4828 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4831 * debian/libhildon1-dev.install
4832 * debian/libhildon1-doc.install:
4833 Move all gtk-doc files to a separate libhildon1-doc package.
4835 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4837 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4839 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4841 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4843 * debian/rules: Fixed a error in order to avoid unnecessary calls
4844 to autogen.sh on package building
4846 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4848 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4850 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4852 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4855 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4857 * src/hildon-picker-button.c
4858 (hildon_picker_button_finalize):
4859 Free priv->done_button_text
4861 * src/hildon-time-button.c
4862 (hildon_time_button_set_time)
4863 * src/hildon-picker-button.c
4864 (hildon_picker_button_clicked)
4865 (hildon_picker_button_selector_selection_changed)
4866 (hildon_picker_button_set_selector)
4867 * src/hildon-date-button.c
4868 (hildon_date_button_set_date):
4869 Free strings returned by hildon_touch_selector_get_current_text()
4871 * src/hildon-button.c (hildon_button_construct_child):
4872 Fix leaks in priv->image and priv->label_box
4874 Fixes: NB#90535 (Memory leak in picker button)
4876 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4878 * src/hildon-button.c: (hildon_button_get_property): Do not access
4879 private elements directly, use getters instead.
4881 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4883 * src/hildon-app-menu-private.h
4884 * src/hildon-app-menu.c
4885 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4886 Store the menu's parent window.
4888 * src/hildon-stackable-window.c
4889 (hildon_stackable_window_toggle_menu)
4890 (hildon_stackable_window_finalize):
4891 Set the menu's parent window when the menu is shown, unset it when
4894 * src/hildon-app-menu.c
4895 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4896 (hildon_app_menu_class_init):
4897 Send unhandled keyboard accelerators to the parent window.
4899 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4901 * src/hildon-stackable-window.c
4902 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4904 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4906 * configure.ac: post release version bump
4908 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4911 * configure.ac: Bump version
4912 * debian/changelog: Updates
4913 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4916 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4918 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4921 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4922 GtkMenu with Hildon style.
4924 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4926 * src/hildon-picker-button.c:
4927 (hildon_picker_button_set_done_button_text): Set the dialog's
4928 done button text here as well.
4930 Fixes: NB#90232 (Picker button does not set the label on done button
4931 for the second time)
4933 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4935 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4938 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4940 * src/hildon-app-menu.c (hildon_app_menu_insert)
4941 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4942 the HildonAppMenu to be activatable using keyboard accelerators
4943 when the menu is not being shown.
4945 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4947 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4949 * src/hildon-stackable-window.c
4950 (hildon_stackable_window_show):
4951 Don't hide old windows automatically when new windows are shown:
4952 this is now a task for the window manager.
4953 (hildon_stackable_window_class_init)
4954 (hildon_stackable_window_hide):
4955 Remove windows from the stack everytime they're hidden.
4956 (hildon_stackable_window_realize):
4957 Don't change the _NET_WM_WINDOW_TYPE property. Use
4958 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4959 it as a stackable window.
4961 * src/hildon-program.c
4962 (hildon_program_pop_window_stack):
4963 Just hide the window to remove it from the stack.
4964 (hildon_program_go_to_root_window):
4965 Don't call gtk_widget_show(), this is now a task for the window
4968 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4970 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4972 * src/hildon-button.c
4973 (hildon_button_construct_child):
4974 Don't pack anything in the button until text or image are
4975 set. This allows adding a custom child after creating the button
4976 with hildon_button_new().
4977 (hildon_button_finalize, hildon_button_class_init)
4978 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4979 alignment and the label box even when they're not packed in the
4982 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4984 * src/hildon-touch-selector.h:
4985 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4986 currently the type definition was using GTK_TYPE_VBOX
4987 * src/hildon-touch-selector.c:
4988 Added some implementation notes in order to clarify that any other widget
4989 added without the column related API will not be included on the
4990 selection logic, and how the widget is freed, as some people ask about
4992 (hildon_touch_selector_remove): Reimplemented in order to free properly
4993 the column related data when you remove the private hbox.
4994 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4995 to get a proper HildonTouchSelectorColumn documentation
4997 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4999 * src/hildon-touch-selector-entry.c:
5000 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5001 text in the GtkEntry and there is no item selected. Fixes a
5004 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5006 * src/hildon-app-menu-private.h
5007 * src/hildon-app-menu.[ch]
5008 * src/hildon-button.[ch]
5009 * src/hildon-check-button.[ch]
5010 * src/hildon-entry.[ch]
5011 * src/hildon-pannable-area.[ch]
5012 * src/hildon-text-view.[ch]:
5013 Added private field to the object's structure.
5015 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5017 * configure.ac: post-release version bump
5019 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5023 * configure.ac: pre-release version bump
5025 * debian/changelog: updates.
5027 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5029 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5030 Disconnect the handler for HildonTouchSelector::changed.
5032 (hildon_picker_button_selector_selection_changed): Update the button
5033 value if the selection change was not triggered by the
5036 (hildon_picker_button_set_selector): connect to
5037 HildonTouchSelector::changed.
5039 Fixes: NB#89650 (Picker button is not updated, when selection in
5040 selector has changed)
5042 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5044 * src/hildon-picker-dialog.c
5045 (hildon_picker_dialog_realize): Removed as not required
5046 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5047 * src/hildon-picker-button.c
5048 (_current_selector_empty): New function, checks if the selector is empty
5049 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5050 if the current selector is empty, in order to avoid to show the dialog
5051 close the dialog in this case (and shows a g_warning).
5053 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5055 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5057 * src/hildon-pannable-area.c,
5058 (hildon_pannable_area_scroll): Added clause to stop movement when
5059 the child of pannable is smaller than one page.
5060 (hildon_pannable_area_scroll_to): Added conditions to avoid
5061 starting the scrolling movement if the child is smaller than one
5062 page, the complete child is in the screen, we do not have to move.
5064 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5066 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5068 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5069 this is managed automatically by the widget when the size of the
5072 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5074 * src/hildon-picker-button.c
5075 (hildon_picker_button_set_done_button_text): Make a copy of the
5076 text, and free the previous value.
5078 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5080 * src/hildon-touch-selector-entry.c:
5081 (hildon_touch_selector_entry_print_func): Return the selected row's
5082 text if the entry is empty.
5084 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5087 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5089 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5091 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5094 * src/hildon-check-button.h
5095 * src/hildon-check-button.c
5096 * examples/hildon-check-button-example.c:
5097 HildonCheckButton is now a new widget. 'toggled' signal added.
5099 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5101 * src/hildon-program-private.h
5102 * src/hildon-program.c (hildon_program_init)
5103 (hildon_program_finalize): Removed unused variables group_leader
5104 and name from HildonProgramPrivate.
5106 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5108 * src/hildon-check-button.c (hildon_check_button_set_active)
5109 (hildon_check_button_get_active, hildon_check_button_new): Use
5110 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5112 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5114 * src/hildon-touch-selector.h
5115 (hildon_touch_selector_set_column_attributes): added deprecation
5116 guard HILDON_DISABLE_DEPRECATED
5117 * src/hildon-time-selector.c
5118 (hildon_time_selector_set_time)
5119 (hildon_time_selector_get_time): Fixed a typo on documentation
5120 * src/hildon-touch-selector.c: update HildonTouchSelector and
5121 HildonTouchSelectorColumn documentation
5122 * src/hildon-touch-selector-entry.c: update "text-column" property
5124 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5125 to be added to the general documentation.
5127 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5129 * examples/hildon-pannable-area-example-4.c,
5131 * examples/hildon-pannable-area-example.c,
5132 (main): Modified the code in order to use the container add, with
5133 viewport treeviews could have problems if they are really big.
5135 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5137 * src/hildon-weekday-picker.c,
5138 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5139 the agreement regarding deprecation in the library.
5141 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5143 * examples/hildon-picker-button-multicolumn-example.c:
5144 (main): Use custom "done" button text.
5146 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5147 (hildon_picker_button_set_property),
5148 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5149 (hildon_picker_button_init),
5150 (+hildon_picker_button_get_done_button_text),
5151 (+hildon_picker_button_set_done_button_text): New methods to customize
5152 the "done" button label in the launched HildonPickerDialog. Also,
5155 * src/hildon-picker-button.h: add the public API.
5157 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5159 * src/hildon-date-selector.h:
5160 * src/hildon-picker-dialog.h:
5161 * src/hildon-time-selector.h:
5162 * src/hildon-touch-selector-column.h:
5163 * src/hildon-touch-selector.h:
5165 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5166 declarations. Fixes gtk-doc warnings.
5168 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5170 * src/hildon-picker-dialog.h
5171 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5172 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5174 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5175 long text is set as label for done button)
5177 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5179 * src/hildon-dialog.c (hildon_dialog_add_button):
5180 Set fixed width to all buttons in the HildonDialog.
5182 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5184 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5186 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5187 Set widget name using class name plus "-finger" or "-thumb".
5189 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5191 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5192 'clicked' when the state of the button is manually changed.
5194 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5196 * src/hildon-app-menu.c (hildon_app_menu_realize)
5197 (hildon_app_menu_unrealize, hildon_app_menu_init)
5198 (hildon_app_menu_class_init, item_visibility_changed):
5199 Change the menu layout when the size of the screen changes.
5200 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5201 Show warning only when changing the number of colums using the
5204 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5206 * debian/compat: Set to 5
5207 * debian/control: Update dependencies.
5208 * debian/libhildon1-dbg.install: Remove.
5209 * debian/libhildon1-dev.install: Update according to cdbs paths.
5210 * debian/libhildon1.install: Update according to cdbs paths.
5211 * debian/rules: Switch to cdbs.
5213 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5215 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5216 'item' variable renamed to 'filter'
5218 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5220 * src/hildon-app-menu.c (hildon_app_menu_insert)
5221 (hildon_app_menu_add_filter, remove_item_from_list)
5222 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5223 Don't leak hidden items when the menu is destroyed.
5225 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5227 * src/hildon-app-menu.c (hildon_app_menu_insert)
5228 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5229 (hildon_app_menu_set_columns, item_visibility_changed)
5230 (filter_visibility_changed, hildon_app_menu_repack_filters)
5231 (hildon_app_menu_repack_items):
5232 Repack items and filters separately.
5234 Don't repack all items, change only the ones that are needed to
5237 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5239 * src/Makefile.am: added hildon-touch-selector-column.h
5241 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5243 * src/hildon-touch-selector.c: added the property "text-column" to the
5244 class HildonTouchSelectorColumn, and related get/set functions
5245 (_default_printf_func): updated to use "text-column" property
5246 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5247 "text-column" in his documentation, as this is now included on
5248 HildonTouchSelectorColumn. The get/set_property can still be used,
5249 working as a wrapper to the concrete column "text-column" property
5250 (_text_column_modified): callback added in order to handle the signal
5251 "notify::text-column" of the concrete HildonTouchSelectorColumn
5252 (hildon_touch_selector_entry_get_text_column)
5253 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5254 modified in order to use the HildonTouchSelectorColumn "text-column"
5256 * src/hildon-time-selector.c:
5257 * src/hildon-date-selector.c:
5258 * examples/hildon-touch-selector-example.c
5259 * examples/hildon-touch-selector-multi-cells-example.c
5260 * examples/hildon-picker-button-multicolumn-example.c
5261 Set the right value to "text-column" property on the creation of a new
5262 column using hildon_touch_selector_append_column()
5264 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5266 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5268 * src/hildon-app-menu.c
5269 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5270 updating the layout of the menu, don't create all widgets again,
5271 just repack the items in their new places.
5273 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5275 * src/hildon-time-selector.c
5276 (hildon_time_selector_get_time)
5277 (hildon_time_selector_set_time)
5278 Added documentation of these public methods
5280 * src/hildon-date-button.h
5281 * src/hildon-touch-selector-column.h
5282 * src/hildon-time-button.h
5283 * src/hildon-picker-dialog.h
5284 * src/hildon-time-selector.h
5285 * src/hildon-picker-button.h
5286 * src/hildon-touch-selector.h
5287 * src/hildon-time-picker.h
5288 * src/hildon-date-selector.h
5289 * src/hildon-touch-selector-entry.h
5290 Modified in order to use hildon-widgets code style
5292 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5294 Added deprecated support to the compilation process using
5295 HILDON_DISABLE_DEPRECATED
5297 * configure.ac: Added the --disable-deprecated to the configure
5300 * src/hildon-weekday-picker.c:
5301 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5302 to use the deprecated support. We will update the other deprecated
5303 widgets status in a new patch.
5305 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5307 * configure.ac: Fixed typo with fatal warnings support, the
5308 variable name was not correct
5310 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5312 * src/hildon-app-menu.c
5313 * src/hildon-program.c: Update documentation.
5315 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5317 * configure.ac: Post-release version bump.
5319 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5324 * configure.ac: Pre-release version bump.
5325 * debian/changelog: Updates.
5327 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5329 * NEWS: Update news for previous releases.
5331 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5333 * examples/hildon-touch-selector-multi-cells-example.c:
5334 (create_selector): Update the example to use
5335 hildon_touch_selector_append_column() with a NULL renderer and set
5336 the renderers later.
5337 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5338 passed a NULL renderer. This is documented behavior now.
5340 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5341 This must be used if the developer wants full control on the layout of
5342 the renderers to be added to the column.
5344 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5346 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5348 * src/hildon-touch-selector.c: Documentation fixes.
5350 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5352 * src/hildon-wizard-dialog-private.h: Remove image and box.
5353 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5354 (hildon_wizard_dialog_set_property), (response): Completely remove
5355 image/icon support, and the containers required for the layout.
5357 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5359 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5361 * src/hildon-app-menu.c: Updated documentation.
5363 * src/hildon-stackable-window.c
5364 (hildon_stackable_window_set_main_menu): Unref the old menu after
5365 ref'ing the new one.
5367 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5369 * src/hildon-stackable-window.c
5370 (hildon_stackable_window_set_main_menu): Unref the previous menu
5371 instead of destroying it.
5373 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5374 floating reference and set has_user_ref_count to FALSE to make
5375 HildonAppMenu act like a normal ref-counted widget and not a
5378 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5381 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5383 * src/hildon-touch-selector-column.h: new file
5384 * src/hildon-touch-selector.h
5385 * src/hildon-touch-selector.c
5386 Implemented GtkCellLayout interface, in order to allow to configure
5387 the cell layout on each individual selector column
5388 (hildon_touch_selector_set_column_attributes): marked as deprecated
5389 * examples/hildon-touch-selector-multi-cells-example.c
5390 Example of how to use the GtkCellLayout interface on the selector
5392 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5394 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5396 * src/hildon-app-menu.h
5397 * src/hildon-app-menu.c
5398 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5399 (hildon_app_menu_append, hildon_app_menu_prepend):
5400 New methods to prepend, insert and move items in the menu.
5402 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5404 * src/hildon-wizard-dialog.c:
5406 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5408 (create_title): Update logical IDs and related code.
5409 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5411 * src/hildon-wizard-dialog.h: Note that
5412 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5413 point, as it is not used anymore.
5415 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5417 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5419 * src/hildon-note.c:
5420 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5421 shown. Do not display an icon in confirmation notes nor information
5423 (hildon_note_set_button_text): Update logical ID for cancel button.
5425 Fixes: NB#88850 (Update HildonNote button strings + signals)
5427 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5429 * src/hildon-stackable-window.c
5430 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5432 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5434 * src/hildon-app-menu-private.h
5435 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5436 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5437 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5438 temporary property 'columns' to change the number of columns.
5440 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5442 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5444 * examples/hildon-note-example.c: (on_information_clicked),
5445 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5446 debugging information.
5447 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5449 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5450 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5451 in order to close: this will be handled by the WM from now on.
5453 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5455 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5457 * src/hildon-app-menu-private.h
5458 * src/hildon-app-menu.c
5459 (hildon_app_menu_append, hildon_app_menu_add_filter)
5460 (button_visibility_changed, hildon_app_menu_apply_style)
5461 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5462 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5463 layout everytime a button (item or filter) is shown or hidden.
5465 * src/hildon-stackable-window.c
5466 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5469 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5471 * src/hildon-touch-selector.c:
5472 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5473 that the treeview inside the touch selector is in fremantle hildon mode
5474 * examples/hildon-date-button-example.c
5475 * examples/hildon-picker-button-multicolumn-example.c
5476 * examples/hildon-touch-selector-entry-example.c
5477 * examples/hildon-touch-selector-example.c
5478 * examples/hildon-time-button-example.c
5479 * examples/hildon-picker-button-example.c:
5480 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5482 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5484 * examples/hildon-text-view-example.c: (main): Remove the
5485 gtkrc bits, now handled by the theme.
5487 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5489 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5492 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5494 * po/Makefile.am: Install properly the mo files.
5495 * po/en_GB.po: Update translation, to ease testing purposes.
5497 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5499 * examples/hildon-picker-button-example.c: (main): Select an item
5500 in the selector before setting it to the button.
5502 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5504 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5505 Update button's value if the selector has an item active.
5507 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5508 'value' with the selector)
5510 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5512 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5513 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5514 (hildon_picker_button_class_init): Plug the finalize method.
5515 (hildon_picker_button_set_selector): If there's a previously set
5516 selector, unref'it before setting a new one.
5518 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5519 HildonTouchSelector)
5521 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5523 * src/hildon-touch-selector-entry.c:
5524 (hildon_touch_selector_entry_changed): Check if there is no text
5525 selected before setting the entry text.
5528 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5530 * src/hildon-touch-selector.h
5531 * src/hildon-touch-selector.c
5532 (hildon_touch_selector_get_active)
5533 (hildon_touch_selector_set_active): New methods to set/get the
5534 index of the selected item.
5536 * src/hildon-picker-button.h
5537 * src/hildon-picker-button.c
5538 (hildon_picker_button_get_active)
5539 (hildon_picker_button_set_active): New methods to set/get the
5540 index of the selected item.
5542 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5544 * configure.ac: post-release version bump.
5546 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5550 * configure.ac: Pre-release version bump.
5551 * debian/changelog: Updates.
5552 * debian/control: Add myself as maintainer and depend on l10n
5555 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5557 * src/hildon-window.c
5558 (hildon_window_set_main_menu)
5559 * src/hildon-stackable-window.c
5560 (hildon_stackable_window_set_main_menu):
5561 Updated documentation.
5563 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5565 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5566 Don't free selector->priv manually.
5569 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5572 (hildon_gtk_window_set_progress_indicator):
5573 * src/hildon-gtk.h: Added the new API
5574 hildon_gtk_window_set_progress_indicator, it changes the state of
5575 the window progress hint.
5577 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5579 * src/hildon-button.c
5580 * src/hildon-stackable-window.c: Minor documentation updates.
5582 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5584 * src/hildon-stackable-window.c: Updated documentation.
5586 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5588 * src/hildon-defines.h: Update margins definitions
5589 to the Fremantle sizes.
5592 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5594 * src/hildon-touch-selector.c,
5595 (_hildon_touch_selector_set_model): Cleaning the code after
5596 review, removed g_print and #if 0 from the code.
5598 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5600 * src/hildon-edit-toolbar.c: Update documentation.
5602 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5604 * src/hildon-check-button.h
5605 * src/hildon-check-button.c
5606 (hildon_check_button_set_label, hildon_check_button_get_label)
5607 * examples/hildon-check-button-example.c
5608 (button_clicked_cb):
5609 Removed deprecated methods.
5611 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5613 * src/hildon-text-view.c:
5614 Add sample code to the documentation.
5616 * src/hildon-entry.h
5617 * src/hildon-text-view.h:
5618 Minor cosmetic changes.
5620 * src/hildon-entry.c:
5621 Add sample code to the documentation.
5622 (hildon_entry_init, hildon_entry_refresh_contents):
5623 Don't allow NULL values in the placeholder.
5625 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5627 * doc/hildon-docs.sgml
5629 * examples/Makefile.am
5630 * examples/hildon-text-view-example.c
5632 * src/hildon-text-view.c
5633 * src/hildon-text-view.h
5635 New HildonTextView widget, with example.
5637 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5639 * po/POTFILES.in: Add missing files with translatable strings.
5640 Partially fixes NB#88287.
5642 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5644 * examples/hildon-pannable-area-example-2.c: (main): No need to
5645 set the cellrenderer height inside hildon touch lists, the theme does
5648 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5650 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5651 they are integrated in the theme.
5653 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5655 * examples/hildon-entry-example.c: Update the example adding
5656 widgets to modify the text and the placeholder of the HildonEntry.
5658 * src/hildon-entry.c: Show the placeholder everytime the widget
5659 is empty and loses the focus.
5661 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5663 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5665 * src/hildon-pannable-area.c,
5666 (hildon_pannable_area_size_request): Fixed bug in height
5667 requisition, avoid increasing size and add border twice.
5669 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5671 * configure.ac: postrelease version bump.
5673 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5677 * configure.ac: Prerelease version bump.
5678 * debian/changelog: update.
5679 * debian/rules: make -dbg package contain useful debugging symbols.
5681 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5683 * src/hildon-dialog.h
5684 * src/hildon-dialog.c
5685 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5686 New methods to add buttons with finger size.
5687 (hildon_dialog_new_with_buttons):
5688 Create buttons with finger size.
5690 * examples/hildon-dialog-example.c (main): Use HildonDialog
5691 methods to add buttons.
5693 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5695 * src/hildon-entry.c: Updated HildonButton documentation.
5697 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5699 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5700 button value label with (FALSE, FALSE) to prevent NB#88126 from
5703 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5705 * examples/hildon-pannable-area-example.c,
5706 (main): Removed examples panning a vbox inside a pannable
5707 area. Check bug NB#87965
5709 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5711 Patch contributed by Kris Rietveld (kris@imendio.com)
5713 * src/hildon-pannable-area.c,
5714 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5715 get_size and get_position, this saves an X server roundtrip.
5717 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5719 * doc/hildon-docs.sgml
5721 * examples/Makefile.am
5722 * examples/hildon-entry-example.c
5724 * src/hildon-entry.c
5725 * src/hildon-entry.h
5727 New HildonEntry widget, with example.
5729 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5731 * src/hildon-button.c (hildon_button_construct_child): Pack the
5732 image with expand == fill == FALSE. This is a workaround for a bug
5735 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5737 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5738 labels for the text column, to make it more look more dynamic.
5740 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5742 * src/hildon-time-selector.c
5743 Define gettext auxiliar macro N_
5744 (_create_minutes_model)
5745 (_create_hours_model)
5746 (_create_ampm_model): use of strftime in order to fill the model
5747 * src/hildon-date-selector.c
5748 (hildon_date_selector_finalize):
5749 (_locales_init): remove the logic related to get the name of the months
5750 using nl_langinfo, as it is not required anymore
5752 (_create_year_model)
5753 (_create_month_model)
5754 (_update_day_model): use of strftime in order to fill the model properly
5757 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5759 * src/hildon-button.h
5760 * src/hildon-button.c (hildon_button_get_image): New method to
5763 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5765 * src/hildon-touch-selector.c:
5766 (hildon_touch_selector_remove_column): Remove from the correct parent
5767 and also remove the list element and free it.
5770 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5772 * src/hildon-time-selector.c
5773 (_create_hours_model): change the range on 12h ampm format in order to use
5774 a 12-11 range instead of previous 01-12 range
5775 (hildon_time_selector_set_time): change the way to select the current time
5776 on 12h ampm format, due the change on the range
5777 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5780 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5782 * src/hildon-touch-selector.c
5783 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5784 in order to allow use this function on multiple row selection mode if
5785 the column is different that the first one
5788 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5790 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5791 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5793 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5795 * src/hildon-date-selector.h: clean some comments, now on the .c
5796 * src/hildon-date-selector.c
5797 (hildon_date_selector_select_month): first implementation
5798 (hildon_date_selector_select_day): added documentation, reimplemented
5799 using hildon_date_selector_select_current_date to avoid repeat code
5802 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5804 Reviewed interaction logic based on device experiences, refactored
5807 * src/hildon-pannable-area.c,
5808 (hildon_pannable_area_class_init): Updated default vmax speed.
5809 (hildon_pannable_area_calculate_velocity): Added this function, it
5810 avoids duplicate valocity calculation. Adjusted calculation to
5811 avoid problems with zero dist events.
5813 (hildon_pannable_area_motion_notify_cb): Now we use the
5814 calculate_velocity function.
5816 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5818 * src/hildon-date-selector.c
5819 (hildon_date_selector_select_current_date): fix the day range check
5820 as it failed using the last day of the current month
5823 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5825 * src/hildon-touch-selector.c
5826 (hildon_touch_selector_get_num_columns): added a parameter validation
5829 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5831 * examples/Makefile.am
5832 * examples/hildon-edit-toolbar-example.c: Example of the
5833 HildonEditToolbar widget.
5835 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5837 * configure.ac: postrelease version bump.
5839 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5843 * configure.ac: prerelease version bump.
5844 * debian/changelog: update.
5846 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5848 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5849 renderer to display stock icons in the touch list. Also, set the sizes
5850 to the recommended in the style guide.
5852 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5853 * src/hildon-touch-selector.h
5854 (hildon_touch_selector_set_active_iter): renamed, now is
5855 hildon_touch_selector_select_iter
5856 (hildon_touch_selector_get_active_iter): renamed, now is
5857 hildon_touch_selector_get_selected
5858 (hildon_touch_selector_unselect_iter): added
5859 * src/hildon-touch-selector.c
5860 Update after API modification (methods renamed)
5861 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5862 order to avoid problems selecting multiple elements on the column
5863 (hildon_touch_selector_unselect_iter): added the implementation
5864 * src/hildon-time-selector.c
5865 * src/hildon-date-selector.c
5866 * src/hildon-touch-selector-entry.c
5867 Update methods calls after hildon-touch-selector.h API modification (methods
5870 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5872 * src/hildon-stackable-window.c
5873 (hildon_stackable_window_finalize): Call the parent class's finalize.
5875 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5877 * examples/hildon-touch-selector-example.c: (create_selector): Use
5878 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5881 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5883 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5884 set a cell background color, to respect theming.
5886 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5888 * doc/hildon-docs.sgml
5891 * src/hildon-edit-toolbar.c
5892 * src/hildon-edit-toolbar.h
5893 * src/hildon.h: New HildonEditToolbar widget.
5895 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5897 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5900 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5901 * src/hildon-touch-selector.c
5902 (_create_new_column): use g_object_set instead of two g_object_set_property
5904 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5905 * src/hildon-touch-selector.c
5906 (_create_new_column): use of hildon_gtk_tree_view_new to create
5907 the treeview, instead of use directly g_object_new
5908 (_create_new_column): update the property name "vindicator-mode" for the
5909 new one "vscrollbar-policy"
5910 * examples/hildon-date-button-example.c
5911 * examples/hildon-picker-button-multicolumn-example.c
5912 * examples/hildon-touch-selector-entry-example.c
5913 * examples/hildon-touch-selector-example.c
5914 * examples/hildon-time-button-example.c
5915 * examples/hildon-picker-button-example.c
5916 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5917 to all the treeviews inside a pannable area.
5919 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5921 * src/hildon-button.h
5922 * src/hildon-button.c (hildon_button_init)
5923 (hildon_button_set_arrangement, hildon_button_set_alignment)
5924 (hildon_button_set_title_alignment)
5925 (hildon_button_set_value_alignment)
5926 (hildon_button_set_image_alignment)
5927 (hildon_button_construct_child): New methods to set the alignment
5928 of the individual components of the button (title, value,
5929 image). Also, new method to alter the xscale and yscale properties
5930 of the GtkAlignment inside the button, so more complex layouts can
5933 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5935 * src/hildon-button.c (hildon_button_style_set)
5936 (hildon_button_class_init, hildon_button_set_arrangement)
5937 (hildon_button_construct_child): Apply style properties
5938 correctly. Use the 'image-spacing' style property too.
5940 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5942 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5943 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5946 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5948 * src/hildon-pannable-area.c,
5949 (hildon_pannable_area_size_request): Fixed problem with
5950 pannable-area size_request.
5952 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5954 Added management for the grab-focus to a child widget, like a
5955 range, we need to fade out the scrollbar when releasing.
5957 * src/hildon-pannable-area.c,
5958 (hildon_pannable_area_init): Connected the grab-focus signal to
5960 (hildon_pannable_area_grab_notify): Added this function in order
5961 to manage the situation when the grab-focus ends. We have to
5962 fade-out the scrollbar.
5964 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5966 * src/hildon-app-menu.c: Minor documentation update.
5968 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5970 * src/hildon-app-menu.c
5971 * examples/hildon-app-menu-example.c (create_menu): Update
5972 examples and documentation to explain how to connect callbacks.
5974 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5976 * examples/hildon-button-example.c
5977 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5978 hildon_stackable_window_new instead of gtk_window_new
5980 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5982 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5983 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5984 (hildon_pannable_area_set_property),
5985 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5986 (hildon_pannable_area_unrealize),
5987 (hildon_pannable_area_size_request),
5988 (hildon_pannable_area_size_allocate),
5989 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5990 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5991 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5992 (hildon_pannable_area_initial_effect),
5993 (hildon_pannable_area_redraw),
5994 (hildon_pannable_area_scroll_indicator_fade),
5995 (hildon_pannable_area_expose_event),
5996 (hildon_pannable_area_get_topmost), (synth_crossing),
5997 (hildon_pannable_area_button_press_cb),
5998 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5999 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6000 (hildon_pannable_area_motion_notify_cb),
6001 (hildon_pannable_area_button_release_cb),
6002 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6003 (hildon_pannable_area_remove),
6004 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6005 chage the code layout to a more GtkWidget like. Review the use of
6008 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6010 * examples/hildon-pannable-area-example-4.c,
6011 (main): Modified the name of the hindicator_mode to
6014 * src/hildon-pannable-area.c,
6015 (hildon_pannable_area_class_init),
6016 (hildon_pannable_area_motion_notify_cb),
6017 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6018 we have reduced the amount of signals and managed reviewed its
6019 rationale. Changed the default decelerate value.
6021 (hildon_pannable_area_add),
6022 (hildon_pannable_area_redraw): Refactored functions.
6024 (hildon_pannable_area_init),
6025 (hildon_pannable_area_get_property),
6026 (hildon_pannable_area_set_property):
6027 (hildon_pannable_draw_vscroll),
6028 (hildon_pannable_draw_hscroll),
6029 (hildon_pannable_area_initial_effect),
6030 (hildon_pannable_area_expose_event),
6031 (hildon_pannable_area_scroll),
6032 (hildon_pannable_area_button_press_cb),
6033 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6034 and vindicator_mode with hscrollbar_policy and
6035 vscrollbar_policy. Replaced hscroll and vscroll with
6036 hscroll_visible and vscroll_visible.
6038 (hildon_pannable_area_refresh): Refactor the function, remove
6039 variables and check the calls to this function, added resize
6040 conditions in case the children change their layout.
6042 (hildon_pannable_area_size_request): Added more detailed
6043 size_request calculation.
6046 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6048 * src/hildon-color-chooser.c
6049 (init_borders): use the correct gtk_border_free instead of g_free, to
6050 avoid a crash when this widget is used (ie: the three color selection
6053 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6055 * src/hildon-check-button.c,
6056 (hildon_check_button_set_active): Fixed problem when setting the
6057 active value, the widget was not redrawn.
6059 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6061 * src/hildon-pannable-area.c,
6062 (hildon_pannable_area_refresh),
6063 (hildon_pannable_area_scroll),
6064 (hildon_pannable_area_motion_notify_cb): Small code style change.
6066 (hildon_pannable_area_class_init): Default initial_hint set to
6067 FALSE, it is not in the specs.
6069 (hildon_pannable_area_initial_effect),
6070 (hildon_pannable_area_expose_event),
6071 (hildon_pannable_area_map),
6072 (hildon_pannable_area_init): Moved the launching point of the
6073 initial effect, it was in map but the sizes where not correct in
6074 that method so we do not know if we have the reproduce it. Now it
6075 is placed in the expose_event method and uses a variable to
6076 reproduce it just once.
6078 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6080 * src/hildon-pannable-area.c,
6081 (hildon_pannable_draw_vscroll),
6082 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6083 position allowed for the scrollbars.
6085 (hildon_pannable_area_size_allocate): Small style change.
6087 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6089 * src/hildon-pannable-area.c,
6090 (hildon_pannable_area_scroll_indicator_fade),
6091 (hildon_pannable_area_button_press_cb),
6092 (hildon_pannable_area_button_release_cb),
6093 (hildon_pannable_area_scroll_cb),
6094 (hildon_pannable_area_expose_event),
6095 (hildon_pannable_area_init): Added the define parameter
6096 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6097 and refactor the fade variable.
6099 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6101 * src/hildon-pannable-area.c,
6102 (hildon_pannable_area_redraw),
6103 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6104 lines, we were reimplemeting the redraw code.
6106 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6108 * src/hildon-pannable-area.c,
6109 (hildon_pannable_area_scroll_cb),
6110 (hildon_pannable_area_realize),
6111 (hildon_pannable_area_class_init): Added scroll_event management
6112 for pannable area, now we can scroll the usual desktop method.
6114 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6115 initialization of the parameters should depend on idle_id.
6117 (hildon_pannable_area_init),
6118 (hildon_pannable_area_map): Small code style modifications
6120 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6122 * src/hildon-pannable-area.c
6123 (hildon_pannable_area_button_press_cb),
6124 (hildon_pannable_area_motion_notify_cb),
6125 (hildon_pannable_area_button_release_cb),
6126 (hildon_pannable_area_size_allocate),
6127 (hildon_pannable_area_scroll_to): Improved the timeouts
6128 management, we avoid creating them each time.
6130 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6132 * src/hildon-pannable-area.c:
6133 (hildon_pannable_area_refresh),
6134 (hildon_pannable_area_motion_notify_cb),
6135 (hildon_pannable_area_class_init):
6136 * src/hildon-pannable-area.h:
6137 * src/hildon-touch-selector.c
6138 (_create_new_column):
6139 * examples/hildon-pannable-area-example-4.c:
6140 (horizontal_movement),
6141 (vertical_movement),
6143 Replaced the names of enums in the HildonPannableArea:
6144 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6145 HILDON_MOVEMENT_MODE_*
6146 - HILDON_PANNABLE_AREA_MOV_* ->
6148 - Removed HildonPannableAreaIndicatorMode, now we
6151 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6153 * examples/hildon-pannable-area-touch-grid-example.c
6154 * examples/hildon-pannable-area-touch-list-example.c: Fix
6155 compilation warnings.
6157 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6159 * src/hildon-gtk.c (hildon_gtk_button_new)
6160 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6161 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6162 images overriding the value of the "gtk-button-images" setting.
6164 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6166 * src/hildon-check-button.c (hildon_check_button_new):
6167 Instead of using a custom container, display the label and the
6168 checkbox using the standard GtkButton API.
6170 * examples/hildon-check-button-example.c (main): Don't use
6171 hildon_check_button_set_label() anymore
6173 * src/hildon-check-button.h
6174 * src/hildon-check-button.c
6175 (hildon_check_button_set_label, hildon_check_button_get_label):
6176 Set as deprecated, now we're using gtk_button_{get,set}_label()
6178 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6180 * src/hildon-pannable-area.c,
6181 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6182 GtkTreeview first line we detected it after the inclusion of the
6183 GtkWindowImpl in gtk+. We now check if the window is visible, not
6184 just if the pointer is over the window.
6185 (hildon_pannable_axis_scroll),
6186 (hildon_pannable_area_expose_event): Small style changes.
6188 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6190 * src/hildon-button.c: Update documentation.
6192 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6194 * examples/hildon-button-example.c: Add a switch to show images in
6197 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6199 * doc/hildon-docs.sgml: Some docs reorganization.
6201 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6203 * examples/hildon-pannable-area-touch-list-example.c
6205 * examples/hildon-pannable-area-touch-grid-example.c
6206 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6207 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6208 Fix memory leak when setting the tree model.
6210 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6214 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6216 * doc/hildon.types: Remove duplicated hildon_window_get_type
6217 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6218 documentation comment.
6220 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6222 * doc/Makefile.am: Complete list of private headers.
6224 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6226 * doc/hildon-docs.sgml
6227 * src/hildon-app-menu.c
6228 * src/hildon-bread-crumb.c
6229 * src/hildon-button.c
6231 * src/hildon-program.c
6232 * src/hildon-stackable-window.c
6233 * src/hildon-window.c: Lots of documentation updates.
6235 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6237 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6239 * configure.ac: Require Gtk+ 2.12.9 at least
6241 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6243 * src/hildon-pannable-area.c
6244 (hildon_pannable_area_scroll_indicator_fade),
6245 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6246 to protect the return of this timeout callbacks, avoiding deadlocks.
6248 2008-08-12 Christian Dywan <christian@imendio.com>
6251 * src/hildon-*.h: Ensure a consistent include order,
6252 include <gtk/gtk.h> instead of particular files and
6253 only include the topmost header in the gtk stack. See NB #39857
6255 2008-08-12 Christian Dywan <christian@imendio.com>
6257 * src/hildon-picker-dialog.c
6258 * src/hildon-touch-selector.c: Fix warnings about unused and
6259 uninitialized variables.
6261 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6263 * examples/Makefile.am
6264 * examples/hildon-check-button-example.c: Example of the hildon
6267 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6269 * src/hildon-window.h
6270 * src/hildon-window.c (hildon_window_class_init)
6271 (hildon_window_unset_program): Don't make
6272 hildon_window_unset_program a virtual function anymore.
6274 * src/hildon-stackable-window.c: Update documentation
6276 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6279 * doc/hildon-docs.sgml
6280 * doc/visual_index.xml
6281 * src/hildon-defines.c
6283 * src/hildon-helper.c
6284 * src/hildon-range-editor.c: Lots of documentation fixes.
6286 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6288 * examples/hildon-picker-button-multicolumn-example.c
6289 (create_touch_selector): Fix compilation warning.
6291 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6293 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6294 (hildon_pannable_area_button_release_cb)
6295 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6297 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6299 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6302 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6304 * src/hildon-bread-crumb-trail.h
6305 * src/hildon-date-editor.c
6306 * src/hildon-date-selector.c
6307 * src/hildon-pannable-area.c
6308 * src/hildon-picker-dialog.c
6309 * src/hildon-time-selector.c
6310 * src/hildon-touch-selector-entry.c
6311 * src/hildon-touch-selector.c
6312 * src/hildon-touch-selector.h: Misc documentation fixes
6314 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6316 * examples/hildon-date-editor-example.c (main): Updated date
6319 * examples/hildon-note-example.c (on_confirmation_clicked):
6320 Updated confirmation note example.
6322 * src/hildon-date-editor.c
6323 * src/hildon-note.c: Updated sample programs in documentation.
6326 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6328 * src/hildon-date-button.h:
6329 * src/hildon-picker-button.h:
6330 * src/hildon-time-button.c:
6331 * src/hildon-time-button.h:
6333 Some declarations changes to allow gtk-doc to document the widgets
6336 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6338 * src/hildon-date-button.c: Document the widget.
6339 * src/hildon-time-button.c: Document the widget.
6341 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6343 * src/hildon-picker-button.c: Document the widget.
6344 * src/hildon-touch-selector-entry.c: Document the widget.
6346 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6348 * doc/hildon-docs.sgml
6351 * src/hildon-check-button.h
6352 * src/hildon-check-button.c: New functions to create the Hildon
6356 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6358 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6360 * src/hildon-button.h
6361 * src/hildon-button.c
6362 (hildon_button_add_title_size_group)
6363 (hildon_button_add_value_size_group)
6364 (hildon_button_add_image_size_group)
6365 (hildon_button_add_size_groups): New functions to set size groups
6366 for the button labels and image.
6367 (hildon_button_new_full): Removed
6369 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6371 * src/hildon-time-selector.c
6372 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6373 in order to avoid a crash if gconf is not available
6375 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6377 * src/hildon-button.c (hildon_button_set_arrangement)
6378 (hildon_button_construct_child): Don't construct the button child
6379 before setting the arrangement.
6381 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6383 * src/hildon-program-private.h
6384 * src/hildon-program.c
6385 * src/hildon-program.h
6386 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6387 (hildon_program_peek_window_stack)
6388 (hildon_program_pop_window_stack)
6389 (hildon_program_go_to_root_window): HildonProgram now has a
6390 separate list for stackable windows. Functions are provided to
6391 manage that list with a stack-like API.
6393 * src/hildon-stackable-window.c: Stackable window management is
6394 now much simpler with the new HildonProgram API. Windows no
6395 longer need to be manually added to the program, they're
6396 automatically pushed to the top of the stack when shown.
6398 * examples/hildon-stackable-window-example.c: Updated example to
6399 reflect the API changes.
6401 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6403 * src/hildon-touch-selector.c: Comment out unimplemented
6404 hildon_touch_selector_insert_column() to avoid a compile warning.
6406 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6408 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6409 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6410 (hildon_touch_selector_set_column_selection_mode),
6411 (_hildon_touch_selector_set_model),
6412 (hildon_touch_selector_set_model):
6414 Complete review of HildonTouchSelector documentation.
6416 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6418 * doc/hildon-docs.sgml
6422 * src/hildon-gtk.c: Convenience functions for standard Gtk
6423 widgets, used to easily perform frequent operations.
6425 * src/hildon-button-helpers.h
6426 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6428 * src/hildon-helper.h
6429 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6430 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6432 * src/hildon-button.h
6433 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6435 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6437 * src/hildon-button.c (hildon_button_init)
6438 (hildon_button_set_arrangement, hildon_button_construct_child):
6439 Pack the image and the labels inside the same GtkAlignment so
6440 gtk_button_set_alignment() can be used
6442 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6444 * src/hildon-button.h
6445 * src/hildon-button.c
6446 (hildon_button_init, hildon_button_set_image)
6447 (hildon_button_set_image_position)
6448 (hildon_button_construct_child): New functions to add an image to
6451 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6453 * src/hildon-date-button.c
6454 * src/hildon-picker-button.c
6455 * src/hildon-time-button.c
6456 * src/hildon-button.c:
6457 (hildon_button_class_init): "size-flags" renamed to "size"
6458 (hildon_button_set_title): Hide the title label if set to NULL.
6460 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6462 HildonButtonFlags split into HildonButtonArrangement (to set the
6463 button layout) and HildonSizeType (which can be used for any
6466 * src/hildon-button.h
6467 * src/hildon-button.c
6468 (hildon_button_class_init)
6469 (hildon_button_set_arrangement)
6470 (hildon_button_set_property): New "size-flags"
6471 property. "arrangement-flags" renamed to "arrangement".
6472 (hildon_button_new, hildon_button_new_with_text)
6473 (hildon_button_new_full): Constructors updated to reflect type changes.
6475 * src/hildon-helper.h
6476 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6477 to set the size of a widget.
6481 * src/hildon-button-helpers.c
6482 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6484 * src/hildon-date-button.c
6485 * src/hildon-date-button.h
6486 * src/hildon-picker-button.c
6487 * src/hildon-picker-button.h
6488 * src/hildon-time-button.c
6489 * src/hildon-time-button.h: Updated widgets to reflect
6490 HildonButton API changes.
6492 * examples/hildon-button-example.c
6493 * examples/hildon-date-button-example.c
6494 * examples/hildon-picker-button-example.c
6495 * examples/hildon-picker-button-multicolumn-example.c
6496 * examples/hildon-time-button-example.c
6497 * examples/hildon-touch-selector-entry-example.c
6498 * examples/hildon-touch-selector-example.c: Updated examples to
6499 reflect HildonButton API changes.
6501 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6503 * doc/hildon-docs.sgml:
6505 * examples/Makefile.am:
6506 * examples/hildon-touch-selector-entry-example.c:
6508 * src/hildon-touch-selector-entry.c:
6509 * src/hildon-touch-selector-entry.h:
6512 Moved HildonTouchSelectorEntry from sandbox. Added its
6513 documentation and examples.
6515 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6517 * src/hildon-touch-selector.h:
6518 * examples/hildon-picker-button-multicolumn-example.c:
6519 (hildon_touch_selector_append_text_column): Add a gboolean
6520 parameter to determine if text must be centered in the column.
6522 * src/hildon-date-selector.c: (hildon_date_selector_init):
6523 * src/hildon-time-selector.c: (hildon_time_selector_init):
6524 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6525 (create_touch_selector): Update widgets and example to reflect
6528 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6530 * src/hildon-touch-selector.c:
6531 (hildon_touch_selector_set_active_iter): Set also the cursor in
6534 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6536 * doc/hildon-docs.sgml
6539 * src/hildon-toggle-button.c
6540 * src/hildon-toggle-button.h
6541 * src/hildon.h: Removed HildonToggleButton widget, a derived
6542 class is not necessary for this.
6544 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6546 * src/hildon-pannable-area.c,
6547 (hildon_pannable_area_realize),
6548 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6551 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6553 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6554 "done" button the default widget for the dialog.
6556 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6558 * src/hildon-touch-selector.c:
6559 (hildon_touch_selector_class_init),
6560 (hildon_touch_selector_get_property),
6561 (_hildon_touch_selector_set_model),
6562 (_hildon_touch_selector_has_multiple_selection),
6563 (hildon_touch_selector_has_multiple_selection):
6564 Add a "has-multiple-selection" property with a virtual
6565 has_multiple_selection() method to allow derived classes to
6566 override the default value for it. See the method and property
6567 documentation for details.
6569 * src/hildon-touch-selector.h: Add the new API.
6571 * src/hildon-picker-dialog.c: (requires_done_button): Call
6572 hildon_touch_selector_has_multiple_selection() instead of
6573 determining the need for a button itself.
6575 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6577 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6578 (_hildon_touch_selector_set_model),
6579 (hildon_touch_selector_set_model): Move working code to
6580 _hildon_touch_selector_set_mode(). Call the class method instead.
6582 * src/hildon-touch-selector.h: Add (*set_model) to
6583 HildonTouchSelectorClass.
6585 Make hildon_touch_selector_set_model() a virtual method, so that
6586 derived classes can extend it and do fancy stuff with the model.
6588 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6590 * configure.ac: Set back the tarname in AC_INIT to hildon.
6592 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6596 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6597 instead of libesd (NB#86876). Volume handling is still an open issue.
6599 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6602 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6604 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6605 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6606 derived class to ease placement of an entry widget in
6607 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6608 end, where the selector columns are packed now.
6610 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6612 * src/hildon-picker-button.c: Removed the simple _text() API.
6613 * src/hildon-picker-button.h: Likewise.
6615 * src/hildon-touch-selector.h:
6616 * src/hildon-touch-selector.c:
6617 (hildon_touch_selector_new_text),
6618 (hildon_touch_selector_append_text),
6619 (hildon_touch_selector_prepend_text),
6620 (hildon_touch_selector_insert_text):
6622 Moved the simple _text() API from HildonPickerButton to
6623 HildonTouchPicker, to provide better escalability and not to tie
6624 that API to HildonPickerButton.
6626 * examples/hildon-picker-button-example.c: (main): Example updated.
6628 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6630 * src/hildon-button.c: Updated documentation.
6632 * examples/hildon-button-example.c: Add the posibility to create
6633 the buttons using horizontal layout for title and value.
6635 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6637 * src/hildon-app-menu-private.h
6638 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6639 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6640 GtkSizeGroup for the filters, use the 'homogeneous' property of
6643 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6645 * examples/hildon-button-example.c: Updated example.
6647 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6649 * doc/hildon-docs.sgml:
6652 Update documentation.
6654 * examples/Makefile.am: Update renamed examples.
6656 * examples/hildon-picker-button-multicolumn-example.c:
6657 (create_touch_selector), (main): Update after the rename.
6659 * examples/hildon-touch-picker-example.c: Removed.
6660 * examples/hildon-touch-selector-example.c: (value_changed),
6661 (create_selector), (get_visible_content), (main): Renamed from
6662 hildon-touch-picker-example.c
6664 * src/Makefile.am: Updated renamed files.
6666 * src/hildon-date-button.c: (hildon_date_button_init),
6667 (hildon_date_button_get_date), (hildon_date_button_set_date):
6668 * src/hildon-date-selector.c: (hildon_date_selector_init),
6669 (_custom_print_func), (_update_day_model),
6670 (_manage_selector_change_cb),
6671 (hildon_date_selector_select_current_date),
6672 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6673 * src/hildon-date-selector.h:
6674 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6675 (hildon_picker_button_set_property),
6676 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6677 (hildon_picker_button_init), (hildon_picker_button_new_text),
6678 (hildon_picker_button_append_text),
6679 (hildon_picker_button_prepend_text),
6680 (hildon_picker_button_insert_text),
6681 (hildon_picker_button_set_selector),
6682 (hildon_picker_button_get_selector):
6683 * src/hildon-picker-button.h:
6684 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6685 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6686 (_update_title_on_selector_changed_cb), (requires_done_button),
6687 (_hildon_picker_dialog_set_selector),
6688 (hildon_picker_dialog_set_selector),
6689 (hildon_picker_dialog_get_selector):
6690 * src/hildon-picker-dialog.h:
6691 * src/hildon-time-button.c: (hildon_time_button_init),
6692 (hildon_time_button_get_time), (hildon_time_button_set_time):
6693 * src/hildon-time-selector.c: (hildon_time_selector_init),
6694 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6695 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6696 * src/hildon-time-selector.h:
6699 Massive code updates after the rename.
6701 * src/hildon-touch-picker.c: Removed.
6702 * src/hildon-touch-picker.h: Removed.
6704 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6705 (hildon_touch_selector_init), (hildon_touch_selector_map),
6706 (hildon_touch_selector_remove), (_default_print_func),
6707 (_selection_changed_cb), (_create_new_column),
6708 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6709 (hildon_touch_selector_append_text_column),
6710 (hildon_touch_selector_remove_column),
6711 (hildon_touch_selector_set_column_attributes),
6712 (hildon_touch_selector_insert_column),
6713 (hildon_touch_selector_get_num_columns),
6714 (hildon_touch_selector_get_column_selection_mode),
6715 (hildon_touch_selector_set_column_selection_mode),
6716 (hildon_touch_selector_set_print_func),
6717 (hildon_touch_selector_get_print_func),
6718 (hildon_touch_selector_get_active_iter),
6719 (hildon_touch_selector_set_active_iter),
6720 (hildon_touch_selector_get_selected_rows),
6721 (hildon_touch_selector_get_model),
6722 (hildon_touch_selector_set_model),
6723 (hildon_touch_selector_get_current_text),
6724 (_hildon_touch_selector_center_on_selected_items):
6725 * src/hildon-touch-selector.h: Renamed from
6726 hildon-touch-picker.[ch]
6728 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6729 references, code examples, and related documentation.
6731 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6733 * doc/hildon-docs.sgml
6736 * src/hildon-toggle-button.c
6737 * src/hildon-toggle-button.h
6738 * src/hildon.h: New HildonToggleButton widget.
6740 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6742 * src/hildon-button.c: Add API documentation.
6743 (hildon_button_set_size_groups): Check input parameters
6745 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6747 * src/hildon-pannable-area.c
6748 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6749 effect after reaching the movement thredshold. This way we start
6750 using the distance after passing the thredshold.
6752 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6754 * src/hildon-button.c: (hildon_button_set_property): Use the
6755 appropriate g_value_get_flags() method.
6757 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6759 * doc/hildon-docs.sgml:
6762 Add the touch pickers, picker dialogs, and picker button widgets
6763 to the documentation.
6765 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6767 * src/hildon-button.c: (hildon_button_set_property),
6768 (hildon_button_class_init): Make "arrangement-flags" a proper
6769 G_TYPE_FLAGS derived property.
6771 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6773 * examples/Makefile.am: Add below examples.
6774 * examples/hildon-date-button-example.c:
6775 * examples/hildon-picker-button-example.c:
6776 * examples/hildon-picker-button-multicolumn-example.c:
6777 * examples/hildon-time-button-example.c:
6778 * examples/hildon-touch-picker-example.c:
6780 Add examples for the recently added touch pickers,
6781 picker dialogs, and picker button widgets.
6783 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6785 * src/hildon-button.c: Add some API documentation
6787 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6789 * src/hildon-button.h
6790 * src/hildon-button.c
6792 (hildon_button_new_with_text): New constructor to create a button
6793 with no text at all.
6794 (hildon_button_init, hildon_button_set_arrangement)
6795 (hildon_button_set_title, hildon_button_set_value)
6796 (hildon_button_set_text)
6797 (hildon_button_construct_child): Hide the value when it's not used
6798 so the rest of the text is properly aligned.
6799 Allow creating buttons with arbitrary widgets inside (not just
6800 title/value labels).
6802 * examples/hildon-button-example.c (vertical_buttons_window)
6803 (horizontal_buttons_window): Update example to use new API.
6805 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6807 * src/Makefile.am: Added HildonTimeButton.
6808 * src/hildon-time-button.c: Added missing LGPL header.
6809 * src/hildon-time-button.h: Added missing LGPL header.
6810 * src/hildon.h: Add hildon-time-button.h
6812 Copied HildonTimeButton from sandbox to trunk. Future work on this
6813 widget must take place in trunk.
6815 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6817 * src/Makefile.am: Added HildonDateButton.
6818 * src/hildon-date-button.c: Update includes.
6819 * src/hildon.h: Add hildon-date-button.h
6821 Copied HildonDateButton from sandbox to trunk. Future work on this
6822 widget must take place in trunk.
6824 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6826 * src/Makefile.am: Added HildonPickerButton.
6827 * src/hildon-picker-button.h: Update includes.
6828 * src/hildon.h: Add hildon-picker-button.h
6830 Copied HildonPickerButton from sandbox to trunk. Future work on
6831 this widget must take place in trunk.
6833 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6835 * src/Makefile.am: Added HildonPickerDialog.
6836 * src/hildon-picker-dialog.c: Update includes.
6837 * src/hildon.h: Add hildon-picker-dialog.h
6839 Copied HildonPickerDialog from sandbox to trunk. Future work
6840 on this widget must take place in trunk.
6842 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6844 * src/Makefile.am: Added HildonTimeSelector.
6845 * src/hildon.h: Add hildon-time-selector.h
6847 Copied HildonTimeSelector widget from sandbox to trunk. Future
6848 work on this widget must happen in trunk.
6850 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6852 * src/Makefile.am: Added HildonDateSelector.
6853 * src/hildon.h: Add hildon-date-selector.h
6855 Copied HildonDateSelector widget from sandbox to trunk. Future
6856 work on this widget must happen in trunk.
6858 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6860 * src/Makefile.am: Added HildonTouchPicker.
6861 * src/hildon-touch-picker.c: Update includes.
6862 * src/hildon.h: Add hildon-touch-picker.h
6864 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6865 on this widget must happen in trunk.
6867 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6869 * src/hildon-pannable-area.c:
6870 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6872 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6874 * examples/hildon-app-menu-example.c (main): Let the window
6877 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6879 * src/hildon-pannable-area.c
6880 (hildon_pannable_area_class_init): Set the min value of the
6881 overshoot properties to zero, which points out that not
6882 overshooting allowed.
6884 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6886 Modified the procedure to get the widget at a point inside the
6887 pannable area when using the movement type signals. Now the user
6888 has to call a function to get the child, that way we just
6889 calculate the child in case the user really want to use it and not
6892 * src/hildon-marshalers.list: Modified the marshallers, now we do
6893 not have the widget as a parameter.
6895 * src/hildon-pannable-area.c
6896 (hildon_pannable_area_motion_notify_cb),
6897 (hildon_pannable_area_class_init),
6898 (hildon_pannable_get_child_widget_at): Removed the widget
6899 parameter from the signal callback. We have also refactored the
6900 emission of the signals.
6902 * src/hildon-pannable-area.h: Added a new method to the API to
6903 calculate a widget at a point inside the pannable area,
6904 hildon_pannable_get_child_widget_at.
6906 * examples/hildon-pannable-area-example-4.c
6907 (horizontal_movement): Modified the example to use the new API,
6908 added condition to control which widget is under the event. This
6909 way we can avoid scrolling laterally over other widgets.
6911 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6913 * src/hildon-pannable-area.c
6914 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6915 modes, we stop getting the pointer events due to returning the
6916 callback without properly calling the get pointer again. Fixed
6917 also an error using the hscroll and vscroll.
6919 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6921 * src/hildon-app-menu-private.h
6922 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6923 (hildon_app_menu_button_release, hildon_app_menu_init)
6924 (hildon_app_menu_class_init): Don't hide the menu on button
6925 release if the user didn't press outside first.
6927 * src/hildon-window.h
6928 * src/hildon-window.c (hildon_window_toggle_menu)
6929 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6930 hildon_window_toggle_menu a virtual function for the stackable
6931 window to override it.
6933 * src/hildon-stackable-window.h
6934 * src/hildon-stackable-window-private.h
6935 * src/hildon-stackable-window.c
6936 (hildon_stackable_window_realize)
6937 (hildon_stackable_window_finalize)
6938 (hildon_stackable_window_class_init)
6939 (hildon_stackable_window_init)
6940 (hildon_stackable_window_set_main_menu): New function to set the
6941 app menu of a HildonStackableWindow.
6943 * examples/hildon-app-menu-example.c: Remove the button to show
6944 the app menu, now it'll be shown when clicking on the title bar
6947 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6949 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6950 set the widget name if the arrangement flags do not specify
6953 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6955 * src/hildon-button.c: (hildon_button_set_property),
6956 (hildon_button_class_init), (hildon_button_new_full),
6957 (hildon_button_set_arrangement): Added "arrangement-flags"
6960 Make the HildonButtonFlags a construction-only property, to allow
6961 subclasses to set them properly.
6963 2008-07-21 Tim Janik <timj@imendio.com>
6965 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6966 insertion position after backspace, so additional digits are appended,
6969 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6971 * src/hildon-pannable-area.c,
6972 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6973 TODO list, it was complete and removed the g_debug and g_print
6976 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6978 Added the movement modes to the hildon-pannable-area, with this
6979 modes the developers can control in which directions the widget
6980 can scroll. They can also connect to signals in order to do
6981 something when that happens, allowing applications scroll. There
6982 is an example uploaded showing how to use it.
6984 * examples/Makefile.am:
6985 * examples/hildon-pannable-area-example-4.c: Added this example of
6986 an application using the modes.
6988 * src/hildon-marshalers.list: Added a new marshaller for the new
6991 * src/hildon-pannable-area.h: Added new enumerations and flags in
6992 order to control the movement modes and the new signals to warn
6993 about the movements in the area.
6995 * src/hildon-pannable-area.c:
6996 (hildon_pannable_axis_scroll),
6997 (hildon_pannable_area_scroll),
6998 (hildon_pannable_area_motion_notify_cb),
6999 (hildon_pannable_area_get_property),
7000 (hildon_pannable_area_set_property),
7001 (hildon_pannable_area_map),
7002 (hildon_pannable_area_class_init),
7003 (hildon_pannable_area_init),
7004 (hildon_pannable_area_jump_to): Added the modes to control the
7005 movement in the widget. We have added properties to control it,
7006 signals to warn about the movements and refactored some code.
7008 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7010 Changes required in order to allow vfast_factor set to zero to
7013 * src/hildon-pannable-area.c:
7014 (hildon_pannable_area_button_press_cb): Changed the condition, it
7015 is required for not allowing click when vfast_factor is zero.
7016 (hildon_pannable_area_timeout): Initialized velocity variables
7017 when we stop moving, it was less than 1 but not zero and we need
7018 to check zero in some situations.
7019 (hildon_pannable_area_class_init): Changed the default value of
7020 the speed factor, now the button_press is just sent in case the
7021 speed is 2 per cent of the max speed.
7022 (hildon_pannable_area_init): Initialization with 0.
7024 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7026 * src/hildon-pannable-area.c,
7027 (hildon_pannable_area_get_topmost): replaced
7028 gdk_window_get_children with gdk_window_peek_children, this way we
7029 do not have to free the list because it is not a copy.
7031 (hildon_pannable_axis_scroll),
7032 (hildon_pannable_area_scroll),
7033 (hildon_pannable_area_timeout),
7034 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7035 two parameters that were only used inside the
7036 hildon_pannable_area_scroll function.
7038 * examples/hildon-pannable-area-example.c,
7039 (get_sawtooth_label): Fixed small memory leak.
7041 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7043 More checks for the case where the overshoot is bigger than the
7046 * src/hildon-pannable-area.c:
7047 (hildon_pannable_draw_vscroll),
7048 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7049 to draw the slider of the scrollbar under the other scrollbar.
7050 (hildon_pannable_area_expose_event): added new checks to control
7051 the drawing of the overshooting area rectangle, in case it is too
7052 big for the area of the widget.
7053 (hildon_pannable_area_size_allocate): add more checks to avoid
7054 setting a position to the child widget outside the area.
7056 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7058 * src/hildon-pannable-area.c
7059 (hildon_pannable_area_size_allocate): Added conditions to control
7060 when overshooting is bigger than the allocated space for the
7061 children, this avoids negative allocations.
7063 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7065 * doc/hildon-docs.sgml
7067 * examples/Makefile.am
7068 * examples/hildon-button-example.c
7070 * src/hildon-button.c
7071 * src/hildon-button.h
7072 * src/hildon.h: Initial version of the new HildonButton widget,
7075 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7077 * src/hildon-pannable-area.c:
7078 (hildon_pannable_area_button_press_cb),
7079 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7080 (hildon_pannable_area_motion_notify_cb),
7081 (hildon_pannable_area_button_release_cb),
7082 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7083 (hildon_pannable_area_jump_to_child):
7085 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7087 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7089 * examples/Makefile.am
7090 * examples/hildon-pannable-area-touch-grid-example.c
7091 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7092 the Hildon Touch List and Hildon Touch Grid using the
7093 HildonPannableArea widget.
7095 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7097 * src/hildon-pannable-area.c,
7098 (hildon_pannable_area_button_press_cb),
7099 (hildon_pannable_area_refresh),
7100 (hildon_pannable_area_scroll),
7101 (hildon_pannable_area_motion_notify_cb),
7102 (hildon_pannable_area_button_release_cb),
7103 (hildon_pannable_area_expose_event),
7104 (hildon_pannable_area_add),
7105 (hildon_pannable_area_remove),
7106 (hildon_pannable_area_realize),
7107 (hildon_pannable_area_size_allocate),
7108 (hildon_pannable_area_class_init),
7109 (hildon_pannable_area_init),
7110 (hildon_pannable_area_scroll_to_child),
7111 (hildon_pannable_area_jump_to_child): Fixed the problem of
7112 removing the child from the GtkBin, we have rearranged the widget
7113 hierarchy, now there is no GtkAlignment which was not doing
7114 anything interesting but breaking some of the assumptions of
7115 GtkContainer. Now developers if they want to add a GtkAlignment
7116 they could, but it is not inside the area.
7118 We had to review the whole allocation/expose process, now it is
7119 improved and we save at least three signals which would be saving
7120 some time when rendering the widget. The allocation of the
7121 scrollbars is now made in the allocate method as usual.
7123 We have also added some conditions in order to control when there
7124 is no child of the pannable area. Maybe we will need more work
7127 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7129 * src/hildon-pannable-area.c,
7130 (hildon_pannable_area_dispose): Released the fade-out timeout when
7131 disposing the widget.
7133 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7135 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7136 zero, we are going to use that property in order to deactivate the
7138 (hildon_pannable_axis_scroll),
7139 (hildon_pannable_area_size_allocate): Added conditions to control
7140 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7141 call, now it is called in all situations and we can remove calls
7142 in the allocate method.
7143 (hildon_pannable_area_map): Control the situation when
7144 overshoot_max is zero, we do not need the timeout.
7145 (hildon_pannable_area_class_init): Added documentation in order to
7146 point out that setting zero to overshoot_max means deactivate
7149 NOTE: removed trailing whitespaces from my previous comments of
7152 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7154 * src/hildon-pannable-area.c
7155 (hildon_pannable_area_get_property),
7156 (hildon_pannable_area_set_property),
7157 (hildon_pannable_area_map),
7158 (hildon_pannable_area_class_init),
7159 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7160 to cause the widget give a hint about its panning abilities upon
7163 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7165 * src/hildon-pannable-area.c: Several documentation improvements.
7167 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7169 * src/hildon-program.c
7170 * src/hildon-stackable-window.c: Update documentation.
7172 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7174 * src/hildon-stackable-window.c (get_previous_window_if_last):
7175 Renamed get_last_window()
7176 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7177 (hildon_stackable_window_unset_program):
7179 (get_previous_window_if_last):
7180 Detect if the window hasn't been added to a HildonProgram.
7182 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7184 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7186 * src/hildon-pannable-area.c
7187 (hildon_pannable_area_button_press_cb),
7188 (hildon_pannable_axis_scroll),
7189 (hildon_pannable_area_scroll),
7190 (hildon_pannable_area_timeout),
7191 (hildon_pannable_calculate_vel_factor),
7192 (hildon_pannable_area_get_property),
7193 (hildon_pannable_area_set_property),
7194 (hildon_pannable_area_class_init),
7195 (hildon_pannable_area_init),
7196 (hildon_pannable_area_scroll_to),
7197 (hildon_pannable_area_jump_to),
7198 (hildon_pannable_area_scroll_to_child),
7199 (hildon_pannable_area_jump_to_child):
7200 * src/hildon-pannable-area.h: Added the new API functions:
7201 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7202 hildon_pannable_area_scroll_to_child,
7203 hildon_pannable_area_jump_to_child
7206 * examples/Makefile.am
7207 * examples/hildon-pannable-area-example-2.c
7208 * examples/hildon-pannable-area-example-3.c: Added these two new
7209 examples in order to test and show how the new APIs work.
7211 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7213 * examples/hildon-stackable-window-example.c (new_window):
7214 * src/Makefile.am (noinst_HEADERS):
7215 * src/hildon-program.c (hildon_program_go_to_root_window):
7216 * src/hildon-program.h:
7217 * src/hildon-stackable-window-private.h:
7218 * src/hildon-stackable-window.c:
7219 * src/hildon-stackable-window.h:
7220 Create hildon-stackable-window-private.h
7221 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7223 * examples/hildon-app-menu-example.c (create_menu):
7224 * examples/hildon-hvolumebar-insensitive-example.c (main):
7225 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7226 * examples/hildon-toolbar-seekbar-example.c (main):
7227 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7228 * src/hildon-banner.c (hildon_banner_set_property):
7229 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7230 Fix compilation warnings
7232 * src/hildon-window.c:
7235 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7237 * src/hildon-stackable-window.c
7238 (hildon_stackable_window_unset_program):
7239 Calculate correctly whether to show the previous window if the
7240 last one is removed from the stack.
7241 (hildon_stackable_window_go_to_root_window):
7242 Send delete events starting from the topmost window.
7243 Stop if one of the windows is not destroyed.
7245 (hildon_stackable_window_delete_event)
7246 (hildon_stackable_window_class_init):
7247 Ignore the delete event if the window is not the topmost one.
7249 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7251 * src/hildon-pannable-area.c
7252 (hildon_pannable_area_expose_event): Fixed a problem when
7253 selecting the background color of the scrollbars.
7255 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7257 * examples/hildon-stackable-window-example.c
7258 * src/hildon-stackable-window.c
7259 * src/hildon-stackable-window.h
7260 hildon_stackable_window_go_home() renamed to
7261 hildon_stackable_window_go_to_root_window()
7262 Send delete events to windows rather than closing them with
7263 gtk_widget_destroy()
7265 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7267 * src/hildon-pannable-area.c
7268 (hildon_pannable_area_button_release_cb): Fix overshooting in
7271 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7273 * src/hildon-pannable-area.c
7274 (hildon_pannable_area_init): Initially show the scroll indicators.
7275 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7277 Add initial effect showing the widget is pannable.
7279 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7281 * src/hildon-pannable-area.c
7282 (hildon_pannable_area_class_init)
7283 (hildon_pannable_area_set_property)
7284 (hildon_pannable_area_get_property)
7285 (hildon_pannable_area_button_press_cb):
7286 New 'velocity_fast_factor' property to decide which velocity is
7289 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7291 * src/hildon-pannable-area.c
7292 (hildon_pannable_draw_hscroll)
7293 (hildon_pannable_draw_vscroll):
7294 Use float variables to calculate the size of the scrollbars to
7295 avoid error propagation and resizing during scrolling.
7297 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7299 * src/hildon-pannable-area.c
7300 (hildon_pannable_draw_vscroll)
7301 (hildon_pannable_draw_hscroll):
7302 Define a minimum size for the scroll bars
7304 * src/hildon-stackable-window.c
7305 (hildon_stackable_window_go_home): Fix compilation warning
7306 (get_last_window): Minor optimizations
7307 (hildon_stackable_window_class_init): Fix initialization of
7310 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7312 * src/hildon-stackable-window.c: Fixed typos in doc
7314 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7316 * src/hildon-pannable-area.c
7317 (hildon_pannable_area_scroll):
7318 Calculate here whether we need to scroll instead of using the booleans
7319 that tell us whether to /draw/ the scrolling bars.
7321 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7323 * src/hildon-app-menu.h
7325 * src/hildon-app-menu.c
7326 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7327 multiple filter groups related code and API. Now we support only
7329 * examples/hildon-app-menu-example.c:
7331 Update to reflect API changes.
7333 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7335 * src/hildon-stackable-window.c
7336 (hildon_stackable_window_class_init):
7337 Add hildon_stackable_window_realize.
7338 (hildon_stackable_window_realize):
7339 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7340 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7341 to apply theming and behavior specific to HildonStackableWindow
7344 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7346 * src/hildon-note.c (hildon_note_button_release):
7347 Close information notes also when tapping on them
7349 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7351 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7352 ELASTICITY, refactor and review, fix some issues with drawing
7355 * src/hildon-pannable-area.c:
7356 (hildon_pannable_area_button_press_cb): removed the conditions to
7357 avoid clicks when overshooting. It is not required
7359 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7360 define. Refatored and reviewed the code, now we do not need to
7361 manage velocity in motion_notify.
7363 (hildon_pannable_area_motion_notify_cb): We have moved the code
7364 that controls the area_scroll to the axis_scroll function and get
7365 rid of duplicated code.
7367 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7369 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7371 (hildon_pannable_draw_vscroll),
7372 (hildon_pannable_draw_hscroll): Fixed the problems with the
7373 scrollbar drawing, now we do not use two surfaces, it is easier
7374 and saves resources.
7376 (hildon_pannable_area_get_property): Style modification.
7378 (hildon_pannable_area_class_init): Changed some default values.
7380 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7382 * src/hildon-stackable-window.c: Fix some typos in the
7385 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7387 * src/hildon-dialog.c:
7388 Change indentation style
7391 (hildon_note_button_release):
7392 Use root coordinates to check if the release event happened
7395 * src/hildon-app-menu.c
7396 (hildon_app_menu_button_release):
7397 Remove unnecessary check
7399 * examples/hildon-app-menu-example.c
7401 Add cast to fix warning
7403 * src/hildon-app-menu.c
7404 (hildon_app_menu_class_init):
7405 New inner-border style property.
7406 Set all default spacings to 16
7407 (hildon_app_menu_init):
7408 Use vertical-spacing to set the space between filter buttons and
7409 regular menu buttons.
7410 Set the default container border using the inner-border value.
7412 * examples/hildon-app-menu-example.c
7414 Don't set the menu border explicitly, now we have the inner-border
7415 style property for that.
7417 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7419 * src/hildon-app-menu.c (hildon_app_menu_init):
7420 Make the window modal
7422 * src/hildon-note.c (hildon_note_map)
7423 * src/hildon-app-menu.c (hildon_app_menu_map):
7424 Destroy the grab window if we're unable to grab the pointer
7426 * src/hildon-app-menu-private.h
7427 * src/hildon-app-menu.c
7428 (hildon_app_menu_init, hildon_app_menu_finalize)
7429 (hildon_app_menu_map, hildon_app_menu_unmap)
7430 (hildon_app_menu_button_release)
7431 (grab_transfer_window_get):
7432 Bring back the grab window
7433 (hildon_app_menu_realize):
7434 Decorate the window, set WM hint for Matchbox
7436 * src/hildon-note.c (hildon_note_realize):
7437 * src/hildon-banner.c (hildon_banner_realize):
7438 Add WM hints for Matchbox
7440 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7442 * src/hildon-app-menu-private.h
7443 * src/hildon-app-menu.c
7444 (hildon_app_menu_init, hildon_app_menu_finalize)
7445 (hildon_app_menu_map, hildon_app_menu_unmap)
7446 (hildon_app_menu_button_release):
7447 Remove the grab window, it's not needed anymore
7449 * src/hildon-program.c
7450 Fixed typo in documentation
7452 * src/hildon-app-menu.h
7453 * src/hildon-app-menu.c
7454 * examples/hildon-app-menu-example.c
7455 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7457 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7460 Added new transfer_window and close_if_pressed_outside private
7462 (hildon_note_rebuild):
7463 Don't add a cancel button to the information note. It will be
7464 closed when tapping outside
7465 Remove the comment about the OK button in the documentation
7466 (hildon_note_realize):
7467 Set the notification type hint
7468 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7469 Grab/ungrab pointer and keyboard if the note has to be closed when
7471 (hildon_note_button_release):
7472 Close the note when tapping outside (if applicable)
7474 * src/hildon-app-menu.c
7475 Grab/ungrab pointer and keyboard on map/unmap
7476 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7477 Close the menu on button release, not button press
7479 * src/hildon-banner.c
7480 (hildon_banner_set_property)
7481 (hildon_banner_check_position):
7482 Make the banner use the full width of the screen
7483 (hildon_banner_show_information)
7484 (hildon_banner_show_information_with_markup):
7485 Don't display an icon by default
7487 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7489 Added fading scrollbars and adapted all the overshooting code to
7490 horizontal scrolling. We have also fixed bugs with overshooting
7491 and current fading implementation.
7493 * src/hildon-pannable-area.c
7494 (hildon_pannable_area_scroll_indicator_fade): Time out function
7495 used to change the transparency of the scrollbars.
7497 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7498 control and fixed a problem with fading, we now remove the fade
7499 timeout before adding a new one.
7501 (hildon_pannable_axis_scroll):
7502 (hildon_pannable_area_scroll):
7503 (hildon_pannable_area_timeout): Added this functions so we can use
7504 the scroll code both for vertical and horizontal.
7506 (hildon_pannable_area_motion_notify_cb):
7507 (hildon_pannable_area_button_release_cb): Added the horizontal
7508 scrolling control, fixed a problem with the overshooting timeout.
7510 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7511 painting of the scrolls.
7513 (hildon_pannable_draw_vscroll):
7514 (hildon_pannable_draw_hscroll):
7515 (hildon_pannable_area_expose_event):
7516 Draw both scrollbars and rectangles in the overshooting area.
7518 (hildon_pannable_area_get_property):
7519 (hildon_pannable_area_set_property):
7520 Modified the overshoot property to overshoot_max
7522 (hildon_pannable_area_map):
7523 Replaced the comments symbols.
7525 (hildon_pannable_area_size_allocate):
7526 (hildon_pannable_area_class_init):
7527 (hildon_pannable_area_init): Added horizontal scroll, fading
7528 effect properties, fixed a problem when overshooting in the bottom
7531 * examples/hildon-pannable-area-example.c:
7532 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7533 looks better in the example.
7535 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7537 * src/hildon-window.c
7538 * src/hildon-window.h
7539 (hildon_window_class_init)
7540 (hildon_window_unset_program)
7541 (hildon_window_unset_program_real):
7542 Make unset_program a virtual function
7544 * src/hildon-stackable-window.c
7545 * src/hildon-stackable-window.h
7546 Added hildon_stackable_window_go_home()
7548 * examples/Makefile.am
7549 * examples/hildon-stackable-window-example.c
7550 HildonStackableWindow example
7552 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7554 * hildon-pannable-area.c: Added the overshoot property and removed
7555 the OVERSHOOT define. Fixed an indent style error.
7556 (hildon_pannable_area_motion_notify_cb):
7557 (hildon_pannable_area_get_property):
7558 (hildon_pannable_area_set_property): Add overshoot property.
7560 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7563 (hildon_pannable_area_class_init): Installed the new property.
7565 * hildon-pannable-area-example.c: Added a sawtooth function, this
7566 way it is easier to check the movement in the pannable.
7567 (get_sawtooth_label): Added this function.
7568 (main): Now we get the labels from the new get_sawtooth_label
7571 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7573 * src/hildon-app-menu.h
7574 * src/hildon-app-menu.c
7575 Renamed API variables for consistency
7577 (hildon_app_menu_popup): Use also the default window size to
7578 decide where to place the menu
7580 (hildon_app_menu_init, hildon_app_menu_class_init): New
7581 external-border style property
7583 2008-05-26 Michael Natterer <mitch@imendio.com>
7585 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7586 widget_class->tap_and_hold_setup signal slot doesn't exist any
7587 longer, stop overriding it.
7589 (hildon_time_editor_init): g_signal_connect() to the
7590 tap-and-hold-setup signal instead.
7592 (hildon_time_editor_entry_keypress): add cast to fix warning.
7594 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7596 * doc/hildon-docs.sgml
7598 * examples/Makefile.am
7599 * examples/hildon-app-menu-example.c
7601 * src/hildon-app-menu-private.h
7602 * src/hildon-app-menu.c
7603 * src/hildon-app-menu.h
7605 New HildonAppMenu widget
7607 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7609 Rearranged the inheritance of the pannable area, now it inherits
7610 from GtkBin. This will allow us to control the event_window and
7611 the allocation process of the widget, required for some effects.
7613 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7614 GtkBin structures. * src/hildon-pannable-area.c: Added the
7615 event_window variable.
7616 (hildon_pannable_area_button_press_cb):
7617 (hildon_pannable_area_button_release_cb):
7618 (hildon_pannable_area_motion_notify_cb):
7619 Changed the signature of the method, now we override the event
7620 callback instead of connecting to the signal.
7622 (hildon_pannable_area_realize):
7623 (hildon_pannable_area_unrealize):
7624 (hildon_pannable_area_map):
7625 (hildon_pannable_area_unmap):
7626 (hildon_pannable_area_size_allocate):
7627 Added functions to control the widget construction. We add a
7628 INPUT_ONLY window and we put it over the widgets inside the
7629 container, this event_window handles the events.
7631 (hildon_pannable_area_class_init):
7632 Replaced the signal connections with overrides of the event
7635 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7637 Bouncing effect added when touching the borders, you can change
7638 the elasticity of the border changing the ELASTICITY define.
7640 * src/hildon-pannable-area.c: Added ELASTICITY define.
7641 (hildon_pannable_area_timeout): Added inverse velocity when
7642 touching the border of the child widget, that causes a bounce.
7644 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7646 Improved performance, we now do not go to the X server in order to
7647 get the list of window children. Apparently the effect is the
7648 same, we have to be careful and check if this breaks something in
7651 * src/hildon-pannable-area.c:
7652 (get_ordered_children): Removed this function.
7653 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7654 the children windows function with gdk_window_get_children.
7656 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7658 * src/hildon-pannable-area.c:
7659 (hildon_pannable_area_dispose): Fixed a crash when closing the
7660 window and kinetics is activated.
7662 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7664 * src/hildon-pannable-area.h
7665 * src/hildon-pannable-area.c
7666 Changed indentation style to meet the one used in Hildon
7668 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7670 Reviewed the interaction of the AUTO mode, now we use the time
7671 attribute of the events and calculate the velocity in the motion,
7672 doing a gimp like calculation. The velocity is calculated in each
7673 motion event using the last velocity and the current one, the
7674 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7676 * src/hildon-pannable-area.c: Replaced the time based algorithm
7678 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7679 timeout for the AUTO mode when we are still moving the cursor. We
7680 added also the velocity calculation in this function.
7681 (hildon_pannable_area_button_release_cb): launch the timeout in
7682 case we are in AUTO mode. There are still some constants here that
7683 come from the old implementation that should be reviewed and
7686 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7688 * doc/hildon-docs.sgml
7691 * src/hildon-stackable-window.c
7692 * src/hildon-stackable-window.h
7694 New HildonStackableWindow widget
7696 * examples/hildon-dialog-example.c
7697 * examples/hildon-pannable-area-example.c
7700 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7702 * src/hildon-dialog.c
7703 (hildon_dialog_new_with_buttons): New constructor.
7705 * examples/hildon-dialog-example.c
7706 (main): Update the example to use the new
7707 hildon_dialog_new_with_buttons().
7709 * examples/hildon-pannable-area-example.c
7710 (main): Update example.
7712 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7714 * doc/hildon-docs.sgml
7716 Added HildonPannableArea to the documentation.
7718 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7720 * doc/visual_index.xml
7721 Fix reference to HildonLoginDialog in documentation
7723 * doc/hildon-docs.sgml
7725 * examples/Makefile.am
7726 * examples/hildon-dialog-example.c
7728 * src/hildon-dialog.c
7729 * src/hildon-dialog.h
7731 New HildonDialog widget.
7733 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7735 * src/hildon-pannable-area.c
7736 Merge latest changes (r4318, r4342) from libmokoui trunk
7738 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7740 * examples/Makefile.am
7741 * examples/hildon-pannable-area-example.c
7743 * src/hildon-pannable-area.c
7744 * src/hildon-pannable-area.h
7746 New HildonPannableArea widget.
7748 2008-04-15 18:05:19 <timj@imendio.com>
7750 * src/hildon-banner.c: revert the recent change, that introduced
7751 gtk_window_present() calls. this reopens:
7752 Bug 78481 - [freetest] information banners are hidden under browser menu
7753 But resolves another variant of:
7754 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7756 2008-04-15 13:21:13 <timj@imendio.com>
7758 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7759 recreated its layout, spotted by Kris. this fixes all remaining
7760 artefacts and stability issues with the banner code. in particular:
7761 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7763 2008-04-14 16:52:59 <timj@imendio.com>
7765 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7766 operating on unrealized widgets, fixes:
7767 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7769 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7771 2008-04-09 Kristian Rietveld <kris@imendio.com>
7773 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7774 makes banner disappear.
7775 Fixes: NB#79182: info banner flickering with certain message lengts.
7777 * src/hildon-banner.c (hildon_banner_constructor),
7778 (hildon_banner_init), (hildon_banner_set_text),
7779 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7780 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7781 FALSE, reset size requests of label and banner,
7782 (force_to_wrap_truncated): when the text is too wide, always enforce
7783 the maximum possible width instead of recalculating it from the
7784 layout; enforce the maximum banner height of 3 lines,
7785 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7786 nicer wrapping and no truncated chars if space gets tight.
7788 * src/hildon-banner-private.h: add has_been_wrapped and
7789 has_been_truncated fields.
7791 2008-04-07 Sven Herzberg <sven@imendio.com>
7793 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7794 local values in hildon_date_editor_size_allocate
7796 * src/hildon-date-editor.c: moved the real allocation code into the
7799 2008-04-07 Sven Herzberg <sven@imendio.com>
7801 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7802 local values in hildon_date_editor_size_allocate
7804 * src/hildon-date-editor.c: merged the two if() branches together
7806 2008-04-07 Sven Herzberg <sven@imendio.com>
7808 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7809 local values in hildon_date_editor_size_allocate
7811 * src/hildon-date-editor.c: changed the arguments of the if()
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: split the calculation of the allocation
7820 from the real allocation
7822 2008-03-27 Michael Natterer <mitch@imendio.com>
7824 Fixes: NB#81696: The passcode is not overwritten even after
7827 * src/hildon-code-dialog.c
7828 (hildon_code_dialog_button_clicked)
7829 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7830 because that doesn't overwrite selected text. Instead, emit the
7831 "commit" signal on the entry's im_context so the entry's normal
7832 insert logic is triggered. Set the cursor to the end of the entry
7833 after each insert operation so that we *only* insert in the middle
7834 of the text if something was selected.
7836 2008-03-27 Michael Natterer <mitch@imendio.com>
7838 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7839 selector cannot be opened
7841 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7842 when the popup color selector is created. Please connect to this
7843 signal in order to set the dialog's help ID.
7845 2008-03-25 Sven Herzberg <sven@imendio.com>
7847 Fixes: MB#1212: Hide info banners (infoprints) on click
7849 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7850 extracted the close event simulation into an extra function
7851 (hildon_banner_button_press_event): simulate a close event and destroy
7852 the widget if the event wasn't handled
7853 (hildon_banner_class_init): added the button_press_event handler
7854 (hildon_banner_init): added button-press events to the widget
7856 2008-03-25 Sven Herzberg <sven@imendio.com>
7858 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7859 Patch from: Mohammad Anwari <mdamt@maemo.org>
7861 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7862 instead of the right in RTL mode
7863 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7864 breadcrumb button list in RTL mode
7865 * src/hildon-caption.c: mirror the appearance of the caption widget in
7867 * src/hildon-date-editor.c: mirror appearance of the date editor in
7869 * src/hildon-time-editor.c: mirror appearance of the time editor in
7871 * src/hildon-window.c: fix the position of the popup in RTL mode
7873 2008-03-25 Sven Herzberg <sven@imendio.com>
7875 Amendment to the fix of NB#22072. Fix compilation.
7877 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7879 2008-03-19 Sven Herzberg <sven@imendio.com>
7881 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7884 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7885 timeout id properly when the timeout will disappear this leaves no
7886 artifacts around in the destroy(); there will only be the timeout
7887 created by hildon_banner_ensure_timeout() and adding a new timeout
7888 will also work if the timeout gets removed because the timeout_handler
7891 2008-03-19 Michael Natterer <mitch@imendio.com>
7893 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7895 * src/hildon-volumebar.c
7896 * src/hildon-vvolumebar.c
7897 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7898 the widget becomes focussable at all.
7900 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7901 set the focus to wither the mute button or the volumebar.
7903 Remove own "can-focus" property and instead listen to
7904 notify::can-focus in order to update the widget's state.
7906 Implement GtkWidget::focus() and make sure we can also *leave* the
7907 widget, not only enter it, depending on volumebar orientation and
7908 requested focus direction.
7910 Clean up set_mute() to cooperate nicely with all the above.
7912 2008-03-04 Michael Natterer <mitch@imendio.com>
7914 Fixes: NB#78481: information banners are hidden under browser menu
7916 * src/hildon-banner.c: call gtk_window_present() on the banners so
7917 they are risen if they are already visible.
7919 2008-03-03 Sven Herzberg <sven@imendio.com>
7921 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7923 * examples/hildon-window-menu-example.c: (main): extended the window
7924 menu example to serve as a testcase for automatically added
7925 accelerator groups, too
7926 * src/hildon-window.c: (hildon_window_add_accel_group),
7927 (hildon_window_set_menu): added patch by Tommi Komulainen
7929 2008-03-03 Sven Herzberg <sven@imendio.com>
7931 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7933 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7934 knowledge about the border allocators used within GTK+
7936 2008-02-26 Sven Herzberg <sven@imendio.com>
7938 Fixes: MB#2981: Build with asserts broken
7940 * src/hildon-date-editor.c,
7941 * src/hildon-number-editor.c,
7942 * src/hildon-time-editor.c,
7943 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7944 the proper GType instance check
7946 2008-02-25 Sven Herzberg <sven@imendio.com>
7948 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7950 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7951 * examples/hildon-window-menu-example.c: (main): explicitly show
7953 * src/hildon-window.c:
7954 (hildon_window_set_main_menu): moved most of the code from set_menu()
7955 to this place; skipped the call to gtk_widget_show_all(); also didn't
7956 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7957 (hildon_window_set_menu): removed most of the code, just keep the
7958 questionable gtk_widget_show_all()
7959 * src/hildon-window.h: added the new function and deprecate the old
7962 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7968 * debian/changelog: Updating.
7970 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7973 * pkgconfig/Makefile.am:
7974 * pkgconfig/hildon.pc.in:
7977 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7978 use newly created API_MAJOR_VERSION.
7980 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7986 * debian/changelog: Updating.
7988 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7990 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7992 Add outer_border style property, we use it but don't define it (!).
7996 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7998 * examples/hildon-bread-crumb-trail-example.c (main):
8002 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8004 Fix logic for the bread crumb trail node removal.
8008 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8014 * debian/changelog: Updating.
8016 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8018 Patch by Alejandro to get/set passwords dialogs accesibility.
8020 * hildon-1/src/hildon-get-password-dialog.c:
8021 * hildon-1/src/hildon-set-password-dialog.c:
8022 Set atk_set_name to the passwd entries in order to allow
8023 accessibility by name on this entries.
8025 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8030 * debian/control: Updating gtk dep.
8032 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8034 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8035 USE_MAEMO_GTK is enabled.
8037 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8039 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8040 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8042 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8048 * debian/changelog: Updating.
8050 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8052 * examples/Makefile.am:
8053 * examples/hildon-logical-color-example.c:
8054 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8055 applied + adding a test case. Fixes: NB#71660.
8057 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8059 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8060 to be visible, fixes warning on map for windows without toolbars.
8062 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8064 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8065 2.11.0, add a check for that besides the MAEMO_GTK check.
8067 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8073 * debian/changelog: Updating.
8075 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8077 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8078 visibility. Fixes: NB#70842 and MB#615.
8080 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8082 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8083 set the separator as no-show-all so it doesn't unintentionally appear when
8084 someone does a show_all.
8086 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8088 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8089 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8090 toplevel item. Fixes: NB#62031
8092 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8094 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8095 fix the name of the function in the docs.
8097 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8103 * debian/changelog: Updating.
8105 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8107 * examples/hildon-banner-long-example.c: Adding a test-case for long
8110 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8112 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8114 * src/hildon-color-chooser-dialog.c:
8115 * src/hildon-color-chooser.c:
8116 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8117 memory leaks in font selector and color selector. Fixes: NB#70499 and
8120 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8122 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8124 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8126 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8127 little bit bigger. Fixes: #NB63694.
8129 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8135 * debian/changelog: Updating.
8137 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8140 * doc/hildon-docs.sgml:
8141 * doc/images/bread-crumb-trail.png:
8142 * doc/images/calendar-popup.png:
8143 * doc/images/caption.png:
8144 * doc/images/code-dialog.png:
8145 * doc/images/color-button.png:
8146 * doc/images/color-chooser-dialog.png:
8147 * doc/images/color-chooser.png:
8148 * doc/images/controlbar.png:
8149 * doc/images/date-editor.png:
8150 * doc/images/font-selection-dialog.png:
8151 * doc/images/get-password-dialog.png:
8152 * doc/images/hvolumebar.png:
8153 * doc/images/login-dialog.png:
8154 * doc/images/note.png:
8155 * doc/images/number-editor.png:
8156 * doc/images/range-editor.png:
8157 * doc/images/seekbar.png:
8158 * doc/images/set-password-dialog.png:
8159 * doc/images/sort-dialog.png:
8160 * doc/images/time-editor.png:
8161 * doc/images/time-picker.png:
8162 * doc/images/vvolumebar.png:
8163 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8164 Adding the bread-crumb-trial and helpers to the documentation.
8166 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8168 * examples/hildon-find-toolbar-example.c:
8169 * src/hildon-find-toolbar.c:
8170 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8171 actually continue firing the other handlers if connected. Adding a new
8173 hildon_find_toolbar_get_last_index that gets the index of the most
8174 recently added (last) item. Fixes: NB#52301.
8176 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8178 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8179 behaviour. Fixes: NB#68610.
8181 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8183 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8186 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8188 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8189 when realizing the banner. Should make the infonbanner effect a bit more
8192 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8194 * src/hildon-volumebar.c:
8195 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8196 hildon_volumebar_set_range_insensitive_message and
8197 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8199 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8201 * src/hildon-window.c: Fixing the border freeing on destroy.
8203 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8205 * src/hildon-code-dialog-private.h:
8206 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8207 kw keyboard support in HildonCodeDialog.
8209 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8215 * debian/changelog: Updating.
8217 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8219 * src/hildon-date-editor.c:
8220 * src/hildon-number-editor.c:
8221 * src/hildon-private.c:
8222 * src/hildon-private.h:
8223 * src/hildon-time-editor.c:
8224 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8225 handling in subclassed composite widgets. Fixes: NB#66628.
8227 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8229 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8230 from destroy_ callback as it introduces problems in async dbus signal
8231 handlers. Fixes NB#66673.
8233 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8235 * examples/hildon-hvolumebar-example.c:
8236 * src/hildon-volumebar.c: Improving the focus handling in the
8237 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8238 set_property accessor so that "mute" property can be actually set. I'm
8239 scared that nobody noticed it's totally broken.
8241 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8243 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8246 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8248 * src/hildon-calendar.c:
8249 * src/hildon-number-editor.c:
8250 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8251 matches the spec of 6 chars per second. Fixes: NB#60489.
8253 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8255 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8256 gtk_style_lookup_color sometime returns FALSE even though color was
8257 found and values were filled properly. Weird. Removing the warning for the
8260 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8262 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8263 expand vertically. Adding some extra space to the find toolbar buttons to
8264 make them thumbable. Fixes NB#66060.
8266 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8268 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8269 popup with "Ok" and "Cancel". Fixes NB#59299.
8271 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8273 * src/hildon-calendar.c: Process all window updates before executing next
8274 timeout. Fixes: NB#54146.
8276 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8282 * debian/changelog: Updating.
8284 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8286 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8287 the client event and ignore it, since we use the delete event to close
8290 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8292 * src/hildon-helper.c: Remove the bogus warning about color not being
8293 found. Fixes NB#58352.
8295 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8297 * examples/Makefile.am:
8298 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8299 HildonSeekbar widget inside a toolbar.
8301 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8303 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8304 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8305 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8306 don't want to be closed by non-temporary windows on map.
8308 Also use G_DEFINE_TYPE instead of manually typed code.
8310 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8317 * debian/rules: Updating.
8319 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8321 * examples/Makefile.am:
8322 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8323 bug NB#61128. Strangely it works.
8325 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8327 * src/hildon-date-editor.c: When the date editor entry has been changed
8328 but the numbers of characters < max, turn off the skip validation flag.
8329 Prevents a situation when we enter first a valid year and later re-write
8330 it with an invalid one. Fixes NB#60154.
8332 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8334 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8335 code dialog. Fixes NB#64355.
8337 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8339 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8340 switching the page. Fixes NB#49374.
8342 * examples/Makefile.am:
8343 * examples/hildon-wizard-dialog-example.c: Adding an example for
8344 HildonWizardDialog that shows how to handle manual sensitivity setting on
8347 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8351 * src/hildon-version.h.in:
8352 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8354 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8356 * src/hildon-volumebar.c: Updating the docs.
8358 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8364 * debian/changelog: Updating.
8366 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8368 * src/hildon-find-toolbar.c:
8369 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8370 selected item: hildon_find_toolbar_set_active,
8371 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8372 hildon_find_toolbar_get_active_iter . They correspond to respective
8373 GtkComboBox functions.
8375 * examples/Makefile.am:
8376 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8379 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8381 * examples/Makefile.am:
8382 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8385 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8386 when font size > 32 and we pack a focusable widget inside. Actually using
8387 the default response would work too, but since we don't show default
8388 response state in any way (no theming) it would not be visible to the
8389 user. Fixes NB#63430.
8391 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8393 * src/hildon-date-editor.c: Adding the missing variable setter in the
8394 set_property handler. Fixes NB#54182.
8396 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8398 * src/hildon-window.h: Changing the long key press time from 1500ms to
8399 800ms as requested in NB#63700. I have a bad feeling about this, let's
8400 see... Fixes NB#63700.
8402 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8404 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8405 hildon_time_picker_map, hildon_time_picker_realize,
8406 hildon_time_picker_style_set): Split the contents of map to more
8407 appropriate functions; set window decorations on realize and update
8408 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8410 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8415 * debian/changelog: Updating.
8417 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8419 * src/Makefile.am: fixed installation of the header files
8421 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8427 * debian/changelog: Updating.
8429 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8431 * configure.ac: Removing some remaining of --enable-xan.
8433 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8435 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8436 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8438 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8439 2.10.12-osso6 because the move-focus signal needs to be available in
8442 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8444 * examples/Makefile.am:
8445 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8446 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8447 fine. Prolly NB#61128 is fixed now.
8449 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8451 * src/hildon-volumebar.c:
8452 * src/hildon-volumebar.h: Adding the
8453 hildon_volumebar_set_range_insensitive_message and
8454 hildon_volumebar_set_range_insensitive_messagef functions to set
8455 insensitive message on the slider of the volumebar. Fixes NB#61129.
8457 * examples/Makefile.am:
8458 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8459 test the new insensitive messsage functionality on HildonVolumebar.
8461 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8463 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8466 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8468 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8469 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8470 button on after clearing the trail.
8472 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8474 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8476 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8478 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8479 by splitting the installed headers in generated and non-generated groups. Use
8480 only the non-generated headers to create the hildon-enum-types.h file.
8482 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8484 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8486 * src/hildon-window.c: Hide the window before performing the destroy.
8487 Should make the app closing a little tiny bit more snappy.
8489 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8491 * src/hildon-seekbar.c: add gtkrange.h header
8492 * src/hildon-caption.c: remove unused variable
8494 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8496 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8499 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8505 * debian/changelog: Updating.
8507 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8509 * src/hildon-window.c (hildon_window_window_state_event,
8510 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8511 escape timeout on focus-out-event rather than notify::is-topmost; the
8512 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8514 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8516 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8517 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8519 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8521 * src/hildon-window: actually, you need to use the macro always, there's
8522 no private pointer in the instance structure. We should have cleaned this up
8523 when we had the chance...
8525 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8527 * src/hildon-window.c: do not get the private date from HildonWindow before
8528 it passes the g_return_if_fail check. Once it's passed the test, there's no
8529 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8530 if you are only going to access the data once. Whitespace cleanups.
8532 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8534 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8535 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8537 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8543 * debian/changelog: Updating.
8545 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8547 * src/hildon-window.c: When destroying the window, remove (if exists) the
8548 escape timeout handler. Fixes #NB59276.
8550 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8552 * src/hildon-banner.c: When realizing the widget, set the window
8553 transiency. Setting the transiency in the gobject constructor is not
8554 good, as the widget is not realized at that point. Fixes: #NB56624.
8556 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8558 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8559 Add padding for future expansions.
8561 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8563 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8564 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8565 will fake an activation on the previous to the last item of the trail, so
8566 the effect can be overrided by the developer as usual.
8567 Also change the callback for the back button to do the same thing, so its
8568 effect can be overrided too. Fixes: NB#58982
8570 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8572 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8573 HildonCaption. Fixes NB#52379.
8575 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8577 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8578 the internal state of the trail after the user has had the chance of executing
8579 his handler for the signal. Specifically, it may happen that the activated button
8580 is removed and the user still lets the default handler run. This would segfault
8583 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8585 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8586 scrollbar to the preview dialog. Fixes NB#54147.
8588 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8590 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8591 max/min year properties can be altered, so the client can modify it
8592 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8594 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8596 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8597 hildonlike by default. Fixing a problem with disappearing arrows when
8598 scrolling through months and years. Fixes NB#54127.
8600 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8602 * examples/hildon-date-editor-example.c: Adding error callback to the date
8605 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8611 * configure.ac: Updating.
8613 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8615 * configure.ac: Adding a special '--enable-xan' configure option that
8616 turns off the -Werror compilation setting. Usefull for development.
8618 * src/hildon-calendar.c:
8619 * src/hildon-number-editor.c:
8620 * src/hildon-time-picker.c: Adding the 5* multiplier to
8623 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8625 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8626 instead of g_object_ref + gtk_object_sink.
8628 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8634 * debian/changelog: Updating.
8636 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8638 * src/hildon-color-chooser-dialog.c:
8639 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8640 straight from Tommi labs.
8642 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8644 * examples/hildon-finger-example.c: Correcting the header file path.
8646 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8647 the changed signal. Fixes a small memory leak.
8649 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8653 * src/hildon-banner.c: Importing several usefull fixes from the
8654 ubuntu-mobile branch.
8656 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8658 * examples/Makefile.am:
8659 * examples/hildon-finger-example.c: Adding a finger-checking code
8662 * src/hildon-font-selection-dialog.c: Do not allocate the color
8663 structure using the g_new. Fixes NB#54061.
8665 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8667 * src/hildon-helper.c: Correcting tabs in file.
8669 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8671 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8672 control the visibility of the children.
8674 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8676 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8682 * debian/changelog: Updating.
8684 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8686 * src/hildon-bread-crumb-trail.c:
8687 (hildon_bread_crumb_trail_size_allocate):
8689 Make the back button always a square.
8691 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8693 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8694 from the .c file as it's a private file.
8696 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8698 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8699 uses slightly bigger height.
8701 * src/hildon-font-selection-dialog.c: Adding some checks before
8702 freeing memory in the font selection dialog.
8704 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8706 * src/hildon-font-selection-dialog.c: Adding a small check when
8709 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8710 buttons sensitivity on page switching.
8712 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8714 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8715 internal details of adding a bread crumb to the trail.
8717 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8723 * debian/changelog: Updating.
8725 * src/hildon-bread-crumb-trail.h:
8726 * src/hildon-bread-crumb.h: Changing the API guard to
8727 HILDON_ENABLE_UNSTABLE_API.
8729 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8737 * src/hildon-helper.h: Updating.
8739 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8747 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8751 * src/hildon-helper.h: Small fix to make the package actually compile.
8753 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8755 * src/hildon-bread-crumb-trail.h:
8756 * src/hildon-bread-crumb.h:
8758 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8759 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8761 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8763 * examples/hildon-bread-crumb-trail-example.c:
8765 * src/hildon-bread-crumb-trail.c:
8766 * src/hildon-bread-crumb-trail.h:
8767 * src/hildon-bread-crumb.c:
8768 * src/hildon-bread-crumb.h:
8769 * src/hildon-marshalers.list:
8770 * src/hildon-bread-crumb-widget.c:
8771 * src/hildon-bread-crumb-widget.h:
8773 Slight change in the widget design. The bread crumb trail API is
8774 unchanged, but HildonBreadCrumb is now an interface. A *private*
8775 implementation, hildon-bread-crumb-widget, is provided and used
8776 internally by the trail for the push_text/push_icon functions.
8778 The generic push API is still available, so anyone can implement
8779 and use its own bread crumb widget.
8781 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8783 * debian/rules: Fixing the shlibs.
8785 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8787 * src/hildon-banner.c: Fixing a problem with timed banners having
8788 their parrent destroyed before they are.
8790 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8792 * src/hildon-bread-crumb.c:
8793 * src/hildon-bread-crumb.h:
8795 Make the get_natural_size function a vfunc.
8797 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8799 * src/hildon-bread-crumb.c:
8800 * src/hildon-bread-crumb-trail.c:
8804 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8811 * debian/changelog: Updating for release.
8813 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8815 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8816 don't leak the pango layout.
8818 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8821 * examples/hildon-bread-crumb-trail-example.c:
8825 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8827 * debian/changelog: Removing the bug-fixed entries that were actually
8828 resolved as WONTFIX.
8830 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8833 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8835 * src/hildon-bread-crumb-trail.c:
8836 * src/hildon-bread-crumb-trail.h:
8837 * src/hildon-bread-crumb.c:
8838 * src/hildon-bread-crumb.h:
8842 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8844 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8845 until it's passed the type check.
8847 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8849 * examples/hildon-bread-crumb-trail-example.c
8853 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8855 * examples/Makefile.am
8856 * examples/hildon-bread-crumb-trail-example.c
8858 * src/hildon-bread-crumb-trail.c
8859 * src/hildon-bread-crumb-trail.h
8860 * src/hildon-bread-crumb.c
8861 * src/hildon-bread-crumb.h
8863 New HildonBreadCrumbTrail widget.
8865 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8867 * src/hildon-range-editor.c (hildon_range_editor_init),
8868 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8869 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8870 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8871 hildon_time_editor_class_init, hildon_time_editor_init),
8872 src/hildon-get-password-dialog.c (invalid_input,
8873 hildon_get_password_set_property, hildon_get_password_get_property,
8874 create_contents, hildon_get_password_dialog_set_max_characters),
8875 src/hildon-set-password-dialog.c (create_contents),
8876 src/hildon-date-editor.c (hildon_date_editor_init),
8877 src/hildon-login-dialog.c (hildon_login_dialog_init),
8878 src/hildon-number-editor.c (hildon_number_editor_init),
8879 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8880 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8881 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8882 configure option and adding the respective checks in the code.
8883 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8884 hildon_calendar_drag_data_received): fixed some build warnings.
8886 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8888 * debian/changelog: A 1.0.0 release notes.