1 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-note.c: (hildon_note_class_init): Several
4 documentation improvements to the HildonNote widget.
6 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
8 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
10 Fixes: MB#4556 (HildonNoteType is undocumented)
12 2009-06-15 Alberto Garcia <agarcia@igalia.com>
14 * hildon/hildon-picker-button.c:
15 Explain how HildonPickerButton sets the title of its dialog
17 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
18 the title of its dialog)
20 2009-06-15 Alberto Garcia <agarcia@igalia.com>
22 * hildon/hildon-check-button.c:
25 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
28 2009-06-15 Alberto Garcia <agarcia@igalia.com>
31 * hildon/hildon-edit-toolbar-private.h
32 * hildon/hildon-edit-toolbar.c
33 (+hildon_edit_toolbar_set_progress_indicator)
34 (hildon_edit_toolbar_init): Add progress indicator to the
38 (hildon_gtk_window_set_progress_indicator):
39 If the window contains a HildonEditToolbar, enable the progress
42 * hildon/hildon-private.h
43 * hildon/hildon-private.c
44 (+hildon_private_create_animation)
45 * hildon/hildon-banner.c
46 (-hildon_banner_create_animation):
47 Moved to hildon-private.c
49 Fixes: NB#102373 (Progress indicator also for the Edit mode
52 2009-06-15 Alberto Garcia <agarcia@igalia.com>
54 * hildon/hildon-app-menu-private.h
55 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
56 (hildon_app_menu_add_filter, +menu_item_button_event)
57 (hildon_app_menu_button_release, hildon_app_menu_init):
58 Make sure that buttons receive 'button-release-event' in spite of
59 the grab held by HildonAppMenu
61 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
63 2009-06-15 Alberto Garcia <agarcia@igalia.com>
65 * hildon/hildon-app-menu.c
66 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
67 New style property to set the size of the group of filter buttons.
69 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
71 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
76 * configure.ac: Bump version.
77 * debian/changelog: Updates.
79 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
81 * hildon/hildon-main.c: Minor documentation fixes.
83 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
85 * doc/hildon-sections.txt:
86 * hildon/hildon-defines.h: Document the defines, organize them,
87 and mark deprecations as such.
89 Fixes: MB#4463 (Hildon size #defines are undocumented)
91 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
93 * hildon/hildon-animation-actor.c:
94 * hildon/hildon-app-menu.c:
95 * hildon/hildon-button.c:
96 * hildon/hildon-date-editor.c:
97 * hildon/hildon-dialog.c:
98 * hildon/hildon-edit-toolbar.c:
99 * hildon/hildon-entry.c:
100 * hildon/hildon-program.c:
101 * hildon/hildon-remote-texture.c:
102 * hildon/hildon-stackable-window.c:
103 * hildon/hildon-text-view.c:
104 * hildon/hildon-touch-selector.c:
105 * hildon/hildon-window-stack.c:
106 * hildon/hildon-window.c:
108 Remove redundant "represents" wording from most of the documentation.
110 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
112 2009-06-12 Alberto Garcia <agarcia@igalia.com>
117 * hildon/hildon-banner-private.h
118 * hildon/hildon-banner.c:
119 Move HildonBannerPrivate to hildon-banner.c and remove
120 hildon-banner-private.h
121 Use a bit field to store private booleans.
123 2009-06-12 Alberto Garcia <agarcia@igalia.com>
125 * hildon/hildon-app-menu.c (hildon_app_menu_map):
126 Don't install a new idle function if there's already one
131 2009-06-11 Alberto Garcia <agarcia@igalia.com>
133 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
134 (+legacy_menu_realized, +legacy_menu_unmapped)
135 (+set_legacy_menu_type):
136 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
137 they can be identified by the window manager.
139 Fixes: NB#101437 (Invoking CSM on the left side of page area is
140 displayed in wrong location)
142 Fixes: MB#4563 (Popup menu won't locate at the left side of the
145 2009-06-11 Alberto Garcia <agarcia@igalia.com>
147 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
149 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
152 2009-06-11 Alberto Garcia <agarcia@igalia.com>
154 * hildon/hildon-code-dialog.c
155 * hildon/hildon-date-editor.c
156 * hildon/hildon-number-editor.c
157 * hildon/hildon-seekbar.c
158 * hildon/hildon-stackable-window.c
159 * hildon/hildon-window.c:
160 Misc documentation updates
162 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
164 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
165 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
167 Fixes: NB#117931 (Theming issues in accounts dialogs)
169 2009-06-09 Alejandro G. Castro <alex@igalia.com>
171 * hildon/hildon-pannable-area.c,
172 (hildon_pannable_area_button_release_cb): Changed the coordinates
173 of the original release in case we want to discard the release,
174 some widgets in Fremantle do not handle the leave-notify.
176 2009-06-09 Alejandro G. Castro <alex@igalia.com>
178 * hildon/hildon-pannable-area.c,
179 (hildon_pannable_area_button_release_cb): Reviewed the logic of
180 the release using the last refactored functions and avoiding the
181 movement if an element was selected.
183 2009-06-09 Alejandro G. Castro <alex@igalia.com>
185 * hildon/hildon-pannable-area.c,
186 (hildon_pannable_area_check_move),
187 (hildon_pannable_area_handle_move),
188 (hildon_pannable_area_motion_notify_cb): Refactored the
189 motion_notify method using a couple of new functions.
191 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
193 * hildon/hildon-date-selector.c:
194 (hildon_date_selector_construct_ui):
195 * hildon/hildon-time-selector.c:
196 (hildon_time_selector_constructor):
197 * hildon/hildon-touch-selector-entry.c:
198 (hildon_touch_selector_entry_set_text_column),
199 (hildon_touch_selector_entry_get_text_column):
200 * hildon/hildon-touch-selector.c: (_default_print_func),
201 (hildon_touch_selector_new_text): Use
202 hildon_touch_selector_set/get_text_column() instead of
203 setting/getting the "text-column" property.
205 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
207 * doc/hildon-sections.txt: Add the new public methods below.
209 * examples/hildon-picker-button-multicolumn-example.c:
210 (create_touch_selector):
211 * examples/hildon-touch-selector-example.c: (create_selector):
212 * examples/hildon-touch-selector-multi-cells-example.c:
214 Use hildon_touch_selector_column_set_text_column()
216 * hildon/hildon-touch-selector-column.h:
217 * hildon/hildon-touch-selector.c:
218 (hildon_touch_selector_column_set_text_column),
219 (hildon_touch_selector_column_get_text_column):
220 Make hildon_touch_selector_column_set/get_column() public, use
221 them in the inline example, document them, and reference to them
224 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
226 * hildon/hildon-time-selector.c: Fix the docs for
227 hildon_time_selector_new_step().
229 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
231 * hildon/hildon-touch-selector.c: Improve the documentation for
232 hildon_touch_selector_append_column().
234 Fixes MB#4641 (Documentation:
235 hildon_touch_selector_append_column() ref-counting)
237 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
239 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
240 Comment out test 5, since the hildon_controlbar_set_range() range
241 check is broken and fixing it would have side effects. Also,
242 this finally fixes make distcheck.
244 Fixes: NB#101420 (Update unit tests and fix make distcheck)
246 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
248 * tests/TEST-CASES.txt: Remove other bogus test.
249 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
250 Remove bogus test that was setting/retrieving a valid value.
252 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
254 * tests/TEST-CASES.txt: Remove bogus tests.
255 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
256 Remove three bogus tests that were actually setting valid colors.
258 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
260 * configure.ac: post release version bump
261 * debian/changelog: post release version bump
263 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
268 * configure.ac: Bump version.
269 * debian/changelog: Updates.
271 2009-06-08 Christian Dywan <christian@lanedo.com>
275 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
276 Correct errors in hildon_format_file-size_for_display and use
277 translations from the hildon-fm package instead of osso-filemanager.
279 2009-06-08 Alejandro G. Castro <alex@igalia.com>
281 * hildon/hildon-pannable-area.c,
282 (hildon_pannable_area_init): Initialized new values to handle the
284 (hildon_pannable_area_adjust_value_changed): Check if the values
285 changed before even call the redraw function.
286 (hildon_pannable_area_size_allocate),
287 (hildon_pannable_axis_scroll),
288 (hildon_pannable_area_scroll),
289 (hildon_pannable_area_jump_to): Improved the diagonal movement
292 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
295 2009-06-08 Alberto Garcia <agarcia@igalia.com>
297 * examples/hildon-banner-example.c:
298 Several style updates
299 (on_animation_clicked, on_animation_idle)
300 (on_progress_clicked, on_progress_idle):
301 Add additional reference for the cases when the parent window is
304 2009-06-08 Alberto Garcia <agarcia@igalia.com>
306 * doc/hildon-sections.txt
307 * hildon/hildon-pannable-area.c
308 * hildon/hildon-banner.h
309 * hildon/hildon-banner.c: Documentation updates.
311 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
314 2009-06-05 Alejandro G. Castro <alex@igalia.com>
316 * hildon/hildon-calendar-popup.h:
317 * hildon/hildon-caption.h:
318 * hildon/hildon-code-dialog.h:
319 * hildon/hildon-controlbar.h:
320 * hildon/hildon-date-editor.h:
321 * hildon/hildon-dialog.h:
322 * hildon/hildon-get-password-dialog.h:
323 * hildon/hildon-hvolumebar.h:
324 * hildon/hildon-login-dialog.h:
325 * hildon/hildon-note.h:
326 * hildon/hildon-number-editor.h:
327 * hildon/hildon-range-editor.h:
328 * hildon/hildon-seekbar.h:
329 * hildon/hildon-set-password-dialog.h:
330 * hildon/hildon-sort-dialog.h:
331 * hildon/hildon-time-editor.h:
332 * hildon/hildon-time-picker.h:
333 * hildon/hildon-volumebar-range.h:
334 * hildon/hildon-volumebar.h:
335 * hildon/hildon-vvolumebar.h:
336 * hildon/hildon-weekday-picker.h:
337 * hildon/hildon-window.h:
338 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
339 macros with the current replacements
341 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
343 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
345 * hildon/hildon-color-button.c (hildon_color_button_init): Use
346 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
347 itself, to make it fit better with Fremantle style.
349 Fixes: NB#109878 (height and width of focus on color icon is not
350 consistent with other item in the application tool bar)
352 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
354 * hildon/hildon-touch-selector.c:
355 (hildon_touch_selector_optimal_size_request): use the current requisition
356 as the base, in order to include any possible extra widget, like the
357 hildon entry on HildonTouchSelectorEntry
359 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
361 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
363 * configure.ac: post release version bump
364 * debian/changelog: post release version bump
366 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
371 * configure.ac: Bump version.
372 * debian/changelog: Updates.
374 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
376 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
378 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
379 to ensure the banner contents are centered, instead of relying on
380 the expand and fill properties in GtkHBox.
381 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
383 Fixes: NB#108265 (Animation banner not properly centered)
385 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
387 * hildon/hildon-pannable-area.c
388 (hildon_pannable_area_initial_effect): Remove the initial_effect
389 management, check initial_hint
390 (hildon_pannable_are_expose_event): Remove the initial_hint management,
391 set initial_effect to FALSE
392 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
393 by launching the fade_timeout if the scrollbars state has changed and are
395 * examples/hildon-pannable-area-initial-hint-example.c
396 Modified to allow to remove rows too. Add and remove rows one by one.
398 2009-05-28 Alberto Garcia <agarcia@igalia.com>
400 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
401 Don't close the menu if there's an animation actor below it.
403 Fixes: NB#117927 (Application menu not usable with animation
406 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
408 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
409 "focus-on-click" from the dialog button, to avoid stealing the
410 focus from the entry.
412 Fixes: NB#118903 (Account setup wizard: Text in Search field
413 should be focused when "Region" touch list picker is reopened
416 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
418 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
419 (prepare_action_area): Completely hide the dialog separator.
421 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
423 * hildon/hildon-touch-selector-entry.c
424 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
425 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
426 now that the entry is exposed.
428 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
430 * hildon/hildon-touch-selector-entry.c
431 (hildon_touch_selector_entry_init): Change the entry's size
432 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
434 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
436 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
437 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
438 avoid unnecessary scaling.
440 2009-05-27 Alberto Garcia <agarcia@igalia.com>
442 * hildon/hildon-app-menu.c (hildon_app_menu_map):
443 Create grab transfer window before calling parent's map function.
445 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
446 "crushed" button(s) in the top left corner)
448 2009-05-26 Alberto Garcia <agarcia@igalia.com>
450 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
451 Check if the window is already realized when pushing it.
453 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
455 * configure.ac: post release version bump
456 * debian/changelog: post release version bump
458 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
463 * configure.ac: Bump version.
464 * debian/changelog: Updates.
466 2009-05-25 Alberto Garcia <agarcia@igalia.com>
468 * hildon/hildon-app-menu.c: Doc updates.
470 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
472 * hildon/hildon-banner.c: Remove leftover macro.
474 2009-05-25 Alejandro G. Castro <alex@igalia.com>
476 * hildon/hildon-pannable-area.c,
477 (hildon_pannable_area_scroll_indicator_fade),
478 (hildon_pannable_area_button_release_cb): Reviewed vmin
479 conditions, it could cause problems in the fadeout procedure.
481 2009-05-25 Alejandro G. Castro <alex@igalia.com>
483 * hildon/hildon-pannable-area.c
484 (hildon_pannable_area_button_release_cb): Added a threshold to
485 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
487 2009-05-25 Alejandro G. Castro <alex@igalia.com>
489 * hildon/hildon-pannable-area.c,
490 (hildon_pannable_area_set_property): Added code to sync the gtk
491 dnd threshold with the panning threshold.
493 2009-05-25 Alejandro G. Castro <alex@igalia.com>
495 * hildon/hildon-pannable-area.c,
496 (hildon_pannable_area_class_init): Changed some of the default
497 values, now it should be less responsive and more accurate.
499 2009-05-25 Alejandro G. Castro <alex@igalia.com>
501 * hildon/hildon-pannable-area.c,
502 (hildon_pannable_area_init),
503 (hildon_pannable_area_scroll_indicator_fade),
504 (hildon_pannable_area_button_press_cb),
505 (hildon_pannable_axis_scroll),
506 (hildon_pannable_area_timeout),
507 (hildon_pannable_area_motion_notify_cb),
508 (hildon_pannable_area_button_release_cb): Changed the name of the
509 clicked attribute to button_pressed, it is more clear about its use.
511 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
513 * src/hildon-pannable-area.c
514 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
516 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
517 vertical scrollbar visibility, and use the data on private section instead,
518 remove the initial_hint check
519 (hildon_pannable_area_expose_event): add the initial_hint check here
521 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
523 * src/hildon-pannable-area.c
524 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
525 if the fadeout effect was used
526 (hildon_pannable_area_expose_event): check if it is required to
527 manage the initial effect on the begining of the function. Previously
528 it was made at the end, but this doesn't ensure that the scrollbars
529 will be painted on the first show. Do not set to FALSE initial_effect,
530 to ensure that the initial hint is showed the first time the pannable
532 * examples/Makefile.am
533 * examples/hildon-pannable-area-initial-hint-example.c:
534 New example, to show that the initial-hint is showed when the widget
537 Fixes: NB#116607 (Pannable area should always have scrollbar visible
538 initially if the application can be scrolled)
540 2009-05-25 Alberto Garcia <agarcia@igalia.com>
542 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
543 Resize table before adding new items to make sure that
544 gtk_table_resize() is called just once.
546 2009-05-25 Alberto Garcia <agarcia@igalia.com>
548 * hildon/hildon-app-menu-private.h
549 * hildon/hildon-app-menu.c (item_visibility_changed)
550 (filter_visibility_changed, hildon_app_menu_show_all)
551 (hildon_app_menu_hide_all, hildon_app_menu_init):
552 Rearrange items just once when gtk_widget_show_all()/hide_all()
555 2009-05-25 Alberto Garcia <agarcia@igalia.com>
557 * hildon/hildon-app-menu.c
558 (hildon_app_menu_insert, hildon_app_menu_add_filter):
559 Don't call gtk_widget_show() on added items.
561 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
562 automatically when they're added)
564 2009-05-20 Alberto Garcia <agarcia@igalia.com>
566 * hildon/hildon-banner.c
567 (hildon_banner_realize, +hildon_banner_unrealize)
568 (+screen_size_changed, hildon_banner_class_init):
569 Redisplay the banner if the screen is rotated.
571 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
572 on transition from landscape to portrait)
574 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
576 * hildon/hildon-banner.[ch]:
577 (hildon_banner_show_information_override_dnd): remove icon_name from the
578 method definition as it is ignored.
579 * examples/hildon-banner-dnd-example.c: updated with the change on
582 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
584 * hildon/hildon-banner-private.h: new require_override_dnd and
585 overrides_dnd variables
586 * hildon/hildon-banner.h:
587 (hildon_banner_show_information_override_dnd): new method, that shows
588 the information but sets the override flag, in order to show important
590 * hildon/hildon-banner.c
591 (hildon_banner_show_information_override_dnd): new method
592 (hildon_banner_set_override_flag): new utility function
593 (hildon_banner_real_show_information): new utility function, in order to
594 generalize the current hildon_banner_show_information_override_dnd and
595 hildon_banner_show_information_override_dnd
596 * examples/Makefile.am
597 * examples/hildon-banner-dnd-example.c: New example that show how to
598 use the new hildon_banner_show_information_override_dnd
600 Fixes: NB#114874 (There is no possibility to show hildon banners with
603 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
605 * hildon/hildon-pannable-area.c: Add a comment explaining the math
606 behind hildon_pannable_calculate_vel_factor().
608 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
610 * hildon/hildon-pannable-area.c
611 (hildon_pannable_calculate_vel_factor): Correct the sum of the
612 deceleration factors.
614 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
616 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
617 Reduce the default value for 'scroll_time' to 1 second, since the
618 current initial scrolling takes too much time.
620 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
622 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
623 calculate velocity factor during initialization, since the properties
626 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
628 * hildon/hildon-pannable-area.c
629 (hildon_pannable_area_set_property): Calculate the velocity factor
630 after setting the deceleration property and not after.
632 2009-05-20 Alberto Garcia <agarcia@igalia.com>
634 * hildon/hildon-entry.c
635 (hildon_entry_class_init, +set_property, hildon_entry_new)
636 * hildon/hildon-check-button.c
637 (hildon_check_button_class_init)
638 (+set_property, hildon_check_button_new):
639 Make the theme size a property.
641 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
642 others) do too much in the _new function)
644 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
646 * configure.ac: post release version bump
647 * debian/changelog: post release version bump
649 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
654 * configure.ac: Bump version.
655 * debian/changelog: Updates.
657 2009-05-15 Alberto Garcia <agarcia@igalia.com>
659 * hildon/hildon-gtk.h
660 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
661 New API function to take a screenshot of a window
663 Fixes: NB#106374 (Need API to take a loading screenshot)
665 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
667 * hildon/hildon-time-selector.c
668 (update_format_policy): prevent to use hours and minutes unitialized
670 2009-05-15 Alberto Garcia <agarcia@igalia.com>
672 * hildon/hildon-window.c (hildon_window_size_request):
673 Always request the full size of the screen (minus the title bar if
674 not in fullscreen mode).
676 Fixes: NB#107486 (HildonWindow should size itself properly)
678 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
680 * hildon/hildon-note-private.h: Add idle_handler to the private data.
681 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
682 (on_show_cb), (sound_handling): Disconnect the idle handler for
683 the sound when the note is finalized to avoid possible crashes.
685 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
688 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
690 * src/hildon-animation-actor.c,
691 * src/hildon-remote-texture.c:
692 Added proper object cleanup to remove signal handler and object
693 references as HildonAnimationActor and HildonRemoteTexture
694 objects get destroyed.
696 Fixes: NB#116682 (Destroying parented animation actors when
697 parent in unmapped leads to crash)
699 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
701 Based on a patch by Christian Dywan (christian@imendio.com)
703 * doc/hildon-sections.txt:
704 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
705 * hildon/hildon-helper.h: New file size formatting method.
707 * debian/control: Depend on osso-filemanager l10n package for
708 proper localization strings.
710 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
712 * tests/Makefile.am: Include top_srcdir to make possible to build
713 tests in a different builddir.
714 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
715 on a different builddir.
717 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
719 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
720 (hildon_touch_selector_remove): Disconnect model's signal handler
723 Fixes: NB#116289 (Hildon home crashes while adding task
726 2009-05-11 Alberto Garcia <agarcia@igalia.com>
728 * hildon/hildon-button.c
729 (hildon_button_set_title, hildon_button_set_value):
730 Hide labels containing an empty string.
732 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
734 * configure.ac: post release version bump
735 * debian/changelog: post release version bump
737 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
742 * configure.ac: Bump version.
743 * debian/changelog: Updates.
745 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
747 * hildon/hildon-note-private.h: Removed sound_signal_handler
748 * hildon/hildon-note.c
749 (on_show_cb): new callback on note "show" event, this simply adds
750 a idle, with the function sound_handling
751 (sound_handling): removed the sound_signal_handler management
752 (hildon_note_init): connect note "show" event to on_show_cb
753 (hildon_note_realize): remove the connection to "expose-event"
755 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
756 device?' confirmation note)
758 2009-05-08 Alberto Garcia <agarcia@igalia.com>
760 * hildon/hildon-note.c
761 (hildon_note_new_information_with_icon_name)
762 (hildon_note_new_confirmation_with_icon_name):
763 Terminate the list of parameters in g_object_set() calls
765 Fixes: NB#115166 (Formatting memory card is not taking place)
767 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
769 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
770 "dialog-information" role for the sound being played.
772 2009-05-06 Alberto Garcia <agarcia@igalia.com>
774 * hildon/hildon-app-menu.c (hildon_app_menu_init):
775 Don't make the menu a modal window, it causes strange interactions
776 with the pointer grab and it's not really needed.
778 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
780 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
782 * hildon/hildon-touch-selector.[ch]
783 (hildon_touch_selector_optimal_size_request): function added to get a
784 optimal size request from the touch selector, when you want a dialog to
785 show as much of the selector
786 * hildon/hildon-picker-dialog.c:
787 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
788 (hildon_app_menu_class_init):
789 New "max-height-landscape" and "max-height-portrait" style properties
790 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
791 (hildon_picker_dialog_get_max_height): returns the maximum height using
792 the style properties defined and checking the current portrait/landscape
794 (_hildon_picker_dialog_set_selector): removed the set_size_request
796 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
798 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
800 * hildon/hildon-bread-crumb-trail.c:
801 * hildon/hildon-bread-crumb.c:
802 * hildon/hildon-seekbar.c:
803 Add reference to replacements for these deprecated widgets.
805 Fixes: MB#4461 (Documentation: All deprecations should mention
808 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
810 * examples/hildon-remote-texture-example.c
812 Change the include to the hildon-remote-texture in order to compile
813 properly the examples on the installed libhildon1-examples package
815 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
817 * tests/Makefile.am: Add check for HildonPickerButton.
818 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
819 (START_TEST), (create_hildon_picker_button_suite): Add three simple
820 checks for the HildonPickerButton.
821 * tests/check_test.c (configure_tests): Add the test suite.
822 * tests/test_suites.h: likewise.
824 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
826 * hildon/hildon-touch-selector.c
827 (+on_row_changed): Emit HildonTouchSelector:changed when the
828 contents of a selected row change.
829 (_create_new_column), (_hildon_touch_selector_set_model): connect
830 to GtkTreeModel:row-changed on a newly set model.
832 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
834 2009-05-05 Alberto Garcia <agarcia@igalia.com>
836 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
838 * hildon/hildon-banner.c (hildon_banner_destroy)
839 (hildon_banner_show_progress, hildon_banner_set_fraction):
840 Remove the progress bar from HildonBanner and use a progress
843 Fixes: NB#113761 (Update progress banner to use progress
846 2009-05-04 Alberto Garcia <agarcia@igalia.com>
848 * hildon/hildon-banner.c:
849 Calculate size of the banner label using the actual screen width
850 rather than using a fixed value.
852 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
855 2009-05-04 Alejandro G. Castro <alex@igalia.com>
857 * hildon/hildon-pannable-area.c,
858 (hildon_pannable_area_class_init): Fixed signals documentation
861 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
863 * configure.ac: post release version bump
864 * debian/changelog: post release version bump
866 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
871 * configure.ac: Bump version.
872 * debian/changelog: Updates.
874 2009-05-01 Alberto Garcia <agarcia@igalia.com>
876 * hildon/hildon-edit-toolbar.c
877 (hildon_edit_toolbar_init):
878 Don't let buttons in HildonEditToolbar receive focus.
880 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
881 typing on an HW arrows key)
883 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
885 * doc/Makefile.am: Fix build.
887 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
889 * doc/Makefile.am: Do not redefine content_files.
891 2009-04-30 Alberto Garcia <agarcia@igalia.com>
899 Renamed src/ to hildon/
904 Include <hildon/hildon.h> directly in all examples.
906 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
908 * src/hildon-sort-dialog.c
909 (hildon_sort_dialog_add_sort_key_with_sorting)
913 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
915 * src/Makefile.am: Move generated sources to CLEANFILES, so that
916 make distcheck passes.
918 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
920 * Makefile.am: Enable gtk-doc during distcheck.
922 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
924 * Makefile.am: Do not distribute the debian/ directory.
926 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
928 * doc/Makefile.am: Add the extra SGML files to content_files,
929 so that they are distributed properly.
931 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
933 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
936 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
938 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
939 (hildon_note_new_information_with_icon_name): Set the "icon" property
940 to preserve soundness.
942 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
944 * src/hildon-font-selection-dialog.c
945 (hildon_font_selection_dialog_set_property): Fail when the "family"
946 property is set to NULL.
948 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
950 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
953 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
955 * src/hildon-time-selector.h:
956 Added HildonTimeSelectorFormatPolicy
957 * src/hildon-time-selector.c:
958 Added PROP_TIME_FORMAT_POLICY
959 (_check_ampm_format): renamed to check_automatic_ampm_format
960 (update_format_policy), (update_format_dependant_columns): new functions
961 (hildon_time_selector_class_init)
962 (hildon_time_selector_contructor)
963 (hildon_time_selector_init)
964 (hildon_time_selector_get_property)
965 (hildon_time_selector_set_property)
966 (hildon_time_selector_get_time)
967 (hildon_time_selector_set_time)
968 * src/hildon-touch-selector.h: new file
969 * src/hildon-touch-selector.c
970 (hildon_touch_selector_emit_changed)
971 (hildon_touch_selector_block_changed)
972 (hildon_touch_selector_unblock_changed)
973 Added functions to allow to block the emission of the "changed" signal
974 * src/hildon-picker-dialog.c
975 (hildon_picker_dialog_show): call the parent show before the custom code
976 * examples/hildon-time-button-example.c
977 Modified, so now you can configure the time format using the new property
979 Added a new property "time-format-policy" that allow to choose the time
980 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
981 case it uses gconf in order to check if the time selector must use
984 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
987 2009-04-28 Alberto Garcia <agarcia@igalia.com>
989 * src/hildon-note.c (hildon_note_init):
990 Label in HildonNote must be left aligned, not centered. This
991 reverts the last commit in HildonNote.
993 Fixes: NB#112933 (text is not left aligned in confirmation dialog
994 is connectivity dialog)
996 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1001 * doc/hildon-sections.txt:
1002 Added hildon_gtk_window_set_do_not_disturb()
1004 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1006 * src/hildon-note.c (hildon_note_init): Center label.
1008 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1011 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1016 * configure.ac: Bump version.
1017 * debian/changelog: Updates.
1019 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1021 * src/hildon-note-private.h: Add button-width to the private data.
1022 * src/hildon-note.c (+resize_button),
1023 (+hildon_note_orientation_update): methods to repack widgets on orientation
1025 (screen_size_changed): Call above method for confirmation notes.
1026 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1027 (hildon_note_rebuild): Store the original width request from buttons.
1029 Fixes: NB#109635 (Confirmation notes do not support portrait)
1031 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1033 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1034 when it is a progress note.
1036 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1038 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1039 in the note, since there are no horizontally arranged contents.
1041 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1043 * src/hildon-gtk.c (+set_flag): new generic method to
1044 set/delay a flag setting in a window.
1045 (hildon_gtk_window_set_progress_indicator):
1046 (hildon_gtk_window_set_do_not_disturb),
1047 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1048 avoid code redundance.
1050 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1052 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1054 * src/hildon-gtk.c (set_clear_window_flag),
1055 (do_set_progress_indicator), (do_set_do_not_disturb),
1056 (do_set_portrait_flags),
1057 (hildon_gtk_window_set_progress_indicator),
1058 (hildon_gtk_window_set_do_not_disturb),
1059 (hildon_gtk_window_set_portrait_flags):
1060 Allow setting dnd-flag, progress indicator, and portrait flags
1061 when the window is not realized.
1063 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1065 * src/hildon-pannable-area.c,
1066 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1067 the size request policy function and defines.
1069 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1071 * doc/hildon-sections.txt: Add the new API.
1072 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1073 method to set the portrait flags.
1074 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1076 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1078 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1080 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1081 to allow using this method with other flags.
1082 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1083 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1085 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1087 * src/hildon-touch-selector.c
1088 (hildon_touch_selector_append_text_column):
1089 Make the cell renderer use the smallest width possible.
1091 Fixes: NB#108470 (Selected items in multiple selection are either
1092 having a tick that is cut or not visible at all.)
1094 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1096 * src/hildon-touch-selector.c
1097 (hildon_touch_selector_append_text_column):
1100 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1102 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1103 Use g_strdup_printf() instead of a fixed size buffer.
1105 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1107 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1108 Close banners when a HildonAppMenu is popped up.
1110 Fixes: NB#111027 (Title menu closed immediately if activated when
1111 "Invalid e-mail address" banner is shown)
1113 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1118 * configure.ac: Bump version.
1119 * debian/changelog: Updates.
1121 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1123 * src/hildon-banner.c (hildon_banner_realize):
1124 Mark HildonBanner as supporting portrait mode.
1125 Use GDK to set window properties insetad of direct Xlib calls.
1127 Fixes: NB#111830 (HildonBanner should be marked as supporting
1130 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1132 * src/hildon-note.c (hildon_note_rebuild):
1133 Hide action area in information notes. Prevents text from being
1134 slightly aligned to the left.
1136 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1139 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1141 Patch by Mox Soini (ext-mox.soini@nokia.com)
1143 * src/hildon-banner.c (hildon_banner_create_animation):
1144 Use stylus-sized icons in animation banner.
1146 Fixes: NB#111206 (stylus sized icon for animation banner)
1148 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1152 (+hildon_gtk_window_set_do_not_disturb):
1153 New API to set the do-not-disturb flag.
1155 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1157 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1159 * examples/hildon-progress-indicator-example.c: Fix example
1161 * src/hildon-gtk.c (set_clear_window_flag)
1162 (hildon_gtk_window_set_progress_indicator):
1163 Create a generic function for setting flags to a window.
1164 Use GDK instead of direct Xlib calls.
1166 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1168 * src/hildon-button.c (hildon_button_set_arrangement):
1169 Due to NB#88126, if one of the labels is too long it will be
1170 painted outside the button. The 'value' label is more likely to be
1171 the longest one, so we change its packing options in order to
1172 truncate it if necessary. As a side effect, the 'title' label will
1173 no longer be truncated.
1175 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1177 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1182 * configure.ac: Bump version.
1183 * debian/changelog: Updates.
1185 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1187 Deprecation of the hildon_pannable_area_set_size_request_policy
1188 API, the only policy properly supported in gtk+ nowadays is the
1191 * src/hildon-pannable-area.c,
1192 (hildon_pannable_area_size_request): Added a workaround for the
1193 size_request to avoid the problems of huge pixmaps in case someone
1194 is still using the function.
1195 * src/hildon-pannable-area.h: Deprecated the enum with the
1198 Fixes: NB#110244 (Problems with the
1199 hildon_pannable_area_set_size_request_policy API)
1201 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1203 * src/hildon-pannable-area.c,
1204 (hildon_pannable_area_init),
1205 (hildon_pannable_area_size_request),
1206 (hildon_pannable_area_style_set),
1207 (hildon_pannable_draw_vscroll),
1208 (hildon_pannable_draw_hscroll),
1209 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1210 indicator_width to clarify the use of the attribute.
1212 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1217 * configure.ac: Bump version.
1218 * debian/changelog: Updates.
1220 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1222 * src/hildon-picker-dialog.c
1223 * src/hildon-touch-selector.c
1224 Reverting the change that tried to avoid the hardcoded height on
1225 the picker dialog, as causes problems on the hildon-touch-selector
1228 Fixes: NB#110029 (selectors not scrolling to selected value)
1230 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1232 * src/hildon-touch-selector.c: Fix typos
1234 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1236 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1237 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1238 request more motions after using it.
1240 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1242 * src/hildon-calendar.c (hildon_calendar_expose),
1243 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1244 Remove unused variables.
1246 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1248 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1249 variable assignment.
1251 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1253 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1254 Check the return value of gtk_tree_selection_get_selected()
1257 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1259 * src/hildon-animation-actor.c
1260 * src/hildon-button.c
1262 * src/hildon-pannable-area.c
1263 * src/hildon-picker-button.c
1264 * src/hildon-program.c
1265 * src/hildon-remote-texture.c
1266 * src/hildon-text-view.c
1267 * src/hildon-touch-selector.c
1268 * src/hildon-window-stack.c
1269 * src/hildon-window.c:
1270 Add missing 'Since: 2.2' tags.
1272 * doc/hildon-sections.txt:
1273 Add some missing symbols.
1275 * doc/hildon-docs.sgml:
1276 New 'Other' section for HildonAnimationActor and
1279 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1281 Patch by Iván Gómez (igomez@igalia.com)
1284 * doc/compiling.sgml
1285 * doc/hildon-docs.sgml
1286 * doc/hildon-sections.txt
1287 * doc/migration.sgml
1288 * doc/resources.sgml
1290 New chapters on using the Hildon library.
1291 Updated the general structure of the reference manual.
1292 Other minor documentation fixes.
1294 * src/hildon-calendar-popup.c
1295 * src/hildon-calendar.c
1296 * src/hildon-controlbar.c
1297 * src/hildon-date-editor.c
1298 * src/hildon-dialog.c
1299 * src/hildon-hvolumebar.c
1300 * src/hildon-number-editor.c
1301 * src/hildon-range-editor.c
1302 * src/hildon-sort-dialog.c
1303 * src/hildon-time-editor.c
1304 * src/hildon-time-picker.c
1305 * src/hildon-volumebar-range.c
1306 * src/hildon-volumebar.c
1307 * src/hildon-vvolumebar.c
1308 * src/hildon-weekday-picker.c:
1309 Add deprecation notes
1311 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1312 Document 'horizontal-movement' and 'vertical-movement' signals.
1314 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1319 * configure.ac: Bump version.
1320 * debian/changelog: Updates.
1322 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1324 * src/hildon-pannable-area.c,
1325 (hildon_pannable_area_class_init): increased the minimum velocity.
1326 (hildon_pannable_area_button_release_cb): Updated the
1327 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1328 setup. Review the code to control that last event.
1330 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1333 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1335 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1337 * src/hildon-get-password-dialog.c
1338 (hildon_get_password_set_property),
1339 (hildon_get_password_get_property), (create_contents):
1340 * src/hildon-login-dialog-private.h:
1341 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1342 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1343 (hildon_login_dialog_get_password):
1344 * src/hildon-set-password-dialog-private.h:
1345 * src/hildon-set-password-dialog.c
1346 (hildon_set_password_set_property),
1347 (hildon_set_password_get_property), (create_contents),
1348 (hildon_set_password_response_change),
1349 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1351 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1352 instead and look more Fremantle style.
1354 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1356 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1358 * doc/hildon-sections.txt
1359 * src/hildon-window-stack.h
1360 * src/hildon-window-stack.c
1361 (+hildon_window_stack_get_windows):
1362 New API to obtain the list of windows on a stack.
1364 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1366 * src/hildon-app-menu.c (hildon_app_menu_popup)
1367 (hildon_app_menu_class_init, -hildon_app_menu_show):
1368 Remove hildon_app_menu_show() and move all its checks to
1369 hildon_app_menu_popup()
1371 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1373 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1374 (_hildon_picker_dialog_set_selector): removed call to
1375 gtk_widget_set_size_request
1376 * src/hildon-touch-selector.c
1377 (_create_new_column): change the pannable size request policy
1379 Avoid to use a hardcoded height for the hildon picker dialog. In order
1380 to get that, we needed to change the hildon pannable size request
1382 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1384 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1386 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1387 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1390 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1392 * debian/control: Depend on osso-system-lock localization package.
1393 * src/hildon-code-dialog.c: Obtain the secu_application_title
1394 translation from osso-system-lock.
1395 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1396 for translation the atk related strings, that's not necessary.
1397 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1398 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1399 cancel button, it is not required.
1401 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1403 * src/hildon-pannable-area.c,
1404 (hildon_pannable_area_class_init): Modified the default value of
1405 the overshooting max speed, we have reduced it.
1407 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1409 * doc/hildon-sections.txt
1410 * src/hildon-window-private.h
1411 * src/hildon-window.h
1412 * src/hildon-window.c (hildon_window_class_init)
1413 (hildon_window_init, hildon_window_finalize)
1414 (hildon_window_realize, hildon_window_get_property)
1415 (hildon_window_set_property, hildon_window_update_markup)
1416 (hildon_window_get_markup, hildon_window_set_markup):
1417 New "markup" property and hildon_window_{get,set}_markup() methods.
1419 * examples/hildon-stackable-window-example.c (new_window):
1420 Update example to use hildon_window_set_markup()
1422 Fixes: NB#106375 (Need API to retitle a window with a title
1425 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1427 * src/hildon-pannable-area.c,
1428 (hildon_pannable_area_class_init): Changed the default value of
1429 the initial_hint to TRUE.
1430 (hildon_pannable_area_initial_effect): Changed the initial effect,
1431 not the effect is just the fade-out of the scrollbars.
1433 Fixes: NB#107775 (No scrollbars can be seen when several items are
1434 available in a dialog)
1436 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1438 * src/hildon-program.c (hildon_program_update_top_most):
1441 Fixes: NB#109179 (Memory leak in Hildon program)
1443 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1445 * src/hildon-banner.c (-get_current_app_window):
1446 Remove unused function.
1448 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1450 * src/hildon-pannable-area.c: Modified the documentation of the
1451 get adjustments functions to explain the problem of using the
1452 adjustment directly.
1453 (hildon_pannable_area_class_init): Improved the explanation about
1456 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1458 * src/hildon-app-menu-private.h
1459 * src/hildon-app-menu.c
1460 (hildon_app_menu_class_init):
1461 Bring back the 'external-border' style property
1462 (hildon_app_menu_class_init, hildon_app_menu_init)
1463 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1464 Set a fixed width-request for the menu, independent of the number
1467 Fixes: NB#94957 (Smoothly opened application menu)
1469 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1471 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1473 * src/hildon-banner.c
1474 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1476 Make sure that the banner is correctly placed the first time it's
1478 (hildon_banner_check_position, -check_fullscreen_state):
1479 Show the banner in the same place no matter if the window is in
1480 fullscreen mode or not.
1482 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1484 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1486 * src/hildon-touch-selector.c (_default_print_func): reorder
1487 concatenation for clarity.
1489 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1491 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1492 for multicolumn selectors.
1494 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1496 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1501 * configure.ac: Bump version.
1502 * debian/changelog: Updates.
1504 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1506 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1509 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1511 * configure.ac: removed libcangerra-gtk dependency
1512 * debian/control: removed libcanberra-gtk dependency
1513 * src/Makefile.am: removed libcanberra gtk related flags
1514 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1515 context, and manage a global canberra context instead
1517 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1519 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1521 Patch by Daniel Borgmann (danielb@openismus.com)
1523 * src/hildon-edit-toolbar.c:
1524 Adjust the left padding.
1525 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1526 Paint background of the edit toolbar.
1528 Fixes: NB#107897 (Patch to make editmodetoolbar background
1529 themeable and adjust margin)
1531 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1533 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1535 * src/hildon-program.c (hildon_program_update_top_most):
1536 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1538 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1539 change when the user tasks in/out of an application)
1541 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1543 * configure.ac: added libcangerra-gtk dependency
1544 * debian/control: added libcanberra-gtk dependency
1545 * src/Makefile.am: added libcanberra gtk related flags
1546 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1549 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1551 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1553 * src/hildon-program.c (hildon_program_remove_window)
1554 (hildon_program_add_window): Add checks for the window
1555 parameter. Don't decrease the window counter if the window is not
1558 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1560 * src/hildon-pannable-area.c,
1561 (hildon_pannable_area_realize): Fixed position of the event_window
1562 in the realize method.
1564 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1566 * src/hildon-app-menu-private.h
1567 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1568 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1569 (hildon_app_menu_key_press, hildon_app_menu_init)
1570 (hildon_app_menu_finalize):
1571 Make sure that all idle functions are removed when the widget is
1574 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1576 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1581 * configure.ac: Bump version.
1582 * debian/changelog: Updates.
1584 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1586 * src/hildon-entry.c
1587 (+hildon_entry_show_placeholder),
1588 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1589 that replace hildon_entry_update_contents().
1590 (hildon_entry_set_text),
1591 (hildon_entry_set_placeholder),
1592 (hildon_entry_focus_in_event),
1593 (hildon_entry_focus_out_event): Determine when it is needed
1594 either to show or hide the placeholder and call the above methods.
1596 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1597 when the placeholder text is already set)
1599 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1601 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1602 simple GdkPixbufAnim using the new icons for the banner.
1603 (hildon_banner_show_animation): Use the above mentioned method to
1604 create the animation widget.
1606 Fixes: NB#103564 (Make hildon animation banner use individual
1607 image files as the animation)
1609 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1611 * src/hildon-pannable-area.c,
1612 (hildon_pannable_leave_notify_event): Check if the child is NULL
1613 to avoid sending the leave.
1615 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1617 * src/hildon-pannable-area.c,
1618 (hildon_pannable_area_class_init),
1619 (hildon_pannable_leave_notify_event): Added a handler of the
1620 leave-notify-signal to consider when no motion notify before
1623 Fixes: NB#107494 (Items stay selected when clicking and moving
1624 away when inside pannable area)
1626 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1631 * configure.ac: Bump version.
1632 * debian/changelog: Updates.
1634 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1636 Patch by Alberto Garcia (agarcia@igalia.com)
1638 * src/hildon-date-button.c,
1639 (hildon_date_button_class_init),
1640 (hildon_date_button_init): Removed the construct property handling
1641 and created a default selector in the init method.
1642 * src/hildon-picker-button.c,
1643 (hildon_picker_button_class_init): Removed the construct flag of the
1646 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1648 * src/hildon-main.c (hildon_init):
1649 Don't allow hildon_init() to be called more than once.
1651 Fixes: NB#106607 (hildon_init should issue error message upon
1654 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1656 * examples/hildon-pannable-area-touch-list-example.c
1657 * examples/hildon-pannagle-area-touch-grid-example.c
1658 * examples/hildon-edit-toolbar-example.c
1659 * examples/hildon-touch-selector-multi-cells-example.c
1660 Removed the call to gtk_rc_parse_string, as it is not required since
1663 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1665 * src/hildon-pannable-area.c,
1666 (hildon_pannable_area_class_init): Modified the default panning
1667 threshold of the widget to 6px.
1669 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1670 than the threshold value ) within the button is not sending the
1673 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1675 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1676 for the treeview in the new column. This way, the touch list will never
1679 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1680 be selected manually for the HW keys to work)
1682 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1684 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1685 comparison instead of using strcmp(). Fixes a compiler warning as well.
1687 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1689 * doc/hildon-docs.sgml: Do not set the library version in the
1690 document title, use the releaseinfo tag for that purpose instead.
1692 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1694 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1695 Do not jump to the first item if the text in the entry is removed.
1697 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1702 * configure.ac: Bump version.
1703 * debian/changelog: Updates.
1705 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1707 * src/hildon-entry.c (hildon_entry_refresh_contents):
1708 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1709 Use "ReversedSecondaryTextColor" for the placeholder text.
1711 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1713 * src/hildon-text-view.c: Fix compilation warning.
1715 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1717 * src/hildon-button.c (hildon_button_class_init): Don't make
1718 "title" and "value" construction properties, to prevent them from
1719 overwriting labels set from derived classes.
1721 * src/hildon-picker-button.c
1722 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1723 (hildon_picker_button_class_init): Make touch-selector a
1724 construction property.
1726 * src/hildon-date-button.c (hildon_date_button_class_init)
1727 (+hildon_date_button_constructed): Add a default date selector if
1730 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1732 * src/hildon-touch-selector.c: Small documentation fixes.
1734 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1736 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1738 * src/hildon-entry.c (hildon_entry_refresh_contents),
1739 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1740 widget name, set the logical color directly instead and a boolean
1741 showing_placeholder instead.
1742 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1743 use the widget name here either.
1745 Fixes: NB#105678 (HildonTextView should use logical colours
1746 instead of setting widget name)
1748 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1750 Patch by Daniel Elster (danielk@openismus.com)
1752 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1753 Add user_data parameter.
1754 (hildon_touch_selector_set_print_func_full): New function akin
1755 hildon_touch_selector_set_print_func() but with support for user
1756 data and a destroy callback.
1757 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1758 to clean up the print function user data.
1759 (hildon_touch_selector_class_init): Install dispose function.
1760 (HildonTouchSelectorPrivate::print_user_data),
1761 (HildonTouchSelectorPrivate::print_destroy_func): New private
1763 (hildon_touch_selector_init): Initialize new private members.
1764 (hildon_touch_selector_get_current_text): Pass along user data
1765 to the print function.
1766 (_default_print_func): Add dummy user_data to parameter list.
1767 * hildon-date-selector.c (_custom_print_func): ditto,
1768 * hildon-time-selector.c (_custom_print_func): ditto,
1769 * hildon-touch-selector-entry.c
1770 (hildon_touch_selector_entry_print_func): ditto.
1772 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1774 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1776 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1778 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1780 * src/hildon-pannable-area.c,
1781 (hildon_pannable_area_init),
1782 (hildon_pannable_area_button_press_cb),
1783 (hildon_pannable_area_motion_notify_cb): We have added code to
1784 handle the leave and enter events when using the motion events.
1786 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1788 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1790 * src/hildon-date-button.c (hildon_date_button_get_date)
1791 (hildon_date_button_set_date): Make sure that the button has a
1794 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1796 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1798 * src/hildon-pannable-area.c,
1799 (hildon_pannable_area_class_init),
1800 (hildon_pannable_area_calculate_velocity): Modify the use of the
1801 force and adapt the value.
1803 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1805 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1806 (hildon_app_menu_class_init): Hide the menu if it receives a
1807 delete-event, but don't destroy it
1809 Fixes: NB#104485 (Not able to address the call when application
1810 menu is opened at background)
1812 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1814 * src/hildon-app-menu.c
1815 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1816 Remove the "external-border" style property, let the menu take its
1817 natural size (or the one set by the window manager)
1818 (hildon_app_menu_repack_items):
1819 Don't reshow the menu, avoid flickers.
1821 Partially fixes NB#94957 (Smoothly opened application menu)
1823 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1828 * configure.ac: Bump version.
1829 * debian/changelog: Updates.
1831 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1833 * src/hildon-pannable-area.c,
1834 (hildon_pannable_area_motion_notify_cb): We control that the
1835 direction error margin is used just in case the movement is
1836 allowed in the other direction.
1838 Fixes: NB#105012 (buttons inside a pannable area not getting
1839 release event when dragging/releasing)
1841 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1843 * src/hildon-pannable-area.c,
1844 (hildon_pannable_area_class_init),
1845 (hildon_pannable_area_get_property),
1846 (hildon_pannable_area_set_property),
1847 (hildon_pannable_area_initial_effect),
1848 (hildon_pannable_axis_scroll),
1849 (hildon_pannable_area_button_release_cb): Reviewed the
1850 overshooting effect, now it has its own max
1851 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1852 speed when bouncing.
1854 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1859 * configure.ac: Bump version.
1860 * debian/changelog: Updates.
1862 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1864 * src/hildon-pannable-area.c,
1865 (hildon_pannable_area_class_init): Changed the max speed, now
1866 users can launch the widget very fast. Reduced the default force,
1867 that way it is easier to control the launch speed.
1869 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1871 * src/hildon-pannable-area.c,
1872 (hildon_pannable_area_button_release_cb): Removed this check
1873 because it causes problems when the device is overloaded.
1875 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1877 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1878 add a current_text field to store the text entered in the
1879 touch selector entry.
1880 (_clean_current_selection): clean up the current text as well.
1881 (_save_current_selection), (_restore_current_selection):
1882 Save/restore the text in the entry if the selector is a
1883 HildonTouchSelectorEntry.
1885 Fixes: NB#102541 (value entered in the touch selector entry is not
1886 shown when opened for second time)
1888 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1890 * doc/hildon-sections.txt:
1891 * src/hildon-touch-selector-entry.c
1892 (+hildon_touch_selector_entry_get_entry):
1893 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1895 Fixes: NB#104815 (I need accessor to the entry inside
1896 HildonTouchSelectorEntry)
1898 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1900 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1901 (hildon_app_menu_class_init):
1902 New "filter-vertical-spacing" style property.
1904 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1906 * src/hildon-find-toolbar.c
1907 (hildon_find_toolbar_emit_close)
1908 (hildon_find_toolbar_emit_invalid_input)
1909 (hildon_find_toolbar_entry_activate):
1910 Use g_signal_emit() instead of g_signal_emit_by_name()
1912 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1914 Patch by Mox Soini (ext-mox.soini@nokia.com)
1916 * tests/TEST-CASES.txt
1917 * tests/check-hildon-banner.c
1918 * tests/check-hildon-note.c
1919 * src/hildon-banner.c
1920 * src/hildon-code-dialog.c
1921 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1922 * src/hildon-time-editor.c
1923 * examples/hildon-lookup-example.c (main):
1924 Replace obsolete icon names with new ones.
1926 * src/hildon-find-toolbar-private.h:
1927 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1928 (-hildon_find_toolbar_emit_search):
1929 Remove find button and change icon of close button.
1931 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1933 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1935 * src/hildon-time-button.c (hildon_time_button_new_step):
1936 Use the "touch-selector" property to set the selector directly
1937 when creating the object.
1939 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1941 Added a new example application that allows tuning the pannable
1942 area and replaced defines with properties in order to simplify the
1943 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1944 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1945 PROP_DIRECTION_ERROR_MARGIN.
1947 * examples/hildon-pannable-area-tuning-example.c: New example
1949 * src/hildon-pannable-area.c,
1950 (hildon_pannable_area_class_init),
1951 (hildon_pannable_area_init),
1952 (hildon_pannable_area_get_property),
1953 (hildon_pannable_area_set_property),
1954 (hildon_pannable_area_launch_fade_timeout),
1955 (hildon_pannable_area_adjust_value_changed),
1956 (hildon_pannable_axis_scroll),
1957 (hildon_pannable_area_motion_notify_cb),
1958 (hildon_pannable_area_scroll_cb),
1959 (hildon_pannable_area_button_release_cb): We have converted some
1960 of the defines that control the widget to properties to simplify
1963 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1965 * src/hildon-app-menu.c (hildon_app_menu_map)
1966 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1967 so it's closed if a new window appears.
1969 Fixes: NB#104485 (Not able to address the call when application
1970 menu is opened at background)
1972 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1974 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1975 missing 'break' statement in in 'case' construct to avoid
1978 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1980 * src/hildon-touch-selector-entry.c
1981 (hildon_touch_selector_entry_get_property),
1982 (hildon_touch_selector_entry_set_property): Add missing 'break'
1983 statements in in 'case' constructs to avoid incorrect warnings.
1985 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1987 * src/hildon-time-editor.c
1988 (hildon_time_editor_get_time_separators): Do not crash if
1989 the first label is NULL.
1991 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1993 * src/hildon-date-selector.c (_month_days): Check for month to be
1994 strictly less than 12, since otherwise we may overrun the array.
1996 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1998 * src/hildon-date-button.c (+hildon_date_button_new_full)
1999 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2000 (hildon_date_button_init): Set the date selector using a
2001 construction property, to make it happen after HildonButton's
2002 "value" property is set.
2004 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2005 current date by default)
2007 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2009 * doc/hildon-sections.txt
2010 * src/hildon-program.c
2011 * src/hildon-stackable-window.c
2012 * src/hildon-window.c:
2013 Documentation updates
2015 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2017 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2018 (hildon_window_stack_new, +hildon_window_stack_set_property)
2019 (+hildon_window_stack_get_property)
2020 (hildon_window_stack_class_init)
2021 (+hildon_window_stack_set_window_group)
2022 (+hildon_window_stack_get_window_group):
2023 Make the window group a construction property.
2025 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2027 * doc/hildon-sections.txt
2028 * src/hildon-stackable-window-private.h
2029 * src/hildon-stackable-window.h
2030 * src/hildon-stackable-window.c
2031 (-hildon_stackable_window_set_app_menu)
2032 (-hildon_stackable_window_get_app_menu)
2033 (-hildon_stackable_window_toggle_menu)
2034 (-hildon_stackable_window_finalize)
2035 (hildon_stackable_window_class_init)
2036 (hildon_stackable_window_init)
2037 * src/hildon-window-private.h
2038 * src/hildon-window.h
2039 * src/hildon-window.c (hildon_window_init)
2040 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2041 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2042 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2043 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2044 Moved all HildonAppMenu code to HildonWindow. The menu does not
2045 require a HildonStackableWindow anymore.
2047 * src/hildon-app-menu.c
2048 * src/hildon-program.c
2049 * examples/hildon-app-menu-example.c (main):
2050 Update examples and documentation to reflect HildonAppMenu
2053 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2055 * src/hildon-remote-texture.c
2056 * src/hildon-animation-actor.c:
2057 Don't include unused private headers.
2059 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2061 * src/hildon-program-private.h
2062 * src/hildon-program.c
2063 (hildon_program_set_common_menu)
2064 (hildon_program_get_common_menu)
2065 (hildon_program_set_common_app_menu)
2066 (hildon_program_get_common_app_menu):
2067 Change common menu pointers from GtkWidget* to GtkMenu* and
2068 HildonAppMenu* to avoid unnecessary casts.
2070 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2072 * src/hildon-window.c (hildon_window_set_main_menu):
2073 Removed incorrect 'Since:' tag
2075 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2077 * src/hildon-pannable-area.c,
2078 (hildon_pannable_area_calculate_velocity): We use now the
2079 RATIO_TOLERANCE here to check the distance, fixed typo in the
2081 (hildon_pannable_area_motion_notify_cb): We have to set the type
2082 and time even if we are not sending the motion.
2084 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2086 * doc/hildon-sections.txt
2087 * src/hildon-app-menu.h
2088 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2089 (+hildon_app_menu_get_filters): New methods to get the contents of
2092 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2095 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2097 * src/hildon-app-menu.c (hildon_app_menu_popup):
2100 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2102 * src/hildon-window.h
2103 * src/hildon-window.c (+hildon_window_get_main_menu)
2104 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2105 and deprecated hildon_window_get_menu().
2107 * src/hildon-stackable-window.h
2108 * src/hildon-stackable-window.c
2109 (+hildon_stackable_window_set_app_menu)
2110 (+hildon_stackable_window_get_app_menu)
2111 (hildon_stackable_window_set_main_menu): Created
2112 hildon_stackable_window_{get,set}_app_menu() and deprecated
2113 hildon_stackable_window_set_main_menu().
2115 * doc/hildon-sections.txt
2116 * examples/hildon-app-menu-example.c (main)
2117 * src/hildon-app-menu.c
2118 * src/hildon-program.c:
2119 Updated examples and documentation.
2121 Fixes: NB#103758 (No way to obtain a menu from a
2122 HildonStackableWindow)
2124 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2129 * configure.ac: Bump version.
2130 * debian/changelog: Updates.
2132 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2134 * examples/hildon-remote-texture-example.c: Include
2135 hildon-remote-texture.h explicitely.
2136 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2137 applications not defining _XOPEN_SOURCE which don't require this header.
2139 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2141 * doc/hildon-sections.txt
2142 * src/hildon-app-menu.h
2143 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2144 New function to pop up a HildonAppMenu
2146 * src/hildon-stackable-window.c
2147 (hildon_stackable_window_toggle_menu):
2148 Use hildon_app_menu_popup() to show the menu.
2150 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2152 * src/hildon-app-menu.c (hildon_app_menu_show)
2153 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2154 menu if there's another window between it and its parent window.
2156 Fixes: NB#100468 (Application menu window is launched even when a
2157 new secondary-window/dialog is pending to be shown/realized)
2159 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2161 * src/hildon-window-stack.c (hildon_window_stack_push)
2162 (hildon_window_stack_pop_and_push):
2163 Don't forget to push/pop the first window.
2164 Reverse the window list before calling _push_list()
2166 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2168 * src/hildon-picker-button.h
2169 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2170 Remove "value_changed" slot to avoid ABI breakage
2172 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2174 * src/hildon-pannable-area.c,
2175 (hildon_pannable_area_realize),
2176 (hildon_pannable_area_unrealize),
2177 (hildon_pannable_draw_vscroll),
2178 (hildon_pannable_draw_hscroll): Changed the method to handle the
2179 GC used to draw the transparent scrollbar, this way we avoid
2180 creating the GC all the time when drawing the scrollbars.
2182 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2184 * src/hildon-pannable-area.c,
2185 (hildon_pannable_area_init),
2186 (hildon_pannable_area_remove): Removed some unnecessary casts.
2187 (hildon_pannable_area_dispose): Disconnected some signals before
2188 releasing the adjustments.
2190 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2192 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2193 Make sure that all widgets contained in the toolbar are shown.
2195 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2197 * doc/hildon-sections.txt
2198 * src/hildon-picker-button.h
2199 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2200 (_selection_changed, hildon_picker_button_on_dialog_response)
2201 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2202 New hildon_picker_button_value_changed() method.
2205 * src/hildon-picker-button-private.h
2206 * src/hildon-picker-button.c (hildon_picker_button_init)
2207 (+hildon_picker_button_disable_value_changed): Add protected
2208 function for disabling the "value-changed" signal.
2210 * src/hildon-date-button.c (hildon_date_button_set_date):
2211 Don't emit "value-changed" for each one of the three columns.
2213 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2214 before actual change of values)
2216 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2218 * src/hildon-pannable-area.c,
2219 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2220 for the treeview overshooting.
2222 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2224 * src/hildon-banner.c (+hildon_banner_bind_style):
2225 Renamed from hildon_banner_bind_label_style(), now naming the
2226 banner itself as well.
2227 (hildon_banner_show_information),
2228 (hildon_banner_show_information_with_markup),
2229 (hildon_banner_show_animation), (hildon_banner_show_progress):
2230 Name the widgets and labels, based on their type.
2232 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2235 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2237 * src/hildon-note.c (hildon_note_set_property): call
2238 hildon_note_rename() on HildonNote:note-type set.
2239 (hildon_note_rename): Name the note and its label, based on the
2240 HildonNote:note-type property.
2242 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2245 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2247 * src/hildon-pannable-area.c,
2248 (hildon_pannable_area_class_init),
2249 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2250 panning parameters, increased SPS and deceleration factor. Added
2251 also a margin to control fake directions.
2253 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2255 Patch by Sven Herzberg (sven@imendio.com)
2257 * configure.ac: Add missing AM_PROG_CC_C_0
2258 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2260 See NB#101420 (Update unit tests and fix make check)
2262 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2264 This patch was applied before but reverted because it caused
2265 problems, we have changed the main condition and tested the
2266 regressions we detected before and they work ok. We have done a
2267 complete review of the topmost algorithm in order to get a more
2270 * src/hildon-pannable-area.c,
2271 (hildon_pannable_area_get_topmost): Added a new parameter to
2272 filter the the windows that do not include those events.
2273 (hildon_pannable_area_button_press_cb),
2274 (hildon_pannable_area_button_release_cb),
2275 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2276 topmost function, we have added the new parameter.
2278 Fixes: NB#97458 (Pannable area prevents propagation of button
2281 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2283 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2284 if all columns in the selector have an item selected.
2285 (_on_dialog_response): Stop "response" signal emission if there is
2286 any selector column without selected items.
2288 Fixes: NB#101889 (Picker dialog should not close when nothing is
2289 selected in multiple selection list)
2291 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2293 * src/hildon-font-selection-dialog.c
2294 (hildon_font_selection_dialog_class_init),
2295 (hildon_font_selection_dialog_init): Remove the preview
2296 button and dialog, since previewing with default theming is likely
2297 to be overcomplicated. The :preview property has now no effect.
2298 Update documentation blurbs to inform about this.
2300 Fixes: NB#92297 (Preview content is not clearly visible for
2301 default colour text)
2303 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2305 Reviewed the geometry that handles the children size and
2306 scrollbar, now it tries a size and reviews the results depending
2307 on the scrollbars visibility.
2309 * src/hildon-pannable-area.c,
2310 (hildon_pannable_area_realize): Fixed a typo.
2311 (hildon_pannable_area_child_allocate_calculate): Added this
2312 function to calculate the child allocation.
2313 (hildon_pannable_area_size_allocate): Reviewed the allocation
2315 (hildon_pannable_area_check_scrollbars),
2316 (hildon_pannable_area_refresh): Refactored refresh function, this
2317 way we can call the code handling the scrollbars without causing a
2318 size_request, it is interesting in the allocate.
2319 (hildon_pannable_area_init): Replace the callbacks of the
2320 value_changed and changed signals to propertly deal with the
2322 (hildon_pannable_area_grab_notify),
2323 (hildon_pannable_area_initial_effect),
2324 (hildon_pannable_area_launch_fade_timeout),
2325 (hildon_pannable_area_adjust_changed),
2326 (hildon_pannable_area_adjust_value_changed),
2327 (hildon_pannable_area_redraw),
2328 (hildon_pannable_area_button_press_cb),
2329 (hildon_pannable_area_button_release_cb),
2330 (hildon_pannable_area_scroll_cb),
2331 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2332 code and use the new functions adjust_changed and
2333 adjust_value_changed.
2335 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2336 Contact editor dialog)
2338 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2343 * configure.ac: Bump version.
2344 * debian/changelog: Updates.
2346 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2348 * src/hildon-pannable-area.c,
2349 (hildon_pannable_area_get_topmost),
2350 (hildon_pannable_area_button_press_cb),
2351 (hildon_pannable_area_button_release_cb),
2352 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2353 topmost function adding the event mask. We have to try a
2354 differente approach because it is still causing problems (NB#9745,
2357 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2359 * src/hildon-banner.c:
2360 Update the maximum width of timed banners.
2361 (force_to_wrap_truncated): Enforce the maximum text width if the
2364 Fixes: NB#102413 (The text margins (wrapping) in information
2365 banner should be HILDON_MARGIN_TRIPLE)
2367 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2369 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2371 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2372 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2373 bound when calculating the scroll indicator position.
2375 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2376 treat ->lower correctly)
2378 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2380 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2381 expose event handling, since it is not necessary to draw the focus
2384 Fixes: NB#102467 (Do not show highlight on the text in
2387 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2389 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2390 full height of the toolbar for the button and the label.
2392 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2394 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2395 padding before the label and after the button.
2397 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2399 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2401 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2402 Add a GtkVSeparator between the button and the back arrow.
2403 Let the button have automatic size.
2404 Set a name to the widget for theming handling.
2406 Fixes: NB#101793 (Make edit toolbar the same height as window
2407 title bar (use title area theming))
2409 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2411 * src/hildon-helper.c (attach_new_color_element): Fix memory
2414 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2416 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2418 * examples/hildon-button-example.c (common_buttons_window): Don't
2421 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2423 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2424 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2426 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2428 * src/hildon-gtk.c: Check that the window is realized.
2430 Fixes: NB#102225 (Crash setting the progress indicator to a non
2433 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2435 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2436 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2437 instead of modifying the one in the widget style.
2439 Fixes: NB#101043 (Second row of all the command button are
2440 displayed in transparent mode.)
2442 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2444 * src/hildon-date-button.c
2445 * src/hildon-time-button.c: Add gettext macros
2447 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2449 * src/hildon-date-button.c (hildon_date_button_new):
2450 * src/hildon-time-button.c (hildon_time_button_new_step):
2451 Use new logical strings to set the button default title.
2453 Fixes: NB#99915 (Date and Time options are not localised in Date
2456 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2458 * src/hildon-pannable-area.c
2459 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2460 the PANNING_THRESHOLD.
2462 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2464 * src/hildon-pannable-area.c,
2465 (hildon_pannable_area_class_init): Increased the maximum speed.
2466 (hildon_pannable_area_get_property),
2467 (hildon_pannable_area_set_property),
2468 (hildon_pannable_area_timeout): Added a new low friction mode, it
2469 allows the user avoid friction when launching the widget fast
2470 enough. It is interesting to traverse long lists.
2472 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2474 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2475 (+hildon_stackable_window_delete_event): Ignore delete events if
2476 the window is not the topmost one.
2478 Fixes: NB#101698 (Back button long press and delete-event handling)
2480 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2482 * src/hildon-pannable-area.c,
2483 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2484 gtk-dnd-drag-threshold, it was too big. We have defined our own
2485 dnd define and set a smaller value: PANNIG_THRESHOLD.
2487 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2489 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2490 user-defined icons, use always the default one.
2492 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2494 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2496 This patch was applied before but reverted because it caused
2497 problems, we have changed the main condition and tested the
2498 regressions we detected before and they work ok.
2500 * src/hildon-pannable-area.c,
2501 (hildon_pannable_area_get_topmost): Added a new parameter to
2502 filter the the windows that do not include those events. Added
2503 also a condition when finding the window to filter windows that do
2504 not ask for those events.
2505 (hildon_pannable_area_button_press_cb),
2506 (hildon_pannable_area_button_release_cb),
2507 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2508 topmost function, we have added the new parameter.
2510 Fixes: NB#97458 (Pannable area prevents propagation of button
2513 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2515 * tests/check-hildon-color-button.c (START_TEST): do not leak
2518 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2520 * src/hildon-font-selection-dialog.c
2521 (hildon_font_selection_dialog_get_preview_text): Return NULL
2522 instead of FALSE on the g_return_val_if_fail().
2524 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2526 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2527 * src/hildon-date-selector.c
2528 (hildon_date_selector_select_current_date):
2529 Do not compare unsigned integers to be greater than or equal 0,
2530 because it's always TRUE.
2532 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2534 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2535 (hildon_date_selector_constructor): Do not select the current
2536 date until we are handle the "changed" signal, to avoid having bogus
2537 elements in the days model.
2539 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2541 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2542 for num_days, since _month_days() can return a negative value.
2544 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2546 * src/hildon-caption.c (hildon_caption_size_allocate):
2547 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2548 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2550 Initialize allocation variables to 0, to avoid eventually using
2551 unitialized variables.
2553 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2555 * src/hildon-bread-crumb-trail.c
2556 (hildon_bread_crumb_trail_size_allocate):
2557 * src/hildon-calendar.c (hildon_calendar_set_background):
2558 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2559 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2560 * src/hildon-seekbar.c (hildon_seekbar_init):
2561 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2562 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2563 * src/hildon-touch-selector-entry.c
2564 (hildon_touch_selector_get_text_from_model):
2565 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2566 * src/hildon-window.c (hildon_window_finalize):
2568 Remove many unused variables.
2570 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2572 * src/hildon-seekbar.c: (hildon_seekbar_init),
2573 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2575 Remove unnecessary g_assert() calls.
2577 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2579 * src/hildon-caption.c: (hildon_caption_expose),
2580 (hildon_caption_set_property), (hildon_caption_init),
2581 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2582 (hildon_caption_size_request), (hildon_caption_size_allocate),
2583 (hildon_caption_forall), (hildon_caption_set_separator),
2584 (hildon_caption_activate), (hildon_caption_set_child_expand),
2585 (hildon_caption_set_label_text),
2586 (hildon_caption_get_label_alignment):
2588 Remove unnecessary g_assert() calls.
2590 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2592 * src/hildon-banner.c
2593 (hildon_banner_map, hildon_banner_init): Make banner temporary
2594 before mapping it to avoid closing other temporary windows, but
2595 make it non-temporary afterwards to avoid being closed by other
2596 non-temporary windows.
2597 (-hildon_banner_client_event, hildon_banner_init):
2598 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2600 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2603 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2605 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2608 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2610 * src/hildon-remote-texture.c
2611 * src/hildon-remote-texture.h
2612 * src/hildon-remote-texture-private.h
2613 * examples/hildon-remote-texture-example.c:
2614 Updates/fixes to remote-texture and its example.
2616 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2618 Patch by Mox Soini (ext-mox.soini@nokia.com)
2620 * src/hildon-code-dialog.c: Update logical id.
2621 * src/hildon-set-password-dialog.c: Update logical id.
2623 Fixes: NB#100646 (Logical strings is shown for ok in set
2624 password,Password needed dialogs)
2626 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2629 * src/hildon-remote-texture.c
2630 * src/hildon-remote-texture.h
2631 * src/hildon-remote-texture-private.h
2633 Added remote texture widget (for Clutter shared memory textures)
2635 * examples/hildon-remote-texture-example.c
2636 * examples/Makefile.am
2637 Added example file for remote texture usage
2639 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2641 * configure.ac: post release version bump.
2642 * debian/changelog: version bump.
2644 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2649 * configure.ac: Bump version.
2650 * debian/changelog: Updates.
2652 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2654 * src/hildon-date-selector.c (hildon_date_selector_init)
2655 (hildon_date_selector_constructor): Don't connect to the "changed"
2656 signal until the selector is completely constructed.
2658 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2660 * src/hildon-touch-selector.c: (_create_new_column),
2661 (hildon_touch_selector_append_column),
2662 (hildon_touch_selector_set_column_selection_mode),
2663 (hildon_touch_selector_set_active),
2664 (hildon_touch_selector_select_iter):
2665 Emit the HildonTouchSelector::changed signal every time selection
2666 is changed in any of the methods above. This behavior was already
2667 documented but not fully functional.
2669 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2670 selection is programmatically changed)
2672 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2674 * doc/hildon-sections.txt: Remove obsolete icon
2675 sizes from here as well.
2677 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2679 * examples/hildon-stackable-window-example.c (add_window): Remove
2682 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2684 * src/hildon-app-menu.c
2685 (hildon_app_menu_show): Check whether the parent window of a menu
2686 is topmost before popping it up.
2688 Fixes: NB#100468 (Application menu window is launched even when a
2689 new secondary-window/dialog is pending to be shown/realized.)
2691 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2693 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2696 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2698 Patch by Mox Soini (ext-mox.soini@nokia.com)
2700 * src/hildon-banner.c: (hildon_banner_show_animation):
2701 use stylus size instead of obsolete note size.
2702 * src/hildon-defines.h: Update icon sizes.
2704 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2706 * src/hildon-touch-selector-entry.c:
2707 (hildon_touch_selector_entry_init): Disable unsupported
2709 (hildon_touch_selector_entry_get_text_column): Emit a warning
2710 if an unsupported input modes is used and explicitile state
2711 these modes in the documentation.
2713 Fixes: NB#99802 (Hildon touch selector entry not working properly
2714 for some of the input modes)
2716 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2718 * src/hildon-pannable-area.c,
2719 (hildon_pannable_area_init): Added the changed signal handlers of
2722 Fixes: NB#100320 (HildonPannableArea does not listen to
2723 GtkAdjustment "change" signals)
2725 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2727 * doc/hildon-sections.txt
2728 * src/hildon-window-private.h
2729 * src/hildon-window.h
2730 * src/hildon-window.c (hildon_window_init)
2731 (hildon_window_realize, hildon_window_unrealize)
2732 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2733 (hildon_window_size_request, hildon_window_size_allocate)
2734 (hildon_window_forall, hildon_window_show_all)
2735 (hildon_window_destroy, +paint_edit_toolbar)
2736 (+hildon_window_set_edit_toolbar):
2737 New hildon_window_set_edit_toolbar() method, to add a
2738 HildonEditToolbar to a window without having to pack it manually.
2740 Reorganize hildon_window_size_allocate()
2742 * src/hildon-edit-toolbar.c: Update documentation.
2744 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2745 example to use the new API.
2747 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2749 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2751 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2752 Remove from stack before calling parent's hide.
2754 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2756 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2757 window is removed from the middle of the stack, update the
2758 transiency of the previous one.
2760 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2763 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2765 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2766 block/unblock the signal handler if it's not actually being used.
2767 Fixes some critical warnings.
2769 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2771 Based on a patch by Iván Gómez (igomez@igalia.com)
2773 * src/hildon-banner.c
2777 * src/hildon-pannable-area.c
2778 * src/hildon-picker-dialog.c
2779 * src/hildon-wizard-dialog.h
2780 * src/hildon-wizard-dialog.c: Documentation updates.
2782 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2783 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2785 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2787 * configure.ac: post release version bump.
2788 * debian/changelog: version bump.
2790 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2795 * configure.ac: Bump version.
2796 * debian/changelog: Updates.
2798 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2800 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2801 a stock icon nor change the relief of the back arrow.
2803 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2804 graphics from theme)
2806 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2808 * src/hildon-button.c (hildon_button_set_alignment): Use
2809 priv->alignment if the button has no child yet.
2811 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2813 * src/hildon-button.c: (hildon_button_init): Set the
2814 button style during initialization to give it the proper
2817 Fixes: NB#99713 (HildonButton value label color is wrong)
2819 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2821 * src/hildon-touch-selector.c: Document
2822 hildon_touch_selector_center_on_selected()
2824 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2826 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2827 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2828 all menu items, but not the menu itself.
2829 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2830 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2831 items after adding them to the menu so keyboard accelerators work.
2832 (hildon_app_menu_show): Don't show the menu if it contains items
2833 but none of them are visible.
2835 * examples/hildon-app-menu-example.c (create_menu): Use
2836 gtk_widget_show_all() to show all menu items.
2838 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2840 * src/hildon-picker-dialog.c:
2841 (-_update_title_on_selector_changed_cb),
2842 (-_dialog_update_title): Removed.
2843 (_select_on_selector_changed_cb), (_on_dialog_response),
2844 (on_selector_columns_changed): Do not update the dialog title.
2845 (setup_interaction_mode): Do not connect to
2846 HildonTouchSelector::changed signal if there's a "done" button, as
2847 the dialog title doesn't need to be updated.
2849 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2852 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2854 Patch by Kristian Rietveld (kris@imendio.com)
2856 * src/hildon-touch-selector.c: (_create_new_column): Use new
2857 GtkTreeView::hildon-row-tapped signal to react to user interactions
2858 instead of ::changed.
2860 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2861 with some dynamic tree model)
2863 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2865 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2866 (+screen_size_changed, +label_size_request)
2867 (hildon_note_class_init): Make the Hildon information note have a
2868 minimum height, and make its text hvae a maximum width.
2870 Fixes: NB#98614 (Hildon information note (background) should have
2871 minimum height and maximum text width)
2873 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2875 * src/hildon-banner.h
2876 * src/hildon-banner.c (hildon_banner_show_information)
2877 (hildon_banner_show_informationf)
2878 (hildon_banner_show_information_with_markup): Update documentation
2879 to reflect that the icon_name parameter is not used anymore.
2880 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2881 Remove all code from these functions and mark them as deprecated.
2882 (hildon_banner_show_progress): Mark as deprecated.
2884 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2886 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2888 * src/hildon-pannable-area.c,
2889 (hildon_pannable_area_class_init),
2890 (tranparency_color),
2891 (hildon_pannable_draw_vscroll),
2892 (hildon_pannable_draw_hscroll),
2893 (hildon_pannable_area_expose_event): Added a new way to render the
2894 scrollbars of the pannable area avoiding using cairo at all. This
2895 way we improve the performance of the pannable area rendering. The
2896 cairo rendering procedure is still in the code, we can control
2897 which one to use changing the value of the define
2898 USE_CAIRO_SCROLLBARS.
2900 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2902 * configure.ac: post release version bump.
2903 * debian/changelog: version bump.
2905 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2910 * configure.ac: Bump version.
2911 * debian/changelog: Updates.
2913 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2915 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2916 banners instead of destroying them when they receive a button
2919 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2921 Reverted commit 34028, it was causing regressions, probably the
2922 topmost condition is not correct, we have to check it in more
2923 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2924 propagation of button press events)
2926 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2928 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2929 that the selection is not empty before attempting to retrieve the
2930 current ampm selection.
2932 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2934 * src/hildon-picker-button.c:
2935 (hildon_picker_button_on_dialog_response): Directly update the
2936 button contents when required instead of calling _selection_changed.
2938 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2940 * src/hildon-program.c (hildon_program_update_top_most): Update
2941 'is-topmost' property also when wm_hints is not set.
2943 Fixes: NB#98383 (is-topmost signal is not emitted when task
2944 switcher is clicked.)
2946 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2948 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2952 * src/hildon-animation-actor.c,
2953 * src/hildon-animation-actor.h: Added the animation actor class,
2954 this widget represents an animation actor for WM-assisted
2955 animation effects in the Hildon framework.
2957 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2959 * src/hildon-window-stack-private.h
2960 * src/hildon-window-stack.c
2961 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2962 Avoid calling gtk_widget_show() again indirectly from
2963 hildon_stackable_window_show()
2965 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2967 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2970 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2972 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2973 (hildon_time_selector_init): Move the construction of the hours and
2974 ampm columns to the constructor to preserve the order the columns
2977 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2979 * src/hildon-picker-dialog.c:
2980 (hildon_picker_dialog_class_init): Connect a realize method.
2981 (+hildon_picker_dialog_realize): Setup the interaction mode here
2983 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2984 yet, do it during the realize instead.
2985 (_on_dialog_response):
2986 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2987 if the widget is not realized, to avoid the dialog response before it
2990 Avoid premature responses in the HildonPickerDialog that can cause it
2991 to be hidden before it's even shown.
2993 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2995 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2996 (on_selector_columns_changed), (requires_done_button),
2997 (+prepare_action_area), (setup_interaction_mode),
2998 (_hildon_picker_dialog_set_selector):
3000 Split the interaction mode setup into preparation of the
3001 action area (prepare_action_area()) and the connection of
3002 the signals in setup_interaction_mode() and update the code to
3005 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3007 * src/hildon-pannable-area.c,
3008 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3009 per second to 15, we will check if this is ok regarding
3012 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3014 * src/hildon-pannable-area.c,
3015 (hildon_pannable_axis_scroll): Avoid resize if we already have
3016 reached overshoot_max.
3018 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3020 * src/hildon-pannable-area.c,
3021 (hildon_pannable_area_init),
3022 (hildon_pannable_area_realize),
3023 (hildon_pannable_area_size_allocate),
3024 (hildon_pannable_area_map),
3025 (hildon_pannable_area_unmap),
3026 (hildon_pannable_draw_vscroll),
3027 (hildon_pannable_draw_hscroll),
3028 (hildon_pannable_area_expose_event),
3029 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3030 pannable are to avoid the expose events go to the window and
3031 redraw the window. We save this way that part of the stack and the
3032 paint_boxes. We had to change the positions of the elements when
3035 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3037 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3038 * src/hildon-color-chooser-dialog.c:
3039 (hildon_color_chooser_dialog_init):
3040 * src/hildon-font-selection-dialog.c:
3041 (hildon_font_selection_dialog_init),
3042 (hildon_font_selection_dialog_show_preview):
3043 * src/hildon-get-password-dialog.c:
3044 * src/hildon-login-dialog.c:
3045 * src/hildon-set-password-dialog.c:
3046 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3047 * src/hildon-time-picker.c: (hildon_time_picker_init):
3049 Remove obsolete logical string IDs and update to the appropriate ones.
3051 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3053 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3055 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3056 that happens if the window hasn't been realized yet.
3058 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3059 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3061 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3063 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3064 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3067 Fixes: NB#98537 (Device hangs in account settings dialog)
3069 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3071 * configure.ac: post release version bump.
3072 * debian/changelog: version bump
3074 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3079 * configure.ac: Bump version.
3080 * debian/changelog: Updates.
3082 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3084 Added a new function to the HildonTimeButton widget that allows to
3085 change the step of the minutes in the selector associated with the
3086 button: hildon_time_button_new_step
3088 * src/hildon-time-button.c,
3089 (hildon_time_button_init),
3090 (hildon_time_button_new),
3091 (hildon_time_button_new_step):
3092 * src/hildon-time-button.h: Added the new function and refactored
3094 * examples/hildon-time-button-example.c,
3095 (main): We have replaced the function without parameters with the
3096 function with the steps set to 5
3098 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3100 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3102 * src/hildon-time-selector.c,
3103 (hildon_time_selector_class_init),
3104 (hildon_time_selector_constructor),
3105 (hildon_time_selector_get_property),
3106 (hildon_time_selector_set_property),
3107 (_create_minutes_model),
3108 (hildon_time_selector_new_step),
3109 (hildon_time_selector_set_time),
3110 * src/hildon-time-selector.h: Added a new property to the
3111 HildonTimeSelector (minutes-step), we use that property to control
3112 the steps between the minutes in the list of the selector. We have
3113 added a new function to the API to create a widget changing the
3114 step: hildon_time_selector_new_step.
3116 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3118 * src/hildon-time-selector.c,
3119 (hildon_time_selector_class_init),
3120 (hildon_time_selector_constructor),
3121 (hildon_time_selector_init): Overrided the construct function when
3122 creating the time selector object. We have moved the minutes model
3123 handling code from the init to the new construction function:
3124 hildon_time_selector_constructor.
3126 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3128 * examples/hildon-date-button-example.c: (main): Use the new
3129 hildon_date_button_new_with_year_range() method in the example.
3130 * src/hildon-date-button.c:
3131 (+hildon_date_button_new_with_year_range): New public method
3132 to conveniently create a HildonDateButton with a custom year range
3133 in its HildonDateSelector.
3134 * src/hildon-date-button.h: Add the new public method definition.
3136 Fixes: NB#97908 (Not possible to change the year range in
3137 HildonDateSelector/HildonDateButton)
3139 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3141 * src/hildon-date-selector.c:
3142 (+hildon_date_selector_set_property),
3143 (+hildon_date_selector_get_property),
3144 (hildon_date_selector_class_init): Install new properties "min-year"
3145 and "max-year" to define boundaries for the year column.
3146 (_create_year_model): Use the boundary properties to populate the model.
3147 (+hildon_date_selector_new_with_year_range): New public method to
3148 create a HildonDateSelector with a user defined year range.
3149 (hildon_date_selector_select_current_date): Use the new boundaries to
3150 calculate the iterator of current year.
3151 * src/hildon-date-selector.h: Add the new public method definition.
3153 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3155 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3156 Install a constructor method.
3157 (+hildon_date_selector_construct_ui): construct the widget.
3158 (+hildon_date_selector_constructor): new constructor.
3159 (+hildon_date_selector_init): move out widget construction code to
3160 the new constructor.
3162 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3164 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3165 that there's actually a month or year selected before obtaining them.
3166 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3167 of the HildonTouchSelector::changed signal, as it was emitted on every
3168 single item selection.
3170 Fix some warnings and possible crashers due to the selection restoring.
3172 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3174 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3175 the signal handlers only after creating the dialog instead of on every
3178 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3180 * src/hildon-button.c (hildon_button_init)
3181 * src/hildon-check-button.c (hildon_check_button_init)
3182 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3183 focus when clicked by default.
3185 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3187 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3190 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3192 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3193 Alejandro G. Castro (alex@igalia.com)
3195 * src/hildon-picker-dialog.c:
3196 (hildon_picker_dialog_class_init): install new "center-on-show"
3198 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3199 (hildon_picker_dialog_set_property): add setter code for the new
3201 (hildon_picker_dialog_get_property): add getter code for the new
3203 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3204 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3207 Fixes: NB#92849 (Selected item is not always visible when
3208 HildonTouchSelector is shown)
3210 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3212 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3213 Alejandro G. Castro (alex@igalia.com)
3215 * src/hildon-touch-selector.c:
3216 (_create_new_column): Do not connect to the "realize" signal of the
3218 (hildon_touch_selector_append_column): center on the selected items
3219 when a new column is appended.
3220 (hildon_touch_selector_select_iter): Factor out the code to select a
3221 column to hildon_touch_selector_scroll_to().
3222 (+search_nearest_element): Method to retrieve the nearest selected
3223 element to the visible area of the pannable area in a column.
3224 (+on_realize_cb): scroll to the initially selected item.
3225 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3226 the pannable area is realized, otherwise delay this until it is.
3227 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3228 selected items of a given column.
3229 (+hildon_touch_selector_center_on_selected): Public method to center
3230 all columns on the nearest selected item.
3231 * src/hildon-touch-selector.h: Add definition for
3232 hildon_touch_selector_center_on_selected().
3234 Implement public API to ensure visibility of all selected items in
3235 a HildonTouchSelector.
3237 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3239 Fixed a problem in the fading when calling the scroll_to API, and
3240 improve scrollbar fading handling.
3242 * src/hildon-pannable-area.c,
3243 (hildon_pannable_area_grab_notify): avoid the timeout when the
3245 (hildon_pannable_area_button_press_cb),
3246 (hildon_pannable_area_motion_notify_cb): Code style changes.
3247 (hildon_pannable_area_button_release_cb): Review the conditions
3248 when releasing the mouse button to avoid unrequired fading
3250 (hildon_pannable_area_scroll_to): Do not calculate and set the
3251 velocity if the scroll is not required.
3253 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3255 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3256 Don't check whether the new selector is NULL: it cannot be.
3257 Hold a reference to the selector while doing the replacement.
3259 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3261 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3262 unnecessary size_request in a removed widget.
3264 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3266 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3267 an unnecessary reference tracking that was leaking.
3269 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3271 Added delayed motion notify event handling, this way we can
3272 discard redrawing if more than 25 events arrive per second.
3274 * src/hildon-pannable-area.c,
3275 (hildon_pannable_area_init): Initialized the new private atributes
3276 controlling this timeout
3277 (hildon_pannable_area_dispose): Remove the timeout that controls
3278 the motion notify events.
3279 (hildon_pannable_area_scroll): Added a condition to control the
3280 use of the acceleration.
3281 (hildon_pannable_area_motion_event_scroll_timeout),
3282 (hildon_pannable_area_motion_event_scroll): Added this two
3283 functions, they handle the motion notify events inside the
3285 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3286 to the scroll method with the new function.
3287 (hildon_pannable_area_button_release_cb): We have to remove the
3288 timeout handler and move to the last position if the last motion
3289 events were not handled.
3291 Fixes: NB#97028 (Pannable area updates on every motion event)
3293 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3295 * src/hildon-pannable-area.c,
3296 (hildon_pannable_area_get_topmost): Added a new parameter to
3297 filter the the windows that do not include those events. Added
3298 also a condition when finding the window to filter windows that do
3299 not ask for those events.
3300 (hildon_pannable_area_button_press_cb),
3301 (hildon_pannable_area_button_release_cb),
3302 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3303 topmost function, we have added the new parameter.
3305 Fixes: NB#97458 (Pannable area prevents propagation of button
3308 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3310 * src/hildon-pannable-area.c,
3311 (hildon_pannable_area_initial_effect): Added controls before
3312 launching the timeout and the idle functions.
3313 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3314 of the method, in some situations it can return with TRUE and 0 in
3316 (hildon_pannable_area_button_press_cb): We do not need to set
3317 DELAY for fading out here.
3319 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3321 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3323 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3324 post-cleaning if the selection is not NULL.
3326 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3328 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3329 all items before restoring the selection.
3331 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3333 * src/hildon-touch-selector.c:
3334 (+hildon_touch_selector_unselect_all):
3335 * src/hildon-touch-selector.h: New API to unselect all items in a
3336 column of the touch selector.
3338 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3340 * src/hildon-pannable-area.c,
3341 (hildon_pannable_area_redraw): Added a call to the refresh
3342 function inside the redraw because apparently in some cases the
3343 change in the adjustment does not imply a size allocate.
3345 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3346 despite the view not being scrollable)
3348 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3350 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3351 leak. Check for NULL before attempting to set the window title.
3353 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3355 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3356 whether to show or not the 'Done' button each time the dialog is
3357 shown, as it depends on the HildonTouchSelector selection mode.
3359 Fixes: NB#96226 (In multiple selection mode Done button is shown
3360 sometimes in listpicker)
3362 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3364 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3365 for the number of columns in the HildonTouchSelector more than once.
3367 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3369 * src/hildon-touch-selector.c: Minor documentation fixes.
3371 * src/hildon-picker-dialog.c (+_dialog_update_title)
3372 (_select_on_selector_changed_cb)
3373 (_update_title_on_selector_changed_cb)
3374 (on_selector_columns_changed): Update dialog title when there's no
3375 'Done' button and also when the number of columns in the selector
3379 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3380 (+_selection_changed, hildon_picker_button_on_dialog_response)
3381 (hildon_picker_button_selector_selection_changed)
3382 (+hildon_picker_button_selector_columns_changed)
3383 (hildon_picker_button_set_selector): Update button value and emit
3384 'value-changed' when the number of columns in the selector
3388 Fixes: NB#96225 (Dialog titles are not shown according to the
3389 values selected in the list picker)
3391 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3393 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3394 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3395 New "arrow-width" and "arrow-height" style properties to set the
3396 size of the arrow button.
3397 Set name of arrow button ("hildon-edit-toolbar-arrow").
3399 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3400 graphics from theme)
3402 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3404 * src/hildon-picker-button.c:
3405 (hildon_picker_button_selector_selection_changed): Use
3406 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3407 the dialog is present.
3409 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3410 the selection is accepted in the dialog)
3412 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3414 * src/hildon-color-chooser.h
3415 * src/hildon-color-chooser-dialog.h:
3416 Added G_BEGIN_DECLS and G_END_DECLS
3418 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3420 (_clean_current_selection): plug a leak in the list.
3422 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3424 * src/hildon-picker-dialog.c:
3425 (+free_path_list): Method to free a GList of GtkTreePaths.
3426 (_clean_current_selection), (_save_current_selection),
3427 (_restore_current_selection): Save the current selection in
3428 as a list of lists, to support multiple selection properly.
3430 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3432 patch by Claudio Saavedra (csaavedra@igalia.com)
3434 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3435 Store the press position.
3436 (+hildon_text_view_button_release_event): If the release position is
3437 close enough to the press position, move the cursor here. Otherwise,
3439 (hildon_text_view_class_init): Override GtkTextView press, release, and
3440 motion event handlers, disabling this way text selection through
3441 pointer interaction, and allowing the container widget to handle the
3444 Fixes: NB#95828 (HildonTextView functionality)
3446 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3448 Based on a patch by Iván Gómez (igomez@igalia.com)
3450 * src/hildon-button.[ch]
3451 * src/hildon-calendar.c
3452 * src/hildon-check-button.c
3453 * src/hildon-date-editor.c
3454 * src/hildon-date-selector.c
3455 * src/hildon-picker-button.c
3456 * src/hildon-time-editor.c
3457 * src/hildon-time-selector.c
3458 * src/hildon-touch-selector.[ch]:
3459 Documentation updates
3461 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3463 * src/hildon-pannable-area.c,
3464 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3465 threshold, it was required due to X events handling.
3467 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3469 * src/hildon-pannable-area.c,
3470 (hildon_pannable_area_grab_notify),
3471 (hildon_pannable_area_initial_effect),
3472 (hildon_pannable_area_button_press_cb),
3473 (hildon_pannable_area_button_release_cb),
3474 (hildon_pannable_area_scroll_cb),
3475 (hildon_pannable_area_scroll_to): Review the timeout management of
3476 the scrollbar, the frecuency was incorrectly set.
3478 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3480 * src/hildon-picker-button.c:
3481 (+hildon_picker_button_on_dialog_response),
3482 (hildon_picker_button_clicked): Present the dialog instead of
3483 running it with gtk_dialog_run().
3485 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3488 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3490 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3491 (hildon_app_menu_finalize): When a window is hidden it doesn't
3492 emit notify::is-topmost, so make sure than the menu also
3493 disappears in that case.
3494 (parent_window_topmost_notify): Renamed from parent_window_hidden
3496 Fixes: NB#94460 (stackable window's menu is not closed when its
3499 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3501 * src/hildon-touch-selector-entry.c:
3502 (+hildon_touch_selector_entry_set_input_mode),
3503 (+hildon_touch_selector_entry_get_input_mode):
3504 * src/hildon-touch-selector-entry.h: New methods to access the input
3505 mode in the selector's entry.
3507 Fixes: NB#93410 (API required for setting IM mode in
3508 HildonTouchSelectorEntry)
3510 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3512 * configure.ac: post release version bump.
3513 * debian/changelog: version bump
3515 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3520 * configure.ac: Bump version.
3521 * debian/changelog: Updates.
3523 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3525 * src/hildon-touch-selector.c:
3526 (_hildon_touch_selector_has_multiple_selection): No need
3527 to initialize the variables here.
3529 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3531 * src/hildon-note-private.h
3532 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3533 (hildon_note_finalize, hildon_note_rebuild): Close information
3534 notes when they receive a button press.
3536 Fixes: NB#89890 (Information notes does not get disappeared after
3539 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3541 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3542 mark from the wizard title, as it's not really necessary. Also,
3543 do not display the page title if not set.
3545 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3547 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3548 (parent_window_hidden): Use the window's "is-topmost" property to
3549 detect when to hide the menu.
3551 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3553 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3554 (hildon_app_menu_finalize): If the parent window of the menu is
3555 hidden, hide the menu too.
3557 Fixes: NB#94460 (stackable window's menu is not closed when its
3560 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3563 * debian/libhildon1-examples.install
3565 * examples/Makefile.am:
3566 Use dh_install to install all examples.
3567 Use DEB_SRCDIR instead of defining SOURCE_DIR
3569 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3571 * configure.ac: post release version bump.
3572 * debian/changelog: version bump
3574 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3579 * configure.ac: bump version
3580 * debian/changelog: updates
3581 * debian/control: bump gtk+ dependency
3583 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3585 patch by Christian Dywan (christian@imendio.com)
3587 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3588 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3590 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3592 * src/hildon-check-button.c (hildon_check_button_init)
3593 (hildon_check_button_class_init, hildon_check_button_style_set)
3594 (hildon_check_button_apply_style):
3595 New "checkbox-size" style property.
3597 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3598 larger / configurable size)
3600 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3602 * configure.ac: post release version bump.
3603 * debian/changelog: version bump
3605 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3610 * configure.ac: bump version
3611 * debian/changelog: updates
3613 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3615 * doc/hildon-sections.txt
3616 * src/hildon-pannable-area.c
3617 * src/hildon-program.c
3618 * src/hildon-time-editor.c
3619 * src/hildon-touch-selector-entry.c:
3621 More documentation updates.
3623 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3625 * doc/hildon-sections.txt
3626 * src/hildon-caption.c
3627 * src/hildon-code-dialog.c
3628 * src/hildon-color-button.c
3629 * src/hildon-controlbar.c
3630 * src/hildon-date-editor.c
3631 * src/hildon-date-selector.c
3632 * src/hildon-edit-toolbar.c
3633 * src/hildon-find-toolbar.c
3634 * src/hildon-font-selection-dialog.c
3636 * src/hildon-program.c
3637 * src/hildon-range-editor.c
3638 * src/hildon-seekbar.c
3639 * src/hildon-time-editor.c
3640 * src/hildon-time-selector.c
3641 * src/hildon-volumebar-range.c
3642 * src/hildon-volumebar.c
3643 * src/hildon-vvolumebar.c
3644 * src/hildon-weekday-picker.c
3645 * src/hildon-window.c
3646 * src/hildon-wizard-dialog.c:
3648 Lots of documentation fixes.
3650 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3652 Patch contributed by Iván Gómez (igomez@igalia.com)
3654 * src/hildon-check-button.c:
3655 * src/hildon-date-button.c:
3656 * src/hildon-date-selector.c:
3657 * src/hildon-dialog.c:
3658 * src/hildon-edit-toolbar.c:
3659 * src/hildon-entry.c:
3660 * src/hildon-picker-button.c:
3661 * src/hildon-program.c:
3662 * src/hildon-text-view.c:
3663 * src/hildon-time-button.c:
3664 * src/hildon-touch-selector-entry.c:
3665 * src/hildon-window-stack.c:
3667 Add more "since" tags to the new API.
3669 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3671 * doc/hildon-sections.txt: Add below method.
3672 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3673 version for the hildonized scale.
3674 * src/hildon-gtk.h: Add the definition.
3676 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3678 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3680 * doc/hildon-sections.txt: Add missing entries for new methods.
3682 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3684 Added API to pannable are in order to get its adjustments. We
3685 added two properties to manage the values we had in the private
3688 * src/hildon-pannable-area.c:
3689 (hildon_pannable_area_class_init): Added hadjustment and
3690 vadjustment properties in order to expose horizontal and vertical
3692 (hildon_pannable_area_get_property),
3693 (hildon_pannable_area_set_property): Added code to handle the new
3695 (hildon_pannable_area_get_hadjustment),
3696 (hildon_pannable_area_get_vadjustment): API functions to get the
3698 * src/hildon-pannable-area.h:
3699 (hildon_pannable_area_get_hadjustment),
3700 (hildon_pannable_area_get_vadjustment): API functions to get the
3703 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3705 Fixed some leaks, after valgrinding.
3707 * src/hildon-touch-selector.c:
3708 (_default_print_func): Fixed a leak.
3709 (hildon_touch_selector_append_column): Fixed a leak.
3710 * src/hildon-date-button.c:
3711 (hildon_date_button_init): Fixed a leak.
3712 * src/hildon-date-selector.c
3713 (hildon_date_selector_finalize): Fixed a leak.
3715 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3717 Based on a patch by Christian Dywan (christian@imendio.com)
3719 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3721 * src/hildon-gtk.h: Add definition.
3723 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3725 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3727 * src/hildon-picker-button.c: (hildon_picker_button_init),
3728 (hildon_picker_button_new): Set the HildonButton::style property
3729 in the init method, to propagate the value to the derived classes.
3731 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3733 * src/hildon-button.c: (hildon_button_class_init): Do not make
3734 the "style" property a construct property.
3736 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3738 * src/hildon-wizard-dialog.h
3739 * src/hildon-wizard-dialog.c
3740 (hildon_wizard_dialog_set_forward_page_func)
3741 * src/hildon-pannable-area.h
3742 * src/hildon-pannable-area.c
3743 (hildon_pannable_area_set_size_request_policy):
3744 Documentation fixes.
3746 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3748 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3750 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3752 * doc/hildon-sections.txt: Added sections file.
3754 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3757 * src/*.[ch]: Updates.
3759 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3761 * examples/hildon-progress-indicator-example.c: new file
3762 * examples/Makefile.am: include the new example program
3764 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3766 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3768 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3770 * configure.ac: post release version bump
3771 * debian/changelog: version bump
3773 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3778 * configure.ac: bump version
3779 * debian/changelog: updates
3780 * debian/control: bump gtk+ dependency
3782 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3784 * src/hildon-dialog.c: Mark as deprecated.
3785 * src/hildon-dialog.h: Mark as deprecated.
3786 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3787 from HildonDialog and still work, even if
3788 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3789 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3791 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3792 maemo changes) instead)
3794 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3796 * src/hildon-pannable_area.h:
3797 * src/hildon-pannable_area.c:
3798 (hildon_pannable_area_class_init),
3799 (hildon_pannable_area_set_property),
3800 (hildon_pannable_area_get_property),
3801 (hildon_pannable_area_size_request),
3802 (hildon_pannable_area_get_size_request_policy),
3803 (hildon_pannable_area_set_size_request_policy): Added new API
3804 allowing applications to control the request policy. Now they can
3805 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3806 children allocation (HILDON_MOVEMENT_CHILDREN).
3808 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3812 (hildon_gtk_tree_view_set_ui_mode)
3813 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3814 mode of treeviews and iconviews.
3816 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3818 * src/hildon-touch-selector-entry.c:
3819 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3820 of a GtkEntry to get proper theming.
3822 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3823 widget, not GtkEntry)
3825 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3827 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3828 no HildonWizardDialogPageFunc.
3830 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3832 Patch contributed by Iván Gómez (igomez@igalia.com)
3834 * src/hildon-app-menu.c:
3835 * src/hildon-button.c:
3836 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3837 * src/hildon-stackable-window.c:
3838 * src/hildon-time-selector.c:
3839 * src/hildon-touch-selector.c:
3840 * src/hildon-window.c:
3842 Add more "since" tags to the new API in hildon 2.2.
3844 2008-12-05 Tim Janik <timj@imendio.com>
3846 Patch contributed by Christian Dywan (christian@imendio.com)
3848 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3849 HildonSizeType, which are supplied by Gtk+ now.
3851 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3853 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3854 (with maemo changes) instead)
3856 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3858 Patch contributed by Iván Gómez (igomez@igalia.com)
3860 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3863 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3865 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3866 (some_page_func), (main): Update the example to use a
3867 HildonWizardDialogPageFunc function.
3869 * src/hildon-wizard-dialog-private.h: Add private data for
3870 the HildonWizardDialogPageFunc function usage.
3872 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3873 (destroy), (hildon_wizard_dialog_init), (response),
3874 (hildon_wizard_dialog_set_forward_page_func):
3875 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3876 that applications can use to stop a HildonWizardDialog to jump to
3879 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3882 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3884 * src/hildon-program.h
3885 * src/hildon-program-private.h
3886 * src/hildon-program.c (hildon_program_init)
3887 (hildon_program_set_common_app_menu)
3888 (hildon_program_get_common_app_menu):
3889 New API for setting a common HildonAppMenu for all
3890 HildonStackableWindows registered with the HildonProgram.
3892 * src/hildon-stackable-window.c
3893 (hildon_stackable_window_toggle_menu):
3894 Use the common HildonAppMenu if a window doesn't have a specific
3897 * src/hildon-app-menu-private.h
3898 * src/hildon-app-menu.c
3899 (hildon_app_menu_get_parent_window):
3900 Function to obtain the window a HildonAppMenu is attached to.
3901 (hildon_app_menu_set_parent_window):
3902 Hide the menu if the parent window is set to NULL.
3904 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3906 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3907 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3908 search widget to popup.
3910 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3912 * configure.ac: post release version bump
3913 * debian/changelog: version bump
3915 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3920 * configure.ac: bump version
3921 * debian/changelog: updates
3923 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3925 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3927 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3928 (hildon_window_stack_window_realized)
3929 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3930 Set the leader GdkWindow when a window is stacked and realized,
3931 unset it when it's unstacked.
3932 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3934 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3936 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3938 * src/hildon-stackable-window.h
3939 * src/hildon-window-stack.h:
3940 Protect definition of HildonWindowStack using the preprocessor.
3942 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3944 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3945 Fix warning if all menu items are hidden.
3947 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3949 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3951 * src/hildon-controlbar.c:
3952 * src/hildon-hvolumebar.c:
3953 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3954 Multiple scale size defines updates.
3956 Fixes: NB#94322 (Scale Updates)
3958 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3960 * examples/hildon-app-menu-example.c (create_menu)
3961 Show items after adding them to the menu, as in the future the
3962 menu will no longer call gtk_widget_show() on the added items.
3964 * src/hildon-app-menu.c:
3965 Update example as explained above.
3967 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3969 * src/hildon-app-menu.c
3970 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3971 Make sure that all menu items have finger height.
3973 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3975 * src/hildon-picker-dialog.c:
3976 (_on_dialog_response), (_save_current_selection),
3977 (_restore_current_selection), (_clean_current_selection),
3978 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3979 Defined new functions in order to save the current internal selector
3980 selection previous open the dialog, in case that the use cancel the
3981 interaction, so the widget restores the previous selection.
3983 Fixes: NB#92032 (In calendar application, date values in 'new event'
3986 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3988 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3990 * src/hildon-button.c: Add a reference to the button examples in
3991 hildon-button-example.c
3993 * examples/hildon-button-example.c: Added examples of the most
3994 common button layouts.
3996 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3998 * src/hildon-app-menu.c (hildon_app_menu_show)
3999 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4001 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4003 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4005 * src/hildon-picker-dialog.c:
4006 (hildon_picker_dialog_init): Initialize the signal id for
4007 HildonTouchSelector::columns-changed.
4008 (+on_selector_columns_changed): Set up the interaction mode everytime a
4009 column is added or removed from the HildonTouchSelector.
4010 (_hildon_picker_dialog_set_selector): Connect to
4011 HildonTouchSelector::columns-changed and keep track of it.
4013 Make sure to update the interaction mode of the dialog everytime a
4014 column is added or removed in the HildonTouchSelector.
4016 Fixes: NB#93228 (Done button is not shown always in listpicker)
4018 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4020 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4021 a new ::columns-changed signal.
4022 (hildon_touch_selector_append_column): Emit ::columns-changed.
4023 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4025 Add a ::columns-changed signal, emitted when the number of columns in a
4026 HildonTouchSelector changes.
4028 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4030 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4031 (_hildon_picker_dialog_set_selector): Factor out the code
4032 to set up the dialog interaction mode.
4034 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4036 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4037 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4038 to signal_changed_id.
4040 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4042 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4045 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4047 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4048 Updated the logical ids related to ampm format, as now it is required to
4049 show it correctly localized even on languages with no default
4050 abbreviations for am or pm
4051 (_check_am_pm_format): check correctly the 24h format gconf property
4053 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4055 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4057 * src/hildon-button.c: Documentation updates.
4059 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4061 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4062 * src/hildon-caption.c: (hildon_caption_class_init):
4063 * src/hildon-color-button.c: (hildon_color_button_class_init):
4064 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4065 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4066 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4067 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4069 Remove deprecated GTK+ marshalers and replace them with the ones
4070 provided by GLib, for those available, add a marshaler for
4071 BOOLEAN:VOID, which is not available in GLib, and use it.
4073 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4075 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4076 the text from the previous column if there is no
4077 HildonTouchSelectorColumn::text-property set.
4079 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4081 * src/hildon-button.h
4082 * src/hildon-button.c (hildon_button_set_property)
4083 (hildon_button_get_property, hildon_button_class_init)
4084 (hildon_button_set_style, hildon_button_get_style):
4085 New "style" property to change the visual appearance of the
4088 * src/hildon-picker-button.c (hildon_picker_button_new):
4089 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4091 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4092 HildonButton look like PickerButton)
4094 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4096 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4097 column while building the default string.
4099 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4101 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4102 scroll indicator by default.
4104 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4106 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4108 * src/hildon-main.c: Fix the documentation for hildon_init()
4110 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4112 * doc/hildon-docs.sgml
4116 * src/hildon-window-stack-private.h
4117 * src/hildon-window-stack.h
4118 * src/hildon-window-stack.c:
4119 New HildonWindowStack object, that adds support for multiple
4120 stacks of windows per process.
4122 * src/hildon-stackable-window-private.h
4123 * src/hildon-stackable-window.h
4124 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4125 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4126 (hildon_stackable_window_show, hildon_stackable_window_hide)
4127 (hildon_stackable_window_class_init)
4128 (hildon_stackable_window_init):
4129 Use HildonWindowStack for stack management.
4131 * src/hildon-program.c (hildon_program_pop_window_stack)
4132 (hildon_program_peek_window_stack)
4133 (hildon_program_go_to_root_window):
4134 Add a fallback implementation to the deprecated functions using
4137 * examples/hildon-stackable-window-example.c:
4138 Use the new HildonWindowStack API.
4140 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4142 * src/hildon-stackable-window-private.h
4143 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4144 (hildon_stackable_window_hide, hildon_stackable_window_init):
4145 Remove all window stack management.
4147 * src/hildon-program-private.h
4148 * src/hildon-program.h
4149 * src/hildon-program.c (hildon_program_init)
4150 (hildon_program_pop_window_stack)
4151 (hildon_program_peek_window_stack)
4152 (hildon_program_go_to_root_window):
4153 Remove all window stack management and mark functions as
4156 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4158 * src/hildon-app-menu.c (hildon_app_menu_realize):
4159 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4161 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4163 * configure.ac: post release version bump
4164 * debian/changelog: version bump
4166 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4171 * configure.ac: bump version
4172 * debian/changelog: updates
4174 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4176 Based on initial code by Christian Dywan (christian@imendio.com)
4178 * doc/hildon-docs.sgml: Add section for hildon-main.
4179 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4180 * src/Makefile.am: Add new hildon-main.[ch]
4181 * src/hildon-defines.h: Update the icon sizes.
4182 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4183 new library initialization files and register icon sizes.
4184 * src/hildon-main.h: New declarations.
4185 * src/hildon.h: Include hildon-main.h
4187 Add new initialization functions to the library. These methods
4188 will register the hildon specific icon sizes and can be used in the
4189 future for other hildon specific bits.
4191 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4193 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4195 * src/hildon-window.c: (hildon_window_realize),
4196 (hildon_window_notify), (-hildon_window_update_title): Do not set
4197 the application name in the window title.
4199 Fixes: NB#89754 (Applications shouldn't display their names in the
4202 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4204 * src/hildon-note-private.h:
4205 * src/hildon-note.c: (hildon_note_set_property),
4206 (hildon_note_get_property), (hildon_note_class_init),
4207 (hildon_note_init), (hildon_note_finalize),
4208 (hildon_note_new_confirmation_with_icon_name),
4209 (hildon_note_new_information_with_icon_name):
4211 No need to mark as deprecated the actual code. Revert
4212 to avoid missing symbols in widgets using deprecated API.
4214 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4216 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4218 * src/hildon-volumebar.h
4219 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4220 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4222 * src/hildon-helper.h
4223 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4224 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4226 * examples/Makefile.am:
4227 Deprecate hildon-insensitive-example
4229 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4231 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4233 * examples/hildon-pannable-area-buttons-scroll-example.c:
4234 Make all buttons finger height
4236 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4238 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4240 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4241 update the day model only if it is really required, and to avoid the
4242 full-reconstruction aproach. Now it only add or remove the required days.
4244 The purpose of this is avoid superfluous HildonTouchSelector::changed
4247 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4248 with strange parameters)
4250 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4252 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4254 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4255 the WINDOW_TYPE property.
4257 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4259 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4262 Fix dependency to allow parallel compilation with make -jX
4264 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4266 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4267 color frame and some minor tweaks to make it more consistent with
4270 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4271 highlighted but not visible)
4273 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4275 * examples/Makefile.am: Fixed typo in the Makefile.am.
4277 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4279 Reviewed the use of MAEMO_GTK define, now we add the define in the
4280 compilation line, and we also add it to the pc file.
4282 * configure.ac: Added MAEMO_GTK define to the compilation command
4283 and removed it from the config.h.
4285 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4286 do not have to take care about this define if the library was
4290 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4292 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4294 * examples/Makefile.am,
4295 * examples/hildon-pannable-area-buttons-scroll-example.c,
4296 * examples/hildon-pannable-area-gesture-signals-example.c,
4297 * examples/hildon-pannable-area-scroll-jump-example.c,
4298 * examples/hildon-pannable-area-tree-view-example.c:
4299 Renamed the pannable area examples, now they have more meaningful
4302 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4304 * src/hildon-touch-selector.c:
4305 (hildon_touch_selector_set_column_selection_mode): Used of
4306 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4307 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4308 to avoid re-seting the same selection mode.
4310 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4311 breaks HildonPickerDialog)
4313 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4315 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4316 conditional in the Makefile.am
4318 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4320 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4321 Remove unused methods.
4323 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4325 * src/hildon-button.c (hildon_button_init):
4326 Make button images center-aligned by default
4328 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4331 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4332 activated, we have to think about how to deal with both defines
4333 MAEMO_GTK and MAEMO_CHANGES.
4335 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4337 * examples/hildon-app-menu-example.c (create_menu): Make all
4338 buttons finger size.
4340 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4342 Fixed the compilation without maemo gtk adding ifdefs with
4343 MAEMO_GTK define to the code, we have to check this version more
4346 * examples/Makefile.am: Added control to avoid some examples that
4347 just make sense with maemo gtk.
4350 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4351 hildon modes with the define.
4353 * examples/hildon-edit-toolbar-example.c,
4354 (create_icon_view): Create the icon view without hildon-gtk
4355 helpers if we are not using maemo gtk.
4357 * src/hildon-touch-selector.c,
4358 (_create_new_column): Create the treeview without hildon-gtk
4359 helpers if we are not using maemo gtk.
4361 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4363 * src/hildon-pnnable-area.c,
4364 (hildon_pannable_area_dispose),
4365 (hildon_pannable_area_button_press_cb),
4366 (hildon_pannable_area_child_mapped),
4367 (hildon_pannable_area_add),
4368 (hildon_pannable_area_remove): Added code to control the position
4369 of the event_window when adding and removing children from the
4370 pannable. We have to raise the event window when the child is
4373 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4374 selection mode using custom widget inside pannable)
4376 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4378 * configure.ac: post release version bump
4379 * debian/changelog: version bump
4381 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4386 * configure.ac: bump version
4387 * debian/changelog: updates
4389 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4391 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4392 search mode, in order to avoid lose the focus on the treeview when
4393 a hw key (like enter) is pressed.
4395 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4396 in HildonDateSelector dialog)
4398 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4400 * debian/rules: Added --enable-maintainer-mode
4401 * Makefile.am: Added ACLOCAL_AMFLAGS
4403 This allows to properly regenerate the Makefiles if you modify the
4404 configure.ac or any Makefile.am.
4406 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4408 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4409 properties, not needed at all.
4411 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4413 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4415 * src/hildon-note.c: (hildon_note_set_property),
4416 (hildon_note_get_property), (hildon_note_class_init),
4417 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4418 (hildon_note_new_confirmation_add_buttons): Remove icons.
4419 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4420 (hildon_note_new_information_with_icon_name): Deprecate.
4421 (hildon_note_new_confirmation): Act directly, without calling
4422 the deprecated constructor.
4423 (hildon_note_new_information): Act directly, without calling
4424 the deprecated constructor.
4425 * src/hildon-note.h: Mark deprecate methods as such.
4426 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4427 not run tests on the deprecated methods if built with deprecation
4430 Fixes: NB#91688 (Never show icons in information notes/confirmation
4433 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4435 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4436 (hildon_app_menu_key_press): Remove leftover usage of the
4437 private structure in HildonAppMenu struct.
4438 * src/hildon-app-menu.h: Remove leftover private structure
4439 from the HildonAppMenu struct.
4441 Fixes a crasher when using the HildonAppMenu.
4443 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4445 * src/hildon-picker-dialog.c: Use appropriate logical id
4446 for the default "Done" text.
4448 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4450 * configure.ac: post release version bump
4451 * debian/changelog: version bump
4453 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4455 Modified the way to scroll to the current selection just when the touch
4456 selector is shown on the screen, avoiding a g_idle. Added too a property
4457 to configure this behaviour. See hildon_pannable_area_jump_to_child
4458 documentation for more information.
4460 * src/hildon-touch-selector.c
4461 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4462 Added 'initial-scroll' property
4463 (hildon_touch_selector_set_property): Added
4464 (hildon_touch_selector_map): Removed as not required anymore
4465 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4466 only a concrete column, instead of iterate along all the columns
4468 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4473 * configure.ac: bump version
4474 * debian/changelog: updates
4476 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4478 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4479 compilation time warnings.
4481 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4483 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4484 the default value for HildonPannableArea::mov-mode to
4485 HILDON_PANNABLE_AREA_MODE_VERT.
4487 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4489 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4491 Reverting following commit:
4493 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4495 * src/hildon-app-menu-private.h
4496 * src/hildon-app-menu.[ch]
4497 * src/hildon-button.[ch]
4498 * src/hildon-check-button.[ch]
4499 * src/hildon-entry.[ch]
4500 * src/hildon-pannable-area.[ch]
4501 * src/hildon-text-view.[ch]:
4502 Added private field to the object's structure.
4504 because it causes an ABI breakage. We will need to introduce these
4505 changes later at some point. See NB#91636 for an extensive
4506 explanation and status.
4508 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4510 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4512 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4513 remove special cases that are no longer necessary.
4515 Fixes: NB#91016 (Change toolbar sizes, simplification)
4517 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4519 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4520 is shown in the cancel note.
4522 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4524 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4525 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4526 (hildon_seekbar_init): Remove steppers, remove expose event.
4527 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4529 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4531 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4533 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4534 label font to "SmallSystemFont" for vertically arranged buttons.
4536 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4539 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4541 * src/hildon-check-button.c
4542 (hildon_check_button_set_active, hildon_check_button_clicked):
4543 Don't access private parts directly, use getters instead.
4545 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4547 * src/hildon-check-button.c (hildon_check_button_new):
4548 Align the contents of the check button to the left.
4550 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4552 * src/hildon-pannable-area.c,
4553 (hildon_pannable_area_scroll_to),
4554 (hildon_pannable_area_jump_to),
4555 (hildon_pannable_area_scroll_to_child),
4556 (hildon_pannable_area_jump_to_child): Replace the mapped
4557 precondition of these functions with the realized, it is the
4558 correct state of the widget in this case. Changed the
4559 documentation according to this modification.
4561 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4563 Added a new EXTRA_CFLAGS option to add the deprecated define to
4564 the compilation command. This way we can avoid using the define in
4565 the documentation compilation.
4567 * configure.ac: Defined EXTRA_CFLAGS.
4569 * examples/Makefile.am:
4571 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4573 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4575 * src/hildon-picker-dialog.c:
4576 Defined a utility macro with the desired touch selector height
4577 Removed currently unused separator, and title_label variables from
4579 (hildon_picker_dialog_init): Removed code related to the creation
4580 of unused private variables title_label and separator.
4581 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4582 to ensure correct visualization of the touch selector inside the dialog.
4583 * src/hildon-touch-selector.c
4584 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4585 ensure a concrete height of the widget.
4587 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4590 * tests/Makefile.am:
4592 Remove spurious whitespaces.
4594 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4596 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4597 compilation warning after the cancel button removal.
4599 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4601 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4603 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4604 Makefile.am, that way we can choose not to compile some examples
4605 and tests of the deprecated widgets.
4607 * examples/Makefile.am: Divided the sources in deprecated and
4610 * src/Makefile.am: Added undef statement of the deprecated
4611 symbol to the enums file generation process.
4613 * src/hildon-color-chooser-dialog.c
4614 * src/hildon-color-chooser-dialog.h
4615 * src/hildon-color-button.c
4616 * src/hildon-color-button.h
4617 * src/hildon-color-chooser.c
4618 * src/hildon-color-chooser.h
4619 * src/hildon-controlbar.c
4620 * src/hildon-controlbar.h
4621 * src/hildon-date-editor.c
4622 * src/hildon-date-editor.h
4623 * src/hildon-hvolumebar.c
4624 * src/hildon-hvolumebar.h
4625 * src/hildon-private.c
4626 * src/hildon-private.h
4627 * src/hildon-range-editor.c
4628 * src/hildon-range-editor.h
4629 * src/hildon-seekbar.c
4630 * src/hildon-seekbar.h
4631 * src/hildon-time-editor.c
4632 * src/hildon-time-editor.h
4633 * src/hildon-time-picker.c
4634 * src/hildon-time-picker.h
4635 * src/hildon-volumebar.c
4636 * src/hildon-volumebar.h
4637 * src/hildon-vvolumebar.c
4638 * src/hildon-vvolumebar.h
4639 * src/hildon-bread-crumb-trail.h
4640 * src/hildon-bread-crumb-trail.c
4641 * src/hildon-calendar-popup.c
4642 * src/hildon-calendar-popup.h
4643 * src/hildon-weekday-picker.c:
4644 * src/hildon-weekday-picker.h:
4645 * src/hildon-bread-crumb-widget.c:
4646 * src/hildon-bread-crumb-widget.h:
4647 * src/hildon-bread-crumb.c:
4648 * src/hildon-bread-crumb.h:
4649 * src/hildon-calendar.c:
4650 * src/hildon-calendar.h:
4651 * src/hildon-caption.c:
4652 * src/hildon-code-dialog.c:
4653 * src/hildon-code-dialog.h:
4654 * src/hildon-font-selection-dialog.c:
4655 * src/hildon-font-selection-dialog.h:
4656 * src/hildon-get-password-dialog.c:
4657 * src/hildon-get-password-dialog.h:
4658 * src/hildon-login-dialog.c:
4659 * src/hildon-login-dialog.h:
4660 * src/hildon-number-editor.c:
4661 * src/hildon-number-editor.h:
4662 * src/hildon-set-password-dialog.c:
4663 * src/hildon-set-password-dialog.h:
4664 * src/hildon-sort-dialog.c:
4665 * src/hildon-sort-dialog.h: This is the list of deprecated
4668 * src/hildon-touch-selector.c:
4669 * src/hildon-window.c: Added undef statement to avoid compilation
4672 * tests/Makefile.am: Divided the sources in deprecated and
4675 * tests/check_test.c,
4676 (configure_tests): Marked the deprecated code that was adding
4677 suites with deprecated tests.
4679 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4681 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4683 * src/hildon-touch-selector.c: (_default_print_func): Do not
4684 duplicate a string returned by gtk_tree_model_get(), it is already
4687 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4690 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4692 * src/hildon-pannable-area.c
4693 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4694 method, it had problems when adding a widget with viewport the
4695 second time. Now checks if it already has a viewport and uses it.
4697 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4700 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4702 * src/hildon-pannable-area.c,
4703 (hildon_pannable_area_scroll_to),
4704 (hildon_pannable_area_jump_to),
4705 (hildon_pannable_area_scroll_to_child),
4706 (hildon_pannable_area_jump_to_child): Added a precondition to the
4707 scroll and jump to functions: the widget must be mapped before we
4708 can safely call these functions. We have also added documentation
4709 to the functions to explain how to use them in this situation.
4712 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4714 Reviewed the threading handling of the pannable widget, we have
4715 used the gdk_threads_add_timeout function instead of the usual
4716 glib handlers. This avoids some problems with the threads.
4718 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4719 (hildon_pannable_area_initial_effect),
4720 (hildon_pannable_area_scroll_indicator_fade),
4721 (hildon_pannable_area_button_press_cb),
4722 (hildon_pannable_area_timeout),
4723 (hildon_pannable_area_motion_notify_cb),
4724 (hildon_pannable_area_button_release_cb),
4725 (hildon_pannable_area_scroll_cb),
4726 (hildon_pannable_area_scroll_to): Removed the
4727 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4728 gdk_threads_add_timeout.
4730 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4732 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4737 * configure.ac: bump version
4738 * debian/changelog: updates
4740 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4742 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4743 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4744 * src/hildon-color-chooser-dialog.c:
4745 (hildon_color_chooser_dialog_init):
4746 * src/hildon-font-selection-dialog.c:
4747 (hildon_font_selection_dialog_init):
4748 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4750 Remove all cancel/close-like dialogs, as these are not going to be
4753 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4755 * src/hildon-note.c: (hildon_note_rebuild),
4756 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4759 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4761 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4763 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4764 sure all buttons are shown, even the Cancel/Close-like ones.
4766 Fixes: NB#90861 (Custom Confirmation dialogs should be
4767 protected from cancel button removal)
4769 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4771 * debian/control: Change libhildon1-examples dependency from libhildon1
4773 * debian/libhildon1-examples.install
4775 * Makefile.am: Modified the final install directory for the examples on
4776 package libhildon1-examples
4777 * Makefile.static: Update clean target in order to remove all the binary
4780 Changes suggested by Claudio after review new libhildon1-examples package
4782 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4784 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4785 * src/hildon-touch-selector.c: Ditto.
4787 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4789 * debian/control: Added new package libhildon1-examples, in order to pack
4790 the current hildon examples as documentation
4791 * debian/rules: Not to compress .c files, modify some includes on the
4792 examples (as normally are compiled locally, but when installed it will
4793 require to include the installed libhildon1 library), and rename
4795 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4796 install all the example files on the new example package
4797 * examples/Makefile.static: Added static makefile that can be used to
4798 compile the examples, once installed the new example package
4799 * examples: Most of the examples were modified in order to grant that
4800 all use only '#include "hildon.h"', in order to be easy to prepare
4801 it on the example package
4803 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4806 * debian/libhildon1-dev.install
4807 * debian/libhildon1-doc.install:
4808 Move all gtk-doc files to a separate libhildon1-doc package.
4810 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4812 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4814 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4816 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4818 * debian/rules: Fixed a error in order to avoid unnecessary calls
4819 to autogen.sh on package building
4821 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4823 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4825 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4827 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4830 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4832 * src/hildon-picker-button.c
4833 (hildon_picker_button_finalize):
4834 Free priv->done_button_text
4836 * src/hildon-time-button.c
4837 (hildon_time_button_set_time)
4838 * src/hildon-picker-button.c
4839 (hildon_picker_button_clicked)
4840 (hildon_picker_button_selector_selection_changed)
4841 (hildon_picker_button_set_selector)
4842 * src/hildon-date-button.c
4843 (hildon_date_button_set_date):
4844 Free strings returned by hildon_touch_selector_get_current_text()
4846 * src/hildon-button.c (hildon_button_construct_child):
4847 Fix leaks in priv->image and priv->label_box
4849 Fixes: NB#90535 (Memory leak in picker button)
4851 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4853 * src/hildon-button.c: (hildon_button_get_property): Do not access
4854 private elements directly, use getters instead.
4856 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4858 * src/hildon-app-menu-private.h
4859 * src/hildon-app-menu.c
4860 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4861 Store the menu's parent window.
4863 * src/hildon-stackable-window.c
4864 (hildon_stackable_window_toggle_menu)
4865 (hildon_stackable_window_finalize):
4866 Set the menu's parent window when the menu is shown, unset it when
4869 * src/hildon-app-menu.c
4870 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4871 (hildon_app_menu_class_init):
4872 Send unhandled keyboard accelerators to the parent window.
4874 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4876 * src/hildon-stackable-window.c
4877 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4879 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4881 * configure.ac: post release version bump
4883 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4886 * configure.ac: Bump version
4887 * debian/changelog: Updates
4888 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4891 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4893 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4896 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4897 GtkMenu with Hildon style.
4899 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4901 * src/hildon-picker-button.c:
4902 (hildon_picker_button_set_done_button_text): Set the dialog's
4903 done button text here as well.
4905 Fixes: NB#90232 (Picker button does not set the label on done button
4906 for the second time)
4908 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4910 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4913 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4915 * src/hildon-app-menu.c (hildon_app_menu_insert)
4916 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4917 the HildonAppMenu to be activatable using keyboard accelerators
4918 when the menu is not being shown.
4920 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4922 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4924 * src/hildon-stackable-window.c
4925 (hildon_stackable_window_show):
4926 Don't hide old windows automatically when new windows are shown:
4927 this is now a task for the window manager.
4928 (hildon_stackable_window_class_init)
4929 (hildon_stackable_window_hide):
4930 Remove windows from the stack everytime they're hidden.
4931 (hildon_stackable_window_realize):
4932 Don't change the _NET_WM_WINDOW_TYPE property. Use
4933 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4934 it as a stackable window.
4936 * src/hildon-program.c
4937 (hildon_program_pop_window_stack):
4938 Just hide the window to remove it from the stack.
4939 (hildon_program_go_to_root_window):
4940 Don't call gtk_widget_show(), this is now a task for the window
4943 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4945 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4947 * src/hildon-button.c
4948 (hildon_button_construct_child):
4949 Don't pack anything in the button until text or image are
4950 set. This allows adding a custom child after creating the button
4951 with hildon_button_new().
4952 (hildon_button_finalize, hildon_button_class_init)
4953 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4954 alignment and the label box even when they're not packed in the
4957 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4959 * src/hildon-touch-selector.h:
4960 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4961 currently the type definition was using GTK_TYPE_VBOX
4962 * src/hildon-touch-selector.c:
4963 Added some implementation notes in order to clarify that any other widget
4964 added without the column related API will not be included on the
4965 selection logic, and how the widget is freed, as some people ask about
4967 (hildon_touch_selector_remove): Reimplemented in order to free properly
4968 the column related data when you remove the private hbox.
4969 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4970 to get a proper HildonTouchSelectorColumn documentation
4972 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4974 * src/hildon-touch-selector-entry.c:
4975 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4976 text in the GtkEntry and there is no item selected. Fixes a
4979 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4981 * src/hildon-app-menu-private.h
4982 * src/hildon-app-menu.[ch]
4983 * src/hildon-button.[ch]
4984 * src/hildon-check-button.[ch]
4985 * src/hildon-entry.[ch]
4986 * src/hildon-pannable-area.[ch]
4987 * src/hildon-text-view.[ch]:
4988 Added private field to the object's structure.
4990 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4992 * configure.ac: post-release version bump
4994 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4998 * configure.ac: pre-release version bump
5000 * debian/changelog: updates.
5002 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5004 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5005 Disconnect the handler for HildonTouchSelector::changed.
5007 (hildon_picker_button_selector_selection_changed): Update the button
5008 value if the selection change was not triggered by the
5011 (hildon_picker_button_set_selector): connect to
5012 HildonTouchSelector::changed.
5014 Fixes: NB#89650 (Picker button is not updated, when selection in
5015 selector has changed)
5017 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5019 * src/hildon-picker-dialog.c
5020 (hildon_picker_dialog_realize): Removed as not required
5021 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5022 * src/hildon-picker-button.c
5023 (_current_selector_empty): New function, checks if the selector is empty
5024 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5025 if the current selector is empty, in order to avoid to show the dialog
5026 close the dialog in this case (and shows a g_warning).
5028 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5030 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5032 * src/hildon-pannable-area.c,
5033 (hildon_pannable_area_scroll): Added clause to stop movement when
5034 the child of pannable is smaller than one page.
5035 (hildon_pannable_area_scroll_to): Added conditions to avoid
5036 starting the scrolling movement if the child is smaller than one
5037 page, the complete child is in the screen, we do not have to move.
5039 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5041 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5043 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5044 this is managed automatically by the widget when the size of the
5047 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5049 * src/hildon-picker-button.c
5050 (hildon_picker_button_set_done_button_text): Make a copy of the
5051 text, and free the previous value.
5053 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5055 * src/hildon-touch-selector-entry.c:
5056 (hildon_touch_selector_entry_print_func): Return the selected row's
5057 text if the entry is empty.
5059 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5062 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5064 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5066 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5069 * src/hildon-check-button.h
5070 * src/hildon-check-button.c
5071 * examples/hildon-check-button-example.c:
5072 HildonCheckButton is now a new widget. 'toggled' signal added.
5074 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5076 * src/hildon-program-private.h
5077 * src/hildon-program.c (hildon_program_init)
5078 (hildon_program_finalize): Removed unused variables group_leader
5079 and name from HildonProgramPrivate.
5081 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5083 * src/hildon-check-button.c (hildon_check_button_set_active)
5084 (hildon_check_button_get_active, hildon_check_button_new): Use
5085 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5087 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5089 * src/hildon-touch-selector.h
5090 (hildon_touch_selector_set_column_attributes): added deprecation
5091 guard HILDON_DISABLE_DEPRECATED
5092 * src/hildon-time-selector.c
5093 (hildon_time_selector_set_time)
5094 (hildon_time_selector_get_time): Fixed a typo on documentation
5095 * src/hildon-touch-selector.c: update HildonTouchSelector and
5096 HildonTouchSelectorColumn documentation
5097 * src/hildon-touch-selector-entry.c: update "text-column" property
5099 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5100 to be added to the general documentation.
5102 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5104 * examples/hildon-pannable-area-example-4.c,
5106 * examples/hildon-pannable-area-example.c,
5107 (main): Modified the code in order to use the container add, with
5108 viewport treeviews could have problems if they are really big.
5110 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5112 * src/hildon-weekday-picker.c,
5113 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5114 the agreement regarding deprecation in the library.
5116 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5118 * examples/hildon-picker-button-multicolumn-example.c:
5119 (main): Use custom "done" button text.
5121 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5122 (hildon_picker_button_set_property),
5123 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5124 (hildon_picker_button_init),
5125 (+hildon_picker_button_get_done_button_text),
5126 (+hildon_picker_button_set_done_button_text): New methods to customize
5127 the "done" button label in the launched HildonPickerDialog. Also,
5130 * src/hildon-picker-button.h: add the public API.
5132 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5134 * src/hildon-date-selector.h:
5135 * src/hildon-picker-dialog.h:
5136 * src/hildon-time-selector.h:
5137 * src/hildon-touch-selector-column.h:
5138 * src/hildon-touch-selector.h:
5140 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5141 declarations. Fixes gtk-doc warnings.
5143 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5145 * src/hildon-picker-dialog.h
5146 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5147 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5149 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5150 long text is set as label for done button)
5152 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5154 * src/hildon-dialog.c (hildon_dialog_add_button):
5155 Set fixed width to all buttons in the HildonDialog.
5157 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5159 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5161 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5162 Set widget name using class name plus "-finger" or "-thumb".
5164 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5166 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5167 'clicked' when the state of the button is manually changed.
5169 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5171 * src/hildon-app-menu.c (hildon_app_menu_realize)
5172 (hildon_app_menu_unrealize, hildon_app_menu_init)
5173 (hildon_app_menu_class_init, item_visibility_changed):
5174 Change the menu layout when the size of the screen changes.
5175 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5176 Show warning only when changing the number of colums using the
5179 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5181 * debian/compat: Set to 5
5182 * debian/control: Update dependencies.
5183 * debian/libhildon1-dbg.install: Remove.
5184 * debian/libhildon1-dev.install: Update according to cdbs paths.
5185 * debian/libhildon1.install: Update according to cdbs paths.
5186 * debian/rules: Switch to cdbs.
5188 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5190 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5191 'item' variable renamed to 'filter'
5193 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5195 * src/hildon-app-menu.c (hildon_app_menu_insert)
5196 (hildon_app_menu_add_filter, remove_item_from_list)
5197 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5198 Don't leak hidden items when the menu is destroyed.
5200 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5202 * src/hildon-app-menu.c (hildon_app_menu_insert)
5203 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5204 (hildon_app_menu_set_columns, item_visibility_changed)
5205 (filter_visibility_changed, hildon_app_menu_repack_filters)
5206 (hildon_app_menu_repack_items):
5207 Repack items and filters separately.
5209 Don't repack all items, change only the ones that are needed to
5212 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5214 * src/Makefile.am: added hildon-touch-selector-column.h
5216 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5218 * src/hildon-touch-selector.c: added the property "text-column" to the
5219 class HildonTouchSelectorColumn, and related get/set functions
5220 (_default_printf_func): updated to use "text-column" property
5221 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5222 "text-column" in his documentation, as this is now included on
5223 HildonTouchSelectorColumn. The get/set_property can still be used,
5224 working as a wrapper to the concrete column "text-column" property
5225 (_text_column_modified): callback added in order to handle the signal
5226 "notify::text-column" of the concrete HildonTouchSelectorColumn
5227 (hildon_touch_selector_entry_get_text_column)
5228 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5229 modified in order to use the HildonTouchSelectorColumn "text-column"
5231 * src/hildon-time-selector.c:
5232 * src/hildon-date-selector.c:
5233 * examples/hildon-touch-selector-example.c
5234 * examples/hildon-touch-selector-multi-cells-example.c
5235 * examples/hildon-picker-button-multicolumn-example.c
5236 Set the right value to "text-column" property on the creation of a new
5237 column using hildon_touch_selector_append_column()
5239 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5241 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5243 * src/hildon-app-menu.c
5244 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5245 updating the layout of the menu, don't create all widgets again,
5246 just repack the items in their new places.
5248 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5250 * src/hildon-time-selector.c
5251 (hildon_time_selector_get_time)
5252 (hildon_time_selector_set_time)
5253 Added documentation of these public methods
5255 * src/hildon-date-button.h
5256 * src/hildon-touch-selector-column.h
5257 * src/hildon-time-button.h
5258 * src/hildon-picker-dialog.h
5259 * src/hildon-time-selector.h
5260 * src/hildon-picker-button.h
5261 * src/hildon-touch-selector.h
5262 * src/hildon-time-picker.h
5263 * src/hildon-date-selector.h
5264 * src/hildon-touch-selector-entry.h
5265 Modified in order to use hildon-widgets code style
5267 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5269 Added deprecated support to the compilation process using
5270 HILDON_DISABLE_DEPRECATED
5272 * configure.ac: Added the --disable-deprecated to the configure
5275 * src/hildon-weekday-picker.c:
5276 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5277 to use the deprecated support. We will update the other deprecated
5278 widgets status in a new patch.
5280 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5282 * configure.ac: Fixed typo with fatal warnings support, the
5283 variable name was not correct
5285 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5287 * src/hildon-app-menu.c
5288 * src/hildon-program.c: Update documentation.
5290 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5292 * configure.ac: Post-release version bump.
5294 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5299 * configure.ac: Pre-release version bump.
5300 * debian/changelog: Updates.
5302 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5304 * NEWS: Update news for previous releases.
5306 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5308 * examples/hildon-touch-selector-multi-cells-example.c:
5309 (create_selector): Update the example to use
5310 hildon_touch_selector_append_column() with a NULL renderer and set
5311 the renderers later.
5312 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5313 passed a NULL renderer. This is documented behavior now.
5315 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5316 This must be used if the developer wants full control on the layout of
5317 the renderers to be added to the column.
5319 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5321 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5323 * src/hildon-touch-selector.c: Documentation fixes.
5325 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5327 * src/hildon-wizard-dialog-private.h: Remove image and box.
5328 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5329 (hildon_wizard_dialog_set_property), (response): Completely remove
5330 image/icon support, and the containers required for the layout.
5332 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5334 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5336 * src/hildon-app-menu.c: Updated documentation.
5338 * src/hildon-stackable-window.c
5339 (hildon_stackable_window_set_main_menu): Unref the old menu after
5340 ref'ing the new one.
5342 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5344 * src/hildon-stackable-window.c
5345 (hildon_stackable_window_set_main_menu): Unref the previous menu
5346 instead of destroying it.
5348 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5349 floating reference and set has_user_ref_count to FALSE to make
5350 HildonAppMenu act like a normal ref-counted widget and not a
5353 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5356 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5358 * src/hildon-touch-selector-column.h: new file
5359 * src/hildon-touch-selector.h
5360 * src/hildon-touch-selector.c
5361 Implemented GtkCellLayout interface, in order to allow to configure
5362 the cell layout on each individual selector column
5363 (hildon_touch_selector_set_column_attributes): marked as deprecated
5364 * examples/hildon-touch-selector-multi-cells-example.c
5365 Example of how to use the GtkCellLayout interface on the selector
5367 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5369 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5371 * src/hildon-app-menu.h
5372 * src/hildon-app-menu.c
5373 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5374 (hildon_app_menu_append, hildon_app_menu_prepend):
5375 New methods to prepend, insert and move items in the menu.
5377 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5379 * src/hildon-wizard-dialog.c:
5381 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5383 (create_title): Update logical IDs and related code.
5384 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5386 * src/hildon-wizard-dialog.h: Note that
5387 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5388 point, as it is not used anymore.
5390 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5392 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5394 * src/hildon-note.c:
5395 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5396 shown. Do not display an icon in confirmation notes nor information
5398 (hildon_note_set_button_text): Update logical ID for cancel button.
5400 Fixes: NB#88850 (Update HildonNote button strings + signals)
5402 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5404 * src/hildon-stackable-window.c
5405 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5407 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5409 * src/hildon-app-menu-private.h
5410 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5411 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5412 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5413 temporary property 'columns' to change the number of columns.
5415 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5417 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5419 * examples/hildon-note-example.c: (on_information_clicked),
5420 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5421 debugging information.
5422 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5424 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5425 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5426 in order to close: this will be handled by the WM from now on.
5428 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5430 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5432 * src/hildon-app-menu-private.h
5433 * src/hildon-app-menu.c
5434 (hildon_app_menu_append, hildon_app_menu_add_filter)
5435 (button_visibility_changed, hildon_app_menu_apply_style)
5436 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5437 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5438 layout everytime a button (item or filter) is shown or hidden.
5440 * src/hildon-stackable-window.c
5441 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5444 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5446 * src/hildon-touch-selector.c:
5447 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5448 that the treeview inside the touch selector is in fremantle hildon mode
5449 * examples/hildon-date-button-example.c
5450 * examples/hildon-picker-button-multicolumn-example.c
5451 * examples/hildon-touch-selector-entry-example.c
5452 * examples/hildon-touch-selector-example.c
5453 * examples/hildon-time-button-example.c
5454 * examples/hildon-picker-button-example.c:
5455 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5457 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5459 * examples/hildon-text-view-example.c: (main): Remove the
5460 gtkrc bits, now handled by the theme.
5462 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5464 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5467 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5469 * po/Makefile.am: Install properly the mo files.
5470 * po/en_GB.po: Update translation, to ease testing purposes.
5472 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5474 * examples/hildon-picker-button-example.c: (main): Select an item
5475 in the selector before setting it to the button.
5477 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5479 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5480 Update button's value if the selector has an item active.
5482 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5483 'value' with the selector)
5485 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5487 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5488 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5489 (hildon_picker_button_class_init): Plug the finalize method.
5490 (hildon_picker_button_set_selector): If there's a previously set
5491 selector, unref'it before setting a new one.
5493 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5494 HildonTouchSelector)
5496 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5498 * src/hildon-touch-selector-entry.c:
5499 (hildon_touch_selector_entry_changed): Check if there is no text
5500 selected before setting the entry text.
5503 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5505 * src/hildon-touch-selector.h
5506 * src/hildon-touch-selector.c
5507 (hildon_touch_selector_get_active)
5508 (hildon_touch_selector_set_active): New methods to set/get the
5509 index of the selected item.
5511 * src/hildon-picker-button.h
5512 * src/hildon-picker-button.c
5513 (hildon_picker_button_get_active)
5514 (hildon_picker_button_set_active): New methods to set/get the
5515 index of the selected item.
5517 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5519 * configure.ac: post-release version bump.
5521 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5525 * configure.ac: Pre-release version bump.
5526 * debian/changelog: Updates.
5527 * debian/control: Add myself as maintainer and depend on l10n
5530 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5532 * src/hildon-window.c
5533 (hildon_window_set_main_menu)
5534 * src/hildon-stackable-window.c
5535 (hildon_stackable_window_set_main_menu):
5536 Updated documentation.
5538 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5540 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5541 Don't free selector->priv manually.
5544 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5547 (hildon_gtk_window_set_progress_indicator):
5548 * src/hildon-gtk.h: Added the new API
5549 hildon_gtk_window_set_progress_indicator, it changes the state of
5550 the window progress hint.
5552 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5554 * src/hildon-button.c
5555 * src/hildon-stackable-window.c: Minor documentation updates.
5557 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5559 * src/hildon-stackable-window.c: Updated documentation.
5561 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5563 * src/hildon-defines.h: Update margins definitions
5564 to the Fremantle sizes.
5567 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5569 * src/hildon-touch-selector.c,
5570 (_hildon_touch_selector_set_model): Cleaning the code after
5571 review, removed g_print and #if 0 from the code.
5573 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5575 * src/hildon-edit-toolbar.c: Update documentation.
5577 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5579 * src/hildon-check-button.h
5580 * src/hildon-check-button.c
5581 (hildon_check_button_set_label, hildon_check_button_get_label)
5582 * examples/hildon-check-button-example.c
5583 (button_clicked_cb):
5584 Removed deprecated methods.
5586 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5588 * src/hildon-text-view.c:
5589 Add sample code to the documentation.
5591 * src/hildon-entry.h
5592 * src/hildon-text-view.h:
5593 Minor cosmetic changes.
5595 * src/hildon-entry.c:
5596 Add sample code to the documentation.
5597 (hildon_entry_init, hildon_entry_refresh_contents):
5598 Don't allow NULL values in the placeholder.
5600 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5602 * doc/hildon-docs.sgml
5604 * examples/Makefile.am
5605 * examples/hildon-text-view-example.c
5607 * src/hildon-text-view.c
5608 * src/hildon-text-view.h
5610 New HildonTextView widget, with example.
5612 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5614 * po/POTFILES.in: Add missing files with translatable strings.
5615 Partially fixes NB#88287.
5617 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5619 * examples/hildon-pannable-area-example-2.c: (main): No need to
5620 set the cellrenderer height inside hildon touch lists, the theme does
5623 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5625 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5626 they are integrated in the theme.
5628 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5630 * examples/hildon-entry-example.c: Update the example adding
5631 widgets to modify the text and the placeholder of the HildonEntry.
5633 * src/hildon-entry.c: Show the placeholder everytime the widget
5634 is empty and loses the focus.
5636 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5638 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5640 * src/hildon-pannable-area.c,
5641 (hildon_pannable_area_size_request): Fixed bug in height
5642 requisition, avoid increasing size and add border twice.
5644 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5646 * configure.ac: postrelease version bump.
5648 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5652 * configure.ac: Prerelease version bump.
5653 * debian/changelog: update.
5654 * debian/rules: make -dbg package contain useful debugging symbols.
5656 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5658 * src/hildon-dialog.h
5659 * src/hildon-dialog.c
5660 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5661 New methods to add buttons with finger size.
5662 (hildon_dialog_new_with_buttons):
5663 Create buttons with finger size.
5665 * examples/hildon-dialog-example.c (main): Use HildonDialog
5666 methods to add buttons.
5668 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5670 * src/hildon-entry.c: Updated HildonButton documentation.
5672 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5674 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5675 button value label with (FALSE, FALSE) to prevent NB#88126 from
5678 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5680 * examples/hildon-pannable-area-example.c,
5681 (main): Removed examples panning a vbox inside a pannable
5682 area. Check bug NB#87965
5684 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5686 Patch contributed by Kris Rietveld (kris@imendio.com)
5688 * src/hildon-pannable-area.c,
5689 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5690 get_size and get_position, this saves an X server roundtrip.
5692 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5694 * doc/hildon-docs.sgml
5696 * examples/Makefile.am
5697 * examples/hildon-entry-example.c
5699 * src/hildon-entry.c
5700 * src/hildon-entry.h
5702 New HildonEntry widget, with example.
5704 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5706 * src/hildon-button.c (hildon_button_construct_child): Pack the
5707 image with expand == fill == FALSE. This is a workaround for a bug
5710 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5712 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5713 labels for the text column, to make it more look more dynamic.
5715 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5717 * src/hildon-time-selector.c
5718 Define gettext auxiliar macro N_
5719 (_create_minutes_model)
5720 (_create_hours_model)
5721 (_create_ampm_model): use of strftime in order to fill the model
5722 * src/hildon-date-selector.c
5723 (hildon_date_selector_finalize):
5724 (_locales_init): remove the logic related to get the name of the months
5725 using nl_langinfo, as it is not required anymore
5727 (_create_year_model)
5728 (_create_month_model)
5729 (_update_day_model): use of strftime in order to fill the model properly
5732 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5734 * src/hildon-button.h
5735 * src/hildon-button.c (hildon_button_get_image): New method to
5738 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5740 * src/hildon-touch-selector.c:
5741 (hildon_touch_selector_remove_column): Remove from the correct parent
5742 and also remove the list element and free it.
5745 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5747 * src/hildon-time-selector.c
5748 (_create_hours_model): change the range on 12h ampm format in order to use
5749 a 12-11 range instead of previous 01-12 range
5750 (hildon_time_selector_set_time): change the way to select the current time
5751 on 12h ampm format, due the change on the range
5752 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5755 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5757 * src/hildon-touch-selector.c
5758 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5759 in order to allow use this function on multiple row selection mode if
5760 the column is different that the first one
5763 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5765 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5766 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5768 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5770 * src/hildon-date-selector.h: clean some comments, now on the .c
5771 * src/hildon-date-selector.c
5772 (hildon_date_selector_select_month): first implementation
5773 (hildon_date_selector_select_day): added documentation, reimplemented
5774 using hildon_date_selector_select_current_date to avoid repeat code
5777 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5779 Reviewed interaction logic based on device experiences, refactored
5782 * src/hildon-pannable-area.c,
5783 (hildon_pannable_area_class_init): Updated default vmax speed.
5784 (hildon_pannable_area_calculate_velocity): Added this function, it
5785 avoids duplicate valocity calculation. Adjusted calculation to
5786 avoid problems with zero dist events.
5788 (hildon_pannable_area_motion_notify_cb): Now we use the
5789 calculate_velocity function.
5791 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5793 * src/hildon-date-selector.c
5794 (hildon_date_selector_select_current_date): fix the day range check
5795 as it failed using the last day of the current month
5798 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5800 * src/hildon-touch-selector.c
5801 (hildon_touch_selector_get_num_columns): added a parameter validation
5804 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5806 * examples/Makefile.am
5807 * examples/hildon-edit-toolbar-example.c: Example of the
5808 HildonEditToolbar widget.
5810 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5812 * configure.ac: postrelease version bump.
5814 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5818 * configure.ac: prerelease version bump.
5819 * debian/changelog: update.
5821 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5823 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5824 renderer to display stock icons in the touch list. Also, set the sizes
5825 to the recommended in the style guide.
5827 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5828 * src/hildon-touch-selector.h
5829 (hildon_touch_selector_set_active_iter): renamed, now is
5830 hildon_touch_selector_select_iter
5831 (hildon_touch_selector_get_active_iter): renamed, now is
5832 hildon_touch_selector_get_selected
5833 (hildon_touch_selector_unselect_iter): added
5834 * src/hildon-touch-selector.c
5835 Update after API modification (methods renamed)
5836 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5837 order to avoid problems selecting multiple elements on the column
5838 (hildon_touch_selector_unselect_iter): added the implementation
5839 * src/hildon-time-selector.c
5840 * src/hildon-date-selector.c
5841 * src/hildon-touch-selector-entry.c
5842 Update methods calls after hildon-touch-selector.h API modification (methods
5845 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5847 * src/hildon-stackable-window.c
5848 (hildon_stackable_window_finalize): Call the parent class's finalize.
5850 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5852 * examples/hildon-touch-selector-example.c: (create_selector): Use
5853 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5856 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5858 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5859 set a cell background color, to respect theming.
5861 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5863 * doc/hildon-docs.sgml
5866 * src/hildon-edit-toolbar.c
5867 * src/hildon-edit-toolbar.h
5868 * src/hildon.h: New HildonEditToolbar widget.
5870 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5872 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5875 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5876 * src/hildon-touch-selector.c
5877 (_create_new_column): use g_object_set instead of two g_object_set_property
5879 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5880 * src/hildon-touch-selector.c
5881 (_create_new_column): use of hildon_gtk_tree_view_new to create
5882 the treeview, instead of use directly g_object_new
5883 (_create_new_column): update the property name "vindicator-mode" for the
5884 new one "vscrollbar-policy"
5885 * examples/hildon-date-button-example.c
5886 * examples/hildon-picker-button-multicolumn-example.c
5887 * examples/hildon-touch-selector-entry-example.c
5888 * examples/hildon-touch-selector-example.c
5889 * examples/hildon-time-button-example.c
5890 * examples/hildon-picker-button-example.c
5891 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5892 to all the treeviews inside a pannable area.
5894 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5896 * src/hildon-button.h
5897 * src/hildon-button.c (hildon_button_init)
5898 (hildon_button_set_arrangement, hildon_button_set_alignment)
5899 (hildon_button_set_title_alignment)
5900 (hildon_button_set_value_alignment)
5901 (hildon_button_set_image_alignment)
5902 (hildon_button_construct_child): New methods to set the alignment
5903 of the individual components of the button (title, value,
5904 image). Also, new method to alter the xscale and yscale properties
5905 of the GtkAlignment inside the button, so more complex layouts can
5908 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5910 * src/hildon-button.c (hildon_button_style_set)
5911 (hildon_button_class_init, hildon_button_set_arrangement)
5912 (hildon_button_construct_child): Apply style properties
5913 correctly. Use the 'image-spacing' style property too.
5915 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5917 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5918 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5921 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5923 * src/hildon-pannable-area.c,
5924 (hildon_pannable_area_size_request): Fixed problem with
5925 pannable-area size_request.
5927 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5929 Added management for the grab-focus to a child widget, like a
5930 range, we need to fade out the scrollbar when releasing.
5932 * src/hildon-pannable-area.c,
5933 (hildon_pannable_area_init): Connected the grab-focus signal to
5935 (hildon_pannable_area_grab_notify): Added this function in order
5936 to manage the situation when the grab-focus ends. We have to
5937 fade-out the scrollbar.
5939 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5941 * src/hildon-app-menu.c: Minor documentation update.
5943 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5945 * src/hildon-app-menu.c
5946 * examples/hildon-app-menu-example.c (create_menu): Update
5947 examples and documentation to explain how to connect callbacks.
5949 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5951 * examples/hildon-button-example.c
5952 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5953 hildon_stackable_window_new instead of gtk_window_new
5955 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5957 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5958 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5959 (hildon_pannable_area_set_property),
5960 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5961 (hildon_pannable_area_unrealize),
5962 (hildon_pannable_area_size_request),
5963 (hildon_pannable_area_size_allocate),
5964 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5965 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5966 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5967 (hildon_pannable_area_initial_effect),
5968 (hildon_pannable_area_redraw),
5969 (hildon_pannable_area_scroll_indicator_fade),
5970 (hildon_pannable_area_expose_event),
5971 (hildon_pannable_area_get_topmost), (synth_crossing),
5972 (hildon_pannable_area_button_press_cb),
5973 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5974 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5975 (hildon_pannable_area_motion_notify_cb),
5976 (hildon_pannable_area_button_release_cb),
5977 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5978 (hildon_pannable_area_remove),
5979 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5980 chage the code layout to a more GtkWidget like. Review the use of
5983 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5985 * examples/hildon-pannable-area-example-4.c,
5986 (main): Modified the name of the hindicator_mode to
5989 * src/hildon-pannable-area.c,
5990 (hildon_pannable_area_class_init),
5991 (hildon_pannable_area_motion_notify_cb),
5992 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5993 we have reduced the amount of signals and managed reviewed its
5994 rationale. Changed the default decelerate value.
5996 (hildon_pannable_area_add),
5997 (hildon_pannable_area_redraw): Refactored functions.
5999 (hildon_pannable_area_init),
6000 (hildon_pannable_area_get_property),
6001 (hildon_pannable_area_set_property):
6002 (hildon_pannable_draw_vscroll),
6003 (hildon_pannable_draw_hscroll),
6004 (hildon_pannable_area_initial_effect),
6005 (hildon_pannable_area_expose_event),
6006 (hildon_pannable_area_scroll),
6007 (hildon_pannable_area_button_press_cb),
6008 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6009 and vindicator_mode with hscrollbar_policy and
6010 vscrollbar_policy. Replaced hscroll and vscroll with
6011 hscroll_visible and vscroll_visible.
6013 (hildon_pannable_area_refresh): Refactor the function, remove
6014 variables and check the calls to this function, added resize
6015 conditions in case the children change their layout.
6017 (hildon_pannable_area_size_request): Added more detailed
6018 size_request calculation.
6021 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6023 * src/hildon-color-chooser.c
6024 (init_borders): use the correct gtk_border_free instead of g_free, to
6025 avoid a crash when this widget is used (ie: the three color selection
6028 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6030 * src/hildon-check-button.c,
6031 (hildon_check_button_set_active): Fixed problem when setting the
6032 active value, the widget was not redrawn.
6034 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6036 * src/hildon-pannable-area.c,
6037 (hildon_pannable_area_refresh),
6038 (hildon_pannable_area_scroll),
6039 (hildon_pannable_area_motion_notify_cb): Small code style change.
6041 (hildon_pannable_area_class_init): Default initial_hint set to
6042 FALSE, it is not in the specs.
6044 (hildon_pannable_area_initial_effect),
6045 (hildon_pannable_area_expose_event),
6046 (hildon_pannable_area_map),
6047 (hildon_pannable_area_init): Moved the launching point of the
6048 initial effect, it was in map but the sizes where not correct in
6049 that method so we do not know if we have the reproduce it. Now it
6050 is placed in the expose_event method and uses a variable to
6051 reproduce it just once.
6053 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6055 * src/hildon-pannable-area.c,
6056 (hildon_pannable_draw_vscroll),
6057 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6058 position allowed for the scrollbars.
6060 (hildon_pannable_area_size_allocate): Small style change.
6062 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6064 * src/hildon-pannable-area.c,
6065 (hildon_pannable_area_scroll_indicator_fade),
6066 (hildon_pannable_area_button_press_cb),
6067 (hildon_pannable_area_button_release_cb),
6068 (hildon_pannable_area_scroll_cb),
6069 (hildon_pannable_area_expose_event),
6070 (hildon_pannable_area_init): Added the define parameter
6071 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6072 and refactor the fade variable.
6074 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6076 * src/hildon-pannable-area.c,
6077 (hildon_pannable_area_redraw),
6078 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6079 lines, we were reimplemeting the redraw code.
6081 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6083 * src/hildon-pannable-area.c,
6084 (hildon_pannable_area_scroll_cb),
6085 (hildon_pannable_area_realize),
6086 (hildon_pannable_area_class_init): Added scroll_event management
6087 for pannable area, now we can scroll the usual desktop method.
6089 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6090 initialization of the parameters should depend on idle_id.
6092 (hildon_pannable_area_init),
6093 (hildon_pannable_area_map): Small code style modifications
6095 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6097 * src/hildon-pannable-area.c
6098 (hildon_pannable_area_button_press_cb),
6099 (hildon_pannable_area_motion_notify_cb),
6100 (hildon_pannable_area_button_release_cb),
6101 (hildon_pannable_area_size_allocate),
6102 (hildon_pannable_area_scroll_to): Improved the timeouts
6103 management, we avoid creating them each time.
6105 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6107 * src/hildon-pannable-area.c:
6108 (hildon_pannable_area_refresh),
6109 (hildon_pannable_area_motion_notify_cb),
6110 (hildon_pannable_area_class_init):
6111 * src/hildon-pannable-area.h:
6112 * src/hildon-touch-selector.c
6113 (_create_new_column):
6114 * examples/hildon-pannable-area-example-4.c:
6115 (horizontal_movement),
6116 (vertical_movement),
6118 Replaced the names of enums in the HildonPannableArea:
6119 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6120 HILDON_MOVEMENT_MODE_*
6121 - HILDON_PANNABLE_AREA_MOV_* ->
6123 - Removed HildonPannableAreaIndicatorMode, now we
6126 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6128 * examples/hildon-pannable-area-touch-grid-example.c
6129 * examples/hildon-pannable-area-touch-list-example.c: Fix
6130 compilation warnings.
6132 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6134 * src/hildon-gtk.c (hildon_gtk_button_new)
6135 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6136 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6137 images overriding the value of the "gtk-button-images" setting.
6139 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6141 * src/hildon-check-button.c (hildon_check_button_new):
6142 Instead of using a custom container, display the label and the
6143 checkbox using the standard GtkButton API.
6145 * examples/hildon-check-button-example.c (main): Don't use
6146 hildon_check_button_set_label() anymore
6148 * src/hildon-check-button.h
6149 * src/hildon-check-button.c
6150 (hildon_check_button_set_label, hildon_check_button_get_label):
6151 Set as deprecated, now we're using gtk_button_{get,set}_label()
6153 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6155 * src/hildon-pannable-area.c,
6156 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6157 GtkTreeview first line we detected it after the inclusion of the
6158 GtkWindowImpl in gtk+. We now check if the window is visible, not
6159 just if the pointer is over the window.
6160 (hildon_pannable_axis_scroll),
6161 (hildon_pannable_area_expose_event): Small style changes.
6163 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6165 * src/hildon-button.c: Update documentation.
6167 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6169 * examples/hildon-button-example.c: Add a switch to show images in
6172 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6174 * doc/hildon-docs.sgml: Some docs reorganization.
6176 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6178 * examples/hildon-pannable-area-touch-list-example.c
6180 * examples/hildon-pannable-area-touch-grid-example.c
6181 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6182 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6183 Fix memory leak when setting the tree model.
6185 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6189 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6191 * doc/hildon.types: Remove duplicated hildon_window_get_type
6192 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6193 documentation comment.
6195 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6197 * doc/Makefile.am: Complete list of private headers.
6199 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6201 * doc/hildon-docs.sgml
6202 * src/hildon-app-menu.c
6203 * src/hildon-bread-crumb.c
6204 * src/hildon-button.c
6206 * src/hildon-program.c
6207 * src/hildon-stackable-window.c
6208 * src/hildon-window.c: Lots of documentation updates.
6210 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6212 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6214 * configure.ac: Require Gtk+ 2.12.9 at least
6216 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6218 * src/hildon-pannable-area.c
6219 (hildon_pannable_area_scroll_indicator_fade),
6220 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6221 to protect the return of this timeout callbacks, avoiding deadlocks.
6223 2008-08-12 Christian Dywan <christian@imendio.com>
6226 * src/hildon-*.h: Ensure a consistent include order,
6227 include <gtk/gtk.h> instead of particular files and
6228 only include the topmost header in the gtk stack. See NB #39857
6230 2008-08-12 Christian Dywan <christian@imendio.com>
6232 * src/hildon-picker-dialog.c
6233 * src/hildon-touch-selector.c: Fix warnings about unused and
6234 uninitialized variables.
6236 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6238 * examples/Makefile.am
6239 * examples/hildon-check-button-example.c: Example of the hildon
6242 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6244 * src/hildon-window.h
6245 * src/hildon-window.c (hildon_window_class_init)
6246 (hildon_window_unset_program): Don't make
6247 hildon_window_unset_program a virtual function anymore.
6249 * src/hildon-stackable-window.c: Update documentation
6251 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6254 * doc/hildon-docs.sgml
6255 * doc/visual_index.xml
6256 * src/hildon-defines.c
6258 * src/hildon-helper.c
6259 * src/hildon-range-editor.c: Lots of documentation fixes.
6261 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6263 * examples/hildon-picker-button-multicolumn-example.c
6264 (create_touch_selector): Fix compilation warning.
6266 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6268 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6269 (hildon_pannable_area_button_release_cb)
6270 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6272 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6274 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6277 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6279 * src/hildon-bread-crumb-trail.h
6280 * src/hildon-date-editor.c
6281 * src/hildon-date-selector.c
6282 * src/hildon-pannable-area.c
6283 * src/hildon-picker-dialog.c
6284 * src/hildon-time-selector.c
6285 * src/hildon-touch-selector-entry.c
6286 * src/hildon-touch-selector.c
6287 * src/hildon-touch-selector.h: Misc documentation fixes
6289 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6291 * examples/hildon-date-editor-example.c (main): Updated date
6294 * examples/hildon-note-example.c (on_confirmation_clicked):
6295 Updated confirmation note example.
6297 * src/hildon-date-editor.c
6298 * src/hildon-note.c: Updated sample programs in documentation.
6301 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6303 * src/hildon-date-button.h:
6304 * src/hildon-picker-button.h:
6305 * src/hildon-time-button.c:
6306 * src/hildon-time-button.h:
6308 Some declarations changes to allow gtk-doc to document the widgets
6311 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6313 * src/hildon-date-button.c: Document the widget.
6314 * src/hildon-time-button.c: Document the widget.
6316 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6318 * src/hildon-picker-button.c: Document the widget.
6319 * src/hildon-touch-selector-entry.c: Document the widget.
6321 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6323 * doc/hildon-docs.sgml
6326 * src/hildon-check-button.h
6327 * src/hildon-check-button.c: New functions to create the Hildon
6331 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6333 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6335 * src/hildon-button.h
6336 * src/hildon-button.c
6337 (hildon_button_add_title_size_group)
6338 (hildon_button_add_value_size_group)
6339 (hildon_button_add_image_size_group)
6340 (hildon_button_add_size_groups): New functions to set size groups
6341 for the button labels and image.
6342 (hildon_button_new_full): Removed
6344 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6346 * src/hildon-time-selector.c
6347 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6348 in order to avoid a crash if gconf is not available
6350 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6352 * src/hildon-button.c (hildon_button_set_arrangement)
6353 (hildon_button_construct_child): Don't construct the button child
6354 before setting the arrangement.
6356 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6358 * src/hildon-program-private.h
6359 * src/hildon-program.c
6360 * src/hildon-program.h
6361 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6362 (hildon_program_peek_window_stack)
6363 (hildon_program_pop_window_stack)
6364 (hildon_program_go_to_root_window): HildonProgram now has a
6365 separate list for stackable windows. Functions are provided to
6366 manage that list with a stack-like API.
6368 * src/hildon-stackable-window.c: Stackable window management is
6369 now much simpler with the new HildonProgram API. Windows no
6370 longer need to be manually added to the program, they're
6371 automatically pushed to the top of the stack when shown.
6373 * examples/hildon-stackable-window-example.c: Updated example to
6374 reflect the API changes.
6376 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6378 * src/hildon-touch-selector.c: Comment out unimplemented
6379 hildon_touch_selector_insert_column() to avoid a compile warning.
6381 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6383 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6384 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6385 (hildon_touch_selector_set_column_selection_mode),
6386 (_hildon_touch_selector_set_model),
6387 (hildon_touch_selector_set_model):
6389 Complete review of HildonTouchSelector documentation.
6391 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6393 * doc/hildon-docs.sgml
6397 * src/hildon-gtk.c: Convenience functions for standard Gtk
6398 widgets, used to easily perform frequent operations.
6400 * src/hildon-button-helpers.h
6401 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6403 * src/hildon-helper.h
6404 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6405 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6407 * src/hildon-button.h
6408 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6410 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6412 * src/hildon-button.c (hildon_button_init)
6413 (hildon_button_set_arrangement, hildon_button_construct_child):
6414 Pack the image and the labels inside the same GtkAlignment so
6415 gtk_button_set_alignment() can be used
6417 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6419 * src/hildon-button.h
6420 * src/hildon-button.c
6421 (hildon_button_init, hildon_button_set_image)
6422 (hildon_button_set_image_position)
6423 (hildon_button_construct_child): New functions to add an image to
6426 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6428 * src/hildon-date-button.c
6429 * src/hildon-picker-button.c
6430 * src/hildon-time-button.c
6431 * src/hildon-button.c:
6432 (hildon_button_class_init): "size-flags" renamed to "size"
6433 (hildon_button_set_title): Hide the title label if set to NULL.
6435 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6437 HildonButtonFlags split into HildonButtonArrangement (to set the
6438 button layout) and HildonSizeType (which can be used for any
6441 * src/hildon-button.h
6442 * src/hildon-button.c
6443 (hildon_button_class_init)
6444 (hildon_button_set_arrangement)
6445 (hildon_button_set_property): New "size-flags"
6446 property. "arrangement-flags" renamed to "arrangement".
6447 (hildon_button_new, hildon_button_new_with_text)
6448 (hildon_button_new_full): Constructors updated to reflect type changes.
6450 * src/hildon-helper.h
6451 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6452 to set the size of a widget.
6456 * src/hildon-button-helpers.c
6457 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6459 * src/hildon-date-button.c
6460 * src/hildon-date-button.h
6461 * src/hildon-picker-button.c
6462 * src/hildon-picker-button.h
6463 * src/hildon-time-button.c
6464 * src/hildon-time-button.h: Updated widgets to reflect
6465 HildonButton API changes.
6467 * examples/hildon-button-example.c
6468 * examples/hildon-date-button-example.c
6469 * examples/hildon-picker-button-example.c
6470 * examples/hildon-picker-button-multicolumn-example.c
6471 * examples/hildon-time-button-example.c
6472 * examples/hildon-touch-selector-entry-example.c
6473 * examples/hildon-touch-selector-example.c: Updated examples to
6474 reflect HildonButton API changes.
6476 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6478 * doc/hildon-docs.sgml:
6480 * examples/Makefile.am:
6481 * examples/hildon-touch-selector-entry-example.c:
6483 * src/hildon-touch-selector-entry.c:
6484 * src/hildon-touch-selector-entry.h:
6487 Moved HildonTouchSelectorEntry from sandbox. Added its
6488 documentation and examples.
6490 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6492 * src/hildon-touch-selector.h:
6493 * examples/hildon-picker-button-multicolumn-example.c:
6494 (hildon_touch_selector_append_text_column): Add a gboolean
6495 parameter to determine if text must be centered in the column.
6497 * src/hildon-date-selector.c: (hildon_date_selector_init):
6498 * src/hildon-time-selector.c: (hildon_time_selector_init):
6499 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6500 (create_touch_selector): Update widgets and example to reflect
6503 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6505 * src/hildon-touch-selector.c:
6506 (hildon_touch_selector_set_active_iter): Set also the cursor in
6509 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6511 * doc/hildon-docs.sgml
6514 * src/hildon-toggle-button.c
6515 * src/hildon-toggle-button.h
6516 * src/hildon.h: Removed HildonToggleButton widget, a derived
6517 class is not necessary for this.
6519 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6521 * src/hildon-pannable-area.c,
6522 (hildon_pannable_area_realize),
6523 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6526 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6528 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6529 "done" button the default widget for the dialog.
6531 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6533 * src/hildon-touch-selector.c:
6534 (hildon_touch_selector_class_init),
6535 (hildon_touch_selector_get_property),
6536 (_hildon_touch_selector_set_model),
6537 (_hildon_touch_selector_has_multiple_selection),
6538 (hildon_touch_selector_has_multiple_selection):
6539 Add a "has-multiple-selection" property with a virtual
6540 has_multiple_selection() method to allow derived classes to
6541 override the default value for it. See the method and property
6542 documentation for details.
6544 * src/hildon-touch-selector.h: Add the new API.
6546 * src/hildon-picker-dialog.c: (requires_done_button): Call
6547 hildon_touch_selector_has_multiple_selection() instead of
6548 determining the need for a button itself.
6550 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6552 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6553 (_hildon_touch_selector_set_model),
6554 (hildon_touch_selector_set_model): Move working code to
6555 _hildon_touch_selector_set_mode(). Call the class method instead.
6557 * src/hildon-touch-selector.h: Add (*set_model) to
6558 HildonTouchSelectorClass.
6560 Make hildon_touch_selector_set_model() a virtual method, so that
6561 derived classes can extend it and do fancy stuff with the model.
6563 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6565 * configure.ac: Set back the tarname in AC_INIT to hildon.
6567 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6571 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6572 instead of libesd (NB#86876). Volume handling is still an open issue.
6574 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6577 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6579 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6580 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6581 derived class to ease placement of an entry widget in
6582 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6583 end, where the selector columns are packed now.
6585 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6587 * src/hildon-picker-button.c: Removed the simple _text() API.
6588 * src/hildon-picker-button.h: Likewise.
6590 * src/hildon-touch-selector.h:
6591 * src/hildon-touch-selector.c:
6592 (hildon_touch_selector_new_text),
6593 (hildon_touch_selector_append_text),
6594 (hildon_touch_selector_prepend_text),
6595 (hildon_touch_selector_insert_text):
6597 Moved the simple _text() API from HildonPickerButton to
6598 HildonTouchPicker, to provide better escalability and not to tie
6599 that API to HildonPickerButton.
6601 * examples/hildon-picker-button-example.c: (main): Example updated.
6603 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6605 * src/hildon-button.c: Updated documentation.
6607 * examples/hildon-button-example.c: Add the posibility to create
6608 the buttons using horizontal layout for title and value.
6610 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6612 * src/hildon-app-menu-private.h
6613 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6614 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6615 GtkSizeGroup for the filters, use the 'homogeneous' property of
6618 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6620 * examples/hildon-button-example.c: Updated example.
6622 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6624 * doc/hildon-docs.sgml:
6627 Update documentation.
6629 * examples/Makefile.am: Update renamed examples.
6631 * examples/hildon-picker-button-multicolumn-example.c:
6632 (create_touch_selector), (main): Update after the rename.
6634 * examples/hildon-touch-picker-example.c: Removed.
6635 * examples/hildon-touch-selector-example.c: (value_changed),
6636 (create_selector), (get_visible_content), (main): Renamed from
6637 hildon-touch-picker-example.c
6639 * src/Makefile.am: Updated renamed files.
6641 * src/hildon-date-button.c: (hildon_date_button_init),
6642 (hildon_date_button_get_date), (hildon_date_button_set_date):
6643 * src/hildon-date-selector.c: (hildon_date_selector_init),
6644 (_custom_print_func), (_update_day_model),
6645 (_manage_selector_change_cb),
6646 (hildon_date_selector_select_current_date),
6647 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6648 * src/hildon-date-selector.h:
6649 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6650 (hildon_picker_button_set_property),
6651 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6652 (hildon_picker_button_init), (hildon_picker_button_new_text),
6653 (hildon_picker_button_append_text),
6654 (hildon_picker_button_prepend_text),
6655 (hildon_picker_button_insert_text),
6656 (hildon_picker_button_set_selector),
6657 (hildon_picker_button_get_selector):
6658 * src/hildon-picker-button.h:
6659 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6660 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6661 (_update_title_on_selector_changed_cb), (requires_done_button),
6662 (_hildon_picker_dialog_set_selector),
6663 (hildon_picker_dialog_set_selector),
6664 (hildon_picker_dialog_get_selector):
6665 * src/hildon-picker-dialog.h:
6666 * src/hildon-time-button.c: (hildon_time_button_init),
6667 (hildon_time_button_get_time), (hildon_time_button_set_time):
6668 * src/hildon-time-selector.c: (hildon_time_selector_init),
6669 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6670 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6671 * src/hildon-time-selector.h:
6674 Massive code updates after the rename.
6676 * src/hildon-touch-picker.c: Removed.
6677 * src/hildon-touch-picker.h: Removed.
6679 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6680 (hildon_touch_selector_init), (hildon_touch_selector_map),
6681 (hildon_touch_selector_remove), (_default_print_func),
6682 (_selection_changed_cb), (_create_new_column),
6683 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6684 (hildon_touch_selector_append_text_column),
6685 (hildon_touch_selector_remove_column),
6686 (hildon_touch_selector_set_column_attributes),
6687 (hildon_touch_selector_insert_column),
6688 (hildon_touch_selector_get_num_columns),
6689 (hildon_touch_selector_get_column_selection_mode),
6690 (hildon_touch_selector_set_column_selection_mode),
6691 (hildon_touch_selector_set_print_func),
6692 (hildon_touch_selector_get_print_func),
6693 (hildon_touch_selector_get_active_iter),
6694 (hildon_touch_selector_set_active_iter),
6695 (hildon_touch_selector_get_selected_rows),
6696 (hildon_touch_selector_get_model),
6697 (hildon_touch_selector_set_model),
6698 (hildon_touch_selector_get_current_text),
6699 (_hildon_touch_selector_center_on_selected_items):
6700 * src/hildon-touch-selector.h: Renamed from
6701 hildon-touch-picker.[ch]
6703 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6704 references, code examples, and related documentation.
6706 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6708 * doc/hildon-docs.sgml
6711 * src/hildon-toggle-button.c
6712 * src/hildon-toggle-button.h
6713 * src/hildon.h: New HildonToggleButton widget.
6715 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6717 * src/hildon-button.c: Add API documentation.
6718 (hildon_button_set_size_groups): Check input parameters
6720 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6722 * src/hildon-pannable-area.c
6723 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6724 effect after reaching the movement thredshold. This way we start
6725 using the distance after passing the thredshold.
6727 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6729 * src/hildon-button.c: (hildon_button_set_property): Use the
6730 appropriate g_value_get_flags() method.
6732 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6734 * doc/hildon-docs.sgml:
6737 Add the touch pickers, picker dialogs, and picker button widgets
6738 to the documentation.
6740 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6742 * src/hildon-button.c: (hildon_button_set_property),
6743 (hildon_button_class_init): Make "arrangement-flags" a proper
6744 G_TYPE_FLAGS derived property.
6746 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6748 * examples/Makefile.am: Add below examples.
6749 * examples/hildon-date-button-example.c:
6750 * examples/hildon-picker-button-example.c:
6751 * examples/hildon-picker-button-multicolumn-example.c:
6752 * examples/hildon-time-button-example.c:
6753 * examples/hildon-touch-picker-example.c:
6755 Add examples for the recently added touch pickers,
6756 picker dialogs, and picker button widgets.
6758 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6760 * src/hildon-button.c: Add some API documentation
6762 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6764 * src/hildon-button.h
6765 * src/hildon-button.c
6767 (hildon_button_new_with_text): New constructor to create a button
6768 with no text at all.
6769 (hildon_button_init, hildon_button_set_arrangement)
6770 (hildon_button_set_title, hildon_button_set_value)
6771 (hildon_button_set_text)
6772 (hildon_button_construct_child): Hide the value when it's not used
6773 so the rest of the text is properly aligned.
6774 Allow creating buttons with arbitrary widgets inside (not just
6775 title/value labels).
6777 * examples/hildon-button-example.c (vertical_buttons_window)
6778 (horizontal_buttons_window): Update example to use new API.
6780 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6782 * src/Makefile.am: Added HildonTimeButton.
6783 * src/hildon-time-button.c: Added missing LGPL header.
6784 * src/hildon-time-button.h: Added missing LGPL header.
6785 * src/hildon.h: Add hildon-time-button.h
6787 Copied HildonTimeButton from sandbox to trunk. Future work on this
6788 widget must take place in trunk.
6790 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6792 * src/Makefile.am: Added HildonDateButton.
6793 * src/hildon-date-button.c: Update includes.
6794 * src/hildon.h: Add hildon-date-button.h
6796 Copied HildonDateButton from sandbox to trunk. Future work on this
6797 widget must take place in trunk.
6799 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6801 * src/Makefile.am: Added HildonPickerButton.
6802 * src/hildon-picker-button.h: Update includes.
6803 * src/hildon.h: Add hildon-picker-button.h
6805 Copied HildonPickerButton from sandbox to trunk. Future work on
6806 this widget must take place in trunk.
6808 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6810 * src/Makefile.am: Added HildonPickerDialog.
6811 * src/hildon-picker-dialog.c: Update includes.
6812 * src/hildon.h: Add hildon-picker-dialog.h
6814 Copied HildonPickerDialog from sandbox to trunk. Future work
6815 on this widget must take place in trunk.
6817 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6819 * src/Makefile.am: Added HildonTimeSelector.
6820 * src/hildon.h: Add hildon-time-selector.h
6822 Copied HildonTimeSelector widget from sandbox to trunk. Future
6823 work on this widget must happen in trunk.
6825 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6827 * src/Makefile.am: Added HildonDateSelector.
6828 * src/hildon.h: Add hildon-date-selector.h
6830 Copied HildonDateSelector 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 HildonTouchPicker.
6836 * src/hildon-touch-picker.c: Update includes.
6837 * src/hildon.h: Add hildon-touch-picker.h
6839 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6840 on this widget must happen in trunk.
6842 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6844 * src/hildon-pannable-area.c:
6845 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6847 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6849 * examples/hildon-app-menu-example.c (main): Let the window
6852 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6854 * src/hildon-pannable-area.c
6855 (hildon_pannable_area_class_init): Set the min value of the
6856 overshoot properties to zero, which points out that not
6857 overshooting allowed.
6859 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6861 Modified the procedure to get the widget at a point inside the
6862 pannable area when using the movement type signals. Now the user
6863 has to call a function to get the child, that way we just
6864 calculate the child in case the user really want to use it and not
6867 * src/hildon-marshalers.list: Modified the marshallers, now we do
6868 not have the widget as a parameter.
6870 * src/hildon-pannable-area.c
6871 (hildon_pannable_area_motion_notify_cb),
6872 (hildon_pannable_area_class_init),
6873 (hildon_pannable_get_child_widget_at): Removed the widget
6874 parameter from the signal callback. We have also refactored the
6875 emission of the signals.
6877 * src/hildon-pannable-area.h: Added a new method to the API to
6878 calculate a widget at a point inside the pannable area,
6879 hildon_pannable_get_child_widget_at.
6881 * examples/hildon-pannable-area-example-4.c
6882 (horizontal_movement): Modified the example to use the new API,
6883 added condition to control which widget is under the event. This
6884 way we can avoid scrolling laterally over other widgets.
6886 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6888 * src/hildon-pannable-area.c
6889 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6890 modes, we stop getting the pointer events due to returning the
6891 callback without properly calling the get pointer again. Fixed
6892 also an error using the hscroll and vscroll.
6894 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6896 * src/hildon-app-menu-private.h
6897 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6898 (hildon_app_menu_button_release, hildon_app_menu_init)
6899 (hildon_app_menu_class_init): Don't hide the menu on button
6900 release if the user didn't press outside first.
6902 * src/hildon-window.h
6903 * src/hildon-window.c (hildon_window_toggle_menu)
6904 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6905 hildon_window_toggle_menu a virtual function for the stackable
6906 window to override it.
6908 * src/hildon-stackable-window.h
6909 * src/hildon-stackable-window-private.h
6910 * src/hildon-stackable-window.c
6911 (hildon_stackable_window_realize)
6912 (hildon_stackable_window_finalize)
6913 (hildon_stackable_window_class_init)
6914 (hildon_stackable_window_init)
6915 (hildon_stackable_window_set_main_menu): New function to set the
6916 app menu of a HildonStackableWindow.
6918 * examples/hildon-app-menu-example.c: Remove the button to show
6919 the app menu, now it'll be shown when clicking on the title bar
6922 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6924 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6925 set the widget name if the arrangement flags do not specify
6928 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6930 * src/hildon-button.c: (hildon_button_set_property),
6931 (hildon_button_class_init), (hildon_button_new_full),
6932 (hildon_button_set_arrangement): Added "arrangement-flags"
6935 Make the HildonButtonFlags a construction-only property, to allow
6936 subclasses to set them properly.
6938 2008-07-21 Tim Janik <timj@imendio.com>
6940 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6941 insertion position after backspace, so additional digits are appended,
6944 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6946 * src/hildon-pannable-area.c,
6947 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6948 TODO list, it was complete and removed the g_debug and g_print
6951 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6953 Added the movement modes to the hildon-pannable-area, with this
6954 modes the developers can control in which directions the widget
6955 can scroll. They can also connect to signals in order to do
6956 something when that happens, allowing applications scroll. There
6957 is an example uploaded showing how to use it.
6959 * examples/Makefile.am:
6960 * examples/hildon-pannable-area-example-4.c: Added this example of
6961 an application using the modes.
6963 * src/hildon-marshalers.list: Added a new marshaller for the new
6966 * src/hildon-pannable-area.h: Added new enumerations and flags in
6967 order to control the movement modes and the new signals to warn
6968 about the movements in the area.
6970 * src/hildon-pannable-area.c:
6971 (hildon_pannable_axis_scroll),
6972 (hildon_pannable_area_scroll),
6973 (hildon_pannable_area_motion_notify_cb),
6974 (hildon_pannable_area_get_property),
6975 (hildon_pannable_area_set_property),
6976 (hildon_pannable_area_map),
6977 (hildon_pannable_area_class_init),
6978 (hildon_pannable_area_init),
6979 (hildon_pannable_area_jump_to): Added the modes to control the
6980 movement in the widget. We have added properties to control it,
6981 signals to warn about the movements and refactored some code.
6983 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6985 Changes required in order to allow vfast_factor set to zero to
6988 * src/hildon-pannable-area.c:
6989 (hildon_pannable_area_button_press_cb): Changed the condition, it
6990 is required for not allowing click when vfast_factor is zero.
6991 (hildon_pannable_area_timeout): Initialized velocity variables
6992 when we stop moving, it was less than 1 but not zero and we need
6993 to check zero in some situations.
6994 (hildon_pannable_area_class_init): Changed the default value of
6995 the speed factor, now the button_press is just sent in case the
6996 speed is 2 per cent of the max speed.
6997 (hildon_pannable_area_init): Initialization with 0.
6999 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7001 * src/hildon-pannable-area.c,
7002 (hildon_pannable_area_get_topmost): replaced
7003 gdk_window_get_children with gdk_window_peek_children, this way we
7004 do not have to free the list because it is not a copy.
7006 (hildon_pannable_axis_scroll),
7007 (hildon_pannable_area_scroll),
7008 (hildon_pannable_area_timeout),
7009 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7010 two parameters that were only used inside the
7011 hildon_pannable_area_scroll function.
7013 * examples/hildon-pannable-area-example.c,
7014 (get_sawtooth_label): Fixed small memory leak.
7016 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7018 More checks for the case where the overshoot is bigger than the
7021 * src/hildon-pannable-area.c:
7022 (hildon_pannable_draw_vscroll),
7023 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7024 to draw the slider of the scrollbar under the other scrollbar.
7025 (hildon_pannable_area_expose_event): added new checks to control
7026 the drawing of the overshooting area rectangle, in case it is too
7027 big for the area of the widget.
7028 (hildon_pannable_area_size_allocate): add more checks to avoid
7029 setting a position to the child widget outside the area.
7031 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7033 * src/hildon-pannable-area.c
7034 (hildon_pannable_area_size_allocate): Added conditions to control
7035 when overshooting is bigger than the allocated space for the
7036 children, this avoids negative allocations.
7038 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7040 * doc/hildon-docs.sgml
7042 * examples/Makefile.am
7043 * examples/hildon-button-example.c
7045 * src/hildon-button.c
7046 * src/hildon-button.h
7047 * src/hildon.h: Initial version of the new HildonButton widget,
7050 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7052 * src/hildon-pannable-area.c:
7053 (hildon_pannable_area_button_press_cb),
7054 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7055 (hildon_pannable_area_motion_notify_cb),
7056 (hildon_pannable_area_button_release_cb),
7057 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7058 (hildon_pannable_area_jump_to_child):
7060 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7062 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7064 * examples/Makefile.am
7065 * examples/hildon-pannable-area-touch-grid-example.c
7066 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7067 the Hildon Touch List and Hildon Touch Grid using the
7068 HildonPannableArea widget.
7070 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7072 * src/hildon-pannable-area.c,
7073 (hildon_pannable_area_button_press_cb),
7074 (hildon_pannable_area_refresh),
7075 (hildon_pannable_area_scroll),
7076 (hildon_pannable_area_motion_notify_cb),
7077 (hildon_pannable_area_button_release_cb),
7078 (hildon_pannable_area_expose_event),
7079 (hildon_pannable_area_add),
7080 (hildon_pannable_area_remove),
7081 (hildon_pannable_area_realize),
7082 (hildon_pannable_area_size_allocate),
7083 (hildon_pannable_area_class_init),
7084 (hildon_pannable_area_init),
7085 (hildon_pannable_area_scroll_to_child),
7086 (hildon_pannable_area_jump_to_child): Fixed the problem of
7087 removing the child from the GtkBin, we have rearranged the widget
7088 hierarchy, now there is no GtkAlignment which was not doing
7089 anything interesting but breaking some of the assumptions of
7090 GtkContainer. Now developers if they want to add a GtkAlignment
7091 they could, but it is not inside the area.
7093 We had to review the whole allocation/expose process, now it is
7094 improved and we save at least three signals which would be saving
7095 some time when rendering the widget. The allocation of the
7096 scrollbars is now made in the allocate method as usual.
7098 We have also added some conditions in order to control when there
7099 is no child of the pannable area. Maybe we will need more work
7102 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7104 * src/hildon-pannable-area.c,
7105 (hildon_pannable_area_dispose): Released the fade-out timeout when
7106 disposing the widget.
7108 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7110 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7111 zero, we are going to use that property in order to deactivate the
7113 (hildon_pannable_axis_scroll),
7114 (hildon_pannable_area_size_allocate): Added conditions to control
7115 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7116 call, now it is called in all situations and we can remove calls
7117 in the allocate method.
7118 (hildon_pannable_area_map): Control the situation when
7119 overshoot_max is zero, we do not need the timeout.
7120 (hildon_pannable_area_class_init): Added documentation in order to
7121 point out that setting zero to overshoot_max means deactivate
7124 NOTE: removed trailing whitespaces from my previous comments of
7127 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7129 * src/hildon-pannable-area.c
7130 (hildon_pannable_area_get_property),
7131 (hildon_pannable_area_set_property),
7132 (hildon_pannable_area_map),
7133 (hildon_pannable_area_class_init),
7134 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7135 to cause the widget give a hint about its panning abilities upon
7138 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7140 * src/hildon-pannable-area.c: Several documentation improvements.
7142 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7144 * src/hildon-program.c
7145 * src/hildon-stackable-window.c: Update documentation.
7147 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7149 * src/hildon-stackable-window.c (get_previous_window_if_last):
7150 Renamed get_last_window()
7151 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7152 (hildon_stackable_window_unset_program):
7154 (get_previous_window_if_last):
7155 Detect if the window hasn't been added to a HildonProgram.
7157 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7159 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7161 * src/hildon-pannable-area.c
7162 (hildon_pannable_area_button_press_cb),
7163 (hildon_pannable_axis_scroll),
7164 (hildon_pannable_area_scroll),
7165 (hildon_pannable_area_timeout),
7166 (hildon_pannable_calculate_vel_factor),
7167 (hildon_pannable_area_get_property),
7168 (hildon_pannable_area_set_property),
7169 (hildon_pannable_area_class_init),
7170 (hildon_pannable_area_init),
7171 (hildon_pannable_area_scroll_to),
7172 (hildon_pannable_area_jump_to),
7173 (hildon_pannable_area_scroll_to_child),
7174 (hildon_pannable_area_jump_to_child):
7175 * src/hildon-pannable-area.h: Added the new API functions:
7176 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7177 hildon_pannable_area_scroll_to_child,
7178 hildon_pannable_area_jump_to_child
7181 * examples/Makefile.am
7182 * examples/hildon-pannable-area-example-2.c
7183 * examples/hildon-pannable-area-example-3.c: Added these two new
7184 examples in order to test and show how the new APIs work.
7186 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7188 * examples/hildon-stackable-window-example.c (new_window):
7189 * src/Makefile.am (noinst_HEADERS):
7190 * src/hildon-program.c (hildon_program_go_to_root_window):
7191 * src/hildon-program.h:
7192 * src/hildon-stackable-window-private.h:
7193 * src/hildon-stackable-window.c:
7194 * src/hildon-stackable-window.h:
7195 Create hildon-stackable-window-private.h
7196 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7198 * examples/hildon-app-menu-example.c (create_menu):
7199 * examples/hildon-hvolumebar-insensitive-example.c (main):
7200 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7201 * examples/hildon-toolbar-seekbar-example.c (main):
7202 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7203 * src/hildon-banner.c (hildon_banner_set_property):
7204 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7205 Fix compilation warnings
7207 * src/hildon-window.c:
7210 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7212 * src/hildon-stackable-window.c
7213 (hildon_stackable_window_unset_program):
7214 Calculate correctly whether to show the previous window if the
7215 last one is removed from the stack.
7216 (hildon_stackable_window_go_to_root_window):
7217 Send delete events starting from the topmost window.
7218 Stop if one of the windows is not destroyed.
7220 (hildon_stackable_window_delete_event)
7221 (hildon_stackable_window_class_init):
7222 Ignore the delete event if the window is not the topmost one.
7224 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7226 * src/hildon-pannable-area.c
7227 (hildon_pannable_area_expose_event): Fixed a problem when
7228 selecting the background color of the scrollbars.
7230 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7232 * examples/hildon-stackable-window-example.c
7233 * src/hildon-stackable-window.c
7234 * src/hildon-stackable-window.h
7235 hildon_stackable_window_go_home() renamed to
7236 hildon_stackable_window_go_to_root_window()
7237 Send delete events to windows rather than closing them with
7238 gtk_widget_destroy()
7240 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7242 * src/hildon-pannable-area.c
7243 (hildon_pannable_area_button_release_cb): Fix overshooting in
7246 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7248 * src/hildon-pannable-area.c
7249 (hildon_pannable_area_init): Initially show the scroll indicators.
7250 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7252 Add initial effect showing the widget is pannable.
7254 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7256 * src/hildon-pannable-area.c
7257 (hildon_pannable_area_class_init)
7258 (hildon_pannable_area_set_property)
7259 (hildon_pannable_area_get_property)
7260 (hildon_pannable_area_button_press_cb):
7261 New 'velocity_fast_factor' property to decide which velocity is
7264 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7266 * src/hildon-pannable-area.c
7267 (hildon_pannable_draw_hscroll)
7268 (hildon_pannable_draw_vscroll):
7269 Use float variables to calculate the size of the scrollbars to
7270 avoid error propagation and resizing during scrolling.
7272 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7274 * src/hildon-pannable-area.c
7275 (hildon_pannable_draw_vscroll)
7276 (hildon_pannable_draw_hscroll):
7277 Define a minimum size for the scroll bars
7279 * src/hildon-stackable-window.c
7280 (hildon_stackable_window_go_home): Fix compilation warning
7281 (get_last_window): Minor optimizations
7282 (hildon_stackable_window_class_init): Fix initialization of
7285 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7287 * src/hildon-stackable-window.c: Fixed typos in doc
7289 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7291 * src/hildon-pannable-area.c
7292 (hildon_pannable_area_scroll):
7293 Calculate here whether we need to scroll instead of using the booleans
7294 that tell us whether to /draw/ the scrolling bars.
7296 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7298 * src/hildon-app-menu.h
7300 * src/hildon-app-menu.c
7301 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7302 multiple filter groups related code and API. Now we support only
7304 * examples/hildon-app-menu-example.c:
7306 Update to reflect API changes.
7308 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7310 * src/hildon-stackable-window.c
7311 (hildon_stackable_window_class_init):
7312 Add hildon_stackable_window_realize.
7313 (hildon_stackable_window_realize):
7314 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7315 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7316 to apply theming and behavior specific to HildonStackableWindow
7319 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7321 * src/hildon-note.c (hildon_note_button_release):
7322 Close information notes also when tapping on them
7324 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7326 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7327 ELASTICITY, refactor and review, fix some issues with drawing
7330 * src/hildon-pannable-area.c:
7331 (hildon_pannable_area_button_press_cb): removed the conditions to
7332 avoid clicks when overshooting. It is not required
7334 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7335 define. Refatored and reviewed the code, now we do not need to
7336 manage velocity in motion_notify.
7338 (hildon_pannable_area_motion_notify_cb): We have moved the code
7339 that controls the area_scroll to the axis_scroll function and get
7340 rid of duplicated code.
7342 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7344 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7346 (hildon_pannable_draw_vscroll),
7347 (hildon_pannable_draw_hscroll): Fixed the problems with the
7348 scrollbar drawing, now we do not use two surfaces, it is easier
7349 and saves resources.
7351 (hildon_pannable_area_get_property): Style modification.
7353 (hildon_pannable_area_class_init): Changed some default values.
7355 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7357 * src/hildon-stackable-window.c: Fix some typos in the
7360 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7362 * src/hildon-dialog.c:
7363 Change indentation style
7366 (hildon_note_button_release):
7367 Use root coordinates to check if the release event happened
7370 * src/hildon-app-menu.c
7371 (hildon_app_menu_button_release):
7372 Remove unnecessary check
7374 * examples/hildon-app-menu-example.c
7376 Add cast to fix warning
7378 * src/hildon-app-menu.c
7379 (hildon_app_menu_class_init):
7380 New inner-border style property.
7381 Set all default spacings to 16
7382 (hildon_app_menu_init):
7383 Use vertical-spacing to set the space between filter buttons and
7384 regular menu buttons.
7385 Set the default container border using the inner-border value.
7387 * examples/hildon-app-menu-example.c
7389 Don't set the menu border explicitly, now we have the inner-border
7390 style property for that.
7392 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7394 * src/hildon-app-menu.c (hildon_app_menu_init):
7395 Make the window modal
7397 * src/hildon-note.c (hildon_note_map)
7398 * src/hildon-app-menu.c (hildon_app_menu_map):
7399 Destroy the grab window if we're unable to grab the pointer
7401 * src/hildon-app-menu-private.h
7402 * src/hildon-app-menu.c
7403 (hildon_app_menu_init, hildon_app_menu_finalize)
7404 (hildon_app_menu_map, hildon_app_menu_unmap)
7405 (hildon_app_menu_button_release)
7406 (grab_transfer_window_get):
7407 Bring back the grab window
7408 (hildon_app_menu_realize):
7409 Decorate the window, set WM hint for Matchbox
7411 * src/hildon-note.c (hildon_note_realize):
7412 * src/hildon-banner.c (hildon_banner_realize):
7413 Add WM hints for Matchbox
7415 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7417 * src/hildon-app-menu-private.h
7418 * src/hildon-app-menu.c
7419 (hildon_app_menu_init, hildon_app_menu_finalize)
7420 (hildon_app_menu_map, hildon_app_menu_unmap)
7421 (hildon_app_menu_button_release):
7422 Remove the grab window, it's not needed anymore
7424 * src/hildon-program.c
7425 Fixed typo in documentation
7427 * src/hildon-app-menu.h
7428 * src/hildon-app-menu.c
7429 * examples/hildon-app-menu-example.c
7430 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7432 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7435 Added new transfer_window and close_if_pressed_outside private
7437 (hildon_note_rebuild):
7438 Don't add a cancel button to the information note. It will be
7439 closed when tapping outside
7440 Remove the comment about the OK button in the documentation
7441 (hildon_note_realize):
7442 Set the notification type hint
7443 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7444 Grab/ungrab pointer and keyboard if the note has to be closed when
7446 (hildon_note_button_release):
7447 Close the note when tapping outside (if applicable)
7449 * src/hildon-app-menu.c
7450 Grab/ungrab pointer and keyboard on map/unmap
7451 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7452 Close the menu on button release, not button press
7454 * src/hildon-banner.c
7455 (hildon_banner_set_property)
7456 (hildon_banner_check_position):
7457 Make the banner use the full width of the screen
7458 (hildon_banner_show_information)
7459 (hildon_banner_show_information_with_markup):
7460 Don't display an icon by default
7462 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7464 Added fading scrollbars and adapted all the overshooting code to
7465 horizontal scrolling. We have also fixed bugs with overshooting
7466 and current fading implementation.
7468 * src/hildon-pannable-area.c
7469 (hildon_pannable_area_scroll_indicator_fade): Time out function
7470 used to change the transparency of the scrollbars.
7472 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7473 control and fixed a problem with fading, we now remove the fade
7474 timeout before adding a new one.
7476 (hildon_pannable_axis_scroll):
7477 (hildon_pannable_area_scroll):
7478 (hildon_pannable_area_timeout): Added this functions so we can use
7479 the scroll code both for vertical and horizontal.
7481 (hildon_pannable_area_motion_notify_cb):
7482 (hildon_pannable_area_button_release_cb): Added the horizontal
7483 scrolling control, fixed a problem with the overshooting timeout.
7485 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7486 painting of the scrolls.
7488 (hildon_pannable_draw_vscroll):
7489 (hildon_pannable_draw_hscroll):
7490 (hildon_pannable_area_expose_event):
7491 Draw both scrollbars and rectangles in the overshooting area.
7493 (hildon_pannable_area_get_property):
7494 (hildon_pannable_area_set_property):
7495 Modified the overshoot property to overshoot_max
7497 (hildon_pannable_area_map):
7498 Replaced the comments symbols.
7500 (hildon_pannable_area_size_allocate):
7501 (hildon_pannable_area_class_init):
7502 (hildon_pannable_area_init): Added horizontal scroll, fading
7503 effect properties, fixed a problem when overshooting in the bottom
7506 * examples/hildon-pannable-area-example.c:
7507 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7508 looks better in the example.
7510 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7512 * src/hildon-window.c
7513 * src/hildon-window.h
7514 (hildon_window_class_init)
7515 (hildon_window_unset_program)
7516 (hildon_window_unset_program_real):
7517 Make unset_program a virtual function
7519 * src/hildon-stackable-window.c
7520 * src/hildon-stackable-window.h
7521 Added hildon_stackable_window_go_home()
7523 * examples/Makefile.am
7524 * examples/hildon-stackable-window-example.c
7525 HildonStackableWindow example
7527 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7529 * hildon-pannable-area.c: Added the overshoot property and removed
7530 the OVERSHOOT define. Fixed an indent style error.
7531 (hildon_pannable_area_motion_notify_cb):
7532 (hildon_pannable_area_get_property):
7533 (hildon_pannable_area_set_property): Add overshoot property.
7535 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7538 (hildon_pannable_area_class_init): Installed the new property.
7540 * hildon-pannable-area-example.c: Added a sawtooth function, this
7541 way it is easier to check the movement in the pannable.
7542 (get_sawtooth_label): Added this function.
7543 (main): Now we get the labels from the new get_sawtooth_label
7546 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7548 * src/hildon-app-menu.h
7549 * src/hildon-app-menu.c
7550 Renamed API variables for consistency
7552 (hildon_app_menu_popup): Use also the default window size to
7553 decide where to place the menu
7555 (hildon_app_menu_init, hildon_app_menu_class_init): New
7556 external-border style property
7558 2008-05-26 Michael Natterer <mitch@imendio.com>
7560 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7561 widget_class->tap_and_hold_setup signal slot doesn't exist any
7562 longer, stop overriding it.
7564 (hildon_time_editor_init): g_signal_connect() to the
7565 tap-and-hold-setup signal instead.
7567 (hildon_time_editor_entry_keypress): add cast to fix warning.
7569 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7571 * doc/hildon-docs.sgml
7573 * examples/Makefile.am
7574 * examples/hildon-app-menu-example.c
7576 * src/hildon-app-menu-private.h
7577 * src/hildon-app-menu.c
7578 * src/hildon-app-menu.h
7580 New HildonAppMenu widget
7582 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7584 Rearranged the inheritance of the pannable area, now it inherits
7585 from GtkBin. This will allow us to control the event_window and
7586 the allocation process of the widget, required for some effects.
7588 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7589 GtkBin structures. * src/hildon-pannable-area.c: Added the
7590 event_window variable.
7591 (hildon_pannable_area_button_press_cb):
7592 (hildon_pannable_area_button_release_cb):
7593 (hildon_pannable_area_motion_notify_cb):
7594 Changed the signature of the method, now we override the event
7595 callback instead of connecting to the signal.
7597 (hildon_pannable_area_realize):
7598 (hildon_pannable_area_unrealize):
7599 (hildon_pannable_area_map):
7600 (hildon_pannable_area_unmap):
7601 (hildon_pannable_area_size_allocate):
7602 Added functions to control the widget construction. We add a
7603 INPUT_ONLY window and we put it over the widgets inside the
7604 container, this event_window handles the events.
7606 (hildon_pannable_area_class_init):
7607 Replaced the signal connections with overrides of the event
7610 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7612 Bouncing effect added when touching the borders, you can change
7613 the elasticity of the border changing the ELASTICITY define.
7615 * src/hildon-pannable-area.c: Added ELASTICITY define.
7616 (hildon_pannable_area_timeout): Added inverse velocity when
7617 touching the border of the child widget, that causes a bounce.
7619 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7621 Improved performance, we now do not go to the X server in order to
7622 get the list of window children. Apparently the effect is the
7623 same, we have to be careful and check if this breaks something in
7626 * src/hildon-pannable-area.c:
7627 (get_ordered_children): Removed this function.
7628 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7629 the children windows function with gdk_window_get_children.
7631 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7633 * src/hildon-pannable-area.c:
7634 (hildon_pannable_area_dispose): Fixed a crash when closing the
7635 window and kinetics is activated.
7637 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7639 * src/hildon-pannable-area.h
7640 * src/hildon-pannable-area.c
7641 Changed indentation style to meet the one used in Hildon
7643 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7645 Reviewed the interaction of the AUTO mode, now we use the time
7646 attribute of the events and calculate the velocity in the motion,
7647 doing a gimp like calculation. The velocity is calculated in each
7648 motion event using the last velocity and the current one, the
7649 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7651 * src/hildon-pannable-area.c: Replaced the time based algorithm
7653 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7654 timeout for the AUTO mode when we are still moving the cursor. We
7655 added also the velocity calculation in this function.
7656 (hildon_pannable_area_button_release_cb): launch the timeout in
7657 case we are in AUTO mode. There are still some constants here that
7658 come from the old implementation that should be reviewed and
7661 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7663 * doc/hildon-docs.sgml
7666 * src/hildon-stackable-window.c
7667 * src/hildon-stackable-window.h
7669 New HildonStackableWindow widget
7671 * examples/hildon-dialog-example.c
7672 * examples/hildon-pannable-area-example.c
7675 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7677 * src/hildon-dialog.c
7678 (hildon_dialog_new_with_buttons): New constructor.
7680 * examples/hildon-dialog-example.c
7681 (main): Update the example to use the new
7682 hildon_dialog_new_with_buttons().
7684 * examples/hildon-pannable-area-example.c
7685 (main): Update example.
7687 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7689 * doc/hildon-docs.sgml
7691 Added HildonPannableArea to the documentation.
7693 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7695 * doc/visual_index.xml
7696 Fix reference to HildonLoginDialog in documentation
7698 * doc/hildon-docs.sgml
7700 * examples/Makefile.am
7701 * examples/hildon-dialog-example.c
7703 * src/hildon-dialog.c
7704 * src/hildon-dialog.h
7706 New HildonDialog widget.
7708 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7710 * src/hildon-pannable-area.c
7711 Merge latest changes (r4318, r4342) from libmokoui trunk
7713 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7715 * examples/Makefile.am
7716 * examples/hildon-pannable-area-example.c
7718 * src/hildon-pannable-area.c
7719 * src/hildon-pannable-area.h
7721 New HildonPannableArea widget.
7723 2008-04-15 18:05:19 <timj@imendio.com>
7725 * src/hildon-banner.c: revert the recent change, that introduced
7726 gtk_window_present() calls. this reopens:
7727 Bug 78481 - [freetest] information banners are hidden under browser menu
7728 But resolves another variant of:
7729 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7731 2008-04-15 13:21:13 <timj@imendio.com>
7733 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7734 recreated its layout, spotted by Kris. this fixes all remaining
7735 artefacts and stability issues with the banner code. in particular:
7736 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7738 2008-04-14 16:52:59 <timj@imendio.com>
7740 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7741 operating on unrealized widgets, fixes:
7742 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7744 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7746 2008-04-09 Kristian Rietveld <kris@imendio.com>
7748 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7749 makes banner disappear.
7750 Fixes: NB#79182: info banner flickering with certain message lengts.
7752 * src/hildon-banner.c (hildon_banner_constructor),
7753 (hildon_banner_init), (hildon_banner_set_text),
7754 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7755 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7756 FALSE, reset size requests of label and banner,
7757 (force_to_wrap_truncated): when the text is too wide, always enforce
7758 the maximum possible width instead of recalculating it from the
7759 layout; enforce the maximum banner height of 3 lines,
7760 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7761 nicer wrapping and no truncated chars if space gets tight.
7763 * src/hildon-banner-private.h: add has_been_wrapped and
7764 has_been_truncated fields.
7766 2008-04-07 Sven Herzberg <sven@imendio.com>
7768 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7769 local values in hildon_date_editor_size_allocate
7771 * src/hildon-date-editor.c: moved the real allocation code into the
7774 2008-04-07 Sven Herzberg <sven@imendio.com>
7776 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7777 local values in hildon_date_editor_size_allocate
7779 * src/hildon-date-editor.c: merged the two if() branches together
7781 2008-04-07 Sven Herzberg <sven@imendio.com>
7783 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7784 local values in hildon_date_editor_size_allocate
7786 * src/hildon-date-editor.c: changed the arguments of the if()
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: split the calculation of the allocation
7795 from the real allocation
7797 2008-03-27 Michael Natterer <mitch@imendio.com>
7799 Fixes: NB#81696: The passcode is not overwritten even after
7802 * src/hildon-code-dialog.c
7803 (hildon_code_dialog_button_clicked)
7804 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7805 because that doesn't overwrite selected text. Instead, emit the
7806 "commit" signal on the entry's im_context so the entry's normal
7807 insert logic is triggered. Set the cursor to the end of the entry
7808 after each insert operation so that we *only* insert in the middle
7809 of the text if something was selected.
7811 2008-03-27 Michael Natterer <mitch@imendio.com>
7813 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7814 selector cannot be opened
7816 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7817 when the popup color selector is created. Please connect to this
7818 signal in order to set the dialog's help ID.
7820 2008-03-25 Sven Herzberg <sven@imendio.com>
7822 Fixes: MB#1212: Hide info banners (infoprints) on click
7824 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7825 extracted the close event simulation into an extra function
7826 (hildon_banner_button_press_event): simulate a close event and destroy
7827 the widget if the event wasn't handled
7828 (hildon_banner_class_init): added the button_press_event handler
7829 (hildon_banner_init): added button-press events to the widget
7831 2008-03-25 Sven Herzberg <sven@imendio.com>
7833 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7834 Patch from: Mohammad Anwari <mdamt@maemo.org>
7836 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7837 instead of the right in RTL mode
7838 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7839 breadcrumb button list in RTL mode
7840 * src/hildon-caption.c: mirror the appearance of the caption widget in
7842 * src/hildon-date-editor.c: mirror appearance of the date editor in
7844 * src/hildon-time-editor.c: mirror appearance of the time editor in
7846 * src/hildon-window.c: fix the position of the popup in RTL mode
7848 2008-03-25 Sven Herzberg <sven@imendio.com>
7850 Amendment to the fix of NB#22072. Fix compilation.
7852 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7854 2008-03-19 Sven Herzberg <sven@imendio.com>
7856 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7859 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7860 timeout id properly when the timeout will disappear this leaves no
7861 artifacts around in the destroy(); there will only be the timeout
7862 created by hildon_banner_ensure_timeout() and adding a new timeout
7863 will also work if the timeout gets removed because the timeout_handler
7866 2008-03-19 Michael Natterer <mitch@imendio.com>
7868 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7870 * src/hildon-volumebar.c
7871 * src/hildon-vvolumebar.c
7872 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7873 the widget becomes focussable at all.
7875 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7876 set the focus to wither the mute button or the volumebar.
7878 Remove own "can-focus" property and instead listen to
7879 notify::can-focus in order to update the widget's state.
7881 Implement GtkWidget::focus() and make sure we can also *leave* the
7882 widget, not only enter it, depending on volumebar orientation and
7883 requested focus direction.
7885 Clean up set_mute() to cooperate nicely with all the above.
7887 2008-03-04 Michael Natterer <mitch@imendio.com>
7889 Fixes: NB#78481: information banners are hidden under browser menu
7891 * src/hildon-banner.c: call gtk_window_present() on the banners so
7892 they are risen if they are already visible.
7894 2008-03-03 Sven Herzberg <sven@imendio.com>
7896 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7898 * examples/hildon-window-menu-example.c: (main): extended the window
7899 menu example to serve as a testcase for automatically added
7900 accelerator groups, too
7901 * src/hildon-window.c: (hildon_window_add_accel_group),
7902 (hildon_window_set_menu): added patch by Tommi Komulainen
7904 2008-03-03 Sven Herzberg <sven@imendio.com>
7906 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7908 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7909 knowledge about the border allocators used within GTK+
7911 2008-02-26 Sven Herzberg <sven@imendio.com>
7913 Fixes: MB#2981: Build with asserts broken
7915 * src/hildon-date-editor.c,
7916 * src/hildon-number-editor.c,
7917 * src/hildon-time-editor.c,
7918 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7919 the proper GType instance check
7921 2008-02-25 Sven Herzberg <sven@imendio.com>
7923 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7925 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7926 * examples/hildon-window-menu-example.c: (main): explicitly show
7928 * src/hildon-window.c:
7929 (hildon_window_set_main_menu): moved most of the code from set_menu()
7930 to this place; skipped the call to gtk_widget_show_all(); also didn't
7931 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7932 (hildon_window_set_menu): removed most of the code, just keep the
7933 questionable gtk_widget_show_all()
7934 * src/hildon-window.h: added the new function and deprecate the old
7937 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7943 * debian/changelog: Updating.
7945 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7948 * pkgconfig/Makefile.am:
7949 * pkgconfig/hildon.pc.in:
7952 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7953 use newly created API_MAJOR_VERSION.
7955 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7961 * debian/changelog: Updating.
7963 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7965 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7967 Add outer_border style property, we use it but don't define it (!).
7971 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7973 * examples/hildon-bread-crumb-trail-example.c (main):
7977 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7979 Fix logic for the bread crumb trail node removal.
7983 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7989 * debian/changelog: Updating.
7991 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7993 Patch by Alejandro to get/set passwords dialogs accesibility.
7995 * hildon-1/src/hildon-get-password-dialog.c:
7996 * hildon-1/src/hildon-set-password-dialog.c:
7997 Set atk_set_name to the passwd entries in order to allow
7998 accessibility by name on this entries.
8000 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8005 * debian/control: Updating gtk dep.
8007 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8009 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8010 USE_MAEMO_GTK is enabled.
8012 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8014 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8015 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8017 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8023 * debian/changelog: Updating.
8025 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8027 * examples/Makefile.am:
8028 * examples/hildon-logical-color-example.c:
8029 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8030 applied + adding a test case. Fixes: NB#71660.
8032 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8034 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8035 to be visible, fixes warning on map for windows without toolbars.
8037 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8039 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8040 2.11.0, add a check for that besides the MAEMO_GTK check.
8042 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8048 * debian/changelog: Updating.
8050 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8052 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8053 visibility. Fixes: NB#70842 and MB#615.
8055 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8057 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8058 set the separator as no-show-all so it doesn't unintentionally appear when
8059 someone does a show_all.
8061 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8063 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8064 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8065 toplevel item. Fixes: NB#62031
8067 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8069 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8070 fix the name of the function in the docs.
8072 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8078 * debian/changelog: Updating.
8080 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8082 * examples/hildon-banner-long-example.c: Adding a test-case for long
8085 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8087 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8089 * src/hildon-color-chooser-dialog.c:
8090 * src/hildon-color-chooser.c:
8091 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8092 memory leaks in font selector and color selector. Fixes: NB#70499 and
8095 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8097 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8099 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8101 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8102 little bit bigger. Fixes: #NB63694.
8104 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8110 * debian/changelog: Updating.
8112 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8115 * doc/hildon-docs.sgml:
8116 * doc/images/bread-crumb-trail.png:
8117 * doc/images/calendar-popup.png:
8118 * doc/images/caption.png:
8119 * doc/images/code-dialog.png:
8120 * doc/images/color-button.png:
8121 * doc/images/color-chooser-dialog.png:
8122 * doc/images/color-chooser.png:
8123 * doc/images/controlbar.png:
8124 * doc/images/date-editor.png:
8125 * doc/images/font-selection-dialog.png:
8126 * doc/images/get-password-dialog.png:
8127 * doc/images/hvolumebar.png:
8128 * doc/images/login-dialog.png:
8129 * doc/images/note.png:
8130 * doc/images/number-editor.png:
8131 * doc/images/range-editor.png:
8132 * doc/images/seekbar.png:
8133 * doc/images/set-password-dialog.png:
8134 * doc/images/sort-dialog.png:
8135 * doc/images/time-editor.png:
8136 * doc/images/time-picker.png:
8137 * doc/images/vvolumebar.png:
8138 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8139 Adding the bread-crumb-trial and helpers to the documentation.
8141 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8143 * examples/hildon-find-toolbar-example.c:
8144 * src/hildon-find-toolbar.c:
8145 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8146 actually continue firing the other handlers if connected. Adding a new
8148 hildon_find_toolbar_get_last_index that gets the index of the most
8149 recently added (last) item. Fixes: NB#52301.
8151 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8153 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8154 behaviour. Fixes: NB#68610.
8156 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8158 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8161 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8163 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8164 when realizing the banner. Should make the infonbanner effect a bit more
8167 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8169 * src/hildon-volumebar.c:
8170 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8171 hildon_volumebar_set_range_insensitive_message and
8172 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8174 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8176 * src/hildon-window.c: Fixing the border freeing on destroy.
8178 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8180 * src/hildon-code-dialog-private.h:
8181 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8182 kw keyboard support in HildonCodeDialog.
8184 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8190 * debian/changelog: Updating.
8192 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8194 * src/hildon-date-editor.c:
8195 * src/hildon-number-editor.c:
8196 * src/hildon-private.c:
8197 * src/hildon-private.h:
8198 * src/hildon-time-editor.c:
8199 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8200 handling in subclassed composite widgets. Fixes: NB#66628.
8202 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8204 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8205 from destroy_ callback as it introduces problems in async dbus signal
8206 handlers. Fixes NB#66673.
8208 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8210 * examples/hildon-hvolumebar-example.c:
8211 * src/hildon-volumebar.c: Improving the focus handling in the
8212 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8213 set_property accessor so that "mute" property can be actually set. I'm
8214 scared that nobody noticed it's totally broken.
8216 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8218 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8221 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8223 * src/hildon-calendar.c:
8224 * src/hildon-number-editor.c:
8225 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8226 matches the spec of 6 chars per second. Fixes: NB#60489.
8228 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8230 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8231 gtk_style_lookup_color sometime returns FALSE even though color was
8232 found and values were filled properly. Weird. Removing the warning for the
8235 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8237 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8238 expand vertically. Adding some extra space to the find toolbar buttons to
8239 make them thumbable. Fixes NB#66060.
8241 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8243 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8244 popup with "Ok" and "Cancel". Fixes NB#59299.
8246 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8248 * src/hildon-calendar.c: Process all window updates before executing next
8249 timeout. Fixes: NB#54146.
8251 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8257 * debian/changelog: Updating.
8259 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8261 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8262 the client event and ignore it, since we use the delete event to close
8265 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8267 * src/hildon-helper.c: Remove the bogus warning about color not being
8268 found. Fixes NB#58352.
8270 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8272 * examples/Makefile.am:
8273 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8274 HildonSeekbar widget inside a toolbar.
8276 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8278 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8279 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8280 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8281 don't want to be closed by non-temporary windows on map.
8283 Also use G_DEFINE_TYPE instead of manually typed code.
8285 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8292 * debian/rules: Updating.
8294 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8296 * examples/Makefile.am:
8297 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8298 bug NB#61128. Strangely it works.
8300 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8302 * src/hildon-date-editor.c: When the date editor entry has been changed
8303 but the numbers of characters < max, turn off the skip validation flag.
8304 Prevents a situation when we enter first a valid year and later re-write
8305 it with an invalid one. Fixes NB#60154.
8307 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8309 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8310 code dialog. Fixes NB#64355.
8312 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8314 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8315 switching the page. Fixes NB#49374.
8317 * examples/Makefile.am:
8318 * examples/hildon-wizard-dialog-example.c: Adding an example for
8319 HildonWizardDialog that shows how to handle manual sensitivity setting on
8322 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8326 * src/hildon-version.h.in:
8327 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8329 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8331 * src/hildon-volumebar.c: Updating the docs.
8333 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8339 * debian/changelog: Updating.
8341 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8343 * src/hildon-find-toolbar.c:
8344 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8345 selected item: hildon_find_toolbar_set_active,
8346 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8347 hildon_find_toolbar_get_active_iter . They correspond to respective
8348 GtkComboBox functions.
8350 * examples/Makefile.am:
8351 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8354 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8356 * examples/Makefile.am:
8357 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8360 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8361 when font size > 32 and we pack a focusable widget inside. Actually using
8362 the default response would work too, but since we don't show default
8363 response state in any way (no theming) it would not be visible to the
8364 user. Fixes NB#63430.
8366 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8368 * src/hildon-date-editor.c: Adding the missing variable setter in the
8369 set_property handler. Fixes NB#54182.
8371 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8373 * src/hildon-window.h: Changing the long key press time from 1500ms to
8374 800ms as requested in NB#63700. I have a bad feeling about this, let's
8375 see... Fixes NB#63700.
8377 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8379 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8380 hildon_time_picker_map, hildon_time_picker_realize,
8381 hildon_time_picker_style_set): Split the contents of map to more
8382 appropriate functions; set window decorations on realize and update
8383 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8385 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8390 * debian/changelog: Updating.
8392 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8394 * src/Makefile.am: fixed installation of the header files
8396 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8402 * debian/changelog: Updating.
8404 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8406 * configure.ac: Removing some remaining of --enable-xan.
8408 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8410 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8411 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8413 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8414 2.10.12-osso6 because the move-focus signal needs to be available in
8417 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8419 * examples/Makefile.am:
8420 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8421 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8422 fine. Prolly NB#61128 is fixed now.
8424 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8426 * src/hildon-volumebar.c:
8427 * src/hildon-volumebar.h: Adding the
8428 hildon_volumebar_set_range_insensitive_message and
8429 hildon_volumebar_set_range_insensitive_messagef functions to set
8430 insensitive message on the slider of the volumebar. Fixes NB#61129.
8432 * examples/Makefile.am:
8433 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8434 test the new insensitive messsage functionality on HildonVolumebar.
8436 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8438 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8441 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8443 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8444 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8445 button on after clearing the trail.
8447 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8449 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8451 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8453 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8454 by splitting the installed headers in generated and non-generated groups. Use
8455 only the non-generated headers to create the hildon-enum-types.h file.
8457 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8459 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8461 * src/hildon-window.c: Hide the window before performing the destroy.
8462 Should make the app closing a little tiny bit more snappy.
8464 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8466 * src/hildon-seekbar.c: add gtkrange.h header
8467 * src/hildon-caption.c: remove unused variable
8469 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8471 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8474 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8480 * debian/changelog: Updating.
8482 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8484 * src/hildon-window.c (hildon_window_window_state_event,
8485 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8486 escape timeout on focus-out-event rather than notify::is-topmost; the
8487 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8489 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8491 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8492 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8494 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8496 * src/hildon-window: actually, you need to use the macro always, there's
8497 no private pointer in the instance structure. We should have cleaned this up
8498 when we had the chance...
8500 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8502 * src/hildon-window.c: do not get the private date from HildonWindow before
8503 it passes the g_return_if_fail check. Once it's passed the test, there's no
8504 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8505 if you are only going to access the data once. Whitespace cleanups.
8507 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8509 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8510 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8512 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8518 * debian/changelog: Updating.
8520 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8522 * src/hildon-window.c: When destroying the window, remove (if exists) the
8523 escape timeout handler. Fixes #NB59276.
8525 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8527 * src/hildon-banner.c: When realizing the widget, set the window
8528 transiency. Setting the transiency in the gobject constructor is not
8529 good, as the widget is not realized at that point. Fixes: #NB56624.
8531 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8533 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8534 Add padding for future expansions.
8536 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8538 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8539 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8540 will fake an activation on the previous to the last item of the trail, so
8541 the effect can be overrided by the developer as usual.
8542 Also change the callback for the back button to do the same thing, so its
8543 effect can be overrided too. Fixes: NB#58982
8545 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8547 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8548 HildonCaption. Fixes NB#52379.
8550 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8552 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8553 the internal state of the trail after the user has had the chance of executing
8554 his handler for the signal. Specifically, it may happen that the activated button
8555 is removed and the user still lets the default handler run. This would segfault
8558 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8560 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8561 scrollbar to the preview dialog. Fixes NB#54147.
8563 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8565 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8566 max/min year properties can be altered, so the client can modify it
8567 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8569 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8571 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8572 hildonlike by default. Fixing a problem with disappearing arrows when
8573 scrolling through months and years. Fixes NB#54127.
8575 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8577 * examples/hildon-date-editor-example.c: Adding error callback to the date
8580 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8586 * configure.ac: Updating.
8588 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8590 * configure.ac: Adding a special '--enable-xan' configure option that
8591 turns off the -Werror compilation setting. Usefull for development.
8593 * src/hildon-calendar.c:
8594 * src/hildon-number-editor.c:
8595 * src/hildon-time-picker.c: Adding the 5* multiplier to
8598 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8600 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8601 instead of g_object_ref + gtk_object_sink.
8603 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8609 * debian/changelog: Updating.
8611 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8613 * src/hildon-color-chooser-dialog.c:
8614 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8615 straight from Tommi labs.
8617 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8619 * examples/hildon-finger-example.c: Correcting the header file path.
8621 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8622 the changed signal. Fixes a small memory leak.
8624 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8628 * src/hildon-banner.c: Importing several usefull fixes from the
8629 ubuntu-mobile branch.
8631 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8633 * examples/Makefile.am:
8634 * examples/hildon-finger-example.c: Adding a finger-checking code
8637 * src/hildon-font-selection-dialog.c: Do not allocate the color
8638 structure using the g_new. Fixes NB#54061.
8640 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8642 * src/hildon-helper.c: Correcting tabs in file.
8644 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8646 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8647 control the visibility of the children.
8649 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8651 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8657 * debian/changelog: Updating.
8659 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8661 * src/hildon-bread-crumb-trail.c:
8662 (hildon_bread_crumb_trail_size_allocate):
8664 Make the back button always a square.
8666 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8668 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8669 from the .c file as it's a private file.
8671 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8673 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8674 uses slightly bigger height.
8676 * src/hildon-font-selection-dialog.c: Adding some checks before
8677 freeing memory in the font selection dialog.
8679 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8681 * src/hildon-font-selection-dialog.c: Adding a small check when
8684 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8685 buttons sensitivity on page switching.
8687 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8689 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8690 internal details of adding a bread crumb to the trail.
8692 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8698 * debian/changelog: Updating.
8700 * src/hildon-bread-crumb-trail.h:
8701 * src/hildon-bread-crumb.h: Changing the API guard to
8702 HILDON_ENABLE_UNSTABLE_API.
8704 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8712 * src/hildon-helper.h: Updating.
8714 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8722 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8726 * src/hildon-helper.h: Small fix to make the package actually compile.
8728 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8730 * src/hildon-bread-crumb-trail.h:
8731 * src/hildon-bread-crumb.h:
8733 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8734 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8736 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8738 * examples/hildon-bread-crumb-trail-example.c:
8740 * src/hildon-bread-crumb-trail.c:
8741 * src/hildon-bread-crumb-trail.h:
8742 * src/hildon-bread-crumb.c:
8743 * src/hildon-bread-crumb.h:
8744 * src/hildon-marshalers.list:
8745 * src/hildon-bread-crumb-widget.c:
8746 * src/hildon-bread-crumb-widget.h:
8748 Slight change in the widget design. The bread crumb trail API is
8749 unchanged, but HildonBreadCrumb is now an interface. A *private*
8750 implementation, hildon-bread-crumb-widget, is provided and used
8751 internally by the trail for the push_text/push_icon functions.
8753 The generic push API is still available, so anyone can implement
8754 and use its own bread crumb widget.
8756 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8758 * debian/rules: Fixing the shlibs.
8760 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8762 * src/hildon-banner.c: Fixing a problem with timed banners having
8763 their parrent destroyed before they are.
8765 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8767 * src/hildon-bread-crumb.c:
8768 * src/hildon-bread-crumb.h:
8770 Make the get_natural_size function a vfunc.
8772 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8774 * src/hildon-bread-crumb.c:
8775 * src/hildon-bread-crumb-trail.c:
8779 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8786 * debian/changelog: Updating for release.
8788 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8790 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8791 don't leak the pango layout.
8793 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8796 * examples/hildon-bread-crumb-trail-example.c:
8800 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8802 * debian/changelog: Removing the bug-fixed entries that were actually
8803 resolved as WONTFIX.
8805 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8808 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8810 * src/hildon-bread-crumb-trail.c:
8811 * src/hildon-bread-crumb-trail.h:
8812 * src/hildon-bread-crumb.c:
8813 * src/hildon-bread-crumb.h:
8817 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8819 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8820 until it's passed the type check.
8822 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8824 * examples/hildon-bread-crumb-trail-example.c
8828 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8830 * examples/Makefile.am
8831 * examples/hildon-bread-crumb-trail-example.c
8833 * src/hildon-bread-crumb-trail.c
8834 * src/hildon-bread-crumb-trail.h
8835 * src/hildon-bread-crumb.c
8836 * src/hildon-bread-crumb.h
8838 New HildonBreadCrumbTrail widget.
8840 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8842 * src/hildon-range-editor.c (hildon_range_editor_init),
8843 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8844 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8845 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8846 hildon_time_editor_class_init, hildon_time_editor_init),
8847 src/hildon-get-password-dialog.c (invalid_input,
8848 hildon_get_password_set_property, hildon_get_password_get_property,
8849 create_contents, hildon_get_password_dialog_set_max_characters),
8850 src/hildon-set-password-dialog.c (create_contents),
8851 src/hildon-date-editor.c (hildon_date_editor_init),
8852 src/hildon-login-dialog.c (hildon_login_dialog_init),
8853 src/hildon-number-editor.c (hildon_number_editor_init),
8854 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8855 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8856 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8857 configure option and adding the respective checks in the code.
8858 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8859 hildon_calendar_drag_data_received): fixed some build warnings.
8861 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8863 * debian/changelog: A 1.0.0 release notes.