1 2009-06-16 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_init),
5 (hildon_pannable_area_realize): Replaced old code adding flags in
6 the object init, now we add it with the other flags in the realize
9 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
11 * hildon/hildon-note.c: (hildon_note_class_init): Several
12 documentation improvements to the HildonNote widget.
14 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
16 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
18 Fixes: MB#4556 (HildonNoteType is undocumented)
20 2009-06-15 Alberto Garcia <agarcia@igalia.com>
22 * hildon/hildon-picker-button.c:
23 Explain how HildonPickerButton sets the title of its dialog
25 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
26 the title of its dialog)
28 2009-06-15 Alberto Garcia <agarcia@igalia.com>
30 * hildon/hildon-check-button.c:
33 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
36 2009-06-15 Alberto Garcia <agarcia@igalia.com>
39 * hildon/hildon-edit-toolbar-private.h
40 * hildon/hildon-edit-toolbar.c
41 (+hildon_edit_toolbar_set_progress_indicator)
42 (hildon_edit_toolbar_init): Add progress indicator to the
46 (hildon_gtk_window_set_progress_indicator):
47 If the window contains a HildonEditToolbar, enable the progress
50 * hildon/hildon-private.h
51 * hildon/hildon-private.c
52 (+hildon_private_create_animation)
53 * hildon/hildon-banner.c
54 (-hildon_banner_create_animation):
55 Moved to hildon-private.c
57 Fixes: NB#102373 (Progress indicator also for the Edit mode
60 2009-06-15 Alberto Garcia <agarcia@igalia.com>
62 * hildon/hildon-app-menu-private.h
63 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
64 (hildon_app_menu_add_filter, +menu_item_button_event)
65 (hildon_app_menu_button_release, hildon_app_menu_init):
66 Make sure that buttons receive 'button-release-event' in spite of
67 the grab held by HildonAppMenu
69 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
71 2009-06-15 Alberto Garcia <agarcia@igalia.com>
73 * hildon/hildon-app-menu.c
74 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
75 New style property to set the size of the group of filter buttons.
77 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
79 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
84 * configure.ac: Bump version.
85 * debian/changelog: Updates.
87 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
89 * hildon/hildon-main.c: Minor documentation fixes.
91 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
93 * doc/hildon-sections.txt:
94 * hildon/hildon-defines.h: Document the defines, organize them,
95 and mark deprecations as such.
97 Fixes: MB#4463 (Hildon size #defines are undocumented)
99 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
101 * hildon/hildon-animation-actor.c:
102 * hildon/hildon-app-menu.c:
103 * hildon/hildon-button.c:
104 * hildon/hildon-date-editor.c:
105 * hildon/hildon-dialog.c:
106 * hildon/hildon-edit-toolbar.c:
107 * hildon/hildon-entry.c:
108 * hildon/hildon-program.c:
109 * hildon/hildon-remote-texture.c:
110 * hildon/hildon-stackable-window.c:
111 * hildon/hildon-text-view.c:
112 * hildon/hildon-touch-selector.c:
113 * hildon/hildon-window-stack.c:
114 * hildon/hildon-window.c:
116 Remove redundant "represents" wording from most of the documentation.
118 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
120 2009-06-12 Alberto Garcia <agarcia@igalia.com>
125 * hildon/hildon-banner-private.h
126 * hildon/hildon-banner.c:
127 Move HildonBannerPrivate to hildon-banner.c and remove
128 hildon-banner-private.h
129 Use a bit field to store private booleans.
131 2009-06-12 Alberto Garcia <agarcia@igalia.com>
133 * hildon/hildon-app-menu.c (hildon_app_menu_map):
134 Don't install a new idle function if there's already one
139 2009-06-11 Alberto Garcia <agarcia@igalia.com>
141 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
142 (+legacy_menu_realized, +legacy_menu_unmapped)
143 (+set_legacy_menu_type):
144 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
145 they can be identified by the window manager.
147 Fixes: NB#101437 (Invoking CSM on the left side of page area is
148 displayed in wrong location)
150 Fixes: MB#4563 (Popup menu won't locate at the left side of the
153 2009-06-11 Alberto Garcia <agarcia@igalia.com>
155 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
157 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
160 2009-06-11 Alberto Garcia <agarcia@igalia.com>
162 * hildon/hildon-code-dialog.c
163 * hildon/hildon-date-editor.c
164 * hildon/hildon-number-editor.c
165 * hildon/hildon-seekbar.c
166 * hildon/hildon-stackable-window.c
167 * hildon/hildon-window.c:
168 Misc documentation updates
170 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
172 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
173 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
175 Fixes: NB#117931 (Theming issues in accounts dialogs)
177 2009-06-09 Alejandro G. Castro <alex@igalia.com>
179 * hildon/hildon-pannable-area.c,
180 (hildon_pannable_area_button_release_cb): Changed the coordinates
181 of the original release in case we want to discard the release,
182 some widgets in Fremantle do not handle the leave-notify.
184 2009-06-09 Alejandro G. Castro <alex@igalia.com>
186 * hildon/hildon-pannable-area.c,
187 (hildon_pannable_area_button_release_cb): Reviewed the logic of
188 the release using the last refactored functions and avoiding the
189 movement if an element was selected.
191 2009-06-09 Alejandro G. Castro <alex@igalia.com>
193 * hildon/hildon-pannable-area.c,
194 (hildon_pannable_area_check_move),
195 (hildon_pannable_area_handle_move),
196 (hildon_pannable_area_motion_notify_cb): Refactored the
197 motion_notify method using a couple of new functions.
199 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
201 * hildon/hildon-date-selector.c:
202 (hildon_date_selector_construct_ui):
203 * hildon/hildon-time-selector.c:
204 (hildon_time_selector_constructor):
205 * hildon/hildon-touch-selector-entry.c:
206 (hildon_touch_selector_entry_set_text_column),
207 (hildon_touch_selector_entry_get_text_column):
208 * hildon/hildon-touch-selector.c: (_default_print_func),
209 (hildon_touch_selector_new_text): Use
210 hildon_touch_selector_set/get_text_column() instead of
211 setting/getting the "text-column" property.
213 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
215 * doc/hildon-sections.txt: Add the new public methods below.
217 * examples/hildon-picker-button-multicolumn-example.c:
218 (create_touch_selector):
219 * examples/hildon-touch-selector-example.c: (create_selector):
220 * examples/hildon-touch-selector-multi-cells-example.c:
222 Use hildon_touch_selector_column_set_text_column()
224 * hildon/hildon-touch-selector-column.h:
225 * hildon/hildon-touch-selector.c:
226 (hildon_touch_selector_column_set_text_column),
227 (hildon_touch_selector_column_get_text_column):
228 Make hildon_touch_selector_column_set/get_column() public, use
229 them in the inline example, document them, and reference to them
232 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
234 * hildon/hildon-time-selector.c: Fix the docs for
235 hildon_time_selector_new_step().
237 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
239 * hildon/hildon-touch-selector.c: Improve the documentation for
240 hildon_touch_selector_append_column().
242 Fixes MB#4641 (Documentation:
243 hildon_touch_selector_append_column() ref-counting)
245 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
247 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
248 Comment out test 5, since the hildon_controlbar_set_range() range
249 check is broken and fixing it would have side effects. Also,
250 this finally fixes make distcheck.
252 Fixes: NB#101420 (Update unit tests and fix make distcheck)
254 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
256 * tests/TEST-CASES.txt: Remove other bogus test.
257 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
258 Remove bogus test that was setting/retrieving a valid value.
260 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
262 * tests/TEST-CASES.txt: Remove bogus tests.
263 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
264 Remove three bogus tests that were actually setting valid colors.
266 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
268 * configure.ac: post release version bump
269 * debian/changelog: post release version bump
271 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
276 * configure.ac: Bump version.
277 * debian/changelog: Updates.
279 2009-06-08 Christian Dywan <christian@lanedo.com>
283 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
284 Correct errors in hildon_format_file-size_for_display and use
285 translations from the hildon-fm package instead of osso-filemanager.
287 2009-06-08 Alejandro G. Castro <alex@igalia.com>
289 * hildon/hildon-pannable-area.c,
290 (hildon_pannable_area_init): Initialized new values to handle the
292 (hildon_pannable_area_adjust_value_changed): Check if the values
293 changed before even call the redraw function.
294 (hildon_pannable_area_size_allocate),
295 (hildon_pannable_axis_scroll),
296 (hildon_pannable_area_scroll),
297 (hildon_pannable_area_jump_to): Improved the diagonal movement
300 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
303 2009-06-08 Alberto Garcia <agarcia@igalia.com>
305 * examples/hildon-banner-example.c:
306 Several style updates
307 (on_animation_clicked, on_animation_idle)
308 (on_progress_clicked, on_progress_idle):
309 Add additional reference for the cases when the parent window is
312 2009-06-08 Alberto Garcia <agarcia@igalia.com>
314 * doc/hildon-sections.txt
315 * hildon/hildon-pannable-area.c
316 * hildon/hildon-banner.h
317 * hildon/hildon-banner.c: Documentation updates.
319 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
322 2009-06-05 Alejandro G. Castro <alex@igalia.com>
324 * hildon/hildon-calendar-popup.h:
325 * hildon/hildon-caption.h:
326 * hildon/hildon-code-dialog.h:
327 * hildon/hildon-controlbar.h:
328 * hildon/hildon-date-editor.h:
329 * hildon/hildon-dialog.h:
330 * hildon/hildon-get-password-dialog.h:
331 * hildon/hildon-hvolumebar.h:
332 * hildon/hildon-login-dialog.h:
333 * hildon/hildon-note.h:
334 * hildon/hildon-number-editor.h:
335 * hildon/hildon-range-editor.h:
336 * hildon/hildon-seekbar.h:
337 * hildon/hildon-set-password-dialog.h:
338 * hildon/hildon-sort-dialog.h:
339 * hildon/hildon-time-editor.h:
340 * hildon/hildon-time-picker.h:
341 * hildon/hildon-volumebar-range.h:
342 * hildon/hildon-volumebar.h:
343 * hildon/hildon-vvolumebar.h:
344 * hildon/hildon-weekday-picker.h:
345 * hildon/hildon-window.h:
346 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
347 macros with the current replacements
349 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
351 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
353 * hildon/hildon-color-button.c (hildon_color_button_init): Use
354 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
355 itself, to make it fit better with Fremantle style.
357 Fixes: NB#109878 (height and width of focus on color icon is not
358 consistent with other item in the application tool bar)
360 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
362 * hildon/hildon-touch-selector.c:
363 (hildon_touch_selector_optimal_size_request): use the current requisition
364 as the base, in order to include any possible extra widget, like the
365 hildon entry on HildonTouchSelectorEntry
367 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
369 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
371 * configure.ac: post release version bump
372 * debian/changelog: post release version bump
374 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
379 * configure.ac: Bump version.
380 * debian/changelog: Updates.
382 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
384 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
386 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
387 to ensure the banner contents are centered, instead of relying on
388 the expand and fill properties in GtkHBox.
389 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
391 Fixes: NB#108265 (Animation banner not properly centered)
393 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
395 * hildon/hildon-pannable-area.c
396 (hildon_pannable_area_initial_effect): Remove the initial_effect
397 management, check initial_hint
398 (hildon_pannable_are_expose_event): Remove the initial_hint management,
399 set initial_effect to FALSE
400 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
401 by launching the fade_timeout if the scrollbars state has changed and are
403 * examples/hildon-pannable-area-initial-hint-example.c
404 Modified to allow to remove rows too. Add and remove rows one by one.
406 2009-05-28 Alberto Garcia <agarcia@igalia.com>
408 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
409 Don't close the menu if there's an animation actor below it.
411 Fixes: NB#117927 (Application menu not usable with animation
414 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
416 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
417 "focus-on-click" from the dialog button, to avoid stealing the
418 focus from the entry.
420 Fixes: NB#118903 (Account setup wizard: Text in Search field
421 should be focused when "Region" touch list picker is reopened
424 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
426 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
427 (prepare_action_area): Completely hide the dialog separator.
429 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
431 * hildon/hildon-touch-selector-entry.c
432 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
433 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
434 now that the entry is exposed.
436 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
438 * hildon/hildon-touch-selector-entry.c
439 (hildon_touch_selector_entry_init): Change the entry's size
440 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
442 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
444 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
445 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
446 avoid unnecessary scaling.
448 2009-05-27 Alberto Garcia <agarcia@igalia.com>
450 * hildon/hildon-app-menu.c (hildon_app_menu_map):
451 Create grab transfer window before calling parent's map function.
453 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
454 "crushed" button(s) in the top left corner)
456 2009-05-26 Alberto Garcia <agarcia@igalia.com>
458 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
459 Check if the window is already realized when pushing it.
461 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
463 * configure.ac: post release version bump
464 * debian/changelog: post release version bump
466 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
471 * configure.ac: Bump version.
472 * debian/changelog: Updates.
474 2009-05-25 Alberto Garcia <agarcia@igalia.com>
476 * hildon/hildon-app-menu.c: Doc updates.
478 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
480 * hildon/hildon-banner.c: Remove leftover macro.
482 2009-05-25 Alejandro G. Castro <alex@igalia.com>
484 * hildon/hildon-pannable-area.c,
485 (hildon_pannable_area_scroll_indicator_fade),
486 (hildon_pannable_area_button_release_cb): Reviewed vmin
487 conditions, it could cause problems in the fadeout procedure.
489 2009-05-25 Alejandro G. Castro <alex@igalia.com>
491 * hildon/hildon-pannable-area.c
492 (hildon_pannable_area_button_release_cb): Added a threshold to
493 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
495 2009-05-25 Alejandro G. Castro <alex@igalia.com>
497 * hildon/hildon-pannable-area.c,
498 (hildon_pannable_area_set_property): Added code to sync the gtk
499 dnd threshold with the panning threshold.
501 2009-05-25 Alejandro G. Castro <alex@igalia.com>
503 * hildon/hildon-pannable-area.c,
504 (hildon_pannable_area_class_init): Changed some of the default
505 values, now it should be less responsive and more accurate.
507 2009-05-25 Alejandro G. Castro <alex@igalia.com>
509 * hildon/hildon-pannable-area.c,
510 (hildon_pannable_area_init),
511 (hildon_pannable_area_scroll_indicator_fade),
512 (hildon_pannable_area_button_press_cb),
513 (hildon_pannable_axis_scroll),
514 (hildon_pannable_area_timeout),
515 (hildon_pannable_area_motion_notify_cb),
516 (hildon_pannable_area_button_release_cb): Changed the name of the
517 clicked attribute to button_pressed, it is more clear about its use.
519 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
521 * src/hildon-pannable-area.c
522 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
524 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
525 vertical scrollbar visibility, and use the data on private section instead,
526 remove the initial_hint check
527 (hildon_pannable_area_expose_event): add the initial_hint check here
529 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
531 * src/hildon-pannable-area.c
532 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
533 if the fadeout effect was used
534 (hildon_pannable_area_expose_event): check if it is required to
535 manage the initial effect on the begining of the function. Previously
536 it was made at the end, but this doesn't ensure that the scrollbars
537 will be painted on the first show. Do not set to FALSE initial_effect,
538 to ensure that the initial hint is showed the first time the pannable
540 * examples/Makefile.am
541 * examples/hildon-pannable-area-initial-hint-example.c:
542 New example, to show that the initial-hint is showed when the widget
545 Fixes: NB#116607 (Pannable area should always have scrollbar visible
546 initially if the application can be scrolled)
548 2009-05-25 Alberto Garcia <agarcia@igalia.com>
550 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
551 Resize table before adding new items to make sure that
552 gtk_table_resize() is called just once.
554 2009-05-25 Alberto Garcia <agarcia@igalia.com>
556 * hildon/hildon-app-menu-private.h
557 * hildon/hildon-app-menu.c (item_visibility_changed)
558 (filter_visibility_changed, hildon_app_menu_show_all)
559 (hildon_app_menu_hide_all, hildon_app_menu_init):
560 Rearrange items just once when gtk_widget_show_all()/hide_all()
563 2009-05-25 Alberto Garcia <agarcia@igalia.com>
565 * hildon/hildon-app-menu.c
566 (hildon_app_menu_insert, hildon_app_menu_add_filter):
567 Don't call gtk_widget_show() on added items.
569 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
570 automatically when they're added)
572 2009-05-20 Alberto Garcia <agarcia@igalia.com>
574 * hildon/hildon-banner.c
575 (hildon_banner_realize, +hildon_banner_unrealize)
576 (+screen_size_changed, hildon_banner_class_init):
577 Redisplay the banner if the screen is rotated.
579 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
580 on transition from landscape to portrait)
582 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
584 * hildon/hildon-banner.[ch]:
585 (hildon_banner_show_information_override_dnd): remove icon_name from the
586 method definition as it is ignored.
587 * examples/hildon-banner-dnd-example.c: updated with the change on
590 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
592 * hildon/hildon-banner-private.h: new require_override_dnd and
593 overrides_dnd variables
594 * hildon/hildon-banner.h:
595 (hildon_banner_show_information_override_dnd): new method, that shows
596 the information but sets the override flag, in order to show important
598 * hildon/hildon-banner.c
599 (hildon_banner_show_information_override_dnd): new method
600 (hildon_banner_set_override_flag): new utility function
601 (hildon_banner_real_show_information): new utility function, in order to
602 generalize the current hildon_banner_show_information_override_dnd and
603 hildon_banner_show_information_override_dnd
604 * examples/Makefile.am
605 * examples/hildon-banner-dnd-example.c: New example that show how to
606 use the new hildon_banner_show_information_override_dnd
608 Fixes: NB#114874 (There is no possibility to show hildon banners with
611 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
613 * hildon/hildon-pannable-area.c: Add a comment explaining the math
614 behind hildon_pannable_calculate_vel_factor().
616 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
618 * hildon/hildon-pannable-area.c
619 (hildon_pannable_calculate_vel_factor): Correct the sum of the
620 deceleration factors.
622 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
624 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
625 Reduce the default value for 'scroll_time' to 1 second, since the
626 current initial scrolling takes too much time.
628 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
630 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
631 calculate velocity factor during initialization, since the properties
634 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
636 * hildon/hildon-pannable-area.c
637 (hildon_pannable_area_set_property): Calculate the velocity factor
638 after setting the deceleration property and not after.
640 2009-05-20 Alberto Garcia <agarcia@igalia.com>
642 * hildon/hildon-entry.c
643 (hildon_entry_class_init, +set_property, hildon_entry_new)
644 * hildon/hildon-check-button.c
645 (hildon_check_button_class_init)
646 (+set_property, hildon_check_button_new):
647 Make the theme size a property.
649 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
650 others) do too much in the _new function)
652 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
654 * configure.ac: post release version bump
655 * debian/changelog: post release version bump
657 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
662 * configure.ac: Bump version.
663 * debian/changelog: Updates.
665 2009-05-15 Alberto Garcia <agarcia@igalia.com>
667 * hildon/hildon-gtk.h
668 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
669 New API function to take a screenshot of a window
671 Fixes: NB#106374 (Need API to take a loading screenshot)
673 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
675 * hildon/hildon-time-selector.c
676 (update_format_policy): prevent to use hours and minutes unitialized
678 2009-05-15 Alberto Garcia <agarcia@igalia.com>
680 * hildon/hildon-window.c (hildon_window_size_request):
681 Always request the full size of the screen (minus the title bar if
682 not in fullscreen mode).
684 Fixes: NB#107486 (HildonWindow should size itself properly)
686 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
688 * hildon/hildon-note-private.h: Add idle_handler to the private data.
689 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
690 (on_show_cb), (sound_handling): Disconnect the idle handler for
691 the sound when the note is finalized to avoid possible crashes.
693 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
696 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
698 * src/hildon-animation-actor.c,
699 * src/hildon-remote-texture.c:
700 Added proper object cleanup to remove signal handler and object
701 references as HildonAnimationActor and HildonRemoteTexture
702 objects get destroyed.
704 Fixes: NB#116682 (Destroying parented animation actors when
705 parent in unmapped leads to crash)
707 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
709 Based on a patch by Christian Dywan (christian@imendio.com)
711 * doc/hildon-sections.txt:
712 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
713 * hildon/hildon-helper.h: New file size formatting method.
715 * debian/control: Depend on osso-filemanager l10n package for
716 proper localization strings.
718 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
720 * tests/Makefile.am: Include top_srcdir to make possible to build
721 tests in a different builddir.
722 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
723 on a different builddir.
725 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
727 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
728 (hildon_touch_selector_remove): Disconnect model's signal handler
731 Fixes: NB#116289 (Hildon home crashes while adding task
734 2009-05-11 Alberto Garcia <agarcia@igalia.com>
736 * hildon/hildon-button.c
737 (hildon_button_set_title, hildon_button_set_value):
738 Hide labels containing an empty string.
740 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
742 * configure.ac: post release version bump
743 * debian/changelog: post release version bump
745 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
750 * configure.ac: Bump version.
751 * debian/changelog: Updates.
753 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
755 * hildon/hildon-note-private.h: Removed sound_signal_handler
756 * hildon/hildon-note.c
757 (on_show_cb): new callback on note "show" event, this simply adds
758 a idle, with the function sound_handling
759 (sound_handling): removed the sound_signal_handler management
760 (hildon_note_init): connect note "show" event to on_show_cb
761 (hildon_note_realize): remove the connection to "expose-event"
763 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
764 device?' confirmation note)
766 2009-05-08 Alberto Garcia <agarcia@igalia.com>
768 * hildon/hildon-note.c
769 (hildon_note_new_information_with_icon_name)
770 (hildon_note_new_confirmation_with_icon_name):
771 Terminate the list of parameters in g_object_set() calls
773 Fixes: NB#115166 (Formatting memory card is not taking place)
775 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
777 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
778 "dialog-information" role for the sound being played.
780 2009-05-06 Alberto Garcia <agarcia@igalia.com>
782 * hildon/hildon-app-menu.c (hildon_app_menu_init):
783 Don't make the menu a modal window, it causes strange interactions
784 with the pointer grab and it's not really needed.
786 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
788 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
790 * hildon/hildon-touch-selector.[ch]
791 (hildon_touch_selector_optimal_size_request): function added to get a
792 optimal size request from the touch selector, when you want a dialog to
793 show as much of the selector
794 * hildon/hildon-picker-dialog.c:
795 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
796 (hildon_app_menu_class_init):
797 New "max-height-landscape" and "max-height-portrait" style properties
798 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
799 (hildon_picker_dialog_get_max_height): returns the maximum height using
800 the style properties defined and checking the current portrait/landscape
802 (_hildon_picker_dialog_set_selector): removed the set_size_request
804 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
806 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
808 * hildon/hildon-bread-crumb-trail.c:
809 * hildon/hildon-bread-crumb.c:
810 * hildon/hildon-seekbar.c:
811 Add reference to replacements for these deprecated widgets.
813 Fixes: MB#4461 (Documentation: All deprecations should mention
816 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
818 * examples/hildon-remote-texture-example.c
820 Change the include to the hildon-remote-texture in order to compile
821 properly the examples on the installed libhildon1-examples package
823 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
825 * tests/Makefile.am: Add check for HildonPickerButton.
826 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
827 (START_TEST), (create_hildon_picker_button_suite): Add three simple
828 checks for the HildonPickerButton.
829 * tests/check_test.c (configure_tests): Add the test suite.
830 * tests/test_suites.h: likewise.
832 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
834 * hildon/hildon-touch-selector.c
835 (+on_row_changed): Emit HildonTouchSelector:changed when the
836 contents of a selected row change.
837 (_create_new_column), (_hildon_touch_selector_set_model): connect
838 to GtkTreeModel:row-changed on a newly set model.
840 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
842 2009-05-05 Alberto Garcia <agarcia@igalia.com>
844 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
846 * hildon/hildon-banner.c (hildon_banner_destroy)
847 (hildon_banner_show_progress, hildon_banner_set_fraction):
848 Remove the progress bar from HildonBanner and use a progress
851 Fixes: NB#113761 (Update progress banner to use progress
854 2009-05-04 Alberto Garcia <agarcia@igalia.com>
856 * hildon/hildon-banner.c:
857 Calculate size of the banner label using the actual screen width
858 rather than using a fixed value.
860 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
863 2009-05-04 Alejandro G. Castro <alex@igalia.com>
865 * hildon/hildon-pannable-area.c,
866 (hildon_pannable_area_class_init): Fixed signals documentation
869 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
871 * configure.ac: post release version bump
872 * debian/changelog: post release version bump
874 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
879 * configure.ac: Bump version.
880 * debian/changelog: Updates.
882 2009-05-01 Alberto Garcia <agarcia@igalia.com>
884 * hildon/hildon-edit-toolbar.c
885 (hildon_edit_toolbar_init):
886 Don't let buttons in HildonEditToolbar receive focus.
888 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
889 typing on an HW arrows key)
891 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
893 * doc/Makefile.am: Fix build.
895 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
897 * doc/Makefile.am: Do not redefine content_files.
899 2009-04-30 Alberto Garcia <agarcia@igalia.com>
907 Renamed src/ to hildon/
912 Include <hildon/hildon.h> directly in all examples.
914 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
916 * src/hildon-sort-dialog.c
917 (hildon_sort_dialog_add_sort_key_with_sorting)
921 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
923 * src/Makefile.am: Move generated sources to CLEANFILES, so that
924 make distcheck passes.
926 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
928 * Makefile.am: Enable gtk-doc during distcheck.
930 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
932 * Makefile.am: Do not distribute the debian/ directory.
934 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
936 * doc/Makefile.am: Add the extra SGML files to content_files,
937 so that they are distributed properly.
939 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
941 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
944 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
946 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
947 (hildon_note_new_information_with_icon_name): Set the "icon" property
948 to preserve soundness.
950 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
952 * src/hildon-font-selection-dialog.c
953 (hildon_font_selection_dialog_set_property): Fail when the "family"
954 property is set to NULL.
956 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
958 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
961 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
963 * src/hildon-time-selector.h:
964 Added HildonTimeSelectorFormatPolicy
965 * src/hildon-time-selector.c:
966 Added PROP_TIME_FORMAT_POLICY
967 (_check_ampm_format): renamed to check_automatic_ampm_format
968 (update_format_policy), (update_format_dependant_columns): new functions
969 (hildon_time_selector_class_init)
970 (hildon_time_selector_contructor)
971 (hildon_time_selector_init)
972 (hildon_time_selector_get_property)
973 (hildon_time_selector_set_property)
974 (hildon_time_selector_get_time)
975 (hildon_time_selector_set_time)
976 * src/hildon-touch-selector.h: new file
977 * src/hildon-touch-selector.c
978 (hildon_touch_selector_emit_changed)
979 (hildon_touch_selector_block_changed)
980 (hildon_touch_selector_unblock_changed)
981 Added functions to allow to block the emission of the "changed" signal
982 * src/hildon-picker-dialog.c
983 (hildon_picker_dialog_show): call the parent show before the custom code
984 * examples/hildon-time-button-example.c
985 Modified, so now you can configure the time format using the new property
987 Added a new property "time-format-policy" that allow to choose the time
988 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
989 case it uses gconf in order to check if the time selector must use
992 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
995 2009-04-28 Alberto Garcia <agarcia@igalia.com>
997 * src/hildon-note.c (hildon_note_init):
998 Label in HildonNote must be left aligned, not centered. This
999 reverts the last commit in HildonNote.
1001 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1002 is connectivity dialog)
1004 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1009 * doc/hildon-sections.txt:
1010 Added hildon_gtk_window_set_do_not_disturb()
1012 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1014 * src/hildon-note.c (hildon_note_init): Center label.
1016 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1019 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1024 * configure.ac: Bump version.
1025 * debian/changelog: Updates.
1027 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1029 * src/hildon-note-private.h: Add button-width to the private data.
1030 * src/hildon-note.c (+resize_button),
1031 (+hildon_note_orientation_update): methods to repack widgets on orientation
1033 (screen_size_changed): Call above method for confirmation notes.
1034 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1035 (hildon_note_rebuild): Store the original width request from buttons.
1037 Fixes: NB#109635 (Confirmation notes do not support portrait)
1039 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1041 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1042 when it is a progress note.
1044 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1046 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1047 in the note, since there are no horizontally arranged contents.
1049 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1051 * src/hildon-gtk.c (+set_flag): new generic method to
1052 set/delay a flag setting in a window.
1053 (hildon_gtk_window_set_progress_indicator):
1054 (hildon_gtk_window_set_do_not_disturb),
1055 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1056 avoid code redundance.
1058 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1060 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1062 * src/hildon-gtk.c (set_clear_window_flag),
1063 (do_set_progress_indicator), (do_set_do_not_disturb),
1064 (do_set_portrait_flags),
1065 (hildon_gtk_window_set_progress_indicator),
1066 (hildon_gtk_window_set_do_not_disturb),
1067 (hildon_gtk_window_set_portrait_flags):
1068 Allow setting dnd-flag, progress indicator, and portrait flags
1069 when the window is not realized.
1071 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1073 * src/hildon-pannable-area.c,
1074 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1075 the size request policy function and defines.
1077 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1079 * doc/hildon-sections.txt: Add the new API.
1080 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1081 method to set the portrait flags.
1082 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1084 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1086 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1088 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1089 to allow using this method with other flags.
1090 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1091 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1093 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1095 * src/hildon-touch-selector.c
1096 (hildon_touch_selector_append_text_column):
1097 Make the cell renderer use the smallest width possible.
1099 Fixes: NB#108470 (Selected items in multiple selection are either
1100 having a tick that is cut or not visible at all.)
1102 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1104 * src/hildon-touch-selector.c
1105 (hildon_touch_selector_append_text_column):
1108 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1110 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1111 Use g_strdup_printf() instead of a fixed size buffer.
1113 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1115 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1116 Close banners when a HildonAppMenu is popped up.
1118 Fixes: NB#111027 (Title menu closed immediately if activated when
1119 "Invalid e-mail address" banner is shown)
1121 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1126 * configure.ac: Bump version.
1127 * debian/changelog: Updates.
1129 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1131 * src/hildon-banner.c (hildon_banner_realize):
1132 Mark HildonBanner as supporting portrait mode.
1133 Use GDK to set window properties insetad of direct Xlib calls.
1135 Fixes: NB#111830 (HildonBanner should be marked as supporting
1138 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1140 * src/hildon-note.c (hildon_note_rebuild):
1141 Hide action area in information notes. Prevents text from being
1142 slightly aligned to the left.
1144 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1147 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1149 Patch by Mox Soini (ext-mox.soini@nokia.com)
1151 * src/hildon-banner.c (hildon_banner_create_animation):
1152 Use stylus-sized icons in animation banner.
1154 Fixes: NB#111206 (stylus sized icon for animation banner)
1156 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1160 (+hildon_gtk_window_set_do_not_disturb):
1161 New API to set the do-not-disturb flag.
1163 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1165 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1167 * examples/hildon-progress-indicator-example.c: Fix example
1169 * src/hildon-gtk.c (set_clear_window_flag)
1170 (hildon_gtk_window_set_progress_indicator):
1171 Create a generic function for setting flags to a window.
1172 Use GDK instead of direct Xlib calls.
1174 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1176 * src/hildon-button.c (hildon_button_set_arrangement):
1177 Due to NB#88126, if one of the labels is too long it will be
1178 painted outside the button. The 'value' label is more likely to be
1179 the longest one, so we change its packing options in order to
1180 truncate it if necessary. As a side effect, the 'title' label will
1181 no longer be truncated.
1183 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1185 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1190 * configure.ac: Bump version.
1191 * debian/changelog: Updates.
1193 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1195 Deprecation of the hildon_pannable_area_set_size_request_policy
1196 API, the only policy properly supported in gtk+ nowadays is the
1199 * src/hildon-pannable-area.c,
1200 (hildon_pannable_area_size_request): Added a workaround for the
1201 size_request to avoid the problems of huge pixmaps in case someone
1202 is still using the function.
1203 * src/hildon-pannable-area.h: Deprecated the enum with the
1206 Fixes: NB#110244 (Problems with the
1207 hildon_pannable_area_set_size_request_policy API)
1209 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1211 * src/hildon-pannable-area.c,
1212 (hildon_pannable_area_init),
1213 (hildon_pannable_area_size_request),
1214 (hildon_pannable_area_style_set),
1215 (hildon_pannable_draw_vscroll),
1216 (hildon_pannable_draw_hscroll),
1217 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1218 indicator_width to clarify the use of the attribute.
1220 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1225 * configure.ac: Bump version.
1226 * debian/changelog: Updates.
1228 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1230 * src/hildon-picker-dialog.c
1231 * src/hildon-touch-selector.c
1232 Reverting the change that tried to avoid the hardcoded height on
1233 the picker dialog, as causes problems on the hildon-touch-selector
1236 Fixes: NB#110029 (selectors not scrolling to selected value)
1238 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1240 * src/hildon-touch-selector.c: Fix typos
1242 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1244 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1245 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1246 request more motions after using it.
1248 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1250 * src/hildon-calendar.c (hildon_calendar_expose),
1251 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1252 Remove unused variables.
1254 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1256 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1257 variable assignment.
1259 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1261 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1262 Check the return value of gtk_tree_selection_get_selected()
1265 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1267 * src/hildon-animation-actor.c
1268 * src/hildon-button.c
1270 * src/hildon-pannable-area.c
1271 * src/hildon-picker-button.c
1272 * src/hildon-program.c
1273 * src/hildon-remote-texture.c
1274 * src/hildon-text-view.c
1275 * src/hildon-touch-selector.c
1276 * src/hildon-window-stack.c
1277 * src/hildon-window.c:
1278 Add missing 'Since: 2.2' tags.
1280 * doc/hildon-sections.txt:
1281 Add some missing symbols.
1283 * doc/hildon-docs.sgml:
1284 New 'Other' section for HildonAnimationActor and
1287 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1289 Patch by Iván Gómez (igomez@igalia.com)
1292 * doc/compiling.sgml
1293 * doc/hildon-docs.sgml
1294 * doc/hildon-sections.txt
1295 * doc/migration.sgml
1296 * doc/resources.sgml
1298 New chapters on using the Hildon library.
1299 Updated the general structure of the reference manual.
1300 Other minor documentation fixes.
1302 * src/hildon-calendar-popup.c
1303 * src/hildon-calendar.c
1304 * src/hildon-controlbar.c
1305 * src/hildon-date-editor.c
1306 * src/hildon-dialog.c
1307 * src/hildon-hvolumebar.c
1308 * src/hildon-number-editor.c
1309 * src/hildon-range-editor.c
1310 * src/hildon-sort-dialog.c
1311 * src/hildon-time-editor.c
1312 * src/hildon-time-picker.c
1313 * src/hildon-volumebar-range.c
1314 * src/hildon-volumebar.c
1315 * src/hildon-vvolumebar.c
1316 * src/hildon-weekday-picker.c:
1317 Add deprecation notes
1319 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1320 Document 'horizontal-movement' and 'vertical-movement' signals.
1322 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1327 * configure.ac: Bump version.
1328 * debian/changelog: Updates.
1330 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1332 * src/hildon-pannable-area.c,
1333 (hildon_pannable_area_class_init): increased the minimum velocity.
1334 (hildon_pannable_area_button_release_cb): Updated the
1335 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1336 setup. Review the code to control that last event.
1338 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1341 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1343 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1345 * src/hildon-get-password-dialog.c
1346 (hildon_get_password_set_property),
1347 (hildon_get_password_get_property), (create_contents):
1348 * src/hildon-login-dialog-private.h:
1349 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1350 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1351 (hildon_login_dialog_get_password):
1352 * src/hildon-set-password-dialog-private.h:
1353 * src/hildon-set-password-dialog.c
1354 (hildon_set_password_set_property),
1355 (hildon_set_password_get_property), (create_contents),
1356 (hildon_set_password_response_change),
1357 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1359 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1360 instead and look more Fremantle style.
1362 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1364 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1366 * doc/hildon-sections.txt
1367 * src/hildon-window-stack.h
1368 * src/hildon-window-stack.c
1369 (+hildon_window_stack_get_windows):
1370 New API to obtain the list of windows on a stack.
1372 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1374 * src/hildon-app-menu.c (hildon_app_menu_popup)
1375 (hildon_app_menu_class_init, -hildon_app_menu_show):
1376 Remove hildon_app_menu_show() and move all its checks to
1377 hildon_app_menu_popup()
1379 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1381 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1382 (_hildon_picker_dialog_set_selector): removed call to
1383 gtk_widget_set_size_request
1384 * src/hildon-touch-selector.c
1385 (_create_new_column): change the pannable size request policy
1387 Avoid to use a hardcoded height for the hildon picker dialog. In order
1388 to get that, we needed to change the hildon pannable size request
1390 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1392 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1394 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1395 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1398 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1400 * debian/control: Depend on osso-system-lock localization package.
1401 * src/hildon-code-dialog.c: Obtain the secu_application_title
1402 translation from osso-system-lock.
1403 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1404 for translation the atk related strings, that's not necessary.
1405 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1406 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1407 cancel button, it is not required.
1409 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1411 * src/hildon-pannable-area.c,
1412 (hildon_pannable_area_class_init): Modified the default value of
1413 the overshooting max speed, we have reduced it.
1415 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1417 * doc/hildon-sections.txt
1418 * src/hildon-window-private.h
1419 * src/hildon-window.h
1420 * src/hildon-window.c (hildon_window_class_init)
1421 (hildon_window_init, hildon_window_finalize)
1422 (hildon_window_realize, hildon_window_get_property)
1423 (hildon_window_set_property, hildon_window_update_markup)
1424 (hildon_window_get_markup, hildon_window_set_markup):
1425 New "markup" property and hildon_window_{get,set}_markup() methods.
1427 * examples/hildon-stackable-window-example.c (new_window):
1428 Update example to use hildon_window_set_markup()
1430 Fixes: NB#106375 (Need API to retitle a window with a title
1433 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1435 * src/hildon-pannable-area.c,
1436 (hildon_pannable_area_class_init): Changed the default value of
1437 the initial_hint to TRUE.
1438 (hildon_pannable_area_initial_effect): Changed the initial effect,
1439 not the effect is just the fade-out of the scrollbars.
1441 Fixes: NB#107775 (No scrollbars can be seen when several items are
1442 available in a dialog)
1444 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1446 * src/hildon-program.c (hildon_program_update_top_most):
1449 Fixes: NB#109179 (Memory leak in Hildon program)
1451 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1453 * src/hildon-banner.c (-get_current_app_window):
1454 Remove unused function.
1456 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1458 * src/hildon-pannable-area.c: Modified the documentation of the
1459 get adjustments functions to explain the problem of using the
1460 adjustment directly.
1461 (hildon_pannable_area_class_init): Improved the explanation about
1464 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1466 * src/hildon-app-menu-private.h
1467 * src/hildon-app-menu.c
1468 (hildon_app_menu_class_init):
1469 Bring back the 'external-border' style property
1470 (hildon_app_menu_class_init, hildon_app_menu_init)
1471 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1472 Set a fixed width-request for the menu, independent of the number
1475 Fixes: NB#94957 (Smoothly opened application menu)
1477 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1479 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1481 * src/hildon-banner.c
1482 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1484 Make sure that the banner is correctly placed the first time it's
1486 (hildon_banner_check_position, -check_fullscreen_state):
1487 Show the banner in the same place no matter if the window is in
1488 fullscreen mode or not.
1490 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1492 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1494 * src/hildon-touch-selector.c (_default_print_func): reorder
1495 concatenation for clarity.
1497 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1499 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1500 for multicolumn selectors.
1502 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1504 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1509 * configure.ac: Bump version.
1510 * debian/changelog: Updates.
1512 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1514 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1517 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1519 * configure.ac: removed libcangerra-gtk dependency
1520 * debian/control: removed libcanberra-gtk dependency
1521 * src/Makefile.am: removed libcanberra gtk related flags
1522 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1523 context, and manage a global canberra context instead
1525 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1527 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1529 Patch by Daniel Borgmann (danielb@openismus.com)
1531 * src/hildon-edit-toolbar.c:
1532 Adjust the left padding.
1533 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1534 Paint background of the edit toolbar.
1536 Fixes: NB#107897 (Patch to make editmodetoolbar background
1537 themeable and adjust margin)
1539 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1541 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1543 * src/hildon-program.c (hildon_program_update_top_most):
1544 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1546 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1547 change when the user tasks in/out of an application)
1549 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1551 * configure.ac: added libcangerra-gtk dependency
1552 * debian/control: added libcanberra-gtk dependency
1553 * src/Makefile.am: added libcanberra gtk related flags
1554 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1557 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1559 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1561 * src/hildon-program.c (hildon_program_remove_window)
1562 (hildon_program_add_window): Add checks for the window
1563 parameter. Don't decrease the window counter if the window is not
1566 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1568 * src/hildon-pannable-area.c,
1569 (hildon_pannable_area_realize): Fixed position of the event_window
1570 in the realize method.
1572 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1574 * src/hildon-app-menu-private.h
1575 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1576 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1577 (hildon_app_menu_key_press, hildon_app_menu_init)
1578 (hildon_app_menu_finalize):
1579 Make sure that all idle functions are removed when the widget is
1582 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1584 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1589 * configure.ac: Bump version.
1590 * debian/changelog: Updates.
1592 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1594 * src/hildon-entry.c
1595 (+hildon_entry_show_placeholder),
1596 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1597 that replace hildon_entry_update_contents().
1598 (hildon_entry_set_text),
1599 (hildon_entry_set_placeholder),
1600 (hildon_entry_focus_in_event),
1601 (hildon_entry_focus_out_event): Determine when it is needed
1602 either to show or hide the placeholder and call the above methods.
1604 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1605 when the placeholder text is already set)
1607 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1609 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1610 simple GdkPixbufAnim using the new icons for the banner.
1611 (hildon_banner_show_animation): Use the above mentioned method to
1612 create the animation widget.
1614 Fixes: NB#103564 (Make hildon animation banner use individual
1615 image files as the animation)
1617 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1619 * src/hildon-pannable-area.c,
1620 (hildon_pannable_leave_notify_event): Check if the child is NULL
1621 to avoid sending the leave.
1623 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1625 * src/hildon-pannable-area.c,
1626 (hildon_pannable_area_class_init),
1627 (hildon_pannable_leave_notify_event): Added a handler of the
1628 leave-notify-signal to consider when no motion notify before
1631 Fixes: NB#107494 (Items stay selected when clicking and moving
1632 away when inside pannable area)
1634 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1639 * configure.ac: Bump version.
1640 * debian/changelog: Updates.
1642 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1644 Patch by Alberto Garcia (agarcia@igalia.com)
1646 * src/hildon-date-button.c,
1647 (hildon_date_button_class_init),
1648 (hildon_date_button_init): Removed the construct property handling
1649 and created a default selector in the init method.
1650 * src/hildon-picker-button.c,
1651 (hildon_picker_button_class_init): Removed the construct flag of the
1654 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1656 * src/hildon-main.c (hildon_init):
1657 Don't allow hildon_init() to be called more than once.
1659 Fixes: NB#106607 (hildon_init should issue error message upon
1662 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1664 * examples/hildon-pannable-area-touch-list-example.c
1665 * examples/hildon-pannagle-area-touch-grid-example.c
1666 * examples/hildon-edit-toolbar-example.c
1667 * examples/hildon-touch-selector-multi-cells-example.c
1668 Removed the call to gtk_rc_parse_string, as it is not required since
1671 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1673 * src/hildon-pannable-area.c,
1674 (hildon_pannable_area_class_init): Modified the default panning
1675 threshold of the widget to 6px.
1677 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1678 than the threshold value ) within the button is not sending the
1681 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1683 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1684 for the treeview in the new column. This way, the touch list will never
1687 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1688 be selected manually for the HW keys to work)
1690 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1692 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1693 comparison instead of using strcmp(). Fixes a compiler warning as well.
1695 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1697 * doc/hildon-docs.sgml: Do not set the library version in the
1698 document title, use the releaseinfo tag for that purpose instead.
1700 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1702 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1703 Do not jump to the first item if the text in the entry is removed.
1705 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1710 * configure.ac: Bump version.
1711 * debian/changelog: Updates.
1713 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1715 * src/hildon-entry.c (hildon_entry_refresh_contents):
1716 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1717 Use "ReversedSecondaryTextColor" for the placeholder text.
1719 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1721 * src/hildon-text-view.c: Fix compilation warning.
1723 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1725 * src/hildon-button.c (hildon_button_class_init): Don't make
1726 "title" and "value" construction properties, to prevent them from
1727 overwriting labels set from derived classes.
1729 * src/hildon-picker-button.c
1730 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1731 (hildon_picker_button_class_init): Make touch-selector a
1732 construction property.
1734 * src/hildon-date-button.c (hildon_date_button_class_init)
1735 (+hildon_date_button_constructed): Add a default date selector if
1738 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1740 * src/hildon-touch-selector.c: Small documentation fixes.
1742 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1744 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1746 * src/hildon-entry.c (hildon_entry_refresh_contents),
1747 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1748 widget name, set the logical color directly instead and a boolean
1749 showing_placeholder instead.
1750 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1751 use the widget name here either.
1753 Fixes: NB#105678 (HildonTextView should use logical colours
1754 instead of setting widget name)
1756 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1758 Patch by Daniel Elster (danielk@openismus.com)
1760 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1761 Add user_data parameter.
1762 (hildon_touch_selector_set_print_func_full): New function akin
1763 hildon_touch_selector_set_print_func() but with support for user
1764 data and a destroy callback.
1765 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1766 to clean up the print function user data.
1767 (hildon_touch_selector_class_init): Install dispose function.
1768 (HildonTouchSelectorPrivate::print_user_data),
1769 (HildonTouchSelectorPrivate::print_destroy_func): New private
1771 (hildon_touch_selector_init): Initialize new private members.
1772 (hildon_touch_selector_get_current_text): Pass along user data
1773 to the print function.
1774 (_default_print_func): Add dummy user_data to parameter list.
1775 * hildon-date-selector.c (_custom_print_func): ditto,
1776 * hildon-time-selector.c (_custom_print_func): ditto,
1777 * hildon-touch-selector-entry.c
1778 (hildon_touch_selector_entry_print_func): ditto.
1780 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1782 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1784 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1786 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1788 * src/hildon-pannable-area.c,
1789 (hildon_pannable_area_init),
1790 (hildon_pannable_area_button_press_cb),
1791 (hildon_pannable_area_motion_notify_cb): We have added code to
1792 handle the leave and enter events when using the motion events.
1794 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1796 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1798 * src/hildon-date-button.c (hildon_date_button_get_date)
1799 (hildon_date_button_set_date): Make sure that the button has a
1802 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1804 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1806 * src/hildon-pannable-area.c,
1807 (hildon_pannable_area_class_init),
1808 (hildon_pannable_area_calculate_velocity): Modify the use of the
1809 force and adapt the value.
1811 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1813 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1814 (hildon_app_menu_class_init): Hide the menu if it receives a
1815 delete-event, but don't destroy it
1817 Fixes: NB#104485 (Not able to address the call when application
1818 menu is opened at background)
1820 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1822 * src/hildon-app-menu.c
1823 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1824 Remove the "external-border" style property, let the menu take its
1825 natural size (or the one set by the window manager)
1826 (hildon_app_menu_repack_items):
1827 Don't reshow the menu, avoid flickers.
1829 Partially fixes NB#94957 (Smoothly opened application menu)
1831 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1836 * configure.ac: Bump version.
1837 * debian/changelog: Updates.
1839 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1841 * src/hildon-pannable-area.c,
1842 (hildon_pannable_area_motion_notify_cb): We control that the
1843 direction error margin is used just in case the movement is
1844 allowed in the other direction.
1846 Fixes: NB#105012 (buttons inside a pannable area not getting
1847 release event when dragging/releasing)
1849 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1851 * src/hildon-pannable-area.c,
1852 (hildon_pannable_area_class_init),
1853 (hildon_pannable_area_get_property),
1854 (hildon_pannable_area_set_property),
1855 (hildon_pannable_area_initial_effect),
1856 (hildon_pannable_axis_scroll),
1857 (hildon_pannable_area_button_release_cb): Reviewed the
1858 overshooting effect, now it has its own max
1859 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1860 speed when bouncing.
1862 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1867 * configure.ac: Bump version.
1868 * debian/changelog: Updates.
1870 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1872 * src/hildon-pannable-area.c,
1873 (hildon_pannable_area_class_init): Changed the max speed, now
1874 users can launch the widget very fast. Reduced the default force,
1875 that way it is easier to control the launch speed.
1877 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1879 * src/hildon-pannable-area.c,
1880 (hildon_pannable_area_button_release_cb): Removed this check
1881 because it causes problems when the device is overloaded.
1883 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1885 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1886 add a current_text field to store the text entered in the
1887 touch selector entry.
1888 (_clean_current_selection): clean up the current text as well.
1889 (_save_current_selection), (_restore_current_selection):
1890 Save/restore the text in the entry if the selector is a
1891 HildonTouchSelectorEntry.
1893 Fixes: NB#102541 (value entered in the touch selector entry is not
1894 shown when opened for second time)
1896 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1898 * doc/hildon-sections.txt:
1899 * src/hildon-touch-selector-entry.c
1900 (+hildon_touch_selector_entry_get_entry):
1901 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1903 Fixes: NB#104815 (I need accessor to the entry inside
1904 HildonTouchSelectorEntry)
1906 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1908 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1909 (hildon_app_menu_class_init):
1910 New "filter-vertical-spacing" style property.
1912 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1914 * src/hildon-find-toolbar.c
1915 (hildon_find_toolbar_emit_close)
1916 (hildon_find_toolbar_emit_invalid_input)
1917 (hildon_find_toolbar_entry_activate):
1918 Use g_signal_emit() instead of g_signal_emit_by_name()
1920 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1922 Patch by Mox Soini (ext-mox.soini@nokia.com)
1924 * tests/TEST-CASES.txt
1925 * tests/check-hildon-banner.c
1926 * tests/check-hildon-note.c
1927 * src/hildon-banner.c
1928 * src/hildon-code-dialog.c
1929 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1930 * src/hildon-time-editor.c
1931 * examples/hildon-lookup-example.c (main):
1932 Replace obsolete icon names with new ones.
1934 * src/hildon-find-toolbar-private.h:
1935 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1936 (-hildon_find_toolbar_emit_search):
1937 Remove find button and change icon of close button.
1939 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1941 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1943 * src/hildon-time-button.c (hildon_time_button_new_step):
1944 Use the "touch-selector" property to set the selector directly
1945 when creating the object.
1947 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1949 Added a new example application that allows tuning the pannable
1950 area and replaced defines with properties in order to simplify the
1951 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1952 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1953 PROP_DIRECTION_ERROR_MARGIN.
1955 * examples/hildon-pannable-area-tuning-example.c: New example
1957 * src/hildon-pannable-area.c,
1958 (hildon_pannable_area_class_init),
1959 (hildon_pannable_area_init),
1960 (hildon_pannable_area_get_property),
1961 (hildon_pannable_area_set_property),
1962 (hildon_pannable_area_launch_fade_timeout),
1963 (hildon_pannable_area_adjust_value_changed),
1964 (hildon_pannable_axis_scroll),
1965 (hildon_pannable_area_motion_notify_cb),
1966 (hildon_pannable_area_scroll_cb),
1967 (hildon_pannable_area_button_release_cb): We have converted some
1968 of the defines that control the widget to properties to simplify
1971 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1973 * src/hildon-app-menu.c (hildon_app_menu_map)
1974 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1975 so it's closed if a new window appears.
1977 Fixes: NB#104485 (Not able to address the call when application
1978 menu is opened at background)
1980 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1982 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1983 missing 'break' statement in in 'case' construct to avoid
1986 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1988 * src/hildon-touch-selector-entry.c
1989 (hildon_touch_selector_entry_get_property),
1990 (hildon_touch_selector_entry_set_property): Add missing 'break'
1991 statements in in 'case' constructs to avoid incorrect warnings.
1993 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1995 * src/hildon-time-editor.c
1996 (hildon_time_editor_get_time_separators): Do not crash if
1997 the first label is NULL.
1999 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2001 * src/hildon-date-selector.c (_month_days): Check for month to be
2002 strictly less than 12, since otherwise we may overrun the array.
2004 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2006 * src/hildon-date-button.c (+hildon_date_button_new_full)
2007 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2008 (hildon_date_button_init): Set the date selector using a
2009 construction property, to make it happen after HildonButton's
2010 "value" property is set.
2012 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2013 current date by default)
2015 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2017 * doc/hildon-sections.txt
2018 * src/hildon-program.c
2019 * src/hildon-stackable-window.c
2020 * src/hildon-window.c:
2021 Documentation updates
2023 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2025 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2026 (hildon_window_stack_new, +hildon_window_stack_set_property)
2027 (+hildon_window_stack_get_property)
2028 (hildon_window_stack_class_init)
2029 (+hildon_window_stack_set_window_group)
2030 (+hildon_window_stack_get_window_group):
2031 Make the window group a construction property.
2033 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2035 * doc/hildon-sections.txt
2036 * src/hildon-stackable-window-private.h
2037 * src/hildon-stackable-window.h
2038 * src/hildon-stackable-window.c
2039 (-hildon_stackable_window_set_app_menu)
2040 (-hildon_stackable_window_get_app_menu)
2041 (-hildon_stackable_window_toggle_menu)
2042 (-hildon_stackable_window_finalize)
2043 (hildon_stackable_window_class_init)
2044 (hildon_stackable_window_init)
2045 * src/hildon-window-private.h
2046 * src/hildon-window.h
2047 * src/hildon-window.c (hildon_window_init)
2048 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2049 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2050 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2051 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2052 Moved all HildonAppMenu code to HildonWindow. The menu does not
2053 require a HildonStackableWindow anymore.
2055 * src/hildon-app-menu.c
2056 * src/hildon-program.c
2057 * examples/hildon-app-menu-example.c (main):
2058 Update examples and documentation to reflect HildonAppMenu
2061 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2063 * src/hildon-remote-texture.c
2064 * src/hildon-animation-actor.c:
2065 Don't include unused private headers.
2067 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2069 * src/hildon-program-private.h
2070 * src/hildon-program.c
2071 (hildon_program_set_common_menu)
2072 (hildon_program_get_common_menu)
2073 (hildon_program_set_common_app_menu)
2074 (hildon_program_get_common_app_menu):
2075 Change common menu pointers from GtkWidget* to GtkMenu* and
2076 HildonAppMenu* to avoid unnecessary casts.
2078 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2080 * src/hildon-window.c (hildon_window_set_main_menu):
2081 Removed incorrect 'Since:' tag
2083 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2085 * src/hildon-pannable-area.c,
2086 (hildon_pannable_area_calculate_velocity): We use now the
2087 RATIO_TOLERANCE here to check the distance, fixed typo in the
2089 (hildon_pannable_area_motion_notify_cb): We have to set the type
2090 and time even if we are not sending the motion.
2092 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2094 * doc/hildon-sections.txt
2095 * src/hildon-app-menu.h
2096 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2097 (+hildon_app_menu_get_filters): New methods to get the contents of
2100 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2103 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2105 * src/hildon-app-menu.c (hildon_app_menu_popup):
2108 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2110 * src/hildon-window.h
2111 * src/hildon-window.c (+hildon_window_get_main_menu)
2112 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2113 and deprecated hildon_window_get_menu().
2115 * src/hildon-stackable-window.h
2116 * src/hildon-stackable-window.c
2117 (+hildon_stackable_window_set_app_menu)
2118 (+hildon_stackable_window_get_app_menu)
2119 (hildon_stackable_window_set_main_menu): Created
2120 hildon_stackable_window_{get,set}_app_menu() and deprecated
2121 hildon_stackable_window_set_main_menu().
2123 * doc/hildon-sections.txt
2124 * examples/hildon-app-menu-example.c (main)
2125 * src/hildon-app-menu.c
2126 * src/hildon-program.c:
2127 Updated examples and documentation.
2129 Fixes: NB#103758 (No way to obtain a menu from a
2130 HildonStackableWindow)
2132 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2137 * configure.ac: Bump version.
2138 * debian/changelog: Updates.
2140 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2142 * examples/hildon-remote-texture-example.c: Include
2143 hildon-remote-texture.h explicitely.
2144 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2145 applications not defining _XOPEN_SOURCE which don't require this header.
2147 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2149 * doc/hildon-sections.txt
2150 * src/hildon-app-menu.h
2151 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2152 New function to pop up a HildonAppMenu
2154 * src/hildon-stackable-window.c
2155 (hildon_stackable_window_toggle_menu):
2156 Use hildon_app_menu_popup() to show the menu.
2158 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2160 * src/hildon-app-menu.c (hildon_app_menu_show)
2161 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2162 menu if there's another window between it and its parent window.
2164 Fixes: NB#100468 (Application menu window is launched even when a
2165 new secondary-window/dialog is pending to be shown/realized)
2167 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2169 * src/hildon-window-stack.c (hildon_window_stack_push)
2170 (hildon_window_stack_pop_and_push):
2171 Don't forget to push/pop the first window.
2172 Reverse the window list before calling _push_list()
2174 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2176 * src/hildon-picker-button.h
2177 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2178 Remove "value_changed" slot to avoid ABI breakage
2180 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2182 * src/hildon-pannable-area.c,
2183 (hildon_pannable_area_realize),
2184 (hildon_pannable_area_unrealize),
2185 (hildon_pannable_draw_vscroll),
2186 (hildon_pannable_draw_hscroll): Changed the method to handle the
2187 GC used to draw the transparent scrollbar, this way we avoid
2188 creating the GC all the time when drawing the scrollbars.
2190 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2192 * src/hildon-pannable-area.c,
2193 (hildon_pannable_area_init),
2194 (hildon_pannable_area_remove): Removed some unnecessary casts.
2195 (hildon_pannable_area_dispose): Disconnected some signals before
2196 releasing the adjustments.
2198 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2200 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2201 Make sure that all widgets contained in the toolbar are shown.
2203 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2205 * doc/hildon-sections.txt
2206 * src/hildon-picker-button.h
2207 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2208 (_selection_changed, hildon_picker_button_on_dialog_response)
2209 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2210 New hildon_picker_button_value_changed() method.
2213 * src/hildon-picker-button-private.h
2214 * src/hildon-picker-button.c (hildon_picker_button_init)
2215 (+hildon_picker_button_disable_value_changed): Add protected
2216 function for disabling the "value-changed" signal.
2218 * src/hildon-date-button.c (hildon_date_button_set_date):
2219 Don't emit "value-changed" for each one of the three columns.
2221 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2222 before actual change of values)
2224 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2226 * src/hildon-pannable-area.c,
2227 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2228 for the treeview overshooting.
2230 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2232 * src/hildon-banner.c (+hildon_banner_bind_style):
2233 Renamed from hildon_banner_bind_label_style(), now naming the
2234 banner itself as well.
2235 (hildon_banner_show_information),
2236 (hildon_banner_show_information_with_markup),
2237 (hildon_banner_show_animation), (hildon_banner_show_progress):
2238 Name the widgets and labels, based on their type.
2240 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2243 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2245 * src/hildon-note.c (hildon_note_set_property): call
2246 hildon_note_rename() on HildonNote:note-type set.
2247 (hildon_note_rename): Name the note and its label, based on the
2248 HildonNote:note-type property.
2250 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2253 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2255 * src/hildon-pannable-area.c,
2256 (hildon_pannable_area_class_init),
2257 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2258 panning parameters, increased SPS and deceleration factor. Added
2259 also a margin to control fake directions.
2261 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2263 Patch by Sven Herzberg (sven@imendio.com)
2265 * configure.ac: Add missing AM_PROG_CC_C_0
2266 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2268 See NB#101420 (Update unit tests and fix make check)
2270 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2272 This patch was applied before but reverted because it caused
2273 problems, we have changed the main condition and tested the
2274 regressions we detected before and they work ok. We have done a
2275 complete review of the topmost algorithm in order to get a more
2278 * src/hildon-pannable-area.c,
2279 (hildon_pannable_area_get_topmost): Added a new parameter to
2280 filter the the windows that do not include those events.
2281 (hildon_pannable_area_button_press_cb),
2282 (hildon_pannable_area_button_release_cb),
2283 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2284 topmost function, we have added the new parameter.
2286 Fixes: NB#97458 (Pannable area prevents propagation of button
2289 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2291 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2292 if all columns in the selector have an item selected.
2293 (_on_dialog_response): Stop "response" signal emission if there is
2294 any selector column without selected items.
2296 Fixes: NB#101889 (Picker dialog should not close when nothing is
2297 selected in multiple selection list)
2299 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2301 * src/hildon-font-selection-dialog.c
2302 (hildon_font_selection_dialog_class_init),
2303 (hildon_font_selection_dialog_init): Remove the preview
2304 button and dialog, since previewing with default theming is likely
2305 to be overcomplicated. The :preview property has now no effect.
2306 Update documentation blurbs to inform about this.
2308 Fixes: NB#92297 (Preview content is not clearly visible for
2309 default colour text)
2311 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2313 Reviewed the geometry that handles the children size and
2314 scrollbar, now it tries a size and reviews the results depending
2315 on the scrollbars visibility.
2317 * src/hildon-pannable-area.c,
2318 (hildon_pannable_area_realize): Fixed a typo.
2319 (hildon_pannable_area_child_allocate_calculate): Added this
2320 function to calculate the child allocation.
2321 (hildon_pannable_area_size_allocate): Reviewed the allocation
2323 (hildon_pannable_area_check_scrollbars),
2324 (hildon_pannable_area_refresh): Refactored refresh function, this
2325 way we can call the code handling the scrollbars without causing a
2326 size_request, it is interesting in the allocate.
2327 (hildon_pannable_area_init): Replace the callbacks of the
2328 value_changed and changed signals to propertly deal with the
2330 (hildon_pannable_area_grab_notify),
2331 (hildon_pannable_area_initial_effect),
2332 (hildon_pannable_area_launch_fade_timeout),
2333 (hildon_pannable_area_adjust_changed),
2334 (hildon_pannable_area_adjust_value_changed),
2335 (hildon_pannable_area_redraw),
2336 (hildon_pannable_area_button_press_cb),
2337 (hildon_pannable_area_button_release_cb),
2338 (hildon_pannable_area_scroll_cb),
2339 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2340 code and use the new functions adjust_changed and
2341 adjust_value_changed.
2343 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2344 Contact editor dialog)
2346 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2351 * configure.ac: Bump version.
2352 * debian/changelog: Updates.
2354 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2356 * src/hildon-pannable-area.c,
2357 (hildon_pannable_area_get_topmost),
2358 (hildon_pannable_area_button_press_cb),
2359 (hildon_pannable_area_button_release_cb),
2360 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2361 topmost function adding the event mask. We have to try a
2362 differente approach because it is still causing problems (NB#9745,
2365 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2367 * src/hildon-banner.c:
2368 Update the maximum width of timed banners.
2369 (force_to_wrap_truncated): Enforce the maximum text width if the
2372 Fixes: NB#102413 (The text margins (wrapping) in information
2373 banner should be HILDON_MARGIN_TRIPLE)
2375 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2377 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2379 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2380 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2381 bound when calculating the scroll indicator position.
2383 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2384 treat ->lower correctly)
2386 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2388 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2389 expose event handling, since it is not necessary to draw the focus
2392 Fixes: NB#102467 (Do not show highlight on the text in
2395 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2397 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2398 full height of the toolbar for the button and the label.
2400 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2402 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2403 padding before the label and after the button.
2405 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2407 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2409 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2410 Add a GtkVSeparator between the button and the back arrow.
2411 Let the button have automatic size.
2412 Set a name to the widget for theming handling.
2414 Fixes: NB#101793 (Make edit toolbar the same height as window
2415 title bar (use title area theming))
2417 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2419 * src/hildon-helper.c (attach_new_color_element): Fix memory
2422 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2424 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2426 * examples/hildon-button-example.c (common_buttons_window): Don't
2429 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2431 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2432 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2434 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2436 * src/hildon-gtk.c: Check that the window is realized.
2438 Fixes: NB#102225 (Crash setting the progress indicator to a non
2441 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2443 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2444 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2445 instead of modifying the one in the widget style.
2447 Fixes: NB#101043 (Second row of all the command button are
2448 displayed in transparent mode.)
2450 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2452 * src/hildon-date-button.c
2453 * src/hildon-time-button.c: Add gettext macros
2455 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2457 * src/hildon-date-button.c (hildon_date_button_new):
2458 * src/hildon-time-button.c (hildon_time_button_new_step):
2459 Use new logical strings to set the button default title.
2461 Fixes: NB#99915 (Date and Time options are not localised in Date
2464 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2466 * src/hildon-pannable-area.c
2467 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2468 the PANNING_THRESHOLD.
2470 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2472 * src/hildon-pannable-area.c,
2473 (hildon_pannable_area_class_init): Increased the maximum speed.
2474 (hildon_pannable_area_get_property),
2475 (hildon_pannable_area_set_property),
2476 (hildon_pannable_area_timeout): Added a new low friction mode, it
2477 allows the user avoid friction when launching the widget fast
2478 enough. It is interesting to traverse long lists.
2480 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2482 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2483 (+hildon_stackable_window_delete_event): Ignore delete events if
2484 the window is not the topmost one.
2486 Fixes: NB#101698 (Back button long press and delete-event handling)
2488 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2490 * src/hildon-pannable-area.c,
2491 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2492 gtk-dnd-drag-threshold, it was too big. We have defined our own
2493 dnd define and set a smaller value: PANNIG_THRESHOLD.
2495 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2497 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2498 user-defined icons, use always the default one.
2500 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2502 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2504 This patch was applied before but reverted because it caused
2505 problems, we have changed the main condition and tested the
2506 regressions we detected before and they work ok.
2508 * src/hildon-pannable-area.c,
2509 (hildon_pannable_area_get_topmost): Added a new parameter to
2510 filter the the windows that do not include those events. Added
2511 also a condition when finding the window to filter windows that do
2512 not ask for those events.
2513 (hildon_pannable_area_button_press_cb),
2514 (hildon_pannable_area_button_release_cb),
2515 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2516 topmost function, we have added the new parameter.
2518 Fixes: NB#97458 (Pannable area prevents propagation of button
2521 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2523 * tests/check-hildon-color-button.c (START_TEST): do not leak
2526 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2528 * src/hildon-font-selection-dialog.c
2529 (hildon_font_selection_dialog_get_preview_text): Return NULL
2530 instead of FALSE on the g_return_val_if_fail().
2532 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2534 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2535 * src/hildon-date-selector.c
2536 (hildon_date_selector_select_current_date):
2537 Do not compare unsigned integers to be greater than or equal 0,
2538 because it's always TRUE.
2540 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2542 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2543 (hildon_date_selector_constructor): Do not select the current
2544 date until we are handle the "changed" signal, to avoid having bogus
2545 elements in the days model.
2547 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2549 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2550 for num_days, since _month_days() can return a negative value.
2552 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2554 * src/hildon-caption.c (hildon_caption_size_allocate):
2555 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2556 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2558 Initialize allocation variables to 0, to avoid eventually using
2559 unitialized variables.
2561 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2563 * src/hildon-bread-crumb-trail.c
2564 (hildon_bread_crumb_trail_size_allocate):
2565 * src/hildon-calendar.c (hildon_calendar_set_background):
2566 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2567 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2568 * src/hildon-seekbar.c (hildon_seekbar_init):
2569 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2570 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2571 * src/hildon-touch-selector-entry.c
2572 (hildon_touch_selector_get_text_from_model):
2573 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2574 * src/hildon-window.c (hildon_window_finalize):
2576 Remove many unused variables.
2578 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2580 * src/hildon-seekbar.c: (hildon_seekbar_init),
2581 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2583 Remove unnecessary g_assert() calls.
2585 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2587 * src/hildon-caption.c: (hildon_caption_expose),
2588 (hildon_caption_set_property), (hildon_caption_init),
2589 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2590 (hildon_caption_size_request), (hildon_caption_size_allocate),
2591 (hildon_caption_forall), (hildon_caption_set_separator),
2592 (hildon_caption_activate), (hildon_caption_set_child_expand),
2593 (hildon_caption_set_label_text),
2594 (hildon_caption_get_label_alignment):
2596 Remove unnecessary g_assert() calls.
2598 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2600 * src/hildon-banner.c
2601 (hildon_banner_map, hildon_banner_init): Make banner temporary
2602 before mapping it to avoid closing other temporary windows, but
2603 make it non-temporary afterwards to avoid being closed by other
2604 non-temporary windows.
2605 (-hildon_banner_client_event, hildon_banner_init):
2606 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2608 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2611 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2613 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2616 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2618 * src/hildon-remote-texture.c
2619 * src/hildon-remote-texture.h
2620 * src/hildon-remote-texture-private.h
2621 * examples/hildon-remote-texture-example.c:
2622 Updates/fixes to remote-texture and its example.
2624 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2626 Patch by Mox Soini (ext-mox.soini@nokia.com)
2628 * src/hildon-code-dialog.c: Update logical id.
2629 * src/hildon-set-password-dialog.c: Update logical id.
2631 Fixes: NB#100646 (Logical strings is shown for ok in set
2632 password,Password needed dialogs)
2634 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2637 * src/hildon-remote-texture.c
2638 * src/hildon-remote-texture.h
2639 * src/hildon-remote-texture-private.h
2641 Added remote texture widget (for Clutter shared memory textures)
2643 * examples/hildon-remote-texture-example.c
2644 * examples/Makefile.am
2645 Added example file for remote texture usage
2647 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2649 * configure.ac: post release version bump.
2650 * debian/changelog: version bump.
2652 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2657 * configure.ac: Bump version.
2658 * debian/changelog: Updates.
2660 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2662 * src/hildon-date-selector.c (hildon_date_selector_init)
2663 (hildon_date_selector_constructor): Don't connect to the "changed"
2664 signal until the selector is completely constructed.
2666 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2668 * src/hildon-touch-selector.c: (_create_new_column),
2669 (hildon_touch_selector_append_column),
2670 (hildon_touch_selector_set_column_selection_mode),
2671 (hildon_touch_selector_set_active),
2672 (hildon_touch_selector_select_iter):
2673 Emit the HildonTouchSelector::changed signal every time selection
2674 is changed in any of the methods above. This behavior was already
2675 documented but not fully functional.
2677 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2678 selection is programmatically changed)
2680 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2682 * doc/hildon-sections.txt: Remove obsolete icon
2683 sizes from here as well.
2685 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2687 * examples/hildon-stackable-window-example.c (add_window): Remove
2690 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2692 * src/hildon-app-menu.c
2693 (hildon_app_menu_show): Check whether the parent window of a menu
2694 is topmost before popping it up.
2696 Fixes: NB#100468 (Application menu window is launched even when a
2697 new secondary-window/dialog is pending to be shown/realized.)
2699 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2701 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2704 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2706 Patch by Mox Soini (ext-mox.soini@nokia.com)
2708 * src/hildon-banner.c: (hildon_banner_show_animation):
2709 use stylus size instead of obsolete note size.
2710 * src/hildon-defines.h: Update icon sizes.
2712 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2714 * src/hildon-touch-selector-entry.c:
2715 (hildon_touch_selector_entry_init): Disable unsupported
2717 (hildon_touch_selector_entry_get_text_column): Emit a warning
2718 if an unsupported input modes is used and explicitile state
2719 these modes in the documentation.
2721 Fixes: NB#99802 (Hildon touch selector entry not working properly
2722 for some of the input modes)
2724 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2726 * src/hildon-pannable-area.c,
2727 (hildon_pannable_area_init): Added the changed signal handlers of
2730 Fixes: NB#100320 (HildonPannableArea does not listen to
2731 GtkAdjustment "change" signals)
2733 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2735 * doc/hildon-sections.txt
2736 * src/hildon-window-private.h
2737 * src/hildon-window.h
2738 * src/hildon-window.c (hildon_window_init)
2739 (hildon_window_realize, hildon_window_unrealize)
2740 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2741 (hildon_window_size_request, hildon_window_size_allocate)
2742 (hildon_window_forall, hildon_window_show_all)
2743 (hildon_window_destroy, +paint_edit_toolbar)
2744 (+hildon_window_set_edit_toolbar):
2745 New hildon_window_set_edit_toolbar() method, to add a
2746 HildonEditToolbar to a window without having to pack it manually.
2748 Reorganize hildon_window_size_allocate()
2750 * src/hildon-edit-toolbar.c: Update documentation.
2752 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2753 example to use the new API.
2755 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2757 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2759 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2760 Remove from stack before calling parent's hide.
2762 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2764 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2765 window is removed from the middle of the stack, update the
2766 transiency of the previous one.
2768 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2771 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2773 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2774 block/unblock the signal handler if it's not actually being used.
2775 Fixes some critical warnings.
2777 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2779 Based on a patch by Iván Gómez (igomez@igalia.com)
2781 * src/hildon-banner.c
2785 * src/hildon-pannable-area.c
2786 * src/hildon-picker-dialog.c
2787 * src/hildon-wizard-dialog.h
2788 * src/hildon-wizard-dialog.c: Documentation updates.
2790 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2791 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2793 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2795 * configure.ac: post release version bump.
2796 * debian/changelog: version bump.
2798 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2803 * configure.ac: Bump version.
2804 * debian/changelog: Updates.
2806 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2808 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2809 a stock icon nor change the relief of the back arrow.
2811 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2812 graphics from theme)
2814 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2816 * src/hildon-button.c (hildon_button_set_alignment): Use
2817 priv->alignment if the button has no child yet.
2819 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2821 * src/hildon-button.c: (hildon_button_init): Set the
2822 button style during initialization to give it the proper
2825 Fixes: NB#99713 (HildonButton value label color is wrong)
2827 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2829 * src/hildon-touch-selector.c: Document
2830 hildon_touch_selector_center_on_selected()
2832 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2834 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2835 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2836 all menu items, but not the menu itself.
2837 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2838 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2839 items after adding them to the menu so keyboard accelerators work.
2840 (hildon_app_menu_show): Don't show the menu if it contains items
2841 but none of them are visible.
2843 * examples/hildon-app-menu-example.c (create_menu): Use
2844 gtk_widget_show_all() to show all menu items.
2846 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2848 * src/hildon-picker-dialog.c:
2849 (-_update_title_on_selector_changed_cb),
2850 (-_dialog_update_title): Removed.
2851 (_select_on_selector_changed_cb), (_on_dialog_response),
2852 (on_selector_columns_changed): Do not update the dialog title.
2853 (setup_interaction_mode): Do not connect to
2854 HildonTouchSelector::changed signal if there's a "done" button, as
2855 the dialog title doesn't need to be updated.
2857 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2860 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2862 Patch by Kristian Rietveld (kris@imendio.com)
2864 * src/hildon-touch-selector.c: (_create_new_column): Use new
2865 GtkTreeView::hildon-row-tapped signal to react to user interactions
2866 instead of ::changed.
2868 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2869 with some dynamic tree model)
2871 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2873 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2874 (+screen_size_changed, +label_size_request)
2875 (hildon_note_class_init): Make the Hildon information note have a
2876 minimum height, and make its text hvae a maximum width.
2878 Fixes: NB#98614 (Hildon information note (background) should have
2879 minimum height and maximum text width)
2881 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2883 * src/hildon-banner.h
2884 * src/hildon-banner.c (hildon_banner_show_information)
2885 (hildon_banner_show_informationf)
2886 (hildon_banner_show_information_with_markup): Update documentation
2887 to reflect that the icon_name parameter is not used anymore.
2888 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2889 Remove all code from these functions and mark them as deprecated.
2890 (hildon_banner_show_progress): Mark as deprecated.
2892 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2894 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2896 * src/hildon-pannable-area.c,
2897 (hildon_pannable_area_class_init),
2898 (tranparency_color),
2899 (hildon_pannable_draw_vscroll),
2900 (hildon_pannable_draw_hscroll),
2901 (hildon_pannable_area_expose_event): Added a new way to render the
2902 scrollbars of the pannable area avoiding using cairo at all. This
2903 way we improve the performance of the pannable area rendering. The
2904 cairo rendering procedure is still in the code, we can control
2905 which one to use changing the value of the define
2906 USE_CAIRO_SCROLLBARS.
2908 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2910 * configure.ac: post release version bump.
2911 * debian/changelog: version bump.
2913 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2918 * configure.ac: Bump version.
2919 * debian/changelog: Updates.
2921 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2923 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2924 banners instead of destroying them when they receive a button
2927 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2929 Reverted commit 34028, it was causing regressions, probably the
2930 topmost condition is not correct, we have to check it in more
2931 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2932 propagation of button press events)
2934 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2936 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2937 that the selection is not empty before attempting to retrieve the
2938 current ampm selection.
2940 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2942 * src/hildon-picker-button.c:
2943 (hildon_picker_button_on_dialog_response): Directly update the
2944 button contents when required instead of calling _selection_changed.
2946 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2948 * src/hildon-program.c (hildon_program_update_top_most): Update
2949 'is-topmost' property also when wm_hints is not set.
2951 Fixes: NB#98383 (is-topmost signal is not emitted when task
2952 switcher is clicked.)
2954 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2956 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2960 * src/hildon-animation-actor.c,
2961 * src/hildon-animation-actor.h: Added the animation actor class,
2962 this widget represents an animation actor for WM-assisted
2963 animation effects in the Hildon framework.
2965 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2967 * src/hildon-window-stack-private.h
2968 * src/hildon-window-stack.c
2969 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2970 Avoid calling gtk_widget_show() again indirectly from
2971 hildon_stackable_window_show()
2973 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2975 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2978 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2980 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2981 (hildon_time_selector_init): Move the construction of the hours and
2982 ampm columns to the constructor to preserve the order the columns
2985 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2987 * src/hildon-picker-dialog.c:
2988 (hildon_picker_dialog_class_init): Connect a realize method.
2989 (+hildon_picker_dialog_realize): Setup the interaction mode here
2991 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2992 yet, do it during the realize instead.
2993 (_on_dialog_response):
2994 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2995 if the widget is not realized, to avoid the dialog response before it
2998 Avoid premature responses in the HildonPickerDialog that can cause it
2999 to be hidden before it's even shown.
3001 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3003 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3004 (on_selector_columns_changed), (requires_done_button),
3005 (+prepare_action_area), (setup_interaction_mode),
3006 (_hildon_picker_dialog_set_selector):
3008 Split the interaction mode setup into preparation of the
3009 action area (prepare_action_area()) and the connection of
3010 the signals in setup_interaction_mode() and update the code to
3013 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3015 * src/hildon-pannable-area.c,
3016 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3017 per second to 15, we will check if this is ok regarding
3020 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3022 * src/hildon-pannable-area.c,
3023 (hildon_pannable_axis_scroll): Avoid resize if we already have
3024 reached overshoot_max.
3026 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3028 * src/hildon-pannable-area.c,
3029 (hildon_pannable_area_init),
3030 (hildon_pannable_area_realize),
3031 (hildon_pannable_area_size_allocate),
3032 (hildon_pannable_area_map),
3033 (hildon_pannable_area_unmap),
3034 (hildon_pannable_draw_vscroll),
3035 (hildon_pannable_draw_hscroll),
3036 (hildon_pannable_area_expose_event),
3037 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3038 pannable are to avoid the expose events go to the window and
3039 redraw the window. We save this way that part of the stack and the
3040 paint_boxes. We had to change the positions of the elements when
3043 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3045 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3046 * src/hildon-color-chooser-dialog.c:
3047 (hildon_color_chooser_dialog_init):
3048 * src/hildon-font-selection-dialog.c:
3049 (hildon_font_selection_dialog_init),
3050 (hildon_font_selection_dialog_show_preview):
3051 * src/hildon-get-password-dialog.c:
3052 * src/hildon-login-dialog.c:
3053 * src/hildon-set-password-dialog.c:
3054 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3055 * src/hildon-time-picker.c: (hildon_time_picker_init):
3057 Remove obsolete logical string IDs and update to the appropriate ones.
3059 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3061 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3063 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3064 that happens if the window hasn't been realized yet.
3066 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3067 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3069 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3071 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3072 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3075 Fixes: NB#98537 (Device hangs in account settings dialog)
3077 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3079 * configure.ac: post release version bump.
3080 * debian/changelog: version bump
3082 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3087 * configure.ac: Bump version.
3088 * debian/changelog: Updates.
3090 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3092 Added a new function to the HildonTimeButton widget that allows to
3093 change the step of the minutes in the selector associated with the
3094 button: hildon_time_button_new_step
3096 * src/hildon-time-button.c,
3097 (hildon_time_button_init),
3098 (hildon_time_button_new),
3099 (hildon_time_button_new_step):
3100 * src/hildon-time-button.h: Added the new function and refactored
3102 * examples/hildon-time-button-example.c,
3103 (main): We have replaced the function without parameters with the
3104 function with the steps set to 5
3106 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3108 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3110 * src/hildon-time-selector.c,
3111 (hildon_time_selector_class_init),
3112 (hildon_time_selector_constructor),
3113 (hildon_time_selector_get_property),
3114 (hildon_time_selector_set_property),
3115 (_create_minutes_model),
3116 (hildon_time_selector_new_step),
3117 (hildon_time_selector_set_time),
3118 * src/hildon-time-selector.h: Added a new property to the
3119 HildonTimeSelector (minutes-step), we use that property to control
3120 the steps between the minutes in the list of the selector. We have
3121 added a new function to the API to create a widget changing the
3122 step: hildon_time_selector_new_step.
3124 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3126 * src/hildon-time-selector.c,
3127 (hildon_time_selector_class_init),
3128 (hildon_time_selector_constructor),
3129 (hildon_time_selector_init): Overrided the construct function when
3130 creating the time selector object. We have moved the minutes model
3131 handling code from the init to the new construction function:
3132 hildon_time_selector_constructor.
3134 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3136 * examples/hildon-date-button-example.c: (main): Use the new
3137 hildon_date_button_new_with_year_range() method in the example.
3138 * src/hildon-date-button.c:
3139 (+hildon_date_button_new_with_year_range): New public method
3140 to conveniently create a HildonDateButton with a custom year range
3141 in its HildonDateSelector.
3142 * src/hildon-date-button.h: Add the new public method definition.
3144 Fixes: NB#97908 (Not possible to change the year range in
3145 HildonDateSelector/HildonDateButton)
3147 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3149 * src/hildon-date-selector.c:
3150 (+hildon_date_selector_set_property),
3151 (+hildon_date_selector_get_property),
3152 (hildon_date_selector_class_init): Install new properties "min-year"
3153 and "max-year" to define boundaries for the year column.
3154 (_create_year_model): Use the boundary properties to populate the model.
3155 (+hildon_date_selector_new_with_year_range): New public method to
3156 create a HildonDateSelector with a user defined year range.
3157 (hildon_date_selector_select_current_date): Use the new boundaries to
3158 calculate the iterator of current year.
3159 * src/hildon-date-selector.h: Add the new public method definition.
3161 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3163 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3164 Install a constructor method.
3165 (+hildon_date_selector_construct_ui): construct the widget.
3166 (+hildon_date_selector_constructor): new constructor.
3167 (+hildon_date_selector_init): move out widget construction code to
3168 the new constructor.
3170 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3172 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3173 that there's actually a month or year selected before obtaining them.
3174 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3175 of the HildonTouchSelector::changed signal, as it was emitted on every
3176 single item selection.
3178 Fix some warnings and possible crashers due to the selection restoring.
3180 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3182 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3183 the signal handlers only after creating the dialog instead of on every
3186 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3188 * src/hildon-button.c (hildon_button_init)
3189 * src/hildon-check-button.c (hildon_check_button_init)
3190 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3191 focus when clicked by default.
3193 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3195 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3198 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3200 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3201 Alejandro G. Castro (alex@igalia.com)
3203 * src/hildon-picker-dialog.c:
3204 (hildon_picker_dialog_class_init): install new "center-on-show"
3206 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3207 (hildon_picker_dialog_set_property): add setter code for the new
3209 (hildon_picker_dialog_get_property): add getter code for the new
3211 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3212 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3215 Fixes: NB#92849 (Selected item is not always visible when
3216 HildonTouchSelector is shown)
3218 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3220 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3221 Alejandro G. Castro (alex@igalia.com)
3223 * src/hildon-touch-selector.c:
3224 (_create_new_column): Do not connect to the "realize" signal of the
3226 (hildon_touch_selector_append_column): center on the selected items
3227 when a new column is appended.
3228 (hildon_touch_selector_select_iter): Factor out the code to select a
3229 column to hildon_touch_selector_scroll_to().
3230 (+search_nearest_element): Method to retrieve the nearest selected
3231 element to the visible area of the pannable area in a column.
3232 (+on_realize_cb): scroll to the initially selected item.
3233 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3234 the pannable area is realized, otherwise delay this until it is.
3235 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3236 selected items of a given column.
3237 (+hildon_touch_selector_center_on_selected): Public method to center
3238 all columns on the nearest selected item.
3239 * src/hildon-touch-selector.h: Add definition for
3240 hildon_touch_selector_center_on_selected().
3242 Implement public API to ensure visibility of all selected items in
3243 a HildonTouchSelector.
3245 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3247 Fixed a problem in the fading when calling the scroll_to API, and
3248 improve scrollbar fading handling.
3250 * src/hildon-pannable-area.c,
3251 (hildon_pannable_area_grab_notify): avoid the timeout when the
3253 (hildon_pannable_area_button_press_cb),
3254 (hildon_pannable_area_motion_notify_cb): Code style changes.
3255 (hildon_pannable_area_button_release_cb): Review the conditions
3256 when releasing the mouse button to avoid unrequired fading
3258 (hildon_pannable_area_scroll_to): Do not calculate and set the
3259 velocity if the scroll is not required.
3261 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3263 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3264 Don't check whether the new selector is NULL: it cannot be.
3265 Hold a reference to the selector while doing the replacement.
3267 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3269 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3270 unnecessary size_request in a removed widget.
3272 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3274 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3275 an unnecessary reference tracking that was leaking.
3277 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3279 Added delayed motion notify event handling, this way we can
3280 discard redrawing if more than 25 events arrive per second.
3282 * src/hildon-pannable-area.c,
3283 (hildon_pannable_area_init): Initialized the new private atributes
3284 controlling this timeout
3285 (hildon_pannable_area_dispose): Remove the timeout that controls
3286 the motion notify events.
3287 (hildon_pannable_area_scroll): Added a condition to control the
3288 use of the acceleration.
3289 (hildon_pannable_area_motion_event_scroll_timeout),
3290 (hildon_pannable_area_motion_event_scroll): Added this two
3291 functions, they handle the motion notify events inside the
3293 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3294 to the scroll method with the new function.
3295 (hildon_pannable_area_button_release_cb): We have to remove the
3296 timeout handler and move to the last position if the last motion
3297 events were not handled.
3299 Fixes: NB#97028 (Pannable area updates on every motion event)
3301 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3303 * src/hildon-pannable-area.c,
3304 (hildon_pannable_area_get_topmost): Added a new parameter to
3305 filter the the windows that do not include those events. Added
3306 also a condition when finding the window to filter windows that do
3307 not ask for those events.
3308 (hildon_pannable_area_button_press_cb),
3309 (hildon_pannable_area_button_release_cb),
3310 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3311 topmost function, we have added the new parameter.
3313 Fixes: NB#97458 (Pannable area prevents propagation of button
3316 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3318 * src/hildon-pannable-area.c,
3319 (hildon_pannable_area_initial_effect): Added controls before
3320 launching the timeout and the idle functions.
3321 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3322 of the method, in some situations it can return with TRUE and 0 in
3324 (hildon_pannable_area_button_press_cb): We do not need to set
3325 DELAY for fading out here.
3327 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3329 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3331 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3332 post-cleaning if the selection is not NULL.
3334 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3336 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3337 all items before restoring the selection.
3339 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3341 * src/hildon-touch-selector.c:
3342 (+hildon_touch_selector_unselect_all):
3343 * src/hildon-touch-selector.h: New API to unselect all items in a
3344 column of the touch selector.
3346 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3348 * src/hildon-pannable-area.c,
3349 (hildon_pannable_area_redraw): Added a call to the refresh
3350 function inside the redraw because apparently in some cases the
3351 change in the adjustment does not imply a size allocate.
3353 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3354 despite the view not being scrollable)
3356 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3358 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3359 leak. Check for NULL before attempting to set the window title.
3361 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3363 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3364 whether to show or not the 'Done' button each time the dialog is
3365 shown, as it depends on the HildonTouchSelector selection mode.
3367 Fixes: NB#96226 (In multiple selection mode Done button is shown
3368 sometimes in listpicker)
3370 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3372 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3373 for the number of columns in the HildonTouchSelector more than once.
3375 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3377 * src/hildon-touch-selector.c: Minor documentation fixes.
3379 * src/hildon-picker-dialog.c (+_dialog_update_title)
3380 (_select_on_selector_changed_cb)
3381 (_update_title_on_selector_changed_cb)
3382 (on_selector_columns_changed): Update dialog title when there's no
3383 'Done' button and also when the number of columns in the selector
3387 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3388 (+_selection_changed, hildon_picker_button_on_dialog_response)
3389 (hildon_picker_button_selector_selection_changed)
3390 (+hildon_picker_button_selector_columns_changed)
3391 (hildon_picker_button_set_selector): Update button value and emit
3392 'value-changed' when the number of columns in the selector
3396 Fixes: NB#96225 (Dialog titles are not shown according to the
3397 values selected in the list picker)
3399 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3401 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3402 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3403 New "arrow-width" and "arrow-height" style properties to set the
3404 size of the arrow button.
3405 Set name of arrow button ("hildon-edit-toolbar-arrow").
3407 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3408 graphics from theme)
3410 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3412 * src/hildon-picker-button.c:
3413 (hildon_picker_button_selector_selection_changed): Use
3414 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3415 the dialog is present.
3417 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3418 the selection is accepted in the dialog)
3420 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3422 * src/hildon-color-chooser.h
3423 * src/hildon-color-chooser-dialog.h:
3424 Added G_BEGIN_DECLS and G_END_DECLS
3426 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3428 (_clean_current_selection): plug a leak in the list.
3430 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3432 * src/hildon-picker-dialog.c:
3433 (+free_path_list): Method to free a GList of GtkTreePaths.
3434 (_clean_current_selection), (_save_current_selection),
3435 (_restore_current_selection): Save the current selection in
3436 as a list of lists, to support multiple selection properly.
3438 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3440 patch by Claudio Saavedra (csaavedra@igalia.com)
3442 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3443 Store the press position.
3444 (+hildon_text_view_button_release_event): If the release position is
3445 close enough to the press position, move the cursor here. Otherwise,
3447 (hildon_text_view_class_init): Override GtkTextView press, release, and
3448 motion event handlers, disabling this way text selection through
3449 pointer interaction, and allowing the container widget to handle the
3452 Fixes: NB#95828 (HildonTextView functionality)
3454 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3456 Based on a patch by Iván Gómez (igomez@igalia.com)
3458 * src/hildon-button.[ch]
3459 * src/hildon-calendar.c
3460 * src/hildon-check-button.c
3461 * src/hildon-date-editor.c
3462 * src/hildon-date-selector.c
3463 * src/hildon-picker-button.c
3464 * src/hildon-time-editor.c
3465 * src/hildon-time-selector.c
3466 * src/hildon-touch-selector.[ch]:
3467 Documentation updates
3469 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3471 * src/hildon-pannable-area.c,
3472 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3473 threshold, it was required due to X events handling.
3475 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3477 * src/hildon-pannable-area.c,
3478 (hildon_pannable_area_grab_notify),
3479 (hildon_pannable_area_initial_effect),
3480 (hildon_pannable_area_button_press_cb),
3481 (hildon_pannable_area_button_release_cb),
3482 (hildon_pannable_area_scroll_cb),
3483 (hildon_pannable_area_scroll_to): Review the timeout management of
3484 the scrollbar, the frecuency was incorrectly set.
3486 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3488 * src/hildon-picker-button.c:
3489 (+hildon_picker_button_on_dialog_response),
3490 (hildon_picker_button_clicked): Present the dialog instead of
3491 running it with gtk_dialog_run().
3493 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3496 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3498 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3499 (hildon_app_menu_finalize): When a window is hidden it doesn't
3500 emit notify::is-topmost, so make sure than the menu also
3501 disappears in that case.
3502 (parent_window_topmost_notify): Renamed from parent_window_hidden
3504 Fixes: NB#94460 (stackable window's menu is not closed when its
3507 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3509 * src/hildon-touch-selector-entry.c:
3510 (+hildon_touch_selector_entry_set_input_mode),
3511 (+hildon_touch_selector_entry_get_input_mode):
3512 * src/hildon-touch-selector-entry.h: New methods to access the input
3513 mode in the selector's entry.
3515 Fixes: NB#93410 (API required for setting IM mode in
3516 HildonTouchSelectorEntry)
3518 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3520 * configure.ac: post release version bump.
3521 * debian/changelog: version bump
3523 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3528 * configure.ac: Bump version.
3529 * debian/changelog: Updates.
3531 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3533 * src/hildon-touch-selector.c:
3534 (_hildon_touch_selector_has_multiple_selection): No need
3535 to initialize the variables here.
3537 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3539 * src/hildon-note-private.h
3540 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3541 (hildon_note_finalize, hildon_note_rebuild): Close information
3542 notes when they receive a button press.
3544 Fixes: NB#89890 (Information notes does not get disappeared after
3547 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3549 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3550 mark from the wizard title, as it's not really necessary. Also,
3551 do not display the page title if not set.
3553 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3555 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3556 (parent_window_hidden): Use the window's "is-topmost" property to
3557 detect when to hide the menu.
3559 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3561 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3562 (hildon_app_menu_finalize): If the parent window of the menu is
3563 hidden, hide the menu too.
3565 Fixes: NB#94460 (stackable window's menu is not closed when its
3568 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3571 * debian/libhildon1-examples.install
3573 * examples/Makefile.am:
3574 Use dh_install to install all examples.
3575 Use DEB_SRCDIR instead of defining SOURCE_DIR
3577 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3579 * configure.ac: post release version bump.
3580 * debian/changelog: version bump
3582 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3587 * configure.ac: bump version
3588 * debian/changelog: updates
3589 * debian/control: bump gtk+ dependency
3591 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3593 patch by Christian Dywan (christian@imendio.com)
3595 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3596 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3598 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3600 * src/hildon-check-button.c (hildon_check_button_init)
3601 (hildon_check_button_class_init, hildon_check_button_style_set)
3602 (hildon_check_button_apply_style):
3603 New "checkbox-size" style property.
3605 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3606 larger / configurable size)
3608 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3610 * configure.ac: post release version bump.
3611 * debian/changelog: version bump
3613 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3618 * configure.ac: bump version
3619 * debian/changelog: updates
3621 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3623 * doc/hildon-sections.txt
3624 * src/hildon-pannable-area.c
3625 * src/hildon-program.c
3626 * src/hildon-time-editor.c
3627 * src/hildon-touch-selector-entry.c:
3629 More documentation updates.
3631 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3633 * doc/hildon-sections.txt
3634 * src/hildon-caption.c
3635 * src/hildon-code-dialog.c
3636 * src/hildon-color-button.c
3637 * src/hildon-controlbar.c
3638 * src/hildon-date-editor.c
3639 * src/hildon-date-selector.c
3640 * src/hildon-edit-toolbar.c
3641 * src/hildon-find-toolbar.c
3642 * src/hildon-font-selection-dialog.c
3644 * src/hildon-program.c
3645 * src/hildon-range-editor.c
3646 * src/hildon-seekbar.c
3647 * src/hildon-time-editor.c
3648 * src/hildon-time-selector.c
3649 * src/hildon-volumebar-range.c
3650 * src/hildon-volumebar.c
3651 * src/hildon-vvolumebar.c
3652 * src/hildon-weekday-picker.c
3653 * src/hildon-window.c
3654 * src/hildon-wizard-dialog.c:
3656 Lots of documentation fixes.
3658 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3660 Patch contributed by Iván Gómez (igomez@igalia.com)
3662 * src/hildon-check-button.c:
3663 * src/hildon-date-button.c:
3664 * src/hildon-date-selector.c:
3665 * src/hildon-dialog.c:
3666 * src/hildon-edit-toolbar.c:
3667 * src/hildon-entry.c:
3668 * src/hildon-picker-button.c:
3669 * src/hildon-program.c:
3670 * src/hildon-text-view.c:
3671 * src/hildon-time-button.c:
3672 * src/hildon-touch-selector-entry.c:
3673 * src/hildon-window-stack.c:
3675 Add more "since" tags to the new API.
3677 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3679 * doc/hildon-sections.txt: Add below method.
3680 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3681 version for the hildonized scale.
3682 * src/hildon-gtk.h: Add the definition.
3684 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3686 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3688 * doc/hildon-sections.txt: Add missing entries for new methods.
3690 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3692 Added API to pannable are in order to get its adjustments. We
3693 added two properties to manage the values we had in the private
3696 * src/hildon-pannable-area.c:
3697 (hildon_pannable_area_class_init): Added hadjustment and
3698 vadjustment properties in order to expose horizontal and vertical
3700 (hildon_pannable_area_get_property),
3701 (hildon_pannable_area_set_property): Added code to handle the new
3703 (hildon_pannable_area_get_hadjustment),
3704 (hildon_pannable_area_get_vadjustment): API functions to get the
3706 * src/hildon-pannable-area.h:
3707 (hildon_pannable_area_get_hadjustment),
3708 (hildon_pannable_area_get_vadjustment): API functions to get the
3711 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3713 Fixed some leaks, after valgrinding.
3715 * src/hildon-touch-selector.c:
3716 (_default_print_func): Fixed a leak.
3717 (hildon_touch_selector_append_column): Fixed a leak.
3718 * src/hildon-date-button.c:
3719 (hildon_date_button_init): Fixed a leak.
3720 * src/hildon-date-selector.c
3721 (hildon_date_selector_finalize): Fixed a leak.
3723 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3725 Based on a patch by Christian Dywan (christian@imendio.com)
3727 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3729 * src/hildon-gtk.h: Add definition.
3731 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3733 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3735 * src/hildon-picker-button.c: (hildon_picker_button_init),
3736 (hildon_picker_button_new): Set the HildonButton::style property
3737 in the init method, to propagate the value to the derived classes.
3739 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3741 * src/hildon-button.c: (hildon_button_class_init): Do not make
3742 the "style" property a construct property.
3744 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3746 * src/hildon-wizard-dialog.h
3747 * src/hildon-wizard-dialog.c
3748 (hildon_wizard_dialog_set_forward_page_func)
3749 * src/hildon-pannable-area.h
3750 * src/hildon-pannable-area.c
3751 (hildon_pannable_area_set_size_request_policy):
3752 Documentation fixes.
3754 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3756 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3758 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3760 * doc/hildon-sections.txt: Added sections file.
3762 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3765 * src/*.[ch]: Updates.
3767 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3769 * examples/hildon-progress-indicator-example.c: new file
3770 * examples/Makefile.am: include the new example program
3772 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3774 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3776 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3778 * configure.ac: post release version bump
3779 * debian/changelog: version bump
3781 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3786 * configure.ac: bump version
3787 * debian/changelog: updates
3788 * debian/control: bump gtk+ dependency
3790 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3792 * src/hildon-dialog.c: Mark as deprecated.
3793 * src/hildon-dialog.h: Mark as deprecated.
3794 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3795 from HildonDialog and still work, even if
3796 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3797 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3799 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3800 maemo changes) instead)
3802 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3804 * src/hildon-pannable_area.h:
3805 * src/hildon-pannable_area.c:
3806 (hildon_pannable_area_class_init),
3807 (hildon_pannable_area_set_property),
3808 (hildon_pannable_area_get_property),
3809 (hildon_pannable_area_size_request),
3810 (hildon_pannable_area_get_size_request_policy),
3811 (hildon_pannable_area_set_size_request_policy): Added new API
3812 allowing applications to control the request policy. Now they can
3813 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3814 children allocation (HILDON_MOVEMENT_CHILDREN).
3816 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3820 (hildon_gtk_tree_view_set_ui_mode)
3821 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3822 mode of treeviews and iconviews.
3824 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3826 * src/hildon-touch-selector-entry.c:
3827 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3828 of a GtkEntry to get proper theming.
3830 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3831 widget, not GtkEntry)
3833 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3835 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3836 no HildonWizardDialogPageFunc.
3838 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3840 Patch contributed by Iván Gómez (igomez@igalia.com)
3842 * src/hildon-app-menu.c:
3843 * src/hildon-button.c:
3844 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3845 * src/hildon-stackable-window.c:
3846 * src/hildon-time-selector.c:
3847 * src/hildon-touch-selector.c:
3848 * src/hildon-window.c:
3850 Add more "since" tags to the new API in hildon 2.2.
3852 2008-12-05 Tim Janik <timj@imendio.com>
3854 Patch contributed by Christian Dywan (christian@imendio.com)
3856 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3857 HildonSizeType, which are supplied by Gtk+ now.
3859 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3861 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3862 (with maemo changes) instead)
3864 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3866 Patch contributed by Iván Gómez (igomez@igalia.com)
3868 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3871 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3873 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3874 (some_page_func), (main): Update the example to use a
3875 HildonWizardDialogPageFunc function.
3877 * src/hildon-wizard-dialog-private.h: Add private data for
3878 the HildonWizardDialogPageFunc function usage.
3880 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3881 (destroy), (hildon_wizard_dialog_init), (response),
3882 (hildon_wizard_dialog_set_forward_page_func):
3883 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3884 that applications can use to stop a HildonWizardDialog to jump to
3887 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3890 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3892 * src/hildon-program.h
3893 * src/hildon-program-private.h
3894 * src/hildon-program.c (hildon_program_init)
3895 (hildon_program_set_common_app_menu)
3896 (hildon_program_get_common_app_menu):
3897 New API for setting a common HildonAppMenu for all
3898 HildonStackableWindows registered with the HildonProgram.
3900 * src/hildon-stackable-window.c
3901 (hildon_stackable_window_toggle_menu):
3902 Use the common HildonAppMenu if a window doesn't have a specific
3905 * src/hildon-app-menu-private.h
3906 * src/hildon-app-menu.c
3907 (hildon_app_menu_get_parent_window):
3908 Function to obtain the window a HildonAppMenu is attached to.
3909 (hildon_app_menu_set_parent_window):
3910 Hide the menu if the parent window is set to NULL.
3912 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3914 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3915 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3916 search widget to popup.
3918 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3920 * configure.ac: post release version bump
3921 * debian/changelog: version bump
3923 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3928 * configure.ac: bump version
3929 * debian/changelog: updates
3931 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3933 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3935 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3936 (hildon_window_stack_window_realized)
3937 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3938 Set the leader GdkWindow when a window is stacked and realized,
3939 unset it when it's unstacked.
3940 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3942 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3944 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3946 * src/hildon-stackable-window.h
3947 * src/hildon-window-stack.h:
3948 Protect definition of HildonWindowStack using the preprocessor.
3950 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3952 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3953 Fix warning if all menu items are hidden.
3955 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3957 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3959 * src/hildon-controlbar.c:
3960 * src/hildon-hvolumebar.c:
3961 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3962 Multiple scale size defines updates.
3964 Fixes: NB#94322 (Scale Updates)
3966 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3968 * examples/hildon-app-menu-example.c (create_menu)
3969 Show items after adding them to the menu, as in the future the
3970 menu will no longer call gtk_widget_show() on the added items.
3972 * src/hildon-app-menu.c:
3973 Update example as explained above.
3975 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3977 * src/hildon-app-menu.c
3978 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3979 Make sure that all menu items have finger height.
3981 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3983 * src/hildon-picker-dialog.c:
3984 (_on_dialog_response), (_save_current_selection),
3985 (_restore_current_selection), (_clean_current_selection),
3986 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3987 Defined new functions in order to save the current internal selector
3988 selection previous open the dialog, in case that the use cancel the
3989 interaction, so the widget restores the previous selection.
3991 Fixes: NB#92032 (In calendar application, date values in 'new event'
3994 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3996 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3998 * src/hildon-button.c: Add a reference to the button examples in
3999 hildon-button-example.c
4001 * examples/hildon-button-example.c: Added examples of the most
4002 common button layouts.
4004 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4006 * src/hildon-app-menu.c (hildon_app_menu_show)
4007 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4009 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4011 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4013 * src/hildon-picker-dialog.c:
4014 (hildon_picker_dialog_init): Initialize the signal id for
4015 HildonTouchSelector::columns-changed.
4016 (+on_selector_columns_changed): Set up the interaction mode everytime a
4017 column is added or removed from the HildonTouchSelector.
4018 (_hildon_picker_dialog_set_selector): Connect to
4019 HildonTouchSelector::columns-changed and keep track of it.
4021 Make sure to update the interaction mode of the dialog everytime a
4022 column is added or removed in the HildonTouchSelector.
4024 Fixes: NB#93228 (Done button is not shown always in listpicker)
4026 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4028 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4029 a new ::columns-changed signal.
4030 (hildon_touch_selector_append_column): Emit ::columns-changed.
4031 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4033 Add a ::columns-changed signal, emitted when the number of columns in a
4034 HildonTouchSelector changes.
4036 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4038 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4039 (_hildon_picker_dialog_set_selector): Factor out the code
4040 to set up the dialog interaction mode.
4042 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4044 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4045 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4046 to signal_changed_id.
4048 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4050 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4053 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4055 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4056 Updated the logical ids related to ampm format, as now it is required to
4057 show it correctly localized even on languages with no default
4058 abbreviations for am or pm
4059 (_check_am_pm_format): check correctly the 24h format gconf property
4061 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4063 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4065 * src/hildon-button.c: Documentation updates.
4067 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4069 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4070 * src/hildon-caption.c: (hildon_caption_class_init):
4071 * src/hildon-color-button.c: (hildon_color_button_class_init):
4072 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4073 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4074 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4075 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4077 Remove deprecated GTK+ marshalers and replace them with the ones
4078 provided by GLib, for those available, add a marshaler for
4079 BOOLEAN:VOID, which is not available in GLib, and use it.
4081 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4083 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4084 the text from the previous column if there is no
4085 HildonTouchSelectorColumn::text-property set.
4087 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4089 * src/hildon-button.h
4090 * src/hildon-button.c (hildon_button_set_property)
4091 (hildon_button_get_property, hildon_button_class_init)
4092 (hildon_button_set_style, hildon_button_get_style):
4093 New "style" property to change the visual appearance of the
4096 * src/hildon-picker-button.c (hildon_picker_button_new):
4097 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4099 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4100 HildonButton look like PickerButton)
4102 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4104 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4105 column while building the default string.
4107 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4109 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4110 scroll indicator by default.
4112 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4114 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4116 * src/hildon-main.c: Fix the documentation for hildon_init()
4118 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4120 * doc/hildon-docs.sgml
4124 * src/hildon-window-stack-private.h
4125 * src/hildon-window-stack.h
4126 * src/hildon-window-stack.c:
4127 New HildonWindowStack object, that adds support for multiple
4128 stacks of windows per process.
4130 * src/hildon-stackable-window-private.h
4131 * src/hildon-stackable-window.h
4132 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4133 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4134 (hildon_stackable_window_show, hildon_stackable_window_hide)
4135 (hildon_stackable_window_class_init)
4136 (hildon_stackable_window_init):
4137 Use HildonWindowStack for stack management.
4139 * src/hildon-program.c (hildon_program_pop_window_stack)
4140 (hildon_program_peek_window_stack)
4141 (hildon_program_go_to_root_window):
4142 Add a fallback implementation to the deprecated functions using
4145 * examples/hildon-stackable-window-example.c:
4146 Use the new HildonWindowStack API.
4148 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4150 * src/hildon-stackable-window-private.h
4151 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4152 (hildon_stackable_window_hide, hildon_stackable_window_init):
4153 Remove all window stack management.
4155 * src/hildon-program-private.h
4156 * src/hildon-program.h
4157 * src/hildon-program.c (hildon_program_init)
4158 (hildon_program_pop_window_stack)
4159 (hildon_program_peek_window_stack)
4160 (hildon_program_go_to_root_window):
4161 Remove all window stack management and mark functions as
4164 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4166 * src/hildon-app-menu.c (hildon_app_menu_realize):
4167 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4169 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4171 * configure.ac: post release version bump
4172 * debian/changelog: version bump
4174 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4179 * configure.ac: bump version
4180 * debian/changelog: updates
4182 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4184 Based on initial code by Christian Dywan (christian@imendio.com)
4186 * doc/hildon-docs.sgml: Add section for hildon-main.
4187 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4188 * src/Makefile.am: Add new hildon-main.[ch]
4189 * src/hildon-defines.h: Update the icon sizes.
4190 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4191 new library initialization files and register icon sizes.
4192 * src/hildon-main.h: New declarations.
4193 * src/hildon.h: Include hildon-main.h
4195 Add new initialization functions to the library. These methods
4196 will register the hildon specific icon sizes and can be used in the
4197 future for other hildon specific bits.
4199 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4201 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4203 * src/hildon-window.c: (hildon_window_realize),
4204 (hildon_window_notify), (-hildon_window_update_title): Do not set
4205 the application name in the window title.
4207 Fixes: NB#89754 (Applications shouldn't display their names in the
4210 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4212 * src/hildon-note-private.h:
4213 * src/hildon-note.c: (hildon_note_set_property),
4214 (hildon_note_get_property), (hildon_note_class_init),
4215 (hildon_note_init), (hildon_note_finalize),
4216 (hildon_note_new_confirmation_with_icon_name),
4217 (hildon_note_new_information_with_icon_name):
4219 No need to mark as deprecated the actual code. Revert
4220 to avoid missing symbols in widgets using deprecated API.
4222 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4224 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4226 * src/hildon-volumebar.h
4227 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4228 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4230 * src/hildon-helper.h
4231 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4232 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4234 * examples/Makefile.am:
4235 Deprecate hildon-insensitive-example
4237 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4239 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4241 * examples/hildon-pannable-area-buttons-scroll-example.c:
4242 Make all buttons finger height
4244 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4246 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4248 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4249 update the day model only if it is really required, and to avoid the
4250 full-reconstruction aproach. Now it only add or remove the required days.
4252 The purpose of this is avoid superfluous HildonTouchSelector::changed
4255 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4256 with strange parameters)
4258 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4260 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4262 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4263 the WINDOW_TYPE property.
4265 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4267 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4270 Fix dependency to allow parallel compilation with make -jX
4272 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4274 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4275 color frame and some minor tweaks to make it more consistent with
4278 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4279 highlighted but not visible)
4281 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4283 * examples/Makefile.am: Fixed typo in the Makefile.am.
4285 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4287 Reviewed the use of MAEMO_GTK define, now we add the define in the
4288 compilation line, and we also add it to the pc file.
4290 * configure.ac: Added MAEMO_GTK define to the compilation command
4291 and removed it from the config.h.
4293 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4294 do not have to take care about this define if the library was
4298 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4300 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4302 * examples/Makefile.am,
4303 * examples/hildon-pannable-area-buttons-scroll-example.c,
4304 * examples/hildon-pannable-area-gesture-signals-example.c,
4305 * examples/hildon-pannable-area-scroll-jump-example.c,
4306 * examples/hildon-pannable-area-tree-view-example.c:
4307 Renamed the pannable area examples, now they have more meaningful
4310 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4312 * src/hildon-touch-selector.c:
4313 (hildon_touch_selector_set_column_selection_mode): Used of
4314 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4315 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4316 to avoid re-seting the same selection mode.
4318 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4319 breaks HildonPickerDialog)
4321 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4323 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4324 conditional in the Makefile.am
4326 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4328 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4329 Remove unused methods.
4331 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4333 * src/hildon-button.c (hildon_button_init):
4334 Make button images center-aligned by default
4336 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4339 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4340 activated, we have to think about how to deal with both defines
4341 MAEMO_GTK and MAEMO_CHANGES.
4343 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4345 * examples/hildon-app-menu-example.c (create_menu): Make all
4346 buttons finger size.
4348 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4350 Fixed the compilation without maemo gtk adding ifdefs with
4351 MAEMO_GTK define to the code, we have to check this version more
4354 * examples/Makefile.am: Added control to avoid some examples that
4355 just make sense with maemo gtk.
4358 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4359 hildon modes with the define.
4361 * examples/hildon-edit-toolbar-example.c,
4362 (create_icon_view): Create the icon view without hildon-gtk
4363 helpers if we are not using maemo gtk.
4365 * src/hildon-touch-selector.c,
4366 (_create_new_column): Create the treeview without hildon-gtk
4367 helpers if we are not using maemo gtk.
4369 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4371 * src/hildon-pnnable-area.c,
4372 (hildon_pannable_area_dispose),
4373 (hildon_pannable_area_button_press_cb),
4374 (hildon_pannable_area_child_mapped),
4375 (hildon_pannable_area_add),
4376 (hildon_pannable_area_remove): Added code to control the position
4377 of the event_window when adding and removing children from the
4378 pannable. We have to raise the event window when the child is
4381 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4382 selection mode using custom widget inside pannable)
4384 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4386 * configure.ac: post release version bump
4387 * debian/changelog: version bump
4389 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4394 * configure.ac: bump version
4395 * debian/changelog: updates
4397 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4399 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4400 search mode, in order to avoid lose the focus on the treeview when
4401 a hw key (like enter) is pressed.
4403 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4404 in HildonDateSelector dialog)
4406 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4408 * debian/rules: Added --enable-maintainer-mode
4409 * Makefile.am: Added ACLOCAL_AMFLAGS
4411 This allows to properly regenerate the Makefiles if you modify the
4412 configure.ac or any Makefile.am.
4414 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4416 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4417 properties, not needed at all.
4419 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4421 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4423 * src/hildon-note.c: (hildon_note_set_property),
4424 (hildon_note_get_property), (hildon_note_class_init),
4425 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4426 (hildon_note_new_confirmation_add_buttons): Remove icons.
4427 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4428 (hildon_note_new_information_with_icon_name): Deprecate.
4429 (hildon_note_new_confirmation): Act directly, without calling
4430 the deprecated constructor.
4431 (hildon_note_new_information): Act directly, without calling
4432 the deprecated constructor.
4433 * src/hildon-note.h: Mark deprecate methods as such.
4434 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4435 not run tests on the deprecated methods if built with deprecation
4438 Fixes: NB#91688 (Never show icons in information notes/confirmation
4441 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4443 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4444 (hildon_app_menu_key_press): Remove leftover usage of the
4445 private structure in HildonAppMenu struct.
4446 * src/hildon-app-menu.h: Remove leftover private structure
4447 from the HildonAppMenu struct.
4449 Fixes a crasher when using the HildonAppMenu.
4451 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4453 * src/hildon-picker-dialog.c: Use appropriate logical id
4454 for the default "Done" text.
4456 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4458 * configure.ac: post release version bump
4459 * debian/changelog: version bump
4461 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4463 Modified the way to scroll to the current selection just when the touch
4464 selector is shown on the screen, avoiding a g_idle. Added too a property
4465 to configure this behaviour. See hildon_pannable_area_jump_to_child
4466 documentation for more information.
4468 * src/hildon-touch-selector.c
4469 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4470 Added 'initial-scroll' property
4471 (hildon_touch_selector_set_property): Added
4472 (hildon_touch_selector_map): Removed as not required anymore
4473 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4474 only a concrete column, instead of iterate along all the columns
4476 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4481 * configure.ac: bump version
4482 * debian/changelog: updates
4484 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4486 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4487 compilation time warnings.
4489 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4491 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4492 the default value for HildonPannableArea::mov-mode to
4493 HILDON_PANNABLE_AREA_MODE_VERT.
4495 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4497 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4499 Reverting following commit:
4501 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4503 * src/hildon-app-menu-private.h
4504 * src/hildon-app-menu.[ch]
4505 * src/hildon-button.[ch]
4506 * src/hildon-check-button.[ch]
4507 * src/hildon-entry.[ch]
4508 * src/hildon-pannable-area.[ch]
4509 * src/hildon-text-view.[ch]:
4510 Added private field to the object's structure.
4512 because it causes an ABI breakage. We will need to introduce these
4513 changes later at some point. See NB#91636 for an extensive
4514 explanation and status.
4516 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4518 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4520 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4521 remove special cases that are no longer necessary.
4523 Fixes: NB#91016 (Change toolbar sizes, simplification)
4525 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4527 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4528 is shown in the cancel note.
4530 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4532 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4533 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4534 (hildon_seekbar_init): Remove steppers, remove expose event.
4535 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4537 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4539 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4541 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4542 label font to "SmallSystemFont" for vertically arranged buttons.
4544 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4547 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4549 * src/hildon-check-button.c
4550 (hildon_check_button_set_active, hildon_check_button_clicked):
4551 Don't access private parts directly, use getters instead.
4553 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4555 * src/hildon-check-button.c (hildon_check_button_new):
4556 Align the contents of the check button to the left.
4558 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4560 * src/hildon-pannable-area.c,
4561 (hildon_pannable_area_scroll_to),
4562 (hildon_pannable_area_jump_to),
4563 (hildon_pannable_area_scroll_to_child),
4564 (hildon_pannable_area_jump_to_child): Replace the mapped
4565 precondition of these functions with the realized, it is the
4566 correct state of the widget in this case. Changed the
4567 documentation according to this modification.
4569 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4571 Added a new EXTRA_CFLAGS option to add the deprecated define to
4572 the compilation command. This way we can avoid using the define in
4573 the documentation compilation.
4575 * configure.ac: Defined EXTRA_CFLAGS.
4577 * examples/Makefile.am:
4579 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4581 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4583 * src/hildon-picker-dialog.c:
4584 Defined a utility macro with the desired touch selector height
4585 Removed currently unused separator, and title_label variables from
4587 (hildon_picker_dialog_init): Removed code related to the creation
4588 of unused private variables title_label and separator.
4589 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4590 to ensure correct visualization of the touch selector inside the dialog.
4591 * src/hildon-touch-selector.c
4592 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4593 ensure a concrete height of the widget.
4595 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4598 * tests/Makefile.am:
4600 Remove spurious whitespaces.
4602 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4604 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4605 compilation warning after the cancel button removal.
4607 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4609 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4611 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4612 Makefile.am, that way we can choose not to compile some examples
4613 and tests of the deprecated widgets.
4615 * examples/Makefile.am: Divided the sources in deprecated and
4618 * src/Makefile.am: Added undef statement of the deprecated
4619 symbol to the enums file generation process.
4621 * src/hildon-color-chooser-dialog.c
4622 * src/hildon-color-chooser-dialog.h
4623 * src/hildon-color-button.c
4624 * src/hildon-color-button.h
4625 * src/hildon-color-chooser.c
4626 * src/hildon-color-chooser.h
4627 * src/hildon-controlbar.c
4628 * src/hildon-controlbar.h
4629 * src/hildon-date-editor.c
4630 * src/hildon-date-editor.h
4631 * src/hildon-hvolumebar.c
4632 * src/hildon-hvolumebar.h
4633 * src/hildon-private.c
4634 * src/hildon-private.h
4635 * src/hildon-range-editor.c
4636 * src/hildon-range-editor.h
4637 * src/hildon-seekbar.c
4638 * src/hildon-seekbar.h
4639 * src/hildon-time-editor.c
4640 * src/hildon-time-editor.h
4641 * src/hildon-time-picker.c
4642 * src/hildon-time-picker.h
4643 * src/hildon-volumebar.c
4644 * src/hildon-volumebar.h
4645 * src/hildon-vvolumebar.c
4646 * src/hildon-vvolumebar.h
4647 * src/hildon-bread-crumb-trail.h
4648 * src/hildon-bread-crumb-trail.c
4649 * src/hildon-calendar-popup.c
4650 * src/hildon-calendar-popup.h
4651 * src/hildon-weekday-picker.c:
4652 * src/hildon-weekday-picker.h:
4653 * src/hildon-bread-crumb-widget.c:
4654 * src/hildon-bread-crumb-widget.h:
4655 * src/hildon-bread-crumb.c:
4656 * src/hildon-bread-crumb.h:
4657 * src/hildon-calendar.c:
4658 * src/hildon-calendar.h:
4659 * src/hildon-caption.c:
4660 * src/hildon-code-dialog.c:
4661 * src/hildon-code-dialog.h:
4662 * src/hildon-font-selection-dialog.c:
4663 * src/hildon-font-selection-dialog.h:
4664 * src/hildon-get-password-dialog.c:
4665 * src/hildon-get-password-dialog.h:
4666 * src/hildon-login-dialog.c:
4667 * src/hildon-login-dialog.h:
4668 * src/hildon-number-editor.c:
4669 * src/hildon-number-editor.h:
4670 * src/hildon-set-password-dialog.c:
4671 * src/hildon-set-password-dialog.h:
4672 * src/hildon-sort-dialog.c:
4673 * src/hildon-sort-dialog.h: This is the list of deprecated
4676 * src/hildon-touch-selector.c:
4677 * src/hildon-window.c: Added undef statement to avoid compilation
4680 * tests/Makefile.am: Divided the sources in deprecated and
4683 * tests/check_test.c,
4684 (configure_tests): Marked the deprecated code that was adding
4685 suites with deprecated tests.
4687 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4689 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4691 * src/hildon-touch-selector.c: (_default_print_func): Do not
4692 duplicate a string returned by gtk_tree_model_get(), it is already
4695 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4698 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4700 * src/hildon-pannable-area.c
4701 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4702 method, it had problems when adding a widget with viewport the
4703 second time. Now checks if it already has a viewport and uses it.
4705 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4708 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4710 * src/hildon-pannable-area.c,
4711 (hildon_pannable_area_scroll_to),
4712 (hildon_pannable_area_jump_to),
4713 (hildon_pannable_area_scroll_to_child),
4714 (hildon_pannable_area_jump_to_child): Added a precondition to the
4715 scroll and jump to functions: the widget must be mapped before we
4716 can safely call these functions. We have also added documentation
4717 to the functions to explain how to use them in this situation.
4720 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4722 Reviewed the threading handling of the pannable widget, we have
4723 used the gdk_threads_add_timeout function instead of the usual
4724 glib handlers. This avoids some problems with the threads.
4726 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4727 (hildon_pannable_area_initial_effect),
4728 (hildon_pannable_area_scroll_indicator_fade),
4729 (hildon_pannable_area_button_press_cb),
4730 (hildon_pannable_area_timeout),
4731 (hildon_pannable_area_motion_notify_cb),
4732 (hildon_pannable_area_button_release_cb),
4733 (hildon_pannable_area_scroll_cb),
4734 (hildon_pannable_area_scroll_to): Removed the
4735 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4736 gdk_threads_add_timeout.
4738 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4740 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4745 * configure.ac: bump version
4746 * debian/changelog: updates
4748 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4750 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4751 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4752 * src/hildon-color-chooser-dialog.c:
4753 (hildon_color_chooser_dialog_init):
4754 * src/hildon-font-selection-dialog.c:
4755 (hildon_font_selection_dialog_init):
4756 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4758 Remove all cancel/close-like dialogs, as these are not going to be
4761 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4763 * src/hildon-note.c: (hildon_note_rebuild),
4764 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4767 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4769 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4771 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4772 sure all buttons are shown, even the Cancel/Close-like ones.
4774 Fixes: NB#90861 (Custom Confirmation dialogs should be
4775 protected from cancel button removal)
4777 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4779 * debian/control: Change libhildon1-examples dependency from libhildon1
4781 * debian/libhildon1-examples.install
4783 * Makefile.am: Modified the final install directory for the examples on
4784 package libhildon1-examples
4785 * Makefile.static: Update clean target in order to remove all the binary
4788 Changes suggested by Claudio after review new libhildon1-examples package
4790 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4792 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4793 * src/hildon-touch-selector.c: Ditto.
4795 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4797 * debian/control: Added new package libhildon1-examples, in order to pack
4798 the current hildon examples as documentation
4799 * debian/rules: Not to compress .c files, modify some includes on the
4800 examples (as normally are compiled locally, but when installed it will
4801 require to include the installed libhildon1 library), and rename
4803 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4804 install all the example files on the new example package
4805 * examples/Makefile.static: Added static makefile that can be used to
4806 compile the examples, once installed the new example package
4807 * examples: Most of the examples were modified in order to grant that
4808 all use only '#include "hildon.h"', in order to be easy to prepare
4809 it on the example package
4811 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4814 * debian/libhildon1-dev.install
4815 * debian/libhildon1-doc.install:
4816 Move all gtk-doc files to a separate libhildon1-doc package.
4818 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4820 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4822 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4824 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4826 * debian/rules: Fixed a error in order to avoid unnecessary calls
4827 to autogen.sh on package building
4829 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4831 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4833 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4835 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4838 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4840 * src/hildon-picker-button.c
4841 (hildon_picker_button_finalize):
4842 Free priv->done_button_text
4844 * src/hildon-time-button.c
4845 (hildon_time_button_set_time)
4846 * src/hildon-picker-button.c
4847 (hildon_picker_button_clicked)
4848 (hildon_picker_button_selector_selection_changed)
4849 (hildon_picker_button_set_selector)
4850 * src/hildon-date-button.c
4851 (hildon_date_button_set_date):
4852 Free strings returned by hildon_touch_selector_get_current_text()
4854 * src/hildon-button.c (hildon_button_construct_child):
4855 Fix leaks in priv->image and priv->label_box
4857 Fixes: NB#90535 (Memory leak in picker button)
4859 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4861 * src/hildon-button.c: (hildon_button_get_property): Do not access
4862 private elements directly, use getters instead.
4864 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4866 * src/hildon-app-menu-private.h
4867 * src/hildon-app-menu.c
4868 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4869 Store the menu's parent window.
4871 * src/hildon-stackable-window.c
4872 (hildon_stackable_window_toggle_menu)
4873 (hildon_stackable_window_finalize):
4874 Set the menu's parent window when the menu is shown, unset it when
4877 * src/hildon-app-menu.c
4878 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4879 (hildon_app_menu_class_init):
4880 Send unhandled keyboard accelerators to the parent window.
4882 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4884 * src/hildon-stackable-window.c
4885 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4887 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4889 * configure.ac: post release version bump
4891 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4894 * configure.ac: Bump version
4895 * debian/changelog: Updates
4896 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4899 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4901 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4904 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4905 GtkMenu with Hildon style.
4907 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4909 * src/hildon-picker-button.c:
4910 (hildon_picker_button_set_done_button_text): Set the dialog's
4911 done button text here as well.
4913 Fixes: NB#90232 (Picker button does not set the label on done button
4914 for the second time)
4916 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4918 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4921 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4923 * src/hildon-app-menu.c (hildon_app_menu_insert)
4924 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4925 the HildonAppMenu to be activatable using keyboard accelerators
4926 when the menu is not being shown.
4928 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4930 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4932 * src/hildon-stackable-window.c
4933 (hildon_stackable_window_show):
4934 Don't hide old windows automatically when new windows are shown:
4935 this is now a task for the window manager.
4936 (hildon_stackable_window_class_init)
4937 (hildon_stackable_window_hide):
4938 Remove windows from the stack everytime they're hidden.
4939 (hildon_stackable_window_realize):
4940 Don't change the _NET_WM_WINDOW_TYPE property. Use
4941 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4942 it as a stackable window.
4944 * src/hildon-program.c
4945 (hildon_program_pop_window_stack):
4946 Just hide the window to remove it from the stack.
4947 (hildon_program_go_to_root_window):
4948 Don't call gtk_widget_show(), this is now a task for the window
4951 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4953 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4955 * src/hildon-button.c
4956 (hildon_button_construct_child):
4957 Don't pack anything in the button until text or image are
4958 set. This allows adding a custom child after creating the button
4959 with hildon_button_new().
4960 (hildon_button_finalize, hildon_button_class_init)
4961 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4962 alignment and the label box even when they're not packed in the
4965 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4967 * src/hildon-touch-selector.h:
4968 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4969 currently the type definition was using GTK_TYPE_VBOX
4970 * src/hildon-touch-selector.c:
4971 Added some implementation notes in order to clarify that any other widget
4972 added without the column related API will not be included on the
4973 selection logic, and how the widget is freed, as some people ask about
4975 (hildon_touch_selector_remove): Reimplemented in order to free properly
4976 the column related data when you remove the private hbox.
4977 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4978 to get a proper HildonTouchSelectorColumn documentation
4980 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4982 * src/hildon-touch-selector-entry.c:
4983 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4984 text in the GtkEntry and there is no item selected. Fixes a
4987 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4989 * src/hildon-app-menu-private.h
4990 * src/hildon-app-menu.[ch]
4991 * src/hildon-button.[ch]
4992 * src/hildon-check-button.[ch]
4993 * src/hildon-entry.[ch]
4994 * src/hildon-pannable-area.[ch]
4995 * src/hildon-text-view.[ch]:
4996 Added private field to the object's structure.
4998 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5000 * configure.ac: post-release version bump
5002 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5006 * configure.ac: pre-release version bump
5008 * debian/changelog: updates.
5010 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5012 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5013 Disconnect the handler for HildonTouchSelector::changed.
5015 (hildon_picker_button_selector_selection_changed): Update the button
5016 value if the selection change was not triggered by the
5019 (hildon_picker_button_set_selector): connect to
5020 HildonTouchSelector::changed.
5022 Fixes: NB#89650 (Picker button is not updated, when selection in
5023 selector has changed)
5025 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5027 * src/hildon-picker-dialog.c
5028 (hildon_picker_dialog_realize): Removed as not required
5029 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5030 * src/hildon-picker-button.c
5031 (_current_selector_empty): New function, checks if the selector is empty
5032 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5033 if the current selector is empty, in order to avoid to show the dialog
5034 close the dialog in this case (and shows a g_warning).
5036 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5038 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5040 * src/hildon-pannable-area.c,
5041 (hildon_pannable_area_scroll): Added clause to stop movement when
5042 the child of pannable is smaller than one page.
5043 (hildon_pannable_area_scroll_to): Added conditions to avoid
5044 starting the scrolling movement if the child is smaller than one
5045 page, the complete child is in the screen, we do not have to move.
5047 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5049 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5051 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5052 this is managed automatically by the widget when the size of the
5055 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5057 * src/hildon-picker-button.c
5058 (hildon_picker_button_set_done_button_text): Make a copy of the
5059 text, and free the previous value.
5061 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5063 * src/hildon-touch-selector-entry.c:
5064 (hildon_touch_selector_entry_print_func): Return the selected row's
5065 text if the entry is empty.
5067 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5070 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5072 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5074 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5077 * src/hildon-check-button.h
5078 * src/hildon-check-button.c
5079 * examples/hildon-check-button-example.c:
5080 HildonCheckButton is now a new widget. 'toggled' signal added.
5082 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5084 * src/hildon-program-private.h
5085 * src/hildon-program.c (hildon_program_init)
5086 (hildon_program_finalize): Removed unused variables group_leader
5087 and name from HildonProgramPrivate.
5089 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5091 * src/hildon-check-button.c (hildon_check_button_set_active)
5092 (hildon_check_button_get_active, hildon_check_button_new): Use
5093 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5095 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5097 * src/hildon-touch-selector.h
5098 (hildon_touch_selector_set_column_attributes): added deprecation
5099 guard HILDON_DISABLE_DEPRECATED
5100 * src/hildon-time-selector.c
5101 (hildon_time_selector_set_time)
5102 (hildon_time_selector_get_time): Fixed a typo on documentation
5103 * src/hildon-touch-selector.c: update HildonTouchSelector and
5104 HildonTouchSelectorColumn documentation
5105 * src/hildon-touch-selector-entry.c: update "text-column" property
5107 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5108 to be added to the general documentation.
5110 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5112 * examples/hildon-pannable-area-example-4.c,
5114 * examples/hildon-pannable-area-example.c,
5115 (main): Modified the code in order to use the container add, with
5116 viewport treeviews could have problems if they are really big.
5118 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5120 * src/hildon-weekday-picker.c,
5121 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5122 the agreement regarding deprecation in the library.
5124 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5126 * examples/hildon-picker-button-multicolumn-example.c:
5127 (main): Use custom "done" button text.
5129 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5130 (hildon_picker_button_set_property),
5131 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5132 (hildon_picker_button_init),
5133 (+hildon_picker_button_get_done_button_text),
5134 (+hildon_picker_button_set_done_button_text): New methods to customize
5135 the "done" button label in the launched HildonPickerDialog. Also,
5138 * src/hildon-picker-button.h: add the public API.
5140 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5142 * src/hildon-date-selector.h:
5143 * src/hildon-picker-dialog.h:
5144 * src/hildon-time-selector.h:
5145 * src/hildon-touch-selector-column.h:
5146 * src/hildon-touch-selector.h:
5148 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5149 declarations. Fixes gtk-doc warnings.
5151 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5153 * src/hildon-picker-dialog.h
5154 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5155 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5157 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5158 long text is set as label for done button)
5160 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5162 * src/hildon-dialog.c (hildon_dialog_add_button):
5163 Set fixed width to all buttons in the HildonDialog.
5165 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5167 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5169 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5170 Set widget name using class name plus "-finger" or "-thumb".
5172 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5174 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5175 'clicked' when the state of the button is manually changed.
5177 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5179 * src/hildon-app-menu.c (hildon_app_menu_realize)
5180 (hildon_app_menu_unrealize, hildon_app_menu_init)
5181 (hildon_app_menu_class_init, item_visibility_changed):
5182 Change the menu layout when the size of the screen changes.
5183 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5184 Show warning only when changing the number of colums using the
5187 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5189 * debian/compat: Set to 5
5190 * debian/control: Update dependencies.
5191 * debian/libhildon1-dbg.install: Remove.
5192 * debian/libhildon1-dev.install: Update according to cdbs paths.
5193 * debian/libhildon1.install: Update according to cdbs paths.
5194 * debian/rules: Switch to cdbs.
5196 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5198 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5199 'item' variable renamed to 'filter'
5201 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5203 * src/hildon-app-menu.c (hildon_app_menu_insert)
5204 (hildon_app_menu_add_filter, remove_item_from_list)
5205 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5206 Don't leak hidden items when the menu is destroyed.
5208 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5210 * src/hildon-app-menu.c (hildon_app_menu_insert)
5211 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5212 (hildon_app_menu_set_columns, item_visibility_changed)
5213 (filter_visibility_changed, hildon_app_menu_repack_filters)
5214 (hildon_app_menu_repack_items):
5215 Repack items and filters separately.
5217 Don't repack all items, change only the ones that are needed to
5220 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5222 * src/Makefile.am: added hildon-touch-selector-column.h
5224 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5226 * src/hildon-touch-selector.c: added the property "text-column" to the
5227 class HildonTouchSelectorColumn, and related get/set functions
5228 (_default_printf_func): updated to use "text-column" property
5229 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5230 "text-column" in his documentation, as this is now included on
5231 HildonTouchSelectorColumn. The get/set_property can still be used,
5232 working as a wrapper to the concrete column "text-column" property
5233 (_text_column_modified): callback added in order to handle the signal
5234 "notify::text-column" of the concrete HildonTouchSelectorColumn
5235 (hildon_touch_selector_entry_get_text_column)
5236 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5237 modified in order to use the HildonTouchSelectorColumn "text-column"
5239 * src/hildon-time-selector.c:
5240 * src/hildon-date-selector.c:
5241 * examples/hildon-touch-selector-example.c
5242 * examples/hildon-touch-selector-multi-cells-example.c
5243 * examples/hildon-picker-button-multicolumn-example.c
5244 Set the right value to "text-column" property on the creation of a new
5245 column using hildon_touch_selector_append_column()
5247 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5249 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5251 * src/hildon-app-menu.c
5252 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5253 updating the layout of the menu, don't create all widgets again,
5254 just repack the items in their new places.
5256 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5258 * src/hildon-time-selector.c
5259 (hildon_time_selector_get_time)
5260 (hildon_time_selector_set_time)
5261 Added documentation of these public methods
5263 * src/hildon-date-button.h
5264 * src/hildon-touch-selector-column.h
5265 * src/hildon-time-button.h
5266 * src/hildon-picker-dialog.h
5267 * src/hildon-time-selector.h
5268 * src/hildon-picker-button.h
5269 * src/hildon-touch-selector.h
5270 * src/hildon-time-picker.h
5271 * src/hildon-date-selector.h
5272 * src/hildon-touch-selector-entry.h
5273 Modified in order to use hildon-widgets code style
5275 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5277 Added deprecated support to the compilation process using
5278 HILDON_DISABLE_DEPRECATED
5280 * configure.ac: Added the --disable-deprecated to the configure
5283 * src/hildon-weekday-picker.c:
5284 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5285 to use the deprecated support. We will update the other deprecated
5286 widgets status in a new patch.
5288 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5290 * configure.ac: Fixed typo with fatal warnings support, the
5291 variable name was not correct
5293 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5295 * src/hildon-app-menu.c
5296 * src/hildon-program.c: Update documentation.
5298 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5300 * configure.ac: Post-release version bump.
5302 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5307 * configure.ac: Pre-release version bump.
5308 * debian/changelog: Updates.
5310 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5312 * NEWS: Update news for previous releases.
5314 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5316 * examples/hildon-touch-selector-multi-cells-example.c:
5317 (create_selector): Update the example to use
5318 hildon_touch_selector_append_column() with a NULL renderer and set
5319 the renderers later.
5320 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5321 passed a NULL renderer. This is documented behavior now.
5323 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5324 This must be used if the developer wants full control on the layout of
5325 the renderers to be added to the column.
5327 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5329 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5331 * src/hildon-touch-selector.c: Documentation fixes.
5333 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5335 * src/hildon-wizard-dialog-private.h: Remove image and box.
5336 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5337 (hildon_wizard_dialog_set_property), (response): Completely remove
5338 image/icon support, and the containers required for the layout.
5340 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5342 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5344 * src/hildon-app-menu.c: Updated documentation.
5346 * src/hildon-stackable-window.c
5347 (hildon_stackable_window_set_main_menu): Unref the old menu after
5348 ref'ing the new one.
5350 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5352 * src/hildon-stackable-window.c
5353 (hildon_stackable_window_set_main_menu): Unref the previous menu
5354 instead of destroying it.
5356 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5357 floating reference and set has_user_ref_count to FALSE to make
5358 HildonAppMenu act like a normal ref-counted widget and not a
5361 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5364 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5366 * src/hildon-touch-selector-column.h: new file
5367 * src/hildon-touch-selector.h
5368 * src/hildon-touch-selector.c
5369 Implemented GtkCellLayout interface, in order to allow to configure
5370 the cell layout on each individual selector column
5371 (hildon_touch_selector_set_column_attributes): marked as deprecated
5372 * examples/hildon-touch-selector-multi-cells-example.c
5373 Example of how to use the GtkCellLayout interface on the selector
5375 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5377 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5379 * src/hildon-app-menu.h
5380 * src/hildon-app-menu.c
5381 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5382 (hildon_app_menu_append, hildon_app_menu_prepend):
5383 New methods to prepend, insert and move items in the menu.
5385 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5387 * src/hildon-wizard-dialog.c:
5389 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5391 (create_title): Update logical IDs and related code.
5392 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5394 * src/hildon-wizard-dialog.h: Note that
5395 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5396 point, as it is not used anymore.
5398 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5400 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5402 * src/hildon-note.c:
5403 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5404 shown. Do not display an icon in confirmation notes nor information
5406 (hildon_note_set_button_text): Update logical ID for cancel button.
5408 Fixes: NB#88850 (Update HildonNote button strings + signals)
5410 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5412 * src/hildon-stackable-window.c
5413 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5415 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5417 * src/hildon-app-menu-private.h
5418 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5419 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5420 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5421 temporary property 'columns' to change the number of columns.
5423 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5425 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5427 * examples/hildon-note-example.c: (on_information_clicked),
5428 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5429 debugging information.
5430 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5432 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5433 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5434 in order to close: this will be handled by the WM from now on.
5436 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5438 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5440 * src/hildon-app-menu-private.h
5441 * src/hildon-app-menu.c
5442 (hildon_app_menu_append, hildon_app_menu_add_filter)
5443 (button_visibility_changed, hildon_app_menu_apply_style)
5444 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5445 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5446 layout everytime a button (item or filter) is shown or hidden.
5448 * src/hildon-stackable-window.c
5449 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5452 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5454 * src/hildon-touch-selector.c:
5455 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5456 that the treeview inside the touch selector is in fremantle hildon mode
5457 * examples/hildon-date-button-example.c
5458 * examples/hildon-picker-button-multicolumn-example.c
5459 * examples/hildon-touch-selector-entry-example.c
5460 * examples/hildon-touch-selector-example.c
5461 * examples/hildon-time-button-example.c
5462 * examples/hildon-picker-button-example.c:
5463 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5465 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5467 * examples/hildon-text-view-example.c: (main): Remove the
5468 gtkrc bits, now handled by the theme.
5470 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5472 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5475 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5477 * po/Makefile.am: Install properly the mo files.
5478 * po/en_GB.po: Update translation, to ease testing purposes.
5480 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5482 * examples/hildon-picker-button-example.c: (main): Select an item
5483 in the selector before setting it to the button.
5485 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5487 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5488 Update button's value if the selector has an item active.
5490 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5491 'value' with the selector)
5493 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5495 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5496 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5497 (hildon_picker_button_class_init): Plug the finalize method.
5498 (hildon_picker_button_set_selector): If there's a previously set
5499 selector, unref'it before setting a new one.
5501 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5502 HildonTouchSelector)
5504 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5506 * src/hildon-touch-selector-entry.c:
5507 (hildon_touch_selector_entry_changed): Check if there is no text
5508 selected before setting the entry text.
5511 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5513 * src/hildon-touch-selector.h
5514 * src/hildon-touch-selector.c
5515 (hildon_touch_selector_get_active)
5516 (hildon_touch_selector_set_active): New methods to set/get the
5517 index of the selected item.
5519 * src/hildon-picker-button.h
5520 * src/hildon-picker-button.c
5521 (hildon_picker_button_get_active)
5522 (hildon_picker_button_set_active): New methods to set/get the
5523 index of the selected item.
5525 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5527 * configure.ac: post-release version bump.
5529 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5533 * configure.ac: Pre-release version bump.
5534 * debian/changelog: Updates.
5535 * debian/control: Add myself as maintainer and depend on l10n
5538 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5540 * src/hildon-window.c
5541 (hildon_window_set_main_menu)
5542 * src/hildon-stackable-window.c
5543 (hildon_stackable_window_set_main_menu):
5544 Updated documentation.
5546 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5548 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5549 Don't free selector->priv manually.
5552 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5555 (hildon_gtk_window_set_progress_indicator):
5556 * src/hildon-gtk.h: Added the new API
5557 hildon_gtk_window_set_progress_indicator, it changes the state of
5558 the window progress hint.
5560 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5562 * src/hildon-button.c
5563 * src/hildon-stackable-window.c: Minor documentation updates.
5565 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5567 * src/hildon-stackable-window.c: Updated documentation.
5569 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5571 * src/hildon-defines.h: Update margins definitions
5572 to the Fremantle sizes.
5575 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5577 * src/hildon-touch-selector.c,
5578 (_hildon_touch_selector_set_model): Cleaning the code after
5579 review, removed g_print and #if 0 from the code.
5581 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5583 * src/hildon-edit-toolbar.c: Update documentation.
5585 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5587 * src/hildon-check-button.h
5588 * src/hildon-check-button.c
5589 (hildon_check_button_set_label, hildon_check_button_get_label)
5590 * examples/hildon-check-button-example.c
5591 (button_clicked_cb):
5592 Removed deprecated methods.
5594 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5596 * src/hildon-text-view.c:
5597 Add sample code to the documentation.
5599 * src/hildon-entry.h
5600 * src/hildon-text-view.h:
5601 Minor cosmetic changes.
5603 * src/hildon-entry.c:
5604 Add sample code to the documentation.
5605 (hildon_entry_init, hildon_entry_refresh_contents):
5606 Don't allow NULL values in the placeholder.
5608 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5610 * doc/hildon-docs.sgml
5612 * examples/Makefile.am
5613 * examples/hildon-text-view-example.c
5615 * src/hildon-text-view.c
5616 * src/hildon-text-view.h
5618 New HildonTextView widget, with example.
5620 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5622 * po/POTFILES.in: Add missing files with translatable strings.
5623 Partially fixes NB#88287.
5625 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5627 * examples/hildon-pannable-area-example-2.c: (main): No need to
5628 set the cellrenderer height inside hildon touch lists, the theme does
5631 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5633 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5634 they are integrated in the theme.
5636 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5638 * examples/hildon-entry-example.c: Update the example adding
5639 widgets to modify the text and the placeholder of the HildonEntry.
5641 * src/hildon-entry.c: Show the placeholder everytime the widget
5642 is empty and loses the focus.
5644 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5646 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5648 * src/hildon-pannable-area.c,
5649 (hildon_pannable_area_size_request): Fixed bug in height
5650 requisition, avoid increasing size and add border twice.
5652 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5654 * configure.ac: postrelease version bump.
5656 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5660 * configure.ac: Prerelease version bump.
5661 * debian/changelog: update.
5662 * debian/rules: make -dbg package contain useful debugging symbols.
5664 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5666 * src/hildon-dialog.h
5667 * src/hildon-dialog.c
5668 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5669 New methods to add buttons with finger size.
5670 (hildon_dialog_new_with_buttons):
5671 Create buttons with finger size.
5673 * examples/hildon-dialog-example.c (main): Use HildonDialog
5674 methods to add buttons.
5676 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5678 * src/hildon-entry.c: Updated HildonButton documentation.
5680 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5682 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5683 button value label with (FALSE, FALSE) to prevent NB#88126 from
5686 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5688 * examples/hildon-pannable-area-example.c,
5689 (main): Removed examples panning a vbox inside a pannable
5690 area. Check bug NB#87965
5692 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5694 Patch contributed by Kris Rietveld (kris@imendio.com)
5696 * src/hildon-pannable-area.c,
5697 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5698 get_size and get_position, this saves an X server roundtrip.
5700 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5702 * doc/hildon-docs.sgml
5704 * examples/Makefile.am
5705 * examples/hildon-entry-example.c
5707 * src/hildon-entry.c
5708 * src/hildon-entry.h
5710 New HildonEntry widget, with example.
5712 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5714 * src/hildon-button.c (hildon_button_construct_child): Pack the
5715 image with expand == fill == FALSE. This is a workaround for a bug
5718 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5720 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5721 labels for the text column, to make it more look more dynamic.
5723 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5725 * src/hildon-time-selector.c
5726 Define gettext auxiliar macro N_
5727 (_create_minutes_model)
5728 (_create_hours_model)
5729 (_create_ampm_model): use of strftime in order to fill the model
5730 * src/hildon-date-selector.c
5731 (hildon_date_selector_finalize):
5732 (_locales_init): remove the logic related to get the name of the months
5733 using nl_langinfo, as it is not required anymore
5735 (_create_year_model)
5736 (_create_month_model)
5737 (_update_day_model): use of strftime in order to fill the model properly
5740 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5742 * src/hildon-button.h
5743 * src/hildon-button.c (hildon_button_get_image): New method to
5746 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5748 * src/hildon-touch-selector.c:
5749 (hildon_touch_selector_remove_column): Remove from the correct parent
5750 and also remove the list element and free it.
5753 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5755 * src/hildon-time-selector.c
5756 (_create_hours_model): change the range on 12h ampm format in order to use
5757 a 12-11 range instead of previous 01-12 range
5758 (hildon_time_selector_set_time): change the way to select the current time
5759 on 12h ampm format, due the change on the range
5760 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5763 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5765 * src/hildon-touch-selector.c
5766 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5767 in order to allow use this function on multiple row selection mode if
5768 the column is different that the first one
5771 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5773 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5774 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5776 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5778 * src/hildon-date-selector.h: clean some comments, now on the .c
5779 * src/hildon-date-selector.c
5780 (hildon_date_selector_select_month): first implementation
5781 (hildon_date_selector_select_day): added documentation, reimplemented
5782 using hildon_date_selector_select_current_date to avoid repeat code
5785 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5787 Reviewed interaction logic based on device experiences, refactored
5790 * src/hildon-pannable-area.c,
5791 (hildon_pannable_area_class_init): Updated default vmax speed.
5792 (hildon_pannable_area_calculate_velocity): Added this function, it
5793 avoids duplicate valocity calculation. Adjusted calculation to
5794 avoid problems with zero dist events.
5796 (hildon_pannable_area_motion_notify_cb): Now we use the
5797 calculate_velocity function.
5799 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5801 * src/hildon-date-selector.c
5802 (hildon_date_selector_select_current_date): fix the day range check
5803 as it failed using the last day of the current month
5806 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5808 * src/hildon-touch-selector.c
5809 (hildon_touch_selector_get_num_columns): added a parameter validation
5812 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5814 * examples/Makefile.am
5815 * examples/hildon-edit-toolbar-example.c: Example of the
5816 HildonEditToolbar widget.
5818 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5820 * configure.ac: postrelease version bump.
5822 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5826 * configure.ac: prerelease version bump.
5827 * debian/changelog: update.
5829 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5831 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5832 renderer to display stock icons in the touch list. Also, set the sizes
5833 to the recommended in the style guide.
5835 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5836 * src/hildon-touch-selector.h
5837 (hildon_touch_selector_set_active_iter): renamed, now is
5838 hildon_touch_selector_select_iter
5839 (hildon_touch_selector_get_active_iter): renamed, now is
5840 hildon_touch_selector_get_selected
5841 (hildon_touch_selector_unselect_iter): added
5842 * src/hildon-touch-selector.c
5843 Update after API modification (methods renamed)
5844 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5845 order to avoid problems selecting multiple elements on the column
5846 (hildon_touch_selector_unselect_iter): added the implementation
5847 * src/hildon-time-selector.c
5848 * src/hildon-date-selector.c
5849 * src/hildon-touch-selector-entry.c
5850 Update methods calls after hildon-touch-selector.h API modification (methods
5853 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5855 * src/hildon-stackable-window.c
5856 (hildon_stackable_window_finalize): Call the parent class's finalize.
5858 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5860 * examples/hildon-touch-selector-example.c: (create_selector): Use
5861 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5864 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5866 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5867 set a cell background color, to respect theming.
5869 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5871 * doc/hildon-docs.sgml
5874 * src/hildon-edit-toolbar.c
5875 * src/hildon-edit-toolbar.h
5876 * src/hildon.h: New HildonEditToolbar widget.
5878 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5880 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5883 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5884 * src/hildon-touch-selector.c
5885 (_create_new_column): use g_object_set instead of two g_object_set_property
5887 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5888 * src/hildon-touch-selector.c
5889 (_create_new_column): use of hildon_gtk_tree_view_new to create
5890 the treeview, instead of use directly g_object_new
5891 (_create_new_column): update the property name "vindicator-mode" for the
5892 new one "vscrollbar-policy"
5893 * examples/hildon-date-button-example.c
5894 * examples/hildon-picker-button-multicolumn-example.c
5895 * examples/hildon-touch-selector-entry-example.c
5896 * examples/hildon-touch-selector-example.c
5897 * examples/hildon-time-button-example.c
5898 * examples/hildon-picker-button-example.c
5899 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5900 to all the treeviews inside a pannable area.
5902 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5904 * src/hildon-button.h
5905 * src/hildon-button.c (hildon_button_init)
5906 (hildon_button_set_arrangement, hildon_button_set_alignment)
5907 (hildon_button_set_title_alignment)
5908 (hildon_button_set_value_alignment)
5909 (hildon_button_set_image_alignment)
5910 (hildon_button_construct_child): New methods to set the alignment
5911 of the individual components of the button (title, value,
5912 image). Also, new method to alter the xscale and yscale properties
5913 of the GtkAlignment inside the button, so more complex layouts can
5916 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5918 * src/hildon-button.c (hildon_button_style_set)
5919 (hildon_button_class_init, hildon_button_set_arrangement)
5920 (hildon_button_construct_child): Apply style properties
5921 correctly. Use the 'image-spacing' style property too.
5923 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5925 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5926 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5929 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5931 * src/hildon-pannable-area.c,
5932 (hildon_pannable_area_size_request): Fixed problem with
5933 pannable-area size_request.
5935 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5937 Added management for the grab-focus to a child widget, like a
5938 range, we need to fade out the scrollbar when releasing.
5940 * src/hildon-pannable-area.c,
5941 (hildon_pannable_area_init): Connected the grab-focus signal to
5943 (hildon_pannable_area_grab_notify): Added this function in order
5944 to manage the situation when the grab-focus ends. We have to
5945 fade-out the scrollbar.
5947 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5949 * src/hildon-app-menu.c: Minor documentation update.
5951 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5953 * src/hildon-app-menu.c
5954 * examples/hildon-app-menu-example.c (create_menu): Update
5955 examples and documentation to explain how to connect callbacks.
5957 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5959 * examples/hildon-button-example.c
5960 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5961 hildon_stackable_window_new instead of gtk_window_new
5963 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5965 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5966 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5967 (hildon_pannable_area_set_property),
5968 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5969 (hildon_pannable_area_unrealize),
5970 (hildon_pannable_area_size_request),
5971 (hildon_pannable_area_size_allocate),
5972 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5973 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5974 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5975 (hildon_pannable_area_initial_effect),
5976 (hildon_pannable_area_redraw),
5977 (hildon_pannable_area_scroll_indicator_fade),
5978 (hildon_pannable_area_expose_event),
5979 (hildon_pannable_area_get_topmost), (synth_crossing),
5980 (hildon_pannable_area_button_press_cb),
5981 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5982 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5983 (hildon_pannable_area_motion_notify_cb),
5984 (hildon_pannable_area_button_release_cb),
5985 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5986 (hildon_pannable_area_remove),
5987 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5988 chage the code layout to a more GtkWidget like. Review the use of
5991 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5993 * examples/hildon-pannable-area-example-4.c,
5994 (main): Modified the name of the hindicator_mode to
5997 * src/hildon-pannable-area.c,
5998 (hildon_pannable_area_class_init),
5999 (hildon_pannable_area_motion_notify_cb),
6000 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6001 we have reduced the amount of signals and managed reviewed its
6002 rationale. Changed the default decelerate value.
6004 (hildon_pannable_area_add),
6005 (hildon_pannable_area_redraw): Refactored functions.
6007 (hildon_pannable_area_init),
6008 (hildon_pannable_area_get_property),
6009 (hildon_pannable_area_set_property):
6010 (hildon_pannable_draw_vscroll),
6011 (hildon_pannable_draw_hscroll),
6012 (hildon_pannable_area_initial_effect),
6013 (hildon_pannable_area_expose_event),
6014 (hildon_pannable_area_scroll),
6015 (hildon_pannable_area_button_press_cb),
6016 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6017 and vindicator_mode with hscrollbar_policy and
6018 vscrollbar_policy. Replaced hscroll and vscroll with
6019 hscroll_visible and vscroll_visible.
6021 (hildon_pannable_area_refresh): Refactor the function, remove
6022 variables and check the calls to this function, added resize
6023 conditions in case the children change their layout.
6025 (hildon_pannable_area_size_request): Added more detailed
6026 size_request calculation.
6029 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6031 * src/hildon-color-chooser.c
6032 (init_borders): use the correct gtk_border_free instead of g_free, to
6033 avoid a crash when this widget is used (ie: the three color selection
6036 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6038 * src/hildon-check-button.c,
6039 (hildon_check_button_set_active): Fixed problem when setting the
6040 active value, the widget was not redrawn.
6042 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6044 * src/hildon-pannable-area.c,
6045 (hildon_pannable_area_refresh),
6046 (hildon_pannable_area_scroll),
6047 (hildon_pannable_area_motion_notify_cb): Small code style change.
6049 (hildon_pannable_area_class_init): Default initial_hint set to
6050 FALSE, it is not in the specs.
6052 (hildon_pannable_area_initial_effect),
6053 (hildon_pannable_area_expose_event),
6054 (hildon_pannable_area_map),
6055 (hildon_pannable_area_init): Moved the launching point of the
6056 initial effect, it was in map but the sizes where not correct in
6057 that method so we do not know if we have the reproduce it. Now it
6058 is placed in the expose_event method and uses a variable to
6059 reproduce it just once.
6061 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6063 * src/hildon-pannable-area.c,
6064 (hildon_pannable_draw_vscroll),
6065 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6066 position allowed for the scrollbars.
6068 (hildon_pannable_area_size_allocate): Small style change.
6070 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6072 * src/hildon-pannable-area.c,
6073 (hildon_pannable_area_scroll_indicator_fade),
6074 (hildon_pannable_area_button_press_cb),
6075 (hildon_pannable_area_button_release_cb),
6076 (hildon_pannable_area_scroll_cb),
6077 (hildon_pannable_area_expose_event),
6078 (hildon_pannable_area_init): Added the define parameter
6079 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6080 and refactor the fade variable.
6082 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6084 * src/hildon-pannable-area.c,
6085 (hildon_pannable_area_redraw),
6086 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6087 lines, we were reimplemeting the redraw code.
6089 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6091 * src/hildon-pannable-area.c,
6092 (hildon_pannable_area_scroll_cb),
6093 (hildon_pannable_area_realize),
6094 (hildon_pannable_area_class_init): Added scroll_event management
6095 for pannable area, now we can scroll the usual desktop method.
6097 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6098 initialization of the parameters should depend on idle_id.
6100 (hildon_pannable_area_init),
6101 (hildon_pannable_area_map): Small code style modifications
6103 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6105 * src/hildon-pannable-area.c
6106 (hildon_pannable_area_button_press_cb),
6107 (hildon_pannable_area_motion_notify_cb),
6108 (hildon_pannable_area_button_release_cb),
6109 (hildon_pannable_area_size_allocate),
6110 (hildon_pannable_area_scroll_to): Improved the timeouts
6111 management, we avoid creating them each time.
6113 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6115 * src/hildon-pannable-area.c:
6116 (hildon_pannable_area_refresh),
6117 (hildon_pannable_area_motion_notify_cb),
6118 (hildon_pannable_area_class_init):
6119 * src/hildon-pannable-area.h:
6120 * src/hildon-touch-selector.c
6121 (_create_new_column):
6122 * examples/hildon-pannable-area-example-4.c:
6123 (horizontal_movement),
6124 (vertical_movement),
6126 Replaced the names of enums in the HildonPannableArea:
6127 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6128 HILDON_MOVEMENT_MODE_*
6129 - HILDON_PANNABLE_AREA_MOV_* ->
6131 - Removed HildonPannableAreaIndicatorMode, now we
6134 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6136 * examples/hildon-pannable-area-touch-grid-example.c
6137 * examples/hildon-pannable-area-touch-list-example.c: Fix
6138 compilation warnings.
6140 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6142 * src/hildon-gtk.c (hildon_gtk_button_new)
6143 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6144 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6145 images overriding the value of the "gtk-button-images" setting.
6147 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6149 * src/hildon-check-button.c (hildon_check_button_new):
6150 Instead of using a custom container, display the label and the
6151 checkbox using the standard GtkButton API.
6153 * examples/hildon-check-button-example.c (main): Don't use
6154 hildon_check_button_set_label() anymore
6156 * src/hildon-check-button.h
6157 * src/hildon-check-button.c
6158 (hildon_check_button_set_label, hildon_check_button_get_label):
6159 Set as deprecated, now we're using gtk_button_{get,set}_label()
6161 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6163 * src/hildon-pannable-area.c,
6164 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6165 GtkTreeview first line we detected it after the inclusion of the
6166 GtkWindowImpl in gtk+. We now check if the window is visible, not
6167 just if the pointer is over the window.
6168 (hildon_pannable_axis_scroll),
6169 (hildon_pannable_area_expose_event): Small style changes.
6171 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6173 * src/hildon-button.c: Update documentation.
6175 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6177 * examples/hildon-button-example.c: Add a switch to show images in
6180 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6182 * doc/hildon-docs.sgml: Some docs reorganization.
6184 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6186 * examples/hildon-pannable-area-touch-list-example.c
6188 * examples/hildon-pannable-area-touch-grid-example.c
6189 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6190 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6191 Fix memory leak when setting the tree model.
6193 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6197 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6199 * doc/hildon.types: Remove duplicated hildon_window_get_type
6200 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6201 documentation comment.
6203 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6205 * doc/Makefile.am: Complete list of private headers.
6207 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6209 * doc/hildon-docs.sgml
6210 * src/hildon-app-menu.c
6211 * src/hildon-bread-crumb.c
6212 * src/hildon-button.c
6214 * src/hildon-program.c
6215 * src/hildon-stackable-window.c
6216 * src/hildon-window.c: Lots of documentation updates.
6218 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6220 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6222 * configure.ac: Require Gtk+ 2.12.9 at least
6224 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6226 * src/hildon-pannable-area.c
6227 (hildon_pannable_area_scroll_indicator_fade),
6228 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6229 to protect the return of this timeout callbacks, avoiding deadlocks.
6231 2008-08-12 Christian Dywan <christian@imendio.com>
6234 * src/hildon-*.h: Ensure a consistent include order,
6235 include <gtk/gtk.h> instead of particular files and
6236 only include the topmost header in the gtk stack. See NB #39857
6238 2008-08-12 Christian Dywan <christian@imendio.com>
6240 * src/hildon-picker-dialog.c
6241 * src/hildon-touch-selector.c: Fix warnings about unused and
6242 uninitialized variables.
6244 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6246 * examples/Makefile.am
6247 * examples/hildon-check-button-example.c: Example of the hildon
6250 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6252 * src/hildon-window.h
6253 * src/hildon-window.c (hildon_window_class_init)
6254 (hildon_window_unset_program): Don't make
6255 hildon_window_unset_program a virtual function anymore.
6257 * src/hildon-stackable-window.c: Update documentation
6259 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6262 * doc/hildon-docs.sgml
6263 * doc/visual_index.xml
6264 * src/hildon-defines.c
6266 * src/hildon-helper.c
6267 * src/hildon-range-editor.c: Lots of documentation fixes.
6269 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6271 * examples/hildon-picker-button-multicolumn-example.c
6272 (create_touch_selector): Fix compilation warning.
6274 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6276 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6277 (hildon_pannable_area_button_release_cb)
6278 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6280 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6282 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6285 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6287 * src/hildon-bread-crumb-trail.h
6288 * src/hildon-date-editor.c
6289 * src/hildon-date-selector.c
6290 * src/hildon-pannable-area.c
6291 * src/hildon-picker-dialog.c
6292 * src/hildon-time-selector.c
6293 * src/hildon-touch-selector-entry.c
6294 * src/hildon-touch-selector.c
6295 * src/hildon-touch-selector.h: Misc documentation fixes
6297 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6299 * examples/hildon-date-editor-example.c (main): Updated date
6302 * examples/hildon-note-example.c (on_confirmation_clicked):
6303 Updated confirmation note example.
6305 * src/hildon-date-editor.c
6306 * src/hildon-note.c: Updated sample programs in documentation.
6309 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6311 * src/hildon-date-button.h:
6312 * src/hildon-picker-button.h:
6313 * src/hildon-time-button.c:
6314 * src/hildon-time-button.h:
6316 Some declarations changes to allow gtk-doc to document the widgets
6319 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6321 * src/hildon-date-button.c: Document the widget.
6322 * src/hildon-time-button.c: Document the widget.
6324 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6326 * src/hildon-picker-button.c: Document the widget.
6327 * src/hildon-touch-selector-entry.c: Document the widget.
6329 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6331 * doc/hildon-docs.sgml
6334 * src/hildon-check-button.h
6335 * src/hildon-check-button.c: New functions to create the Hildon
6339 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6341 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6343 * src/hildon-button.h
6344 * src/hildon-button.c
6345 (hildon_button_add_title_size_group)
6346 (hildon_button_add_value_size_group)
6347 (hildon_button_add_image_size_group)
6348 (hildon_button_add_size_groups): New functions to set size groups
6349 for the button labels and image.
6350 (hildon_button_new_full): Removed
6352 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6354 * src/hildon-time-selector.c
6355 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6356 in order to avoid a crash if gconf is not available
6358 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6360 * src/hildon-button.c (hildon_button_set_arrangement)
6361 (hildon_button_construct_child): Don't construct the button child
6362 before setting the arrangement.
6364 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6366 * src/hildon-program-private.h
6367 * src/hildon-program.c
6368 * src/hildon-program.h
6369 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6370 (hildon_program_peek_window_stack)
6371 (hildon_program_pop_window_stack)
6372 (hildon_program_go_to_root_window): HildonProgram now has a
6373 separate list for stackable windows. Functions are provided to
6374 manage that list with a stack-like API.
6376 * src/hildon-stackable-window.c: Stackable window management is
6377 now much simpler with the new HildonProgram API. Windows no
6378 longer need to be manually added to the program, they're
6379 automatically pushed to the top of the stack when shown.
6381 * examples/hildon-stackable-window-example.c: Updated example to
6382 reflect the API changes.
6384 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6386 * src/hildon-touch-selector.c: Comment out unimplemented
6387 hildon_touch_selector_insert_column() to avoid a compile warning.
6389 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6391 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6392 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6393 (hildon_touch_selector_set_column_selection_mode),
6394 (_hildon_touch_selector_set_model),
6395 (hildon_touch_selector_set_model):
6397 Complete review of HildonTouchSelector documentation.
6399 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6401 * doc/hildon-docs.sgml
6405 * src/hildon-gtk.c: Convenience functions for standard Gtk
6406 widgets, used to easily perform frequent operations.
6408 * src/hildon-button-helpers.h
6409 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6411 * src/hildon-helper.h
6412 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6413 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6415 * src/hildon-button.h
6416 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6418 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6420 * src/hildon-button.c (hildon_button_init)
6421 (hildon_button_set_arrangement, hildon_button_construct_child):
6422 Pack the image and the labels inside the same GtkAlignment so
6423 gtk_button_set_alignment() can be used
6425 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6427 * src/hildon-button.h
6428 * src/hildon-button.c
6429 (hildon_button_init, hildon_button_set_image)
6430 (hildon_button_set_image_position)
6431 (hildon_button_construct_child): New functions to add an image to
6434 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6436 * src/hildon-date-button.c
6437 * src/hildon-picker-button.c
6438 * src/hildon-time-button.c
6439 * src/hildon-button.c:
6440 (hildon_button_class_init): "size-flags" renamed to "size"
6441 (hildon_button_set_title): Hide the title label if set to NULL.
6443 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6445 HildonButtonFlags split into HildonButtonArrangement (to set the
6446 button layout) and HildonSizeType (which can be used for any
6449 * src/hildon-button.h
6450 * src/hildon-button.c
6451 (hildon_button_class_init)
6452 (hildon_button_set_arrangement)
6453 (hildon_button_set_property): New "size-flags"
6454 property. "arrangement-flags" renamed to "arrangement".
6455 (hildon_button_new, hildon_button_new_with_text)
6456 (hildon_button_new_full): Constructors updated to reflect type changes.
6458 * src/hildon-helper.h
6459 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6460 to set the size of a widget.
6464 * src/hildon-button-helpers.c
6465 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6467 * src/hildon-date-button.c
6468 * src/hildon-date-button.h
6469 * src/hildon-picker-button.c
6470 * src/hildon-picker-button.h
6471 * src/hildon-time-button.c
6472 * src/hildon-time-button.h: Updated widgets to reflect
6473 HildonButton API changes.
6475 * examples/hildon-button-example.c
6476 * examples/hildon-date-button-example.c
6477 * examples/hildon-picker-button-example.c
6478 * examples/hildon-picker-button-multicolumn-example.c
6479 * examples/hildon-time-button-example.c
6480 * examples/hildon-touch-selector-entry-example.c
6481 * examples/hildon-touch-selector-example.c: Updated examples to
6482 reflect HildonButton API changes.
6484 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6486 * doc/hildon-docs.sgml:
6488 * examples/Makefile.am:
6489 * examples/hildon-touch-selector-entry-example.c:
6491 * src/hildon-touch-selector-entry.c:
6492 * src/hildon-touch-selector-entry.h:
6495 Moved HildonTouchSelectorEntry from sandbox. Added its
6496 documentation and examples.
6498 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6500 * src/hildon-touch-selector.h:
6501 * examples/hildon-picker-button-multicolumn-example.c:
6502 (hildon_touch_selector_append_text_column): Add a gboolean
6503 parameter to determine if text must be centered in the column.
6505 * src/hildon-date-selector.c: (hildon_date_selector_init):
6506 * src/hildon-time-selector.c: (hildon_time_selector_init):
6507 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6508 (create_touch_selector): Update widgets and example to reflect
6511 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6513 * src/hildon-touch-selector.c:
6514 (hildon_touch_selector_set_active_iter): Set also the cursor in
6517 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6519 * doc/hildon-docs.sgml
6522 * src/hildon-toggle-button.c
6523 * src/hildon-toggle-button.h
6524 * src/hildon.h: Removed HildonToggleButton widget, a derived
6525 class is not necessary for this.
6527 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6529 * src/hildon-pannable-area.c,
6530 (hildon_pannable_area_realize),
6531 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6534 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6536 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6537 "done" button the default widget for the dialog.
6539 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6541 * src/hildon-touch-selector.c:
6542 (hildon_touch_selector_class_init),
6543 (hildon_touch_selector_get_property),
6544 (_hildon_touch_selector_set_model),
6545 (_hildon_touch_selector_has_multiple_selection),
6546 (hildon_touch_selector_has_multiple_selection):
6547 Add a "has-multiple-selection" property with a virtual
6548 has_multiple_selection() method to allow derived classes to
6549 override the default value for it. See the method and property
6550 documentation for details.
6552 * src/hildon-touch-selector.h: Add the new API.
6554 * src/hildon-picker-dialog.c: (requires_done_button): Call
6555 hildon_touch_selector_has_multiple_selection() instead of
6556 determining the need for a button itself.
6558 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6560 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6561 (_hildon_touch_selector_set_model),
6562 (hildon_touch_selector_set_model): Move working code to
6563 _hildon_touch_selector_set_mode(). Call the class method instead.
6565 * src/hildon-touch-selector.h: Add (*set_model) to
6566 HildonTouchSelectorClass.
6568 Make hildon_touch_selector_set_model() a virtual method, so that
6569 derived classes can extend it and do fancy stuff with the model.
6571 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6573 * configure.ac: Set back the tarname in AC_INIT to hildon.
6575 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6579 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6580 instead of libesd (NB#86876). Volume handling is still an open issue.
6582 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6585 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6587 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6588 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6589 derived class to ease placement of an entry widget in
6590 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6591 end, where the selector columns are packed now.
6593 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6595 * src/hildon-picker-button.c: Removed the simple _text() API.
6596 * src/hildon-picker-button.h: Likewise.
6598 * src/hildon-touch-selector.h:
6599 * src/hildon-touch-selector.c:
6600 (hildon_touch_selector_new_text),
6601 (hildon_touch_selector_append_text),
6602 (hildon_touch_selector_prepend_text),
6603 (hildon_touch_selector_insert_text):
6605 Moved the simple _text() API from HildonPickerButton to
6606 HildonTouchPicker, to provide better escalability and not to tie
6607 that API to HildonPickerButton.
6609 * examples/hildon-picker-button-example.c: (main): Example updated.
6611 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6613 * src/hildon-button.c: Updated documentation.
6615 * examples/hildon-button-example.c: Add the posibility to create
6616 the buttons using horizontal layout for title and value.
6618 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6620 * src/hildon-app-menu-private.h
6621 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6622 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6623 GtkSizeGroup for the filters, use the 'homogeneous' property of
6626 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6628 * examples/hildon-button-example.c: Updated example.
6630 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6632 * doc/hildon-docs.sgml:
6635 Update documentation.
6637 * examples/Makefile.am: Update renamed examples.
6639 * examples/hildon-picker-button-multicolumn-example.c:
6640 (create_touch_selector), (main): Update after the rename.
6642 * examples/hildon-touch-picker-example.c: Removed.
6643 * examples/hildon-touch-selector-example.c: (value_changed),
6644 (create_selector), (get_visible_content), (main): Renamed from
6645 hildon-touch-picker-example.c
6647 * src/Makefile.am: Updated renamed files.
6649 * src/hildon-date-button.c: (hildon_date_button_init),
6650 (hildon_date_button_get_date), (hildon_date_button_set_date):
6651 * src/hildon-date-selector.c: (hildon_date_selector_init),
6652 (_custom_print_func), (_update_day_model),
6653 (_manage_selector_change_cb),
6654 (hildon_date_selector_select_current_date),
6655 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6656 * src/hildon-date-selector.h:
6657 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6658 (hildon_picker_button_set_property),
6659 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6660 (hildon_picker_button_init), (hildon_picker_button_new_text),
6661 (hildon_picker_button_append_text),
6662 (hildon_picker_button_prepend_text),
6663 (hildon_picker_button_insert_text),
6664 (hildon_picker_button_set_selector),
6665 (hildon_picker_button_get_selector):
6666 * src/hildon-picker-button.h:
6667 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6668 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6669 (_update_title_on_selector_changed_cb), (requires_done_button),
6670 (_hildon_picker_dialog_set_selector),
6671 (hildon_picker_dialog_set_selector),
6672 (hildon_picker_dialog_get_selector):
6673 * src/hildon-picker-dialog.h:
6674 * src/hildon-time-button.c: (hildon_time_button_init),
6675 (hildon_time_button_get_time), (hildon_time_button_set_time):
6676 * src/hildon-time-selector.c: (hildon_time_selector_init),
6677 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6678 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6679 * src/hildon-time-selector.h:
6682 Massive code updates after the rename.
6684 * src/hildon-touch-picker.c: Removed.
6685 * src/hildon-touch-picker.h: Removed.
6687 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6688 (hildon_touch_selector_init), (hildon_touch_selector_map),
6689 (hildon_touch_selector_remove), (_default_print_func),
6690 (_selection_changed_cb), (_create_new_column),
6691 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6692 (hildon_touch_selector_append_text_column),
6693 (hildon_touch_selector_remove_column),
6694 (hildon_touch_selector_set_column_attributes),
6695 (hildon_touch_selector_insert_column),
6696 (hildon_touch_selector_get_num_columns),
6697 (hildon_touch_selector_get_column_selection_mode),
6698 (hildon_touch_selector_set_column_selection_mode),
6699 (hildon_touch_selector_set_print_func),
6700 (hildon_touch_selector_get_print_func),
6701 (hildon_touch_selector_get_active_iter),
6702 (hildon_touch_selector_set_active_iter),
6703 (hildon_touch_selector_get_selected_rows),
6704 (hildon_touch_selector_get_model),
6705 (hildon_touch_selector_set_model),
6706 (hildon_touch_selector_get_current_text),
6707 (_hildon_touch_selector_center_on_selected_items):
6708 * src/hildon-touch-selector.h: Renamed from
6709 hildon-touch-picker.[ch]
6711 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6712 references, code examples, and related documentation.
6714 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6716 * doc/hildon-docs.sgml
6719 * src/hildon-toggle-button.c
6720 * src/hildon-toggle-button.h
6721 * src/hildon.h: New HildonToggleButton widget.
6723 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6725 * src/hildon-button.c: Add API documentation.
6726 (hildon_button_set_size_groups): Check input parameters
6728 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6730 * src/hildon-pannable-area.c
6731 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6732 effect after reaching the movement thredshold. This way we start
6733 using the distance after passing the thredshold.
6735 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6737 * src/hildon-button.c: (hildon_button_set_property): Use the
6738 appropriate g_value_get_flags() method.
6740 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6742 * doc/hildon-docs.sgml:
6745 Add the touch pickers, picker dialogs, and picker button widgets
6746 to the documentation.
6748 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6750 * src/hildon-button.c: (hildon_button_set_property),
6751 (hildon_button_class_init): Make "arrangement-flags" a proper
6752 G_TYPE_FLAGS derived property.
6754 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6756 * examples/Makefile.am: Add below examples.
6757 * examples/hildon-date-button-example.c:
6758 * examples/hildon-picker-button-example.c:
6759 * examples/hildon-picker-button-multicolumn-example.c:
6760 * examples/hildon-time-button-example.c:
6761 * examples/hildon-touch-picker-example.c:
6763 Add examples for the recently added touch pickers,
6764 picker dialogs, and picker button widgets.
6766 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6768 * src/hildon-button.c: Add some API documentation
6770 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6772 * src/hildon-button.h
6773 * src/hildon-button.c
6775 (hildon_button_new_with_text): New constructor to create a button
6776 with no text at all.
6777 (hildon_button_init, hildon_button_set_arrangement)
6778 (hildon_button_set_title, hildon_button_set_value)
6779 (hildon_button_set_text)
6780 (hildon_button_construct_child): Hide the value when it's not used
6781 so the rest of the text is properly aligned.
6782 Allow creating buttons with arbitrary widgets inside (not just
6783 title/value labels).
6785 * examples/hildon-button-example.c (vertical_buttons_window)
6786 (horizontal_buttons_window): Update example to use new API.
6788 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6790 * src/Makefile.am: Added HildonTimeButton.
6791 * src/hildon-time-button.c: Added missing LGPL header.
6792 * src/hildon-time-button.h: Added missing LGPL header.
6793 * src/hildon.h: Add hildon-time-button.h
6795 Copied HildonTimeButton from sandbox to trunk. Future work on this
6796 widget must take place in trunk.
6798 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6800 * src/Makefile.am: Added HildonDateButton.
6801 * src/hildon-date-button.c: Update includes.
6802 * src/hildon.h: Add hildon-date-button.h
6804 Copied HildonDateButton from sandbox to trunk. Future work on this
6805 widget must take place in trunk.
6807 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6809 * src/Makefile.am: Added HildonPickerButton.
6810 * src/hildon-picker-button.h: Update includes.
6811 * src/hildon.h: Add hildon-picker-button.h
6813 Copied HildonPickerButton from sandbox to trunk. Future work on
6814 this widget must take place in trunk.
6816 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6818 * src/Makefile.am: Added HildonPickerDialog.
6819 * src/hildon-picker-dialog.c: Update includes.
6820 * src/hildon.h: Add hildon-picker-dialog.h
6822 Copied HildonPickerDialog from sandbox to trunk. Future work
6823 on this widget must take place in trunk.
6825 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6827 * src/Makefile.am: Added HildonTimeSelector.
6828 * src/hildon.h: Add hildon-time-selector.h
6830 Copied HildonTimeSelector widget from sandbox to trunk. Future
6831 work on this widget must happen in trunk.
6833 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6835 * src/Makefile.am: Added HildonDateSelector.
6836 * src/hildon.h: Add hildon-date-selector.h
6838 Copied HildonDateSelector widget from sandbox to trunk. Future
6839 work on this widget must happen in trunk.
6841 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6843 * src/Makefile.am: Added HildonTouchPicker.
6844 * src/hildon-touch-picker.c: Update includes.
6845 * src/hildon.h: Add hildon-touch-picker.h
6847 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6848 on this widget must happen in trunk.
6850 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6852 * src/hildon-pannable-area.c:
6853 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6855 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6857 * examples/hildon-app-menu-example.c (main): Let the window
6860 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6862 * src/hildon-pannable-area.c
6863 (hildon_pannable_area_class_init): Set the min value of the
6864 overshoot properties to zero, which points out that not
6865 overshooting allowed.
6867 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6869 Modified the procedure to get the widget at a point inside the
6870 pannable area when using the movement type signals. Now the user
6871 has to call a function to get the child, that way we just
6872 calculate the child in case the user really want to use it and not
6875 * src/hildon-marshalers.list: Modified the marshallers, now we do
6876 not have the widget as a parameter.
6878 * src/hildon-pannable-area.c
6879 (hildon_pannable_area_motion_notify_cb),
6880 (hildon_pannable_area_class_init),
6881 (hildon_pannable_get_child_widget_at): Removed the widget
6882 parameter from the signal callback. We have also refactored the
6883 emission of the signals.
6885 * src/hildon-pannable-area.h: Added a new method to the API to
6886 calculate a widget at a point inside the pannable area,
6887 hildon_pannable_get_child_widget_at.
6889 * examples/hildon-pannable-area-example-4.c
6890 (horizontal_movement): Modified the example to use the new API,
6891 added condition to control which widget is under the event. This
6892 way we can avoid scrolling laterally over other widgets.
6894 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6896 * src/hildon-pannable-area.c
6897 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6898 modes, we stop getting the pointer events due to returning the
6899 callback without properly calling the get pointer again. Fixed
6900 also an error using the hscroll and vscroll.
6902 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6904 * src/hildon-app-menu-private.h
6905 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6906 (hildon_app_menu_button_release, hildon_app_menu_init)
6907 (hildon_app_menu_class_init): Don't hide the menu on button
6908 release if the user didn't press outside first.
6910 * src/hildon-window.h
6911 * src/hildon-window.c (hildon_window_toggle_menu)
6912 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6913 hildon_window_toggle_menu a virtual function for the stackable
6914 window to override it.
6916 * src/hildon-stackable-window.h
6917 * src/hildon-stackable-window-private.h
6918 * src/hildon-stackable-window.c
6919 (hildon_stackable_window_realize)
6920 (hildon_stackable_window_finalize)
6921 (hildon_stackable_window_class_init)
6922 (hildon_stackable_window_init)
6923 (hildon_stackable_window_set_main_menu): New function to set the
6924 app menu of a HildonStackableWindow.
6926 * examples/hildon-app-menu-example.c: Remove the button to show
6927 the app menu, now it'll be shown when clicking on the title bar
6930 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6932 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6933 set the widget name if the arrangement flags do not specify
6936 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6938 * src/hildon-button.c: (hildon_button_set_property),
6939 (hildon_button_class_init), (hildon_button_new_full),
6940 (hildon_button_set_arrangement): Added "arrangement-flags"
6943 Make the HildonButtonFlags a construction-only property, to allow
6944 subclasses to set them properly.
6946 2008-07-21 Tim Janik <timj@imendio.com>
6948 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6949 insertion position after backspace, so additional digits are appended,
6952 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6954 * src/hildon-pannable-area.c,
6955 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6956 TODO list, it was complete and removed the g_debug and g_print
6959 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6961 Added the movement modes to the hildon-pannable-area, with this
6962 modes the developers can control in which directions the widget
6963 can scroll. They can also connect to signals in order to do
6964 something when that happens, allowing applications scroll. There
6965 is an example uploaded showing how to use it.
6967 * examples/Makefile.am:
6968 * examples/hildon-pannable-area-example-4.c: Added this example of
6969 an application using the modes.
6971 * src/hildon-marshalers.list: Added a new marshaller for the new
6974 * src/hildon-pannable-area.h: Added new enumerations and flags in
6975 order to control the movement modes and the new signals to warn
6976 about the movements in the area.
6978 * src/hildon-pannable-area.c:
6979 (hildon_pannable_axis_scroll),
6980 (hildon_pannable_area_scroll),
6981 (hildon_pannable_area_motion_notify_cb),
6982 (hildon_pannable_area_get_property),
6983 (hildon_pannable_area_set_property),
6984 (hildon_pannable_area_map),
6985 (hildon_pannable_area_class_init),
6986 (hildon_pannable_area_init),
6987 (hildon_pannable_area_jump_to): Added the modes to control the
6988 movement in the widget. We have added properties to control it,
6989 signals to warn about the movements and refactored some code.
6991 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6993 Changes required in order to allow vfast_factor set to zero to
6996 * src/hildon-pannable-area.c:
6997 (hildon_pannable_area_button_press_cb): Changed the condition, it
6998 is required for not allowing click when vfast_factor is zero.
6999 (hildon_pannable_area_timeout): Initialized velocity variables
7000 when we stop moving, it was less than 1 but not zero and we need
7001 to check zero in some situations.
7002 (hildon_pannable_area_class_init): Changed the default value of
7003 the speed factor, now the button_press is just sent in case the
7004 speed is 2 per cent of the max speed.
7005 (hildon_pannable_area_init): Initialization with 0.
7007 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7009 * src/hildon-pannable-area.c,
7010 (hildon_pannable_area_get_topmost): replaced
7011 gdk_window_get_children with gdk_window_peek_children, this way we
7012 do not have to free the list because it is not a copy.
7014 (hildon_pannable_axis_scroll),
7015 (hildon_pannable_area_scroll),
7016 (hildon_pannable_area_timeout),
7017 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7018 two parameters that were only used inside the
7019 hildon_pannable_area_scroll function.
7021 * examples/hildon-pannable-area-example.c,
7022 (get_sawtooth_label): Fixed small memory leak.
7024 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7026 More checks for the case where the overshoot is bigger than the
7029 * src/hildon-pannable-area.c:
7030 (hildon_pannable_draw_vscroll),
7031 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7032 to draw the slider of the scrollbar under the other scrollbar.
7033 (hildon_pannable_area_expose_event): added new checks to control
7034 the drawing of the overshooting area rectangle, in case it is too
7035 big for the area of the widget.
7036 (hildon_pannable_area_size_allocate): add more checks to avoid
7037 setting a position to the child widget outside the area.
7039 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7041 * src/hildon-pannable-area.c
7042 (hildon_pannable_area_size_allocate): Added conditions to control
7043 when overshooting is bigger than the allocated space for the
7044 children, this avoids negative allocations.
7046 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7048 * doc/hildon-docs.sgml
7050 * examples/Makefile.am
7051 * examples/hildon-button-example.c
7053 * src/hildon-button.c
7054 * src/hildon-button.h
7055 * src/hildon.h: Initial version of the new HildonButton widget,
7058 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7060 * src/hildon-pannable-area.c:
7061 (hildon_pannable_area_button_press_cb),
7062 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7063 (hildon_pannable_area_motion_notify_cb),
7064 (hildon_pannable_area_button_release_cb),
7065 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7066 (hildon_pannable_area_jump_to_child):
7068 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7070 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7072 * examples/Makefile.am
7073 * examples/hildon-pannable-area-touch-grid-example.c
7074 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7075 the Hildon Touch List and Hildon Touch Grid using the
7076 HildonPannableArea widget.
7078 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7080 * src/hildon-pannable-area.c,
7081 (hildon_pannable_area_button_press_cb),
7082 (hildon_pannable_area_refresh),
7083 (hildon_pannable_area_scroll),
7084 (hildon_pannable_area_motion_notify_cb),
7085 (hildon_pannable_area_button_release_cb),
7086 (hildon_pannable_area_expose_event),
7087 (hildon_pannable_area_add),
7088 (hildon_pannable_area_remove),
7089 (hildon_pannable_area_realize),
7090 (hildon_pannable_area_size_allocate),
7091 (hildon_pannable_area_class_init),
7092 (hildon_pannable_area_init),
7093 (hildon_pannable_area_scroll_to_child),
7094 (hildon_pannable_area_jump_to_child): Fixed the problem of
7095 removing the child from the GtkBin, we have rearranged the widget
7096 hierarchy, now there is no GtkAlignment which was not doing
7097 anything interesting but breaking some of the assumptions of
7098 GtkContainer. Now developers if they want to add a GtkAlignment
7099 they could, but it is not inside the area.
7101 We had to review the whole allocation/expose process, now it is
7102 improved and we save at least three signals which would be saving
7103 some time when rendering the widget. The allocation of the
7104 scrollbars is now made in the allocate method as usual.
7106 We have also added some conditions in order to control when there
7107 is no child of the pannable area. Maybe we will need more work
7110 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7112 * src/hildon-pannable-area.c,
7113 (hildon_pannable_area_dispose): Released the fade-out timeout when
7114 disposing the widget.
7116 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7118 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7119 zero, we are going to use that property in order to deactivate the
7121 (hildon_pannable_axis_scroll),
7122 (hildon_pannable_area_size_allocate): Added conditions to control
7123 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7124 call, now it is called in all situations and we can remove calls
7125 in the allocate method.
7126 (hildon_pannable_area_map): Control the situation when
7127 overshoot_max is zero, we do not need the timeout.
7128 (hildon_pannable_area_class_init): Added documentation in order to
7129 point out that setting zero to overshoot_max means deactivate
7132 NOTE: removed trailing whitespaces from my previous comments of
7135 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7137 * src/hildon-pannable-area.c
7138 (hildon_pannable_area_get_property),
7139 (hildon_pannable_area_set_property),
7140 (hildon_pannable_area_map),
7141 (hildon_pannable_area_class_init),
7142 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7143 to cause the widget give a hint about its panning abilities upon
7146 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7148 * src/hildon-pannable-area.c: Several documentation improvements.
7150 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7152 * src/hildon-program.c
7153 * src/hildon-stackable-window.c: Update documentation.
7155 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7157 * src/hildon-stackable-window.c (get_previous_window_if_last):
7158 Renamed get_last_window()
7159 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7160 (hildon_stackable_window_unset_program):
7162 (get_previous_window_if_last):
7163 Detect if the window hasn't been added to a HildonProgram.
7165 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7167 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7169 * src/hildon-pannable-area.c
7170 (hildon_pannable_area_button_press_cb),
7171 (hildon_pannable_axis_scroll),
7172 (hildon_pannable_area_scroll),
7173 (hildon_pannable_area_timeout),
7174 (hildon_pannable_calculate_vel_factor),
7175 (hildon_pannable_area_get_property),
7176 (hildon_pannable_area_set_property),
7177 (hildon_pannable_area_class_init),
7178 (hildon_pannable_area_init),
7179 (hildon_pannable_area_scroll_to),
7180 (hildon_pannable_area_jump_to),
7181 (hildon_pannable_area_scroll_to_child),
7182 (hildon_pannable_area_jump_to_child):
7183 * src/hildon-pannable-area.h: Added the new API functions:
7184 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7185 hildon_pannable_area_scroll_to_child,
7186 hildon_pannable_area_jump_to_child
7189 * examples/Makefile.am
7190 * examples/hildon-pannable-area-example-2.c
7191 * examples/hildon-pannable-area-example-3.c: Added these two new
7192 examples in order to test and show how the new APIs work.
7194 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7196 * examples/hildon-stackable-window-example.c (new_window):
7197 * src/Makefile.am (noinst_HEADERS):
7198 * src/hildon-program.c (hildon_program_go_to_root_window):
7199 * src/hildon-program.h:
7200 * src/hildon-stackable-window-private.h:
7201 * src/hildon-stackable-window.c:
7202 * src/hildon-stackable-window.h:
7203 Create hildon-stackable-window-private.h
7204 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7206 * examples/hildon-app-menu-example.c (create_menu):
7207 * examples/hildon-hvolumebar-insensitive-example.c (main):
7208 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7209 * examples/hildon-toolbar-seekbar-example.c (main):
7210 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7211 * src/hildon-banner.c (hildon_banner_set_property):
7212 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7213 Fix compilation warnings
7215 * src/hildon-window.c:
7218 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7220 * src/hildon-stackable-window.c
7221 (hildon_stackable_window_unset_program):
7222 Calculate correctly whether to show the previous window if the
7223 last one is removed from the stack.
7224 (hildon_stackable_window_go_to_root_window):
7225 Send delete events starting from the topmost window.
7226 Stop if one of the windows is not destroyed.
7228 (hildon_stackable_window_delete_event)
7229 (hildon_stackable_window_class_init):
7230 Ignore the delete event if the window is not the topmost one.
7232 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7234 * src/hildon-pannable-area.c
7235 (hildon_pannable_area_expose_event): Fixed a problem when
7236 selecting the background color of the scrollbars.
7238 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7240 * examples/hildon-stackable-window-example.c
7241 * src/hildon-stackable-window.c
7242 * src/hildon-stackable-window.h
7243 hildon_stackable_window_go_home() renamed to
7244 hildon_stackable_window_go_to_root_window()
7245 Send delete events to windows rather than closing them with
7246 gtk_widget_destroy()
7248 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7250 * src/hildon-pannable-area.c
7251 (hildon_pannable_area_button_release_cb): Fix overshooting in
7254 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7256 * src/hildon-pannable-area.c
7257 (hildon_pannable_area_init): Initially show the scroll indicators.
7258 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7260 Add initial effect showing the widget is pannable.
7262 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7264 * src/hildon-pannable-area.c
7265 (hildon_pannable_area_class_init)
7266 (hildon_pannable_area_set_property)
7267 (hildon_pannable_area_get_property)
7268 (hildon_pannable_area_button_press_cb):
7269 New 'velocity_fast_factor' property to decide which velocity is
7272 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7274 * src/hildon-pannable-area.c
7275 (hildon_pannable_draw_hscroll)
7276 (hildon_pannable_draw_vscroll):
7277 Use float variables to calculate the size of the scrollbars to
7278 avoid error propagation and resizing during scrolling.
7280 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7282 * src/hildon-pannable-area.c
7283 (hildon_pannable_draw_vscroll)
7284 (hildon_pannable_draw_hscroll):
7285 Define a minimum size for the scroll bars
7287 * src/hildon-stackable-window.c
7288 (hildon_stackable_window_go_home): Fix compilation warning
7289 (get_last_window): Minor optimizations
7290 (hildon_stackable_window_class_init): Fix initialization of
7293 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7295 * src/hildon-stackable-window.c: Fixed typos in doc
7297 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7299 * src/hildon-pannable-area.c
7300 (hildon_pannable_area_scroll):
7301 Calculate here whether we need to scroll instead of using the booleans
7302 that tell us whether to /draw/ the scrolling bars.
7304 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7306 * src/hildon-app-menu.h
7308 * src/hildon-app-menu.c
7309 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7310 multiple filter groups related code and API. Now we support only
7312 * examples/hildon-app-menu-example.c:
7314 Update to reflect API changes.
7316 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7318 * src/hildon-stackable-window.c
7319 (hildon_stackable_window_class_init):
7320 Add hildon_stackable_window_realize.
7321 (hildon_stackable_window_realize):
7322 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7323 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7324 to apply theming and behavior specific to HildonStackableWindow
7327 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7329 * src/hildon-note.c (hildon_note_button_release):
7330 Close information notes also when tapping on them
7332 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7334 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7335 ELASTICITY, refactor and review, fix some issues with drawing
7338 * src/hildon-pannable-area.c:
7339 (hildon_pannable_area_button_press_cb): removed the conditions to
7340 avoid clicks when overshooting. It is not required
7342 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7343 define. Refatored and reviewed the code, now we do not need to
7344 manage velocity in motion_notify.
7346 (hildon_pannable_area_motion_notify_cb): We have moved the code
7347 that controls the area_scroll to the axis_scroll function and get
7348 rid of duplicated code.
7350 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7352 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7354 (hildon_pannable_draw_vscroll),
7355 (hildon_pannable_draw_hscroll): Fixed the problems with the
7356 scrollbar drawing, now we do not use two surfaces, it is easier
7357 and saves resources.
7359 (hildon_pannable_area_get_property): Style modification.
7361 (hildon_pannable_area_class_init): Changed some default values.
7363 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7365 * src/hildon-stackable-window.c: Fix some typos in the
7368 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7370 * src/hildon-dialog.c:
7371 Change indentation style
7374 (hildon_note_button_release):
7375 Use root coordinates to check if the release event happened
7378 * src/hildon-app-menu.c
7379 (hildon_app_menu_button_release):
7380 Remove unnecessary check
7382 * examples/hildon-app-menu-example.c
7384 Add cast to fix warning
7386 * src/hildon-app-menu.c
7387 (hildon_app_menu_class_init):
7388 New inner-border style property.
7389 Set all default spacings to 16
7390 (hildon_app_menu_init):
7391 Use vertical-spacing to set the space between filter buttons and
7392 regular menu buttons.
7393 Set the default container border using the inner-border value.
7395 * examples/hildon-app-menu-example.c
7397 Don't set the menu border explicitly, now we have the inner-border
7398 style property for that.
7400 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7402 * src/hildon-app-menu.c (hildon_app_menu_init):
7403 Make the window modal
7405 * src/hildon-note.c (hildon_note_map)
7406 * src/hildon-app-menu.c (hildon_app_menu_map):
7407 Destroy the grab window if we're unable to grab the pointer
7409 * src/hildon-app-menu-private.h
7410 * src/hildon-app-menu.c
7411 (hildon_app_menu_init, hildon_app_menu_finalize)
7412 (hildon_app_menu_map, hildon_app_menu_unmap)
7413 (hildon_app_menu_button_release)
7414 (grab_transfer_window_get):
7415 Bring back the grab window
7416 (hildon_app_menu_realize):
7417 Decorate the window, set WM hint for Matchbox
7419 * src/hildon-note.c (hildon_note_realize):
7420 * src/hildon-banner.c (hildon_banner_realize):
7421 Add WM hints for Matchbox
7423 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7425 * src/hildon-app-menu-private.h
7426 * src/hildon-app-menu.c
7427 (hildon_app_menu_init, hildon_app_menu_finalize)
7428 (hildon_app_menu_map, hildon_app_menu_unmap)
7429 (hildon_app_menu_button_release):
7430 Remove the grab window, it's not needed anymore
7432 * src/hildon-program.c
7433 Fixed typo in documentation
7435 * src/hildon-app-menu.h
7436 * src/hildon-app-menu.c
7437 * examples/hildon-app-menu-example.c
7438 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7440 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7443 Added new transfer_window and close_if_pressed_outside private
7445 (hildon_note_rebuild):
7446 Don't add a cancel button to the information note. It will be
7447 closed when tapping outside
7448 Remove the comment about the OK button in the documentation
7449 (hildon_note_realize):
7450 Set the notification type hint
7451 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7452 Grab/ungrab pointer and keyboard if the note has to be closed when
7454 (hildon_note_button_release):
7455 Close the note when tapping outside (if applicable)
7457 * src/hildon-app-menu.c
7458 Grab/ungrab pointer and keyboard on map/unmap
7459 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7460 Close the menu on button release, not button press
7462 * src/hildon-banner.c
7463 (hildon_banner_set_property)
7464 (hildon_banner_check_position):
7465 Make the banner use the full width of the screen
7466 (hildon_banner_show_information)
7467 (hildon_banner_show_information_with_markup):
7468 Don't display an icon by default
7470 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7472 Added fading scrollbars and adapted all the overshooting code to
7473 horizontal scrolling. We have also fixed bugs with overshooting
7474 and current fading implementation.
7476 * src/hildon-pannable-area.c
7477 (hildon_pannable_area_scroll_indicator_fade): Time out function
7478 used to change the transparency of the scrollbars.
7480 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7481 control and fixed a problem with fading, we now remove the fade
7482 timeout before adding a new one.
7484 (hildon_pannable_axis_scroll):
7485 (hildon_pannable_area_scroll):
7486 (hildon_pannable_area_timeout): Added this functions so we can use
7487 the scroll code both for vertical and horizontal.
7489 (hildon_pannable_area_motion_notify_cb):
7490 (hildon_pannable_area_button_release_cb): Added the horizontal
7491 scrolling control, fixed a problem with the overshooting timeout.
7493 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7494 painting of the scrolls.
7496 (hildon_pannable_draw_vscroll):
7497 (hildon_pannable_draw_hscroll):
7498 (hildon_pannable_area_expose_event):
7499 Draw both scrollbars and rectangles in the overshooting area.
7501 (hildon_pannable_area_get_property):
7502 (hildon_pannable_area_set_property):
7503 Modified the overshoot property to overshoot_max
7505 (hildon_pannable_area_map):
7506 Replaced the comments symbols.
7508 (hildon_pannable_area_size_allocate):
7509 (hildon_pannable_area_class_init):
7510 (hildon_pannable_area_init): Added horizontal scroll, fading
7511 effect properties, fixed a problem when overshooting in the bottom
7514 * examples/hildon-pannable-area-example.c:
7515 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7516 looks better in the example.
7518 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7520 * src/hildon-window.c
7521 * src/hildon-window.h
7522 (hildon_window_class_init)
7523 (hildon_window_unset_program)
7524 (hildon_window_unset_program_real):
7525 Make unset_program a virtual function
7527 * src/hildon-stackable-window.c
7528 * src/hildon-stackable-window.h
7529 Added hildon_stackable_window_go_home()
7531 * examples/Makefile.am
7532 * examples/hildon-stackable-window-example.c
7533 HildonStackableWindow example
7535 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7537 * hildon-pannable-area.c: Added the overshoot property and removed
7538 the OVERSHOOT define. Fixed an indent style error.
7539 (hildon_pannable_area_motion_notify_cb):
7540 (hildon_pannable_area_get_property):
7541 (hildon_pannable_area_set_property): Add overshoot property.
7543 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7546 (hildon_pannable_area_class_init): Installed the new property.
7548 * hildon-pannable-area-example.c: Added a sawtooth function, this
7549 way it is easier to check the movement in the pannable.
7550 (get_sawtooth_label): Added this function.
7551 (main): Now we get the labels from the new get_sawtooth_label
7554 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7556 * src/hildon-app-menu.h
7557 * src/hildon-app-menu.c
7558 Renamed API variables for consistency
7560 (hildon_app_menu_popup): Use also the default window size to
7561 decide where to place the menu
7563 (hildon_app_menu_init, hildon_app_menu_class_init): New
7564 external-border style property
7566 2008-05-26 Michael Natterer <mitch@imendio.com>
7568 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7569 widget_class->tap_and_hold_setup signal slot doesn't exist any
7570 longer, stop overriding it.
7572 (hildon_time_editor_init): g_signal_connect() to the
7573 tap-and-hold-setup signal instead.
7575 (hildon_time_editor_entry_keypress): add cast to fix warning.
7577 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7579 * doc/hildon-docs.sgml
7581 * examples/Makefile.am
7582 * examples/hildon-app-menu-example.c
7584 * src/hildon-app-menu-private.h
7585 * src/hildon-app-menu.c
7586 * src/hildon-app-menu.h
7588 New HildonAppMenu widget
7590 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7592 Rearranged the inheritance of the pannable area, now it inherits
7593 from GtkBin. This will allow us to control the event_window and
7594 the allocation process of the widget, required for some effects.
7596 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7597 GtkBin structures. * src/hildon-pannable-area.c: Added the
7598 event_window variable.
7599 (hildon_pannable_area_button_press_cb):
7600 (hildon_pannable_area_button_release_cb):
7601 (hildon_pannable_area_motion_notify_cb):
7602 Changed the signature of the method, now we override the event
7603 callback instead of connecting to the signal.
7605 (hildon_pannable_area_realize):
7606 (hildon_pannable_area_unrealize):
7607 (hildon_pannable_area_map):
7608 (hildon_pannable_area_unmap):
7609 (hildon_pannable_area_size_allocate):
7610 Added functions to control the widget construction. We add a
7611 INPUT_ONLY window and we put it over the widgets inside the
7612 container, this event_window handles the events.
7614 (hildon_pannable_area_class_init):
7615 Replaced the signal connections with overrides of the event
7618 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7620 Bouncing effect added when touching the borders, you can change
7621 the elasticity of the border changing the ELASTICITY define.
7623 * src/hildon-pannable-area.c: Added ELASTICITY define.
7624 (hildon_pannable_area_timeout): Added inverse velocity when
7625 touching the border of the child widget, that causes a bounce.
7627 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7629 Improved performance, we now do not go to the X server in order to
7630 get the list of window children. Apparently the effect is the
7631 same, we have to be careful and check if this breaks something in
7634 * src/hildon-pannable-area.c:
7635 (get_ordered_children): Removed this function.
7636 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7637 the children windows function with gdk_window_get_children.
7639 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7641 * src/hildon-pannable-area.c:
7642 (hildon_pannable_area_dispose): Fixed a crash when closing the
7643 window and kinetics is activated.
7645 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7647 * src/hildon-pannable-area.h
7648 * src/hildon-pannable-area.c
7649 Changed indentation style to meet the one used in Hildon
7651 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7653 Reviewed the interaction of the AUTO mode, now we use the time
7654 attribute of the events and calculate the velocity in the motion,
7655 doing a gimp like calculation. The velocity is calculated in each
7656 motion event using the last velocity and the current one, the
7657 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7659 * src/hildon-pannable-area.c: Replaced the time based algorithm
7661 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7662 timeout for the AUTO mode when we are still moving the cursor. We
7663 added also the velocity calculation in this function.
7664 (hildon_pannable_area_button_release_cb): launch the timeout in
7665 case we are in AUTO mode. There are still some constants here that
7666 come from the old implementation that should be reviewed and
7669 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7671 * doc/hildon-docs.sgml
7674 * src/hildon-stackable-window.c
7675 * src/hildon-stackable-window.h
7677 New HildonStackableWindow widget
7679 * examples/hildon-dialog-example.c
7680 * examples/hildon-pannable-area-example.c
7683 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7685 * src/hildon-dialog.c
7686 (hildon_dialog_new_with_buttons): New constructor.
7688 * examples/hildon-dialog-example.c
7689 (main): Update the example to use the new
7690 hildon_dialog_new_with_buttons().
7692 * examples/hildon-pannable-area-example.c
7693 (main): Update example.
7695 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7697 * doc/hildon-docs.sgml
7699 Added HildonPannableArea to the documentation.
7701 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7703 * doc/visual_index.xml
7704 Fix reference to HildonLoginDialog in documentation
7706 * doc/hildon-docs.sgml
7708 * examples/Makefile.am
7709 * examples/hildon-dialog-example.c
7711 * src/hildon-dialog.c
7712 * src/hildon-dialog.h
7714 New HildonDialog widget.
7716 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7718 * src/hildon-pannable-area.c
7719 Merge latest changes (r4318, r4342) from libmokoui trunk
7721 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7723 * examples/Makefile.am
7724 * examples/hildon-pannable-area-example.c
7726 * src/hildon-pannable-area.c
7727 * src/hildon-pannable-area.h
7729 New HildonPannableArea widget.
7731 2008-04-15 18:05:19 <timj@imendio.com>
7733 * src/hildon-banner.c: revert the recent change, that introduced
7734 gtk_window_present() calls. this reopens:
7735 Bug 78481 - [freetest] information banners are hidden under browser menu
7736 But resolves another variant of:
7737 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7739 2008-04-15 13:21:13 <timj@imendio.com>
7741 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7742 recreated its layout, spotted by Kris. this fixes all remaining
7743 artefacts and stability issues with the banner code. in particular:
7744 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7746 2008-04-14 16:52:59 <timj@imendio.com>
7748 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7749 operating on unrealized widgets, fixes:
7750 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7752 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7754 2008-04-09 Kristian Rietveld <kris@imendio.com>
7756 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7757 makes banner disappear.
7758 Fixes: NB#79182: info banner flickering with certain message lengts.
7760 * src/hildon-banner.c (hildon_banner_constructor),
7761 (hildon_banner_init), (hildon_banner_set_text),
7762 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7763 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7764 FALSE, reset size requests of label and banner,
7765 (force_to_wrap_truncated): when the text is too wide, always enforce
7766 the maximum possible width instead of recalculating it from the
7767 layout; enforce the maximum banner height of 3 lines,
7768 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7769 nicer wrapping and no truncated chars if space gets tight.
7771 * src/hildon-banner-private.h: add has_been_wrapped and
7772 has_been_truncated fields.
7774 2008-04-07 Sven Herzberg <sven@imendio.com>
7776 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7777 local values in hildon_date_editor_size_allocate
7779 * src/hildon-date-editor.c: moved the real allocation code into the
7782 2008-04-07 Sven Herzberg <sven@imendio.com>
7784 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7785 local values in hildon_date_editor_size_allocate
7787 * src/hildon-date-editor.c: merged the two if() branches together
7789 2008-04-07 Sven Herzberg <sven@imendio.com>
7791 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7792 local values in hildon_date_editor_size_allocate
7794 * src/hildon-date-editor.c: changed the arguments of the if()
7797 2008-04-07 Sven Herzberg <sven@imendio.com>
7799 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7800 local values in hildon_date_editor_size_allocate
7802 * src/hildon-date-editor.c: split the calculation of the allocation
7803 from the real allocation
7805 2008-03-27 Michael Natterer <mitch@imendio.com>
7807 Fixes: NB#81696: The passcode is not overwritten even after
7810 * src/hildon-code-dialog.c
7811 (hildon_code_dialog_button_clicked)
7812 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7813 because that doesn't overwrite selected text. Instead, emit the
7814 "commit" signal on the entry's im_context so the entry's normal
7815 insert logic is triggered. Set the cursor to the end of the entry
7816 after each insert operation so that we *only* insert in the middle
7817 of the text if something was selected.
7819 2008-03-27 Michael Natterer <mitch@imendio.com>
7821 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7822 selector cannot be opened
7824 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7825 when the popup color selector is created. Please connect to this
7826 signal in order to set the dialog's help ID.
7828 2008-03-25 Sven Herzberg <sven@imendio.com>
7830 Fixes: MB#1212: Hide info banners (infoprints) on click
7832 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7833 extracted the close event simulation into an extra function
7834 (hildon_banner_button_press_event): simulate a close event and destroy
7835 the widget if the event wasn't handled
7836 (hildon_banner_class_init): added the button_press_event handler
7837 (hildon_banner_init): added button-press events to the widget
7839 2008-03-25 Sven Herzberg <sven@imendio.com>
7841 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7842 Patch from: Mohammad Anwari <mdamt@maemo.org>
7844 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7845 instead of the right in RTL mode
7846 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7847 breadcrumb button list in RTL mode
7848 * src/hildon-caption.c: mirror the appearance of the caption widget in
7850 * src/hildon-date-editor.c: mirror appearance of the date editor in
7852 * src/hildon-time-editor.c: mirror appearance of the time editor in
7854 * src/hildon-window.c: fix the position of the popup in RTL mode
7856 2008-03-25 Sven Herzberg <sven@imendio.com>
7858 Amendment to the fix of NB#22072. Fix compilation.
7860 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7862 2008-03-19 Sven Herzberg <sven@imendio.com>
7864 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7867 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7868 timeout id properly when the timeout will disappear this leaves no
7869 artifacts around in the destroy(); there will only be the timeout
7870 created by hildon_banner_ensure_timeout() and adding a new timeout
7871 will also work if the timeout gets removed because the timeout_handler
7874 2008-03-19 Michael Natterer <mitch@imendio.com>
7876 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7878 * src/hildon-volumebar.c
7879 * src/hildon-vvolumebar.c
7880 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7881 the widget becomes focussable at all.
7883 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7884 set the focus to wither the mute button or the volumebar.
7886 Remove own "can-focus" property and instead listen to
7887 notify::can-focus in order to update the widget's state.
7889 Implement GtkWidget::focus() and make sure we can also *leave* the
7890 widget, not only enter it, depending on volumebar orientation and
7891 requested focus direction.
7893 Clean up set_mute() to cooperate nicely with all the above.
7895 2008-03-04 Michael Natterer <mitch@imendio.com>
7897 Fixes: NB#78481: information banners are hidden under browser menu
7899 * src/hildon-banner.c: call gtk_window_present() on the banners so
7900 they are risen if they are already visible.
7902 2008-03-03 Sven Herzberg <sven@imendio.com>
7904 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7906 * examples/hildon-window-menu-example.c: (main): extended the window
7907 menu example to serve as a testcase for automatically added
7908 accelerator groups, too
7909 * src/hildon-window.c: (hildon_window_add_accel_group),
7910 (hildon_window_set_menu): added patch by Tommi Komulainen
7912 2008-03-03 Sven Herzberg <sven@imendio.com>
7914 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7916 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7917 knowledge about the border allocators used within GTK+
7919 2008-02-26 Sven Herzberg <sven@imendio.com>
7921 Fixes: MB#2981: Build with asserts broken
7923 * src/hildon-date-editor.c,
7924 * src/hildon-number-editor.c,
7925 * src/hildon-time-editor.c,
7926 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7927 the proper GType instance check
7929 2008-02-25 Sven Herzberg <sven@imendio.com>
7931 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7933 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7934 * examples/hildon-window-menu-example.c: (main): explicitly show
7936 * src/hildon-window.c:
7937 (hildon_window_set_main_menu): moved most of the code from set_menu()
7938 to this place; skipped the call to gtk_widget_show_all(); also didn't
7939 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7940 (hildon_window_set_menu): removed most of the code, just keep the
7941 questionable gtk_widget_show_all()
7942 * src/hildon-window.h: added the new function and deprecate the old
7945 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7951 * debian/changelog: Updating.
7953 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7956 * pkgconfig/Makefile.am:
7957 * pkgconfig/hildon.pc.in:
7960 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7961 use newly created API_MAJOR_VERSION.
7963 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7969 * debian/changelog: Updating.
7971 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7973 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7975 Add outer_border style property, we use it but don't define it (!).
7979 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7981 * examples/hildon-bread-crumb-trail-example.c (main):
7985 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7987 Fix logic for the bread crumb trail node removal.
7991 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7997 * debian/changelog: Updating.
7999 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8001 Patch by Alejandro to get/set passwords dialogs accesibility.
8003 * hildon-1/src/hildon-get-password-dialog.c:
8004 * hildon-1/src/hildon-set-password-dialog.c:
8005 Set atk_set_name to the passwd entries in order to allow
8006 accessibility by name on this entries.
8008 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8013 * debian/control: Updating gtk dep.
8015 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8017 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8018 USE_MAEMO_GTK is enabled.
8020 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8022 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8023 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8025 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8031 * debian/changelog: Updating.
8033 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8035 * examples/Makefile.am:
8036 * examples/hildon-logical-color-example.c:
8037 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8038 applied + adding a test case. Fixes: NB#71660.
8040 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8042 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8043 to be visible, fixes warning on map for windows without toolbars.
8045 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8047 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8048 2.11.0, add a check for that besides the MAEMO_GTK check.
8050 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8056 * debian/changelog: Updating.
8058 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8060 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8061 visibility. Fixes: NB#70842 and MB#615.
8063 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8065 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8066 set the separator as no-show-all so it doesn't unintentionally appear when
8067 someone does a show_all.
8069 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8071 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8072 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8073 toplevel item. Fixes: NB#62031
8075 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8077 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8078 fix the name of the function in the docs.
8080 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8086 * debian/changelog: Updating.
8088 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8090 * examples/hildon-banner-long-example.c: Adding a test-case for long
8093 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8095 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8097 * src/hildon-color-chooser-dialog.c:
8098 * src/hildon-color-chooser.c:
8099 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8100 memory leaks in font selector and color selector. Fixes: NB#70499 and
8103 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8105 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8107 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8109 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8110 little bit bigger. Fixes: #NB63694.
8112 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8118 * debian/changelog: Updating.
8120 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8123 * doc/hildon-docs.sgml:
8124 * doc/images/bread-crumb-trail.png:
8125 * doc/images/calendar-popup.png:
8126 * doc/images/caption.png:
8127 * doc/images/code-dialog.png:
8128 * doc/images/color-button.png:
8129 * doc/images/color-chooser-dialog.png:
8130 * doc/images/color-chooser.png:
8131 * doc/images/controlbar.png:
8132 * doc/images/date-editor.png:
8133 * doc/images/font-selection-dialog.png:
8134 * doc/images/get-password-dialog.png:
8135 * doc/images/hvolumebar.png:
8136 * doc/images/login-dialog.png:
8137 * doc/images/note.png:
8138 * doc/images/number-editor.png:
8139 * doc/images/range-editor.png:
8140 * doc/images/seekbar.png:
8141 * doc/images/set-password-dialog.png:
8142 * doc/images/sort-dialog.png:
8143 * doc/images/time-editor.png:
8144 * doc/images/time-picker.png:
8145 * doc/images/vvolumebar.png:
8146 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8147 Adding the bread-crumb-trial and helpers to the documentation.
8149 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8151 * examples/hildon-find-toolbar-example.c:
8152 * src/hildon-find-toolbar.c:
8153 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8154 actually continue firing the other handlers if connected. Adding a new
8156 hildon_find_toolbar_get_last_index that gets the index of the most
8157 recently added (last) item. Fixes: NB#52301.
8159 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8161 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8162 behaviour. Fixes: NB#68610.
8164 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8166 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8169 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8171 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8172 when realizing the banner. Should make the infonbanner effect a bit more
8175 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8177 * src/hildon-volumebar.c:
8178 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8179 hildon_volumebar_set_range_insensitive_message and
8180 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8182 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8184 * src/hildon-window.c: Fixing the border freeing on destroy.
8186 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8188 * src/hildon-code-dialog-private.h:
8189 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8190 kw keyboard support in HildonCodeDialog.
8192 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8198 * debian/changelog: Updating.
8200 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8202 * src/hildon-date-editor.c:
8203 * src/hildon-number-editor.c:
8204 * src/hildon-private.c:
8205 * src/hildon-private.h:
8206 * src/hildon-time-editor.c:
8207 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8208 handling in subclassed composite widgets. Fixes: NB#66628.
8210 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8212 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8213 from destroy_ callback as it introduces problems in async dbus signal
8214 handlers. Fixes NB#66673.
8216 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8218 * examples/hildon-hvolumebar-example.c:
8219 * src/hildon-volumebar.c: Improving the focus handling in the
8220 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8221 set_property accessor so that "mute" property can be actually set. I'm
8222 scared that nobody noticed it's totally broken.
8224 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8226 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8229 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8231 * src/hildon-calendar.c:
8232 * src/hildon-number-editor.c:
8233 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8234 matches the spec of 6 chars per second. Fixes: NB#60489.
8236 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8238 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8239 gtk_style_lookup_color sometime returns FALSE even though color was
8240 found and values were filled properly. Weird. Removing the warning for the
8243 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8245 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8246 expand vertically. Adding some extra space to the find toolbar buttons to
8247 make them thumbable. Fixes NB#66060.
8249 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8251 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8252 popup with "Ok" and "Cancel". Fixes NB#59299.
8254 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8256 * src/hildon-calendar.c: Process all window updates before executing next
8257 timeout. Fixes: NB#54146.
8259 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8265 * debian/changelog: Updating.
8267 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8269 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8270 the client event and ignore it, since we use the delete event to close
8273 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8275 * src/hildon-helper.c: Remove the bogus warning about color not being
8276 found. Fixes NB#58352.
8278 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8280 * examples/Makefile.am:
8281 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8282 HildonSeekbar widget inside a toolbar.
8284 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8286 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8287 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8288 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8289 don't want to be closed by non-temporary windows on map.
8291 Also use G_DEFINE_TYPE instead of manually typed code.
8293 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8300 * debian/rules: Updating.
8302 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8304 * examples/Makefile.am:
8305 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8306 bug NB#61128. Strangely it works.
8308 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8310 * src/hildon-date-editor.c: When the date editor entry has been changed
8311 but the numbers of characters < max, turn off the skip validation flag.
8312 Prevents a situation when we enter first a valid year and later re-write
8313 it with an invalid one. Fixes NB#60154.
8315 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8317 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8318 code dialog. Fixes NB#64355.
8320 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8322 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8323 switching the page. Fixes NB#49374.
8325 * examples/Makefile.am:
8326 * examples/hildon-wizard-dialog-example.c: Adding an example for
8327 HildonWizardDialog that shows how to handle manual sensitivity setting on
8330 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8334 * src/hildon-version.h.in:
8335 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8337 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8339 * src/hildon-volumebar.c: Updating the docs.
8341 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8347 * debian/changelog: Updating.
8349 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8351 * src/hildon-find-toolbar.c:
8352 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8353 selected item: hildon_find_toolbar_set_active,
8354 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8355 hildon_find_toolbar_get_active_iter . They correspond to respective
8356 GtkComboBox functions.
8358 * examples/Makefile.am:
8359 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8362 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8364 * examples/Makefile.am:
8365 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8368 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8369 when font size > 32 and we pack a focusable widget inside. Actually using
8370 the default response would work too, but since we don't show default
8371 response state in any way (no theming) it would not be visible to the
8372 user. Fixes NB#63430.
8374 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8376 * src/hildon-date-editor.c: Adding the missing variable setter in the
8377 set_property handler. Fixes NB#54182.
8379 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8381 * src/hildon-window.h: Changing the long key press time from 1500ms to
8382 800ms as requested in NB#63700. I have a bad feeling about this, let's
8383 see... Fixes NB#63700.
8385 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8387 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8388 hildon_time_picker_map, hildon_time_picker_realize,
8389 hildon_time_picker_style_set): Split the contents of map to more
8390 appropriate functions; set window decorations on realize and update
8391 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8393 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8398 * debian/changelog: Updating.
8400 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8402 * src/Makefile.am: fixed installation of the header files
8404 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8410 * debian/changelog: Updating.
8412 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8414 * configure.ac: Removing some remaining of --enable-xan.
8416 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8418 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8419 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8421 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8422 2.10.12-osso6 because the move-focus signal needs to be available in
8425 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8427 * examples/Makefile.am:
8428 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8429 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8430 fine. Prolly NB#61128 is fixed now.
8432 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8434 * src/hildon-volumebar.c:
8435 * src/hildon-volumebar.h: Adding the
8436 hildon_volumebar_set_range_insensitive_message and
8437 hildon_volumebar_set_range_insensitive_messagef functions to set
8438 insensitive message on the slider of the volumebar. Fixes NB#61129.
8440 * examples/Makefile.am:
8441 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8442 test the new insensitive messsage functionality on HildonVolumebar.
8444 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8446 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8449 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8451 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8452 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8453 button on after clearing the trail.
8455 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8457 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8459 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8461 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8462 by splitting the installed headers in generated and non-generated groups. Use
8463 only the non-generated headers to create the hildon-enum-types.h file.
8465 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8467 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8469 * src/hildon-window.c: Hide the window before performing the destroy.
8470 Should make the app closing a little tiny bit more snappy.
8472 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8474 * src/hildon-seekbar.c: add gtkrange.h header
8475 * src/hildon-caption.c: remove unused variable
8477 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8479 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8482 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8488 * debian/changelog: Updating.
8490 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8492 * src/hildon-window.c (hildon_window_window_state_event,
8493 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8494 escape timeout on focus-out-event rather than notify::is-topmost; the
8495 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8497 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8499 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8500 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8502 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8504 * src/hildon-window: actually, you need to use the macro always, there's
8505 no private pointer in the instance structure. We should have cleaned this up
8506 when we had the chance...
8508 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8510 * src/hildon-window.c: do not get the private date from HildonWindow before
8511 it passes the g_return_if_fail check. Once it's passed the test, there's no
8512 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8513 if you are only going to access the data once. Whitespace cleanups.
8515 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8517 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8518 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8520 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8526 * debian/changelog: Updating.
8528 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8530 * src/hildon-window.c: When destroying the window, remove (if exists) the
8531 escape timeout handler. Fixes #NB59276.
8533 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8535 * src/hildon-banner.c: When realizing the widget, set the window
8536 transiency. Setting the transiency in the gobject constructor is not
8537 good, as the widget is not realized at that point. Fixes: #NB56624.
8539 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8541 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8542 Add padding for future expansions.
8544 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8546 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8547 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8548 will fake an activation on the previous to the last item of the trail, so
8549 the effect can be overrided by the developer as usual.
8550 Also change the callback for the back button to do the same thing, so its
8551 effect can be overrided too. Fixes: NB#58982
8553 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8555 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8556 HildonCaption. Fixes NB#52379.
8558 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8560 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8561 the internal state of the trail after the user has had the chance of executing
8562 his handler for the signal. Specifically, it may happen that the activated button
8563 is removed and the user still lets the default handler run. This would segfault
8566 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8568 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8569 scrollbar to the preview dialog. Fixes NB#54147.
8571 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8573 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8574 max/min year properties can be altered, so the client can modify it
8575 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8577 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8579 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8580 hildonlike by default. Fixing a problem with disappearing arrows when
8581 scrolling through months and years. Fixes NB#54127.
8583 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8585 * examples/hildon-date-editor-example.c: Adding error callback to the date
8588 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8594 * configure.ac: Updating.
8596 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8598 * configure.ac: Adding a special '--enable-xan' configure option that
8599 turns off the -Werror compilation setting. Usefull for development.
8601 * src/hildon-calendar.c:
8602 * src/hildon-number-editor.c:
8603 * src/hildon-time-picker.c: Adding the 5* multiplier to
8606 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8608 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8609 instead of g_object_ref + gtk_object_sink.
8611 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8617 * debian/changelog: Updating.
8619 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8621 * src/hildon-color-chooser-dialog.c:
8622 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8623 straight from Tommi labs.
8625 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8627 * examples/hildon-finger-example.c: Correcting the header file path.
8629 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8630 the changed signal. Fixes a small memory leak.
8632 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8636 * src/hildon-banner.c: Importing several usefull fixes from the
8637 ubuntu-mobile branch.
8639 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8641 * examples/Makefile.am:
8642 * examples/hildon-finger-example.c: Adding a finger-checking code
8645 * src/hildon-font-selection-dialog.c: Do not allocate the color
8646 structure using the g_new. Fixes NB#54061.
8648 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8650 * src/hildon-helper.c: Correcting tabs in file.
8652 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8654 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8655 control the visibility of the children.
8657 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8659 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8665 * debian/changelog: Updating.
8667 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8669 * src/hildon-bread-crumb-trail.c:
8670 (hildon_bread_crumb_trail_size_allocate):
8672 Make the back button always a square.
8674 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8676 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8677 from the .c file as it's a private file.
8679 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8681 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8682 uses slightly bigger height.
8684 * src/hildon-font-selection-dialog.c: Adding some checks before
8685 freeing memory in the font selection dialog.
8687 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8689 * src/hildon-font-selection-dialog.c: Adding a small check when
8692 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8693 buttons sensitivity on page switching.
8695 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8697 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8698 internal details of adding a bread crumb to the trail.
8700 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8706 * debian/changelog: Updating.
8708 * src/hildon-bread-crumb-trail.h:
8709 * src/hildon-bread-crumb.h: Changing the API guard to
8710 HILDON_ENABLE_UNSTABLE_API.
8712 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8720 * src/hildon-helper.h: Updating.
8722 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8730 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8734 * src/hildon-helper.h: Small fix to make the package actually compile.
8736 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8738 * src/hildon-bread-crumb-trail.h:
8739 * src/hildon-bread-crumb.h:
8741 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8742 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8744 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8746 * examples/hildon-bread-crumb-trail-example.c:
8748 * src/hildon-bread-crumb-trail.c:
8749 * src/hildon-bread-crumb-trail.h:
8750 * src/hildon-bread-crumb.c:
8751 * src/hildon-bread-crumb.h:
8752 * src/hildon-marshalers.list:
8753 * src/hildon-bread-crumb-widget.c:
8754 * src/hildon-bread-crumb-widget.h:
8756 Slight change in the widget design. The bread crumb trail API is
8757 unchanged, but HildonBreadCrumb is now an interface. A *private*
8758 implementation, hildon-bread-crumb-widget, is provided and used
8759 internally by the trail for the push_text/push_icon functions.
8761 The generic push API is still available, so anyone can implement
8762 and use its own bread crumb widget.
8764 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8766 * debian/rules: Fixing the shlibs.
8768 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8770 * src/hildon-banner.c: Fixing a problem with timed banners having
8771 their parrent destroyed before they are.
8773 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8775 * src/hildon-bread-crumb.c:
8776 * src/hildon-bread-crumb.h:
8778 Make the get_natural_size function a vfunc.
8780 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8782 * src/hildon-bread-crumb.c:
8783 * src/hildon-bread-crumb-trail.c:
8787 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8794 * debian/changelog: Updating for release.
8796 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8798 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8799 don't leak the pango layout.
8801 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8804 * examples/hildon-bread-crumb-trail-example.c:
8808 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8810 * debian/changelog: Removing the bug-fixed entries that were actually
8811 resolved as WONTFIX.
8813 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8816 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8818 * src/hildon-bread-crumb-trail.c:
8819 * src/hildon-bread-crumb-trail.h:
8820 * src/hildon-bread-crumb.c:
8821 * src/hildon-bread-crumb.h:
8825 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8827 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8828 until it's passed the type check.
8830 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8832 * examples/hildon-bread-crumb-trail-example.c
8836 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8838 * examples/Makefile.am
8839 * examples/hildon-bread-crumb-trail-example.c
8841 * src/hildon-bread-crumb-trail.c
8842 * src/hildon-bread-crumb-trail.h
8843 * src/hildon-bread-crumb.c
8844 * src/hildon-bread-crumb.h
8846 New HildonBreadCrumbTrail widget.
8848 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8850 * src/hildon-range-editor.c (hildon_range_editor_init),
8851 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8852 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8853 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8854 hildon_time_editor_class_init, hildon_time_editor_init),
8855 src/hildon-get-password-dialog.c (invalid_input,
8856 hildon_get_password_set_property, hildon_get_password_get_property,
8857 create_contents, hildon_get_password_dialog_set_max_characters),
8858 src/hildon-set-password-dialog.c (create_contents),
8859 src/hildon-date-editor.c (hildon_date_editor_init),
8860 src/hildon-login-dialog.c (hildon_login_dialog_init),
8861 src/hildon-number-editor.c (hildon_number_editor_init),
8862 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8863 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8864 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8865 configure option and adding the respective checks in the code.
8866 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8867 hildon_calendar_drag_data_received): fixed some build warnings.
8869 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8871 * debian/changelog: A 1.0.0 release notes.