1 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
5 Fixes: MB#4556 (HildonNoteType is undocumented)
7 2009-06-15 Alberto Garcia <agarcia@igalia.com>
9 * hildon/hildon-picker-button.c:
10 Explain how HildonPickerButton sets the title of its dialog
12 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
13 the title of its dialog)
15 2009-06-15 Alberto Garcia <agarcia@igalia.com>
17 * hildon/hildon-check-button.c:
20 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
23 2009-06-15 Alberto Garcia <agarcia@igalia.com>
26 * hildon/hildon-edit-toolbar-private.h
27 * hildon/hildon-edit-toolbar.c
28 (+hildon_edit_toolbar_set_progress_indicator)
29 (hildon_edit_toolbar_init): Add progress indicator to the
33 (hildon_gtk_window_set_progress_indicator):
34 If the window contains a HildonEditToolbar, enable the progress
37 * hildon/hildon-private.h
38 * hildon/hildon-private.c
39 (+hildon_private_create_animation)
40 * hildon/hildon-banner.c
41 (-hildon_banner_create_animation):
42 Moved to hildon-private.c
44 Fixes: NB#102373 (Progress indicator also for the Edit mode
47 2009-06-15 Alberto Garcia <agarcia@igalia.com>
49 * hildon/hildon-app-menu-private.h
50 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
51 (hildon_app_menu_add_filter, +menu_item_button_event)
52 (hildon_app_menu_button_release, hildon_app_menu_init):
53 Make sure that buttons receive 'button-release-event' in spite of
54 the grab held by HildonAppMenu
56 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
58 2009-06-15 Alberto Garcia <agarcia@igalia.com>
60 * hildon/hildon-app-menu.c
61 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
62 New style property to set the size of the group of filter buttons.
64 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
66 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
71 * configure.ac: Bump version.
72 * debian/changelog: Updates.
74 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
76 * hildon/hildon-main.c: Minor documentation fixes.
78 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
80 * doc/hildon-sections.txt:
81 * hildon/hildon-defines.h: Document the defines, organize them,
82 and mark deprecations as such.
84 Fixes: MB#4463 (Hildon size #defines are undocumented)
86 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
88 * hildon/hildon-animation-actor.c:
89 * hildon/hildon-app-menu.c:
90 * hildon/hildon-button.c:
91 * hildon/hildon-date-editor.c:
92 * hildon/hildon-dialog.c:
93 * hildon/hildon-edit-toolbar.c:
94 * hildon/hildon-entry.c:
95 * hildon/hildon-program.c:
96 * hildon/hildon-remote-texture.c:
97 * hildon/hildon-stackable-window.c:
98 * hildon/hildon-text-view.c:
99 * hildon/hildon-touch-selector.c:
100 * hildon/hildon-window-stack.c:
101 * hildon/hildon-window.c:
103 Remove redundant "represents" wording from most of the documentation.
105 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
107 2009-06-12 Alberto Garcia <agarcia@igalia.com>
112 * hildon/hildon-banner-private.h
113 * hildon/hildon-banner.c:
114 Move HildonBannerPrivate to hildon-banner.c and remove
115 hildon-banner-private.h
116 Use a bit field to store private booleans.
118 2009-06-12 Alberto Garcia <agarcia@igalia.com>
120 * hildon/hildon-app-menu.c (hildon_app_menu_map):
121 Don't install a new idle function if there's already one
126 2009-06-11 Alberto Garcia <agarcia@igalia.com>
128 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
129 (+legacy_menu_realized, +legacy_menu_unmapped)
130 (+set_legacy_menu_type):
131 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
132 they can be identified by the window manager.
134 Fixes: NB#101437 (Invoking CSM on the left side of page area is
135 displayed in wrong location)
137 Fixes: MB#4563 (Popup menu won't locate at the left side of the
140 2009-06-11 Alberto Garcia <agarcia@igalia.com>
142 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
144 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
147 2009-06-11 Alberto Garcia <agarcia@igalia.com>
149 * hildon/hildon-code-dialog.c
150 * hildon/hildon-date-editor.c
151 * hildon/hildon-number-editor.c
152 * hildon/hildon-seekbar.c
153 * hildon/hildon-stackable-window.c
154 * hildon/hildon-window.c:
155 Misc documentation updates
157 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
159 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
160 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
162 Fixes: NB#117931 (Theming issues in accounts dialogs)
164 2009-06-09 Alejandro G. Castro <alex@igalia.com>
166 * hildon/hildon-pannable-area.c,
167 (hildon_pannable_area_button_release_cb): Changed the coordinates
168 of the original release in case we want to discard the release,
169 some widgets in Fremantle do not handle the leave-notify.
171 2009-06-09 Alejandro G. Castro <alex@igalia.com>
173 * hildon/hildon-pannable-area.c,
174 (hildon_pannable_area_button_release_cb): Reviewed the logic of
175 the release using the last refactored functions and avoiding the
176 movement if an element was selected.
178 2009-06-09 Alejandro G. Castro <alex@igalia.com>
180 * hildon/hildon-pannable-area.c,
181 (hildon_pannable_area_check_move),
182 (hildon_pannable_area_handle_move),
183 (hildon_pannable_area_motion_notify_cb): Refactored the
184 motion_notify method using a couple of new functions.
186 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
188 * hildon/hildon-date-selector.c:
189 (hildon_date_selector_construct_ui):
190 * hildon/hildon-time-selector.c:
191 (hildon_time_selector_constructor):
192 * hildon/hildon-touch-selector-entry.c:
193 (hildon_touch_selector_entry_set_text_column),
194 (hildon_touch_selector_entry_get_text_column):
195 * hildon/hildon-touch-selector.c: (_default_print_func),
196 (hildon_touch_selector_new_text): Use
197 hildon_touch_selector_set/get_text_column() instead of
198 setting/getting the "text-column" property.
200 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
202 * doc/hildon-sections.txt: Add the new public methods below.
204 * examples/hildon-picker-button-multicolumn-example.c:
205 (create_touch_selector):
206 * examples/hildon-touch-selector-example.c: (create_selector):
207 * examples/hildon-touch-selector-multi-cells-example.c:
209 Use hildon_touch_selector_column_set_text_column()
211 * hildon/hildon-touch-selector-column.h:
212 * hildon/hildon-touch-selector.c:
213 (hildon_touch_selector_column_set_text_column),
214 (hildon_touch_selector_column_get_text_column):
215 Make hildon_touch_selector_column_set/get_column() public, use
216 them in the inline example, document them, and reference to them
219 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
221 * hildon/hildon-time-selector.c: Fix the docs for
222 hildon_time_selector_new_step().
224 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
226 * hildon/hildon-touch-selector.c: Improve the documentation for
227 hildon_touch_selector_append_column().
229 Fixes MB#4641 (Documentation:
230 hildon_touch_selector_append_column() ref-counting)
232 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
234 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
235 Comment out test 5, since the hildon_controlbar_set_range() range
236 check is broken and fixing it would have side effects. Also,
237 this finally fixes make distcheck.
239 Fixes: NB#101420 (Update unit tests and fix make distcheck)
241 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
243 * tests/TEST-CASES.txt: Remove other bogus test.
244 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
245 Remove bogus test that was setting/retrieving a valid value.
247 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
249 * tests/TEST-CASES.txt: Remove bogus tests.
250 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
251 Remove three bogus tests that were actually setting valid colors.
253 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
255 * configure.ac: post release version bump
256 * debian/changelog: post release version bump
258 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
263 * configure.ac: Bump version.
264 * debian/changelog: Updates.
266 2009-06-08 Christian Dywan <christian@lanedo.com>
270 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
271 Correct errors in hildon_format_file-size_for_display and use
272 translations from the hildon-fm package instead of osso-filemanager.
274 2009-06-08 Alejandro G. Castro <alex@igalia.com>
276 * hildon/hildon-pannable-area.c,
277 (hildon_pannable_area_init): Initialized new values to handle the
279 (hildon_pannable_area_adjust_value_changed): Check if the values
280 changed before even call the redraw function.
281 (hildon_pannable_area_size_allocate),
282 (hildon_pannable_axis_scroll),
283 (hildon_pannable_area_scroll),
284 (hildon_pannable_area_jump_to): Improved the diagonal movement
287 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
290 2009-06-08 Alberto Garcia <agarcia@igalia.com>
292 * examples/hildon-banner-example.c:
293 Several style updates
294 (on_animation_clicked, on_animation_idle)
295 (on_progress_clicked, on_progress_idle):
296 Add additional reference for the cases when the parent window is
299 2009-06-08 Alberto Garcia <agarcia@igalia.com>
301 * doc/hildon-sections.txt
302 * hildon/hildon-pannable-area.c
303 * hildon/hildon-banner.h
304 * hildon/hildon-banner.c: Documentation updates.
306 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
309 2009-06-05 Alejandro G. Castro <alex@igalia.com>
311 * hildon/hildon-calendar-popup.h:
312 * hildon/hildon-caption.h:
313 * hildon/hildon-code-dialog.h:
314 * hildon/hildon-controlbar.h:
315 * hildon/hildon-date-editor.h:
316 * hildon/hildon-dialog.h:
317 * hildon/hildon-get-password-dialog.h:
318 * hildon/hildon-hvolumebar.h:
319 * hildon/hildon-login-dialog.h:
320 * hildon/hildon-note.h:
321 * hildon/hildon-number-editor.h:
322 * hildon/hildon-range-editor.h:
323 * hildon/hildon-seekbar.h:
324 * hildon/hildon-set-password-dialog.h:
325 * hildon/hildon-sort-dialog.h:
326 * hildon/hildon-time-editor.h:
327 * hildon/hildon-time-picker.h:
328 * hildon/hildon-volumebar-range.h:
329 * hildon/hildon-volumebar.h:
330 * hildon/hildon-vvolumebar.h:
331 * hildon/hildon-weekday-picker.h:
332 * hildon/hildon-window.h:
333 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
334 macros with the current replacements
336 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
338 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
340 * hildon/hildon-color-button.c (hildon_color_button_init): Use
341 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
342 itself, to make it fit better with Fremantle style.
344 Fixes: NB#109878 (height and width of focus on color icon is not
345 consistent with other item in the application tool bar)
347 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
349 * hildon/hildon-touch-selector.c:
350 (hildon_touch_selector_optimal_size_request): use the current requisition
351 as the base, in order to include any possible extra widget, like the
352 hildon entry on HildonTouchSelectorEntry
354 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
356 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
358 * configure.ac: post release version bump
359 * debian/changelog: post release version bump
361 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
366 * configure.ac: Bump version.
367 * debian/changelog: Updates.
369 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
371 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
373 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
374 to ensure the banner contents are centered, instead of relying on
375 the expand and fill properties in GtkHBox.
376 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
378 Fixes: NB#108265 (Animation banner not properly centered)
380 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
382 * hildon/hildon-pannable-area.c
383 (hildon_pannable_area_initial_effect): Remove the initial_effect
384 management, check initial_hint
385 (hildon_pannable_are_expose_event): Remove the initial_hint management,
386 set initial_effect to FALSE
387 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
388 by launching the fade_timeout if the scrollbars state has changed and are
390 * examples/hildon-pannable-area-initial-hint-example.c
391 Modified to allow to remove rows too. Add and remove rows one by one.
393 2009-05-28 Alberto Garcia <agarcia@igalia.com>
395 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
396 Don't close the menu if there's an animation actor below it.
398 Fixes: NB#117927 (Application menu not usable with animation
401 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
403 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
404 "focus-on-click" from the dialog button, to avoid stealing the
405 focus from the entry.
407 Fixes: NB#118903 (Account setup wizard: Text in Search field
408 should be focused when "Region" touch list picker is reopened
411 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
413 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
414 (prepare_action_area): Completely hide the dialog separator.
416 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
418 * hildon/hildon-touch-selector-entry.c
419 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
420 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
421 now that the entry is exposed.
423 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
425 * hildon/hildon-touch-selector-entry.c
426 (hildon_touch_selector_entry_init): Change the entry's size
427 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
429 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
431 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
432 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
433 avoid unnecessary scaling.
435 2009-05-27 Alberto Garcia <agarcia@igalia.com>
437 * hildon/hildon-app-menu.c (hildon_app_menu_map):
438 Create grab transfer window before calling parent's map function.
440 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
441 "crushed" button(s) in the top left corner)
443 2009-05-26 Alberto Garcia <agarcia@igalia.com>
445 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
446 Check if the window is already realized when pushing it.
448 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
450 * configure.ac: post release version bump
451 * debian/changelog: post release version bump
453 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
458 * configure.ac: Bump version.
459 * debian/changelog: Updates.
461 2009-05-25 Alberto Garcia <agarcia@igalia.com>
463 * hildon/hildon-app-menu.c: Doc updates.
465 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
467 * hildon/hildon-banner.c: Remove leftover macro.
469 2009-05-25 Alejandro G. Castro <alex@igalia.com>
471 * hildon/hildon-pannable-area.c,
472 (hildon_pannable_area_scroll_indicator_fade),
473 (hildon_pannable_area_button_release_cb): Reviewed vmin
474 conditions, it could cause problems in the fadeout procedure.
476 2009-05-25 Alejandro G. Castro <alex@igalia.com>
478 * hildon/hildon-pannable-area.c
479 (hildon_pannable_area_button_release_cb): Added a threshold to
480 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
482 2009-05-25 Alejandro G. Castro <alex@igalia.com>
484 * hildon/hildon-pannable-area.c,
485 (hildon_pannable_area_set_property): Added code to sync the gtk
486 dnd threshold with the panning threshold.
488 2009-05-25 Alejandro G. Castro <alex@igalia.com>
490 * hildon/hildon-pannable-area.c,
491 (hildon_pannable_area_class_init): Changed some of the default
492 values, now it should be less responsive and more accurate.
494 2009-05-25 Alejandro G. Castro <alex@igalia.com>
496 * hildon/hildon-pannable-area.c,
497 (hildon_pannable_area_init),
498 (hildon_pannable_area_scroll_indicator_fade),
499 (hildon_pannable_area_button_press_cb),
500 (hildon_pannable_axis_scroll),
501 (hildon_pannable_area_timeout),
502 (hildon_pannable_area_motion_notify_cb),
503 (hildon_pannable_area_button_release_cb): Changed the name of the
504 clicked attribute to button_pressed, it is more clear about its use.
506 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
508 * src/hildon-pannable-area.c
509 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
511 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
512 vertical scrollbar visibility, and use the data on private section instead,
513 remove the initial_hint check
514 (hildon_pannable_area_expose_event): add the initial_hint check here
516 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
518 * src/hildon-pannable-area.c
519 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
520 if the fadeout effect was used
521 (hildon_pannable_area_expose_event): check if it is required to
522 manage the initial effect on the begining of the function. Previously
523 it was made at the end, but this doesn't ensure that the scrollbars
524 will be painted on the first show. Do not set to FALSE initial_effect,
525 to ensure that the initial hint is showed the first time the pannable
527 * examples/Makefile.am
528 * examples/hildon-pannable-area-initial-hint-example.c:
529 New example, to show that the initial-hint is showed when the widget
532 Fixes: NB#116607 (Pannable area should always have scrollbar visible
533 initially if the application can be scrolled)
535 2009-05-25 Alberto Garcia <agarcia@igalia.com>
537 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
538 Resize table before adding new items to make sure that
539 gtk_table_resize() is called just once.
541 2009-05-25 Alberto Garcia <agarcia@igalia.com>
543 * hildon/hildon-app-menu-private.h
544 * hildon/hildon-app-menu.c (item_visibility_changed)
545 (filter_visibility_changed, hildon_app_menu_show_all)
546 (hildon_app_menu_hide_all, hildon_app_menu_init):
547 Rearrange items just once when gtk_widget_show_all()/hide_all()
550 2009-05-25 Alberto Garcia <agarcia@igalia.com>
552 * hildon/hildon-app-menu.c
553 (hildon_app_menu_insert, hildon_app_menu_add_filter):
554 Don't call gtk_widget_show() on added items.
556 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
557 automatically when they're added)
559 2009-05-20 Alberto Garcia <agarcia@igalia.com>
561 * hildon/hildon-banner.c
562 (hildon_banner_realize, +hildon_banner_unrealize)
563 (+screen_size_changed, hildon_banner_class_init):
564 Redisplay the banner if the screen is rotated.
566 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
567 on transition from landscape to portrait)
569 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
571 * hildon/hildon-banner.[ch]:
572 (hildon_banner_show_information_override_dnd): remove icon_name from the
573 method definition as it is ignored.
574 * examples/hildon-banner-dnd-example.c: updated with the change on
577 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
579 * hildon/hildon-banner-private.h: new require_override_dnd and
580 overrides_dnd variables
581 * hildon/hildon-banner.h:
582 (hildon_banner_show_information_override_dnd): new method, that shows
583 the information but sets the override flag, in order to show important
585 * hildon/hildon-banner.c
586 (hildon_banner_show_information_override_dnd): new method
587 (hildon_banner_set_override_flag): new utility function
588 (hildon_banner_real_show_information): new utility function, in order to
589 generalize the current hildon_banner_show_information_override_dnd and
590 hildon_banner_show_information_override_dnd
591 * examples/Makefile.am
592 * examples/hildon-banner-dnd-example.c: New example that show how to
593 use the new hildon_banner_show_information_override_dnd
595 Fixes: NB#114874 (There is no possibility to show hildon banners with
598 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
600 * hildon/hildon-pannable-area.c: Add a comment explaining the math
601 behind hildon_pannable_calculate_vel_factor().
603 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
605 * hildon/hildon-pannable-area.c
606 (hildon_pannable_calculate_vel_factor): Correct the sum of the
607 deceleration factors.
609 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
611 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
612 Reduce the default value for 'scroll_time' to 1 second, since the
613 current initial scrolling takes too much time.
615 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
617 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
618 calculate velocity factor during initialization, since the properties
621 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
623 * hildon/hildon-pannable-area.c
624 (hildon_pannable_area_set_property): Calculate the velocity factor
625 after setting the deceleration property and not after.
627 2009-05-20 Alberto Garcia <agarcia@igalia.com>
629 * hildon/hildon-entry.c
630 (hildon_entry_class_init, +set_property, hildon_entry_new)
631 * hildon/hildon-check-button.c
632 (hildon_check_button_class_init)
633 (+set_property, hildon_check_button_new):
634 Make the theme size a property.
636 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
637 others) do too much in the _new function)
639 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
641 * configure.ac: post release version bump
642 * debian/changelog: post release version bump
644 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
649 * configure.ac: Bump version.
650 * debian/changelog: Updates.
652 2009-05-15 Alberto Garcia <agarcia@igalia.com>
654 * hildon/hildon-gtk.h
655 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
656 New API function to take a screenshot of a window
658 Fixes: NB#106374 (Need API to take a loading screenshot)
660 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
662 * hildon/hildon-time-selector.c
663 (update_format_policy): prevent to use hours and minutes unitialized
665 2009-05-15 Alberto Garcia <agarcia@igalia.com>
667 * hildon/hildon-window.c (hildon_window_size_request):
668 Always request the full size of the screen (minus the title bar if
669 not in fullscreen mode).
671 Fixes: NB#107486 (HildonWindow should size itself properly)
673 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
675 * hildon/hildon-note-private.h: Add idle_handler to the private data.
676 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
677 (on_show_cb), (sound_handling): Disconnect the idle handler for
678 the sound when the note is finalized to avoid possible crashes.
680 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
683 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
685 * src/hildon-animation-actor.c,
686 * src/hildon-remote-texture.c:
687 Added proper object cleanup to remove signal handler and object
688 references as HildonAnimationActor and HildonRemoteTexture
689 objects get destroyed.
691 Fixes: NB#116682 (Destroying parented animation actors when
692 parent in unmapped leads to crash)
694 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
696 Based on a patch by Christian Dywan (christian@imendio.com)
698 * doc/hildon-sections.txt:
699 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
700 * hildon/hildon-helper.h: New file size formatting method.
702 * debian/control: Depend on osso-filemanager l10n package for
703 proper localization strings.
705 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
707 * tests/Makefile.am: Include top_srcdir to make possible to build
708 tests in a different builddir.
709 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
710 on a different builddir.
712 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
714 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
715 (hildon_touch_selector_remove): Disconnect model's signal handler
718 Fixes: NB#116289 (Hildon home crashes while adding task
721 2009-05-11 Alberto Garcia <agarcia@igalia.com>
723 * hildon/hildon-button.c
724 (hildon_button_set_title, hildon_button_set_value):
725 Hide labels containing an empty string.
727 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
729 * configure.ac: post release version bump
730 * debian/changelog: post release version bump
732 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
737 * configure.ac: Bump version.
738 * debian/changelog: Updates.
740 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
742 * hildon/hildon-note-private.h: Removed sound_signal_handler
743 * hildon/hildon-note.c
744 (on_show_cb): new callback on note "show" event, this simply adds
745 a idle, with the function sound_handling
746 (sound_handling): removed the sound_signal_handler management
747 (hildon_note_init): connect note "show" event to on_show_cb
748 (hildon_note_realize): remove the connection to "expose-event"
750 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
751 device?' confirmation note)
753 2009-05-08 Alberto Garcia <agarcia@igalia.com>
755 * hildon/hildon-note.c
756 (hildon_note_new_information_with_icon_name)
757 (hildon_note_new_confirmation_with_icon_name):
758 Terminate the list of parameters in g_object_set() calls
760 Fixes: NB#115166 (Formatting memory card is not taking place)
762 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
764 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
765 "dialog-information" role for the sound being played.
767 2009-05-06 Alberto Garcia <agarcia@igalia.com>
769 * hildon/hildon-app-menu.c (hildon_app_menu_init):
770 Don't make the menu a modal window, it causes strange interactions
771 with the pointer grab and it's not really needed.
773 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
775 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
777 * hildon/hildon-touch-selector.[ch]
778 (hildon_touch_selector_optimal_size_request): function added to get a
779 optimal size request from the touch selector, when you want a dialog to
780 show as much of the selector
781 * hildon/hildon-picker-dialog.c:
782 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
783 (hildon_app_menu_class_init):
784 New "max-height-landscape" and "max-height-portrait" style properties
785 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
786 (hildon_picker_dialog_get_max_height): returns the maximum height using
787 the style properties defined and checking the current portrait/landscape
789 (_hildon_picker_dialog_set_selector): removed the set_size_request
791 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
793 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
795 * hildon/hildon-bread-crumb-trail.c:
796 * hildon/hildon-bread-crumb.c:
797 * hildon/hildon-seekbar.c:
798 Add reference to replacements for these deprecated widgets.
800 Fixes: MB#4461 (Documentation: All deprecations should mention
803 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
805 * examples/hildon-remote-texture-example.c
807 Change the include to the hildon-remote-texture in order to compile
808 properly the examples on the installed libhildon1-examples package
810 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
812 * tests/Makefile.am: Add check for HildonPickerButton.
813 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
814 (START_TEST), (create_hildon_picker_button_suite): Add three simple
815 checks for the HildonPickerButton.
816 * tests/check_test.c (configure_tests): Add the test suite.
817 * tests/test_suites.h: likewise.
819 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
821 * hildon/hildon-touch-selector.c
822 (+on_row_changed): Emit HildonTouchSelector:changed when the
823 contents of a selected row change.
824 (_create_new_column), (_hildon_touch_selector_set_model): connect
825 to GtkTreeModel:row-changed on a newly set model.
827 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
829 2009-05-05 Alberto Garcia <agarcia@igalia.com>
831 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
833 * hildon/hildon-banner.c (hildon_banner_destroy)
834 (hildon_banner_show_progress, hildon_banner_set_fraction):
835 Remove the progress bar from HildonBanner and use a progress
838 Fixes: NB#113761 (Update progress banner to use progress
841 2009-05-04 Alberto Garcia <agarcia@igalia.com>
843 * hildon/hildon-banner.c:
844 Calculate size of the banner label using the actual screen width
845 rather than using a fixed value.
847 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
850 2009-05-04 Alejandro G. Castro <alex@igalia.com>
852 * hildon/hildon-pannable-area.c,
853 (hildon_pannable_area_class_init): Fixed signals documentation
856 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
858 * configure.ac: post release version bump
859 * debian/changelog: post release version bump
861 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
866 * configure.ac: Bump version.
867 * debian/changelog: Updates.
869 2009-05-01 Alberto Garcia <agarcia@igalia.com>
871 * hildon/hildon-edit-toolbar.c
872 (hildon_edit_toolbar_init):
873 Don't let buttons in HildonEditToolbar receive focus.
875 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
876 typing on an HW arrows key)
878 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
880 * doc/Makefile.am: Fix build.
882 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
884 * doc/Makefile.am: Do not redefine content_files.
886 2009-04-30 Alberto Garcia <agarcia@igalia.com>
894 Renamed src/ to hildon/
899 Include <hildon/hildon.h> directly in all examples.
901 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
903 * src/hildon-sort-dialog.c
904 (hildon_sort_dialog_add_sort_key_with_sorting)
908 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
910 * src/Makefile.am: Move generated sources to CLEANFILES, so that
911 make distcheck passes.
913 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
915 * Makefile.am: Enable gtk-doc during distcheck.
917 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
919 * Makefile.am: Do not distribute the debian/ directory.
921 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
923 * doc/Makefile.am: Add the extra SGML files to content_files,
924 so that they are distributed properly.
926 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
928 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
931 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
933 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
934 (hildon_note_new_information_with_icon_name): Set the "icon" property
935 to preserve soundness.
937 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
939 * src/hildon-font-selection-dialog.c
940 (hildon_font_selection_dialog_set_property): Fail when the "family"
941 property is set to NULL.
943 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
945 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
948 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
950 * src/hildon-time-selector.h:
951 Added HildonTimeSelectorFormatPolicy
952 * src/hildon-time-selector.c:
953 Added PROP_TIME_FORMAT_POLICY
954 (_check_ampm_format): renamed to check_automatic_ampm_format
955 (update_format_policy), (update_format_dependant_columns): new functions
956 (hildon_time_selector_class_init)
957 (hildon_time_selector_contructor)
958 (hildon_time_selector_init)
959 (hildon_time_selector_get_property)
960 (hildon_time_selector_set_property)
961 (hildon_time_selector_get_time)
962 (hildon_time_selector_set_time)
963 * src/hildon-touch-selector.h: new file
964 * src/hildon-touch-selector.c
965 (hildon_touch_selector_emit_changed)
966 (hildon_touch_selector_block_changed)
967 (hildon_touch_selector_unblock_changed)
968 Added functions to allow to block the emission of the "changed" signal
969 * src/hildon-picker-dialog.c
970 (hildon_picker_dialog_show): call the parent show before the custom code
971 * examples/hildon-time-button-example.c
972 Modified, so now you can configure the time format using the new property
974 Added a new property "time-format-policy" that allow to choose the time
975 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
976 case it uses gconf in order to check if the time selector must use
979 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
982 2009-04-28 Alberto Garcia <agarcia@igalia.com>
984 * src/hildon-note.c (hildon_note_init):
985 Label in HildonNote must be left aligned, not centered. This
986 reverts the last commit in HildonNote.
988 Fixes: NB#112933 (text is not left aligned in confirmation dialog
989 is connectivity dialog)
991 2009-04-27 Alberto Garcia <agarcia@igalia.com>
996 * doc/hildon-sections.txt:
997 Added hildon_gtk_window_set_do_not_disturb()
999 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1001 * src/hildon-note.c (hildon_note_init): Center label.
1003 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1006 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1011 * configure.ac: Bump version.
1012 * debian/changelog: Updates.
1014 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1016 * src/hildon-note-private.h: Add button-width to the private data.
1017 * src/hildon-note.c (+resize_button),
1018 (+hildon_note_orientation_update): methods to repack widgets on orientation
1020 (screen_size_changed): Call above method for confirmation notes.
1021 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1022 (hildon_note_rebuild): Store the original width request from buttons.
1024 Fixes: NB#109635 (Confirmation notes do not support portrait)
1026 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1028 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1029 when it is a progress note.
1031 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1033 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1034 in the note, since there are no horizontally arranged contents.
1036 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1038 * src/hildon-gtk.c (+set_flag): new generic method to
1039 set/delay a flag setting in a window.
1040 (hildon_gtk_window_set_progress_indicator):
1041 (hildon_gtk_window_set_do_not_disturb),
1042 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1043 avoid code redundance.
1045 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1047 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1049 * src/hildon-gtk.c (set_clear_window_flag),
1050 (do_set_progress_indicator), (do_set_do_not_disturb),
1051 (do_set_portrait_flags),
1052 (hildon_gtk_window_set_progress_indicator),
1053 (hildon_gtk_window_set_do_not_disturb),
1054 (hildon_gtk_window_set_portrait_flags):
1055 Allow setting dnd-flag, progress indicator, and portrait flags
1056 when the window is not realized.
1058 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1060 * src/hildon-pannable-area.c,
1061 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1062 the size request policy function and defines.
1064 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1066 * doc/hildon-sections.txt: Add the new API.
1067 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1068 method to set the portrait flags.
1069 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1071 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1073 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1075 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1076 to allow using this method with other flags.
1077 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1078 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1080 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1082 * src/hildon-touch-selector.c
1083 (hildon_touch_selector_append_text_column):
1084 Make the cell renderer use the smallest width possible.
1086 Fixes: NB#108470 (Selected items in multiple selection are either
1087 having a tick that is cut or not visible at all.)
1089 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1091 * src/hildon-touch-selector.c
1092 (hildon_touch_selector_append_text_column):
1095 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1097 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1098 Use g_strdup_printf() instead of a fixed size buffer.
1100 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1102 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1103 Close banners when a HildonAppMenu is popped up.
1105 Fixes: NB#111027 (Title menu closed immediately if activated when
1106 "Invalid e-mail address" banner is shown)
1108 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1113 * configure.ac: Bump version.
1114 * debian/changelog: Updates.
1116 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1118 * src/hildon-banner.c (hildon_banner_realize):
1119 Mark HildonBanner as supporting portrait mode.
1120 Use GDK to set window properties insetad of direct Xlib calls.
1122 Fixes: NB#111830 (HildonBanner should be marked as supporting
1125 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1127 * src/hildon-note.c (hildon_note_rebuild):
1128 Hide action area in information notes. Prevents text from being
1129 slightly aligned to the left.
1131 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1134 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1136 Patch by Mox Soini (ext-mox.soini@nokia.com)
1138 * src/hildon-banner.c (hildon_banner_create_animation):
1139 Use stylus-sized icons in animation banner.
1141 Fixes: NB#111206 (stylus sized icon for animation banner)
1143 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1147 (+hildon_gtk_window_set_do_not_disturb):
1148 New API to set the do-not-disturb flag.
1150 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1152 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1154 * examples/hildon-progress-indicator-example.c: Fix example
1156 * src/hildon-gtk.c (set_clear_window_flag)
1157 (hildon_gtk_window_set_progress_indicator):
1158 Create a generic function for setting flags to a window.
1159 Use GDK instead of direct Xlib calls.
1161 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1163 * src/hildon-button.c (hildon_button_set_arrangement):
1164 Due to NB#88126, if one of the labels is too long it will be
1165 painted outside the button. The 'value' label is more likely to be
1166 the longest one, so we change its packing options in order to
1167 truncate it if necessary. As a side effect, the 'title' label will
1168 no longer be truncated.
1170 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1172 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1177 * configure.ac: Bump version.
1178 * debian/changelog: Updates.
1180 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1182 Deprecation of the hildon_pannable_area_set_size_request_policy
1183 API, the only policy properly supported in gtk+ nowadays is the
1186 * src/hildon-pannable-area.c,
1187 (hildon_pannable_area_size_request): Added a workaround for the
1188 size_request to avoid the problems of huge pixmaps in case someone
1189 is still using the function.
1190 * src/hildon-pannable-area.h: Deprecated the enum with the
1193 Fixes: NB#110244 (Problems with the
1194 hildon_pannable_area_set_size_request_policy API)
1196 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1198 * src/hildon-pannable-area.c,
1199 (hildon_pannable_area_init),
1200 (hildon_pannable_area_size_request),
1201 (hildon_pannable_area_style_set),
1202 (hildon_pannable_draw_vscroll),
1203 (hildon_pannable_draw_hscroll),
1204 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1205 indicator_width to clarify the use of the attribute.
1207 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1212 * configure.ac: Bump version.
1213 * debian/changelog: Updates.
1215 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1217 * src/hildon-picker-dialog.c
1218 * src/hildon-touch-selector.c
1219 Reverting the change that tried to avoid the hardcoded height on
1220 the picker dialog, as causes problems on the hildon-touch-selector
1223 Fixes: NB#110029 (selectors not scrolling to selected value)
1225 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1227 * src/hildon-touch-selector.c: Fix typos
1229 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1231 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1232 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1233 request more motions after using it.
1235 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1237 * src/hildon-calendar.c (hildon_calendar_expose),
1238 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1239 Remove unused variables.
1241 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1243 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1244 variable assignment.
1246 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1248 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1249 Check the return value of gtk_tree_selection_get_selected()
1252 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1254 * src/hildon-animation-actor.c
1255 * src/hildon-button.c
1257 * src/hildon-pannable-area.c
1258 * src/hildon-picker-button.c
1259 * src/hildon-program.c
1260 * src/hildon-remote-texture.c
1261 * src/hildon-text-view.c
1262 * src/hildon-touch-selector.c
1263 * src/hildon-window-stack.c
1264 * src/hildon-window.c:
1265 Add missing 'Since: 2.2' tags.
1267 * doc/hildon-sections.txt:
1268 Add some missing symbols.
1270 * doc/hildon-docs.sgml:
1271 New 'Other' section for HildonAnimationActor and
1274 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1276 Patch by Iván Gómez (igomez@igalia.com)
1279 * doc/compiling.sgml
1280 * doc/hildon-docs.sgml
1281 * doc/hildon-sections.txt
1282 * doc/migration.sgml
1283 * doc/resources.sgml
1285 New chapters on using the Hildon library.
1286 Updated the general structure of the reference manual.
1287 Other minor documentation fixes.
1289 * src/hildon-calendar-popup.c
1290 * src/hildon-calendar.c
1291 * src/hildon-controlbar.c
1292 * src/hildon-date-editor.c
1293 * src/hildon-dialog.c
1294 * src/hildon-hvolumebar.c
1295 * src/hildon-number-editor.c
1296 * src/hildon-range-editor.c
1297 * src/hildon-sort-dialog.c
1298 * src/hildon-time-editor.c
1299 * src/hildon-time-picker.c
1300 * src/hildon-volumebar-range.c
1301 * src/hildon-volumebar.c
1302 * src/hildon-vvolumebar.c
1303 * src/hildon-weekday-picker.c:
1304 Add deprecation notes
1306 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1307 Document 'horizontal-movement' and 'vertical-movement' signals.
1309 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1314 * configure.ac: Bump version.
1315 * debian/changelog: Updates.
1317 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1319 * src/hildon-pannable-area.c,
1320 (hildon_pannable_area_class_init): increased the minimum velocity.
1321 (hildon_pannable_area_button_release_cb): Updated the
1322 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1323 setup. Review the code to control that last event.
1325 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1328 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1330 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1332 * src/hildon-get-password-dialog.c
1333 (hildon_get_password_set_property),
1334 (hildon_get_password_get_property), (create_contents):
1335 * src/hildon-login-dialog-private.h:
1336 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1337 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1338 (hildon_login_dialog_get_password):
1339 * src/hildon-set-password-dialog-private.h:
1340 * src/hildon-set-password-dialog.c
1341 (hildon_set_password_set_property),
1342 (hildon_set_password_get_property), (create_contents),
1343 (hildon_set_password_response_change),
1344 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1346 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1347 instead and look more Fremantle style.
1349 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1351 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1353 * doc/hildon-sections.txt
1354 * src/hildon-window-stack.h
1355 * src/hildon-window-stack.c
1356 (+hildon_window_stack_get_windows):
1357 New API to obtain the list of windows on a stack.
1359 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1361 * src/hildon-app-menu.c (hildon_app_menu_popup)
1362 (hildon_app_menu_class_init, -hildon_app_menu_show):
1363 Remove hildon_app_menu_show() and move all its checks to
1364 hildon_app_menu_popup()
1366 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1368 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1369 (_hildon_picker_dialog_set_selector): removed call to
1370 gtk_widget_set_size_request
1371 * src/hildon-touch-selector.c
1372 (_create_new_column): change the pannable size request policy
1374 Avoid to use a hardcoded height for the hildon picker dialog. In order
1375 to get that, we needed to change the hildon pannable size request
1377 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1379 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1381 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1382 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1385 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1387 * debian/control: Depend on osso-system-lock localization package.
1388 * src/hildon-code-dialog.c: Obtain the secu_application_title
1389 translation from osso-system-lock.
1390 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1391 for translation the atk related strings, that's not necessary.
1392 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1393 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1394 cancel button, it is not required.
1396 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1398 * src/hildon-pannable-area.c,
1399 (hildon_pannable_area_class_init): Modified the default value of
1400 the overshooting max speed, we have reduced it.
1402 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1404 * doc/hildon-sections.txt
1405 * src/hildon-window-private.h
1406 * src/hildon-window.h
1407 * src/hildon-window.c (hildon_window_class_init)
1408 (hildon_window_init, hildon_window_finalize)
1409 (hildon_window_realize, hildon_window_get_property)
1410 (hildon_window_set_property, hildon_window_update_markup)
1411 (hildon_window_get_markup, hildon_window_set_markup):
1412 New "markup" property and hildon_window_{get,set}_markup() methods.
1414 * examples/hildon-stackable-window-example.c (new_window):
1415 Update example to use hildon_window_set_markup()
1417 Fixes: NB#106375 (Need API to retitle a window with a title
1420 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1422 * src/hildon-pannable-area.c,
1423 (hildon_pannable_area_class_init): Changed the default value of
1424 the initial_hint to TRUE.
1425 (hildon_pannable_area_initial_effect): Changed the initial effect,
1426 not the effect is just the fade-out of the scrollbars.
1428 Fixes: NB#107775 (No scrollbars can be seen when several items are
1429 available in a dialog)
1431 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1433 * src/hildon-program.c (hildon_program_update_top_most):
1436 Fixes: NB#109179 (Memory leak in Hildon program)
1438 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1440 * src/hildon-banner.c (-get_current_app_window):
1441 Remove unused function.
1443 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1445 * src/hildon-pannable-area.c: Modified the documentation of the
1446 get adjustments functions to explain the problem of using the
1447 adjustment directly.
1448 (hildon_pannable_area_class_init): Improved the explanation about
1451 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1453 * src/hildon-app-menu-private.h
1454 * src/hildon-app-menu.c
1455 (hildon_app_menu_class_init):
1456 Bring back the 'external-border' style property
1457 (hildon_app_menu_class_init, hildon_app_menu_init)
1458 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1459 Set a fixed width-request for the menu, independent of the number
1462 Fixes: NB#94957 (Smoothly opened application menu)
1464 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1466 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1468 * src/hildon-banner.c
1469 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1471 Make sure that the banner is correctly placed the first time it's
1473 (hildon_banner_check_position, -check_fullscreen_state):
1474 Show the banner in the same place no matter if the window is in
1475 fullscreen mode or not.
1477 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1479 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1481 * src/hildon-touch-selector.c (_default_print_func): reorder
1482 concatenation for clarity.
1484 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1486 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1487 for multicolumn selectors.
1489 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1491 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1496 * configure.ac: Bump version.
1497 * debian/changelog: Updates.
1499 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1501 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1504 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1506 * configure.ac: removed libcangerra-gtk dependency
1507 * debian/control: removed libcanberra-gtk dependency
1508 * src/Makefile.am: removed libcanberra gtk related flags
1509 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1510 context, and manage a global canberra context instead
1512 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1514 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1516 Patch by Daniel Borgmann (danielb@openismus.com)
1518 * src/hildon-edit-toolbar.c:
1519 Adjust the left padding.
1520 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1521 Paint background of the edit toolbar.
1523 Fixes: NB#107897 (Patch to make editmodetoolbar background
1524 themeable and adjust margin)
1526 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1528 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1530 * src/hildon-program.c (hildon_program_update_top_most):
1531 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1533 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1534 change when the user tasks in/out of an application)
1536 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1538 * configure.ac: added libcangerra-gtk dependency
1539 * debian/control: added libcanberra-gtk dependency
1540 * src/Makefile.am: added libcanberra gtk related flags
1541 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1544 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1546 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1548 * src/hildon-program.c (hildon_program_remove_window)
1549 (hildon_program_add_window): Add checks for the window
1550 parameter. Don't decrease the window counter if the window is not
1553 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1555 * src/hildon-pannable-area.c,
1556 (hildon_pannable_area_realize): Fixed position of the event_window
1557 in the realize method.
1559 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1561 * src/hildon-app-menu-private.h
1562 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1563 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1564 (hildon_app_menu_key_press, hildon_app_menu_init)
1565 (hildon_app_menu_finalize):
1566 Make sure that all idle functions are removed when the widget is
1569 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1571 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1576 * configure.ac: Bump version.
1577 * debian/changelog: Updates.
1579 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1581 * src/hildon-entry.c
1582 (+hildon_entry_show_placeholder),
1583 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1584 that replace hildon_entry_update_contents().
1585 (hildon_entry_set_text),
1586 (hildon_entry_set_placeholder),
1587 (hildon_entry_focus_in_event),
1588 (hildon_entry_focus_out_event): Determine when it is needed
1589 either to show or hide the placeholder and call the above methods.
1591 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1592 when the placeholder text is already set)
1594 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1596 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1597 simple GdkPixbufAnim using the new icons for the banner.
1598 (hildon_banner_show_animation): Use the above mentioned method to
1599 create the animation widget.
1601 Fixes: NB#103564 (Make hildon animation banner use individual
1602 image files as the animation)
1604 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1606 * src/hildon-pannable-area.c,
1607 (hildon_pannable_leave_notify_event): Check if the child is NULL
1608 to avoid sending the leave.
1610 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1612 * src/hildon-pannable-area.c,
1613 (hildon_pannable_area_class_init),
1614 (hildon_pannable_leave_notify_event): Added a handler of the
1615 leave-notify-signal to consider when no motion notify before
1618 Fixes: NB#107494 (Items stay selected when clicking and moving
1619 away when inside pannable area)
1621 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1626 * configure.ac: Bump version.
1627 * debian/changelog: Updates.
1629 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1631 Patch by Alberto Garcia (agarcia@igalia.com)
1633 * src/hildon-date-button.c,
1634 (hildon_date_button_class_init),
1635 (hildon_date_button_init): Removed the construct property handling
1636 and created a default selector in the init method.
1637 * src/hildon-picker-button.c,
1638 (hildon_picker_button_class_init): Removed the construct flag of the
1641 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1643 * src/hildon-main.c (hildon_init):
1644 Don't allow hildon_init() to be called more than once.
1646 Fixes: NB#106607 (hildon_init should issue error message upon
1649 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1651 * examples/hildon-pannable-area-touch-list-example.c
1652 * examples/hildon-pannagle-area-touch-grid-example.c
1653 * examples/hildon-edit-toolbar-example.c
1654 * examples/hildon-touch-selector-multi-cells-example.c
1655 Removed the call to gtk_rc_parse_string, as it is not required since
1658 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1660 * src/hildon-pannable-area.c,
1661 (hildon_pannable_area_class_init): Modified the default panning
1662 threshold of the widget to 6px.
1664 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1665 than the threshold value ) within the button is not sending the
1668 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1670 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1671 for the treeview in the new column. This way, the touch list will never
1674 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1675 be selected manually for the HW keys to work)
1677 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1679 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1680 comparison instead of using strcmp(). Fixes a compiler warning as well.
1682 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1684 * doc/hildon-docs.sgml: Do not set the library version in the
1685 document title, use the releaseinfo tag for that purpose instead.
1687 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1689 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1690 Do not jump to the first item if the text in the entry is removed.
1692 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1697 * configure.ac: Bump version.
1698 * debian/changelog: Updates.
1700 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1702 * src/hildon-entry.c (hildon_entry_refresh_contents):
1703 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1704 Use "ReversedSecondaryTextColor" for the placeholder text.
1706 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1708 * src/hildon-text-view.c: Fix compilation warning.
1710 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1712 * src/hildon-button.c (hildon_button_class_init): Don't make
1713 "title" and "value" construction properties, to prevent them from
1714 overwriting labels set from derived classes.
1716 * src/hildon-picker-button.c
1717 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1718 (hildon_picker_button_class_init): Make touch-selector a
1719 construction property.
1721 * src/hildon-date-button.c (hildon_date_button_class_init)
1722 (+hildon_date_button_constructed): Add a default date selector if
1725 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1727 * src/hildon-touch-selector.c: Small documentation fixes.
1729 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1731 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1733 * src/hildon-entry.c (hildon_entry_refresh_contents),
1734 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1735 widget name, set the logical color directly instead and a boolean
1736 showing_placeholder instead.
1737 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1738 use the widget name here either.
1740 Fixes: NB#105678 (HildonTextView should use logical colours
1741 instead of setting widget name)
1743 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1745 Patch by Daniel Elster (danielk@openismus.com)
1747 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1748 Add user_data parameter.
1749 (hildon_touch_selector_set_print_func_full): New function akin
1750 hildon_touch_selector_set_print_func() but with support for user
1751 data and a destroy callback.
1752 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1753 to clean up the print function user data.
1754 (hildon_touch_selector_class_init): Install dispose function.
1755 (HildonTouchSelectorPrivate::print_user_data),
1756 (HildonTouchSelectorPrivate::print_destroy_func): New private
1758 (hildon_touch_selector_init): Initialize new private members.
1759 (hildon_touch_selector_get_current_text): Pass along user data
1760 to the print function.
1761 (_default_print_func): Add dummy user_data to parameter list.
1762 * hildon-date-selector.c (_custom_print_func): ditto,
1763 * hildon-time-selector.c (_custom_print_func): ditto,
1764 * hildon-touch-selector-entry.c
1765 (hildon_touch_selector_entry_print_func): ditto.
1767 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1769 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1771 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1773 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1775 * src/hildon-pannable-area.c,
1776 (hildon_pannable_area_init),
1777 (hildon_pannable_area_button_press_cb),
1778 (hildon_pannable_area_motion_notify_cb): We have added code to
1779 handle the leave and enter events when using the motion events.
1781 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1783 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1785 * src/hildon-date-button.c (hildon_date_button_get_date)
1786 (hildon_date_button_set_date): Make sure that the button has a
1789 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1791 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1793 * src/hildon-pannable-area.c,
1794 (hildon_pannable_area_class_init),
1795 (hildon_pannable_area_calculate_velocity): Modify the use of the
1796 force and adapt the value.
1798 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1800 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1801 (hildon_app_menu_class_init): Hide the menu if it receives a
1802 delete-event, but don't destroy it
1804 Fixes: NB#104485 (Not able to address the call when application
1805 menu is opened at background)
1807 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1809 * src/hildon-app-menu.c
1810 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1811 Remove the "external-border" style property, let the menu take its
1812 natural size (or the one set by the window manager)
1813 (hildon_app_menu_repack_items):
1814 Don't reshow the menu, avoid flickers.
1816 Partially fixes NB#94957 (Smoothly opened application menu)
1818 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1823 * configure.ac: Bump version.
1824 * debian/changelog: Updates.
1826 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1828 * src/hildon-pannable-area.c,
1829 (hildon_pannable_area_motion_notify_cb): We control that the
1830 direction error margin is used just in case the movement is
1831 allowed in the other direction.
1833 Fixes: NB#105012 (buttons inside a pannable area not getting
1834 release event when dragging/releasing)
1836 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1838 * src/hildon-pannable-area.c,
1839 (hildon_pannable_area_class_init),
1840 (hildon_pannable_area_get_property),
1841 (hildon_pannable_area_set_property),
1842 (hildon_pannable_area_initial_effect),
1843 (hildon_pannable_axis_scroll),
1844 (hildon_pannable_area_button_release_cb): Reviewed the
1845 overshooting effect, now it has its own max
1846 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1847 speed when bouncing.
1849 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1854 * configure.ac: Bump version.
1855 * debian/changelog: Updates.
1857 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1859 * src/hildon-pannable-area.c,
1860 (hildon_pannable_area_class_init): Changed the max speed, now
1861 users can launch the widget very fast. Reduced the default force,
1862 that way it is easier to control the launch speed.
1864 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1866 * src/hildon-pannable-area.c,
1867 (hildon_pannable_area_button_release_cb): Removed this check
1868 because it causes problems when the device is overloaded.
1870 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1872 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1873 add a current_text field to store the text entered in the
1874 touch selector entry.
1875 (_clean_current_selection): clean up the current text as well.
1876 (_save_current_selection), (_restore_current_selection):
1877 Save/restore the text in the entry if the selector is a
1878 HildonTouchSelectorEntry.
1880 Fixes: NB#102541 (value entered in the touch selector entry is not
1881 shown when opened for second time)
1883 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1885 * doc/hildon-sections.txt:
1886 * src/hildon-touch-selector-entry.c
1887 (+hildon_touch_selector_entry_get_entry):
1888 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1890 Fixes: NB#104815 (I need accessor to the entry inside
1891 HildonTouchSelectorEntry)
1893 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1895 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1896 (hildon_app_menu_class_init):
1897 New "filter-vertical-spacing" style property.
1899 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1901 * src/hildon-find-toolbar.c
1902 (hildon_find_toolbar_emit_close)
1903 (hildon_find_toolbar_emit_invalid_input)
1904 (hildon_find_toolbar_entry_activate):
1905 Use g_signal_emit() instead of g_signal_emit_by_name()
1907 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1909 Patch by Mox Soini (ext-mox.soini@nokia.com)
1911 * tests/TEST-CASES.txt
1912 * tests/check-hildon-banner.c
1913 * tests/check-hildon-note.c
1914 * src/hildon-banner.c
1915 * src/hildon-code-dialog.c
1916 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1917 * src/hildon-time-editor.c
1918 * examples/hildon-lookup-example.c (main):
1919 Replace obsolete icon names with new ones.
1921 * src/hildon-find-toolbar-private.h:
1922 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1923 (-hildon_find_toolbar_emit_search):
1924 Remove find button and change icon of close button.
1926 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1928 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1930 * src/hildon-time-button.c (hildon_time_button_new_step):
1931 Use the "touch-selector" property to set the selector directly
1932 when creating the object.
1934 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1936 Added a new example application that allows tuning the pannable
1937 area and replaced defines with properties in order to simplify the
1938 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1939 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1940 PROP_DIRECTION_ERROR_MARGIN.
1942 * examples/hildon-pannable-area-tuning-example.c: New example
1944 * src/hildon-pannable-area.c,
1945 (hildon_pannable_area_class_init),
1946 (hildon_pannable_area_init),
1947 (hildon_pannable_area_get_property),
1948 (hildon_pannable_area_set_property),
1949 (hildon_pannable_area_launch_fade_timeout),
1950 (hildon_pannable_area_adjust_value_changed),
1951 (hildon_pannable_axis_scroll),
1952 (hildon_pannable_area_motion_notify_cb),
1953 (hildon_pannable_area_scroll_cb),
1954 (hildon_pannable_area_button_release_cb): We have converted some
1955 of the defines that control the widget to properties to simplify
1958 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1960 * src/hildon-app-menu.c (hildon_app_menu_map)
1961 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1962 so it's closed if a new window appears.
1964 Fixes: NB#104485 (Not able to address the call when application
1965 menu is opened at background)
1967 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1969 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1970 missing 'break' statement in in 'case' construct to avoid
1973 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1975 * src/hildon-touch-selector-entry.c
1976 (hildon_touch_selector_entry_get_property),
1977 (hildon_touch_selector_entry_set_property): Add missing 'break'
1978 statements in in 'case' constructs to avoid incorrect warnings.
1980 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1982 * src/hildon-time-editor.c
1983 (hildon_time_editor_get_time_separators): Do not crash if
1984 the first label is NULL.
1986 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1988 * src/hildon-date-selector.c (_month_days): Check for month to be
1989 strictly less than 12, since otherwise we may overrun the array.
1991 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1993 * src/hildon-date-button.c (+hildon_date_button_new_full)
1994 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1995 (hildon_date_button_init): Set the date selector using a
1996 construction property, to make it happen after HildonButton's
1997 "value" property is set.
1999 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2000 current date by default)
2002 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2004 * doc/hildon-sections.txt
2005 * src/hildon-program.c
2006 * src/hildon-stackable-window.c
2007 * src/hildon-window.c:
2008 Documentation updates
2010 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2012 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2013 (hildon_window_stack_new, +hildon_window_stack_set_property)
2014 (+hildon_window_stack_get_property)
2015 (hildon_window_stack_class_init)
2016 (+hildon_window_stack_set_window_group)
2017 (+hildon_window_stack_get_window_group):
2018 Make the window group a construction property.
2020 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2022 * doc/hildon-sections.txt
2023 * src/hildon-stackable-window-private.h
2024 * src/hildon-stackable-window.h
2025 * src/hildon-stackable-window.c
2026 (-hildon_stackable_window_set_app_menu)
2027 (-hildon_stackable_window_get_app_menu)
2028 (-hildon_stackable_window_toggle_menu)
2029 (-hildon_stackable_window_finalize)
2030 (hildon_stackable_window_class_init)
2031 (hildon_stackable_window_init)
2032 * src/hildon-window-private.h
2033 * src/hildon-window.h
2034 * src/hildon-window.c (hildon_window_init)
2035 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2036 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2037 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2038 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2039 Moved all HildonAppMenu code to HildonWindow. The menu does not
2040 require a HildonStackableWindow anymore.
2042 * src/hildon-app-menu.c
2043 * src/hildon-program.c
2044 * examples/hildon-app-menu-example.c (main):
2045 Update examples and documentation to reflect HildonAppMenu
2048 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2050 * src/hildon-remote-texture.c
2051 * src/hildon-animation-actor.c:
2052 Don't include unused private headers.
2054 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2056 * src/hildon-program-private.h
2057 * src/hildon-program.c
2058 (hildon_program_set_common_menu)
2059 (hildon_program_get_common_menu)
2060 (hildon_program_set_common_app_menu)
2061 (hildon_program_get_common_app_menu):
2062 Change common menu pointers from GtkWidget* to GtkMenu* and
2063 HildonAppMenu* to avoid unnecessary casts.
2065 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2067 * src/hildon-window.c (hildon_window_set_main_menu):
2068 Removed incorrect 'Since:' tag
2070 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2072 * src/hildon-pannable-area.c,
2073 (hildon_pannable_area_calculate_velocity): We use now the
2074 RATIO_TOLERANCE here to check the distance, fixed typo in the
2076 (hildon_pannable_area_motion_notify_cb): We have to set the type
2077 and time even if we are not sending the motion.
2079 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2081 * doc/hildon-sections.txt
2082 * src/hildon-app-menu.h
2083 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2084 (+hildon_app_menu_get_filters): New methods to get the contents of
2087 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2090 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2092 * src/hildon-app-menu.c (hildon_app_menu_popup):
2095 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2097 * src/hildon-window.h
2098 * src/hildon-window.c (+hildon_window_get_main_menu)
2099 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2100 and deprecated hildon_window_get_menu().
2102 * src/hildon-stackable-window.h
2103 * src/hildon-stackable-window.c
2104 (+hildon_stackable_window_set_app_menu)
2105 (+hildon_stackable_window_get_app_menu)
2106 (hildon_stackable_window_set_main_menu): Created
2107 hildon_stackable_window_{get,set}_app_menu() and deprecated
2108 hildon_stackable_window_set_main_menu().
2110 * doc/hildon-sections.txt
2111 * examples/hildon-app-menu-example.c (main)
2112 * src/hildon-app-menu.c
2113 * src/hildon-program.c:
2114 Updated examples and documentation.
2116 Fixes: NB#103758 (No way to obtain a menu from a
2117 HildonStackableWindow)
2119 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2124 * configure.ac: Bump version.
2125 * debian/changelog: Updates.
2127 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2129 * examples/hildon-remote-texture-example.c: Include
2130 hildon-remote-texture.h explicitely.
2131 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2132 applications not defining _XOPEN_SOURCE which don't require this header.
2134 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2136 * doc/hildon-sections.txt
2137 * src/hildon-app-menu.h
2138 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2139 New function to pop up a HildonAppMenu
2141 * src/hildon-stackable-window.c
2142 (hildon_stackable_window_toggle_menu):
2143 Use hildon_app_menu_popup() to show the menu.
2145 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2147 * src/hildon-app-menu.c (hildon_app_menu_show)
2148 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2149 menu if there's another window between it and its parent window.
2151 Fixes: NB#100468 (Application menu window is launched even when a
2152 new secondary-window/dialog is pending to be shown/realized)
2154 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2156 * src/hildon-window-stack.c (hildon_window_stack_push)
2157 (hildon_window_stack_pop_and_push):
2158 Don't forget to push/pop the first window.
2159 Reverse the window list before calling _push_list()
2161 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2163 * src/hildon-picker-button.h
2164 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2165 Remove "value_changed" slot to avoid ABI breakage
2167 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2169 * src/hildon-pannable-area.c,
2170 (hildon_pannable_area_realize),
2171 (hildon_pannable_area_unrealize),
2172 (hildon_pannable_draw_vscroll),
2173 (hildon_pannable_draw_hscroll): Changed the method to handle the
2174 GC used to draw the transparent scrollbar, this way we avoid
2175 creating the GC all the time when drawing the scrollbars.
2177 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2179 * src/hildon-pannable-area.c,
2180 (hildon_pannable_area_init),
2181 (hildon_pannable_area_remove): Removed some unnecessary casts.
2182 (hildon_pannable_area_dispose): Disconnected some signals before
2183 releasing the adjustments.
2185 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2187 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2188 Make sure that all widgets contained in the toolbar are shown.
2190 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2192 * doc/hildon-sections.txt
2193 * src/hildon-picker-button.h
2194 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2195 (_selection_changed, hildon_picker_button_on_dialog_response)
2196 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2197 New hildon_picker_button_value_changed() method.
2200 * src/hildon-picker-button-private.h
2201 * src/hildon-picker-button.c (hildon_picker_button_init)
2202 (+hildon_picker_button_disable_value_changed): Add protected
2203 function for disabling the "value-changed" signal.
2205 * src/hildon-date-button.c (hildon_date_button_set_date):
2206 Don't emit "value-changed" for each one of the three columns.
2208 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2209 before actual change of values)
2211 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2213 * src/hildon-pannable-area.c,
2214 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2215 for the treeview overshooting.
2217 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2219 * src/hildon-banner.c (+hildon_banner_bind_style):
2220 Renamed from hildon_banner_bind_label_style(), now naming the
2221 banner itself as well.
2222 (hildon_banner_show_information),
2223 (hildon_banner_show_information_with_markup),
2224 (hildon_banner_show_animation), (hildon_banner_show_progress):
2225 Name the widgets and labels, based on their type.
2227 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2230 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2232 * src/hildon-note.c (hildon_note_set_property): call
2233 hildon_note_rename() on HildonNote:note-type set.
2234 (hildon_note_rename): Name the note and its label, based on the
2235 HildonNote:note-type property.
2237 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2240 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2242 * src/hildon-pannable-area.c,
2243 (hildon_pannable_area_class_init),
2244 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2245 panning parameters, increased SPS and deceleration factor. Added
2246 also a margin to control fake directions.
2248 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2250 Patch by Sven Herzberg (sven@imendio.com)
2252 * configure.ac: Add missing AM_PROG_CC_C_0
2253 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2255 See NB#101420 (Update unit tests and fix make check)
2257 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2259 This patch was applied before but reverted because it caused
2260 problems, we have changed the main condition and tested the
2261 regressions we detected before and they work ok. We have done a
2262 complete review of the topmost algorithm in order to get a more
2265 * src/hildon-pannable-area.c,
2266 (hildon_pannable_area_get_topmost): Added a new parameter to
2267 filter the the windows that do not include those events.
2268 (hildon_pannable_area_button_press_cb),
2269 (hildon_pannable_area_button_release_cb),
2270 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2271 topmost function, we have added the new parameter.
2273 Fixes: NB#97458 (Pannable area prevents propagation of button
2276 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2278 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2279 if all columns in the selector have an item selected.
2280 (_on_dialog_response): Stop "response" signal emission if there is
2281 any selector column without selected items.
2283 Fixes: NB#101889 (Picker dialog should not close when nothing is
2284 selected in multiple selection list)
2286 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2288 * src/hildon-font-selection-dialog.c
2289 (hildon_font_selection_dialog_class_init),
2290 (hildon_font_selection_dialog_init): Remove the preview
2291 button and dialog, since previewing with default theming is likely
2292 to be overcomplicated. The :preview property has now no effect.
2293 Update documentation blurbs to inform about this.
2295 Fixes: NB#92297 (Preview content is not clearly visible for
2296 default colour text)
2298 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2300 Reviewed the geometry that handles the children size and
2301 scrollbar, now it tries a size and reviews the results depending
2302 on the scrollbars visibility.
2304 * src/hildon-pannable-area.c,
2305 (hildon_pannable_area_realize): Fixed a typo.
2306 (hildon_pannable_area_child_allocate_calculate): Added this
2307 function to calculate the child allocation.
2308 (hildon_pannable_area_size_allocate): Reviewed the allocation
2310 (hildon_pannable_area_check_scrollbars),
2311 (hildon_pannable_area_refresh): Refactored refresh function, this
2312 way we can call the code handling the scrollbars without causing a
2313 size_request, it is interesting in the allocate.
2314 (hildon_pannable_area_init): Replace the callbacks of the
2315 value_changed and changed signals to propertly deal with the
2317 (hildon_pannable_area_grab_notify),
2318 (hildon_pannable_area_initial_effect),
2319 (hildon_pannable_area_launch_fade_timeout),
2320 (hildon_pannable_area_adjust_changed),
2321 (hildon_pannable_area_adjust_value_changed),
2322 (hildon_pannable_area_redraw),
2323 (hildon_pannable_area_button_press_cb),
2324 (hildon_pannable_area_button_release_cb),
2325 (hildon_pannable_area_scroll_cb),
2326 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2327 code and use the new functions adjust_changed and
2328 adjust_value_changed.
2330 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2331 Contact editor dialog)
2333 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2338 * configure.ac: Bump version.
2339 * debian/changelog: Updates.
2341 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2343 * src/hildon-pannable-area.c,
2344 (hildon_pannable_area_get_topmost),
2345 (hildon_pannable_area_button_press_cb),
2346 (hildon_pannable_area_button_release_cb),
2347 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2348 topmost function adding the event mask. We have to try a
2349 differente approach because it is still causing problems (NB#9745,
2352 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2354 * src/hildon-banner.c:
2355 Update the maximum width of timed banners.
2356 (force_to_wrap_truncated): Enforce the maximum text width if the
2359 Fixes: NB#102413 (The text margins (wrapping) in information
2360 banner should be HILDON_MARGIN_TRIPLE)
2362 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2364 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2366 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2367 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2368 bound when calculating the scroll indicator position.
2370 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2371 treat ->lower correctly)
2373 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2375 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2376 expose event handling, since it is not necessary to draw the focus
2379 Fixes: NB#102467 (Do not show highlight on the text in
2382 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2384 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2385 full height of the toolbar for the button and the label.
2387 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2389 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2390 padding before the label and after the button.
2392 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2394 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2396 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2397 Add a GtkVSeparator between the button and the back arrow.
2398 Let the button have automatic size.
2399 Set a name to the widget for theming handling.
2401 Fixes: NB#101793 (Make edit toolbar the same height as window
2402 title bar (use title area theming))
2404 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2406 * src/hildon-helper.c (attach_new_color_element): Fix memory
2409 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2411 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2413 * examples/hildon-button-example.c (common_buttons_window): Don't
2416 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2418 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2419 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2421 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2423 * src/hildon-gtk.c: Check that the window is realized.
2425 Fixes: NB#102225 (Crash setting the progress indicator to a non
2428 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2430 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2431 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2432 instead of modifying the one in the widget style.
2434 Fixes: NB#101043 (Second row of all the command button are
2435 displayed in transparent mode.)
2437 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2439 * src/hildon-date-button.c
2440 * src/hildon-time-button.c: Add gettext macros
2442 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2444 * src/hildon-date-button.c (hildon_date_button_new):
2445 * src/hildon-time-button.c (hildon_time_button_new_step):
2446 Use new logical strings to set the button default title.
2448 Fixes: NB#99915 (Date and Time options are not localised in Date
2451 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2453 * src/hildon-pannable-area.c
2454 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2455 the PANNING_THRESHOLD.
2457 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2459 * src/hildon-pannable-area.c,
2460 (hildon_pannable_area_class_init): Increased the maximum speed.
2461 (hildon_pannable_area_get_property),
2462 (hildon_pannable_area_set_property),
2463 (hildon_pannable_area_timeout): Added a new low friction mode, it
2464 allows the user avoid friction when launching the widget fast
2465 enough. It is interesting to traverse long lists.
2467 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2469 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2470 (+hildon_stackable_window_delete_event): Ignore delete events if
2471 the window is not the topmost one.
2473 Fixes: NB#101698 (Back button long press and delete-event handling)
2475 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2477 * src/hildon-pannable-area.c,
2478 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2479 gtk-dnd-drag-threshold, it was too big. We have defined our own
2480 dnd define and set a smaller value: PANNIG_THRESHOLD.
2482 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2484 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2485 user-defined icons, use always the default one.
2487 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2489 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2491 This patch was applied before but reverted because it caused
2492 problems, we have changed the main condition and tested the
2493 regressions we detected before and they work ok.
2495 * src/hildon-pannable-area.c,
2496 (hildon_pannable_area_get_topmost): Added a new parameter to
2497 filter the the windows that do not include those events. Added
2498 also a condition when finding the window to filter windows that do
2499 not ask for those events.
2500 (hildon_pannable_area_button_press_cb),
2501 (hildon_pannable_area_button_release_cb),
2502 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2503 topmost function, we have added the new parameter.
2505 Fixes: NB#97458 (Pannable area prevents propagation of button
2508 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2510 * tests/check-hildon-color-button.c (START_TEST): do not leak
2513 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2515 * src/hildon-font-selection-dialog.c
2516 (hildon_font_selection_dialog_get_preview_text): Return NULL
2517 instead of FALSE on the g_return_val_if_fail().
2519 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2521 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2522 * src/hildon-date-selector.c
2523 (hildon_date_selector_select_current_date):
2524 Do not compare unsigned integers to be greater than or equal 0,
2525 because it's always TRUE.
2527 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2529 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2530 (hildon_date_selector_constructor): Do not select the current
2531 date until we are handle the "changed" signal, to avoid having bogus
2532 elements in the days model.
2534 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2536 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2537 for num_days, since _month_days() can return a negative value.
2539 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2541 * src/hildon-caption.c (hildon_caption_size_allocate):
2542 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2543 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2545 Initialize allocation variables to 0, to avoid eventually using
2546 unitialized variables.
2548 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2550 * src/hildon-bread-crumb-trail.c
2551 (hildon_bread_crumb_trail_size_allocate):
2552 * src/hildon-calendar.c (hildon_calendar_set_background):
2553 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2554 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2555 * src/hildon-seekbar.c (hildon_seekbar_init):
2556 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2557 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2558 * src/hildon-touch-selector-entry.c
2559 (hildon_touch_selector_get_text_from_model):
2560 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2561 * src/hildon-window.c (hildon_window_finalize):
2563 Remove many unused variables.
2565 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2567 * src/hildon-seekbar.c: (hildon_seekbar_init),
2568 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2570 Remove unnecessary g_assert() calls.
2572 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2574 * src/hildon-caption.c: (hildon_caption_expose),
2575 (hildon_caption_set_property), (hildon_caption_init),
2576 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2577 (hildon_caption_size_request), (hildon_caption_size_allocate),
2578 (hildon_caption_forall), (hildon_caption_set_separator),
2579 (hildon_caption_activate), (hildon_caption_set_child_expand),
2580 (hildon_caption_set_label_text),
2581 (hildon_caption_get_label_alignment):
2583 Remove unnecessary g_assert() calls.
2585 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2587 * src/hildon-banner.c
2588 (hildon_banner_map, hildon_banner_init): Make banner temporary
2589 before mapping it to avoid closing other temporary windows, but
2590 make it non-temporary afterwards to avoid being closed by other
2591 non-temporary windows.
2592 (-hildon_banner_client_event, hildon_banner_init):
2593 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2595 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2598 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2600 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2603 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2605 * src/hildon-remote-texture.c
2606 * src/hildon-remote-texture.h
2607 * src/hildon-remote-texture-private.h
2608 * examples/hildon-remote-texture-example.c:
2609 Updates/fixes to remote-texture and its example.
2611 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2613 Patch by Mox Soini (ext-mox.soini@nokia.com)
2615 * src/hildon-code-dialog.c: Update logical id.
2616 * src/hildon-set-password-dialog.c: Update logical id.
2618 Fixes: NB#100646 (Logical strings is shown for ok in set
2619 password,Password needed dialogs)
2621 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2624 * src/hildon-remote-texture.c
2625 * src/hildon-remote-texture.h
2626 * src/hildon-remote-texture-private.h
2628 Added remote texture widget (for Clutter shared memory textures)
2630 * examples/hildon-remote-texture-example.c
2631 * examples/Makefile.am
2632 Added example file for remote texture usage
2634 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2636 * configure.ac: post release version bump.
2637 * debian/changelog: version bump.
2639 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2644 * configure.ac: Bump version.
2645 * debian/changelog: Updates.
2647 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2649 * src/hildon-date-selector.c (hildon_date_selector_init)
2650 (hildon_date_selector_constructor): Don't connect to the "changed"
2651 signal until the selector is completely constructed.
2653 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2655 * src/hildon-touch-selector.c: (_create_new_column),
2656 (hildon_touch_selector_append_column),
2657 (hildon_touch_selector_set_column_selection_mode),
2658 (hildon_touch_selector_set_active),
2659 (hildon_touch_selector_select_iter):
2660 Emit the HildonTouchSelector::changed signal every time selection
2661 is changed in any of the methods above. This behavior was already
2662 documented but not fully functional.
2664 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2665 selection is programmatically changed)
2667 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2669 * doc/hildon-sections.txt: Remove obsolete icon
2670 sizes from here as well.
2672 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2674 * examples/hildon-stackable-window-example.c (add_window): Remove
2677 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2679 * src/hildon-app-menu.c
2680 (hildon_app_menu_show): Check whether the parent window of a menu
2681 is topmost before popping it up.
2683 Fixes: NB#100468 (Application menu window is launched even when a
2684 new secondary-window/dialog is pending to be shown/realized.)
2686 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2688 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2691 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2693 Patch by Mox Soini (ext-mox.soini@nokia.com)
2695 * src/hildon-banner.c: (hildon_banner_show_animation):
2696 use stylus size instead of obsolete note size.
2697 * src/hildon-defines.h: Update icon sizes.
2699 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2701 * src/hildon-touch-selector-entry.c:
2702 (hildon_touch_selector_entry_init): Disable unsupported
2704 (hildon_touch_selector_entry_get_text_column): Emit a warning
2705 if an unsupported input modes is used and explicitile state
2706 these modes in the documentation.
2708 Fixes: NB#99802 (Hildon touch selector entry not working properly
2709 for some of the input modes)
2711 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2713 * src/hildon-pannable-area.c,
2714 (hildon_pannable_area_init): Added the changed signal handlers of
2717 Fixes: NB#100320 (HildonPannableArea does not listen to
2718 GtkAdjustment "change" signals)
2720 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2722 * doc/hildon-sections.txt
2723 * src/hildon-window-private.h
2724 * src/hildon-window.h
2725 * src/hildon-window.c (hildon_window_init)
2726 (hildon_window_realize, hildon_window_unrealize)
2727 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2728 (hildon_window_size_request, hildon_window_size_allocate)
2729 (hildon_window_forall, hildon_window_show_all)
2730 (hildon_window_destroy, +paint_edit_toolbar)
2731 (+hildon_window_set_edit_toolbar):
2732 New hildon_window_set_edit_toolbar() method, to add a
2733 HildonEditToolbar to a window without having to pack it manually.
2735 Reorganize hildon_window_size_allocate()
2737 * src/hildon-edit-toolbar.c: Update documentation.
2739 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2740 example to use the new API.
2742 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2744 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2746 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2747 Remove from stack before calling parent's hide.
2749 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2751 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2752 window is removed from the middle of the stack, update the
2753 transiency of the previous one.
2755 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2758 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2760 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2761 block/unblock the signal handler if it's not actually being used.
2762 Fixes some critical warnings.
2764 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2766 Based on a patch by Iván Gómez (igomez@igalia.com)
2768 * src/hildon-banner.c
2772 * src/hildon-pannable-area.c
2773 * src/hildon-picker-dialog.c
2774 * src/hildon-wizard-dialog.h
2775 * src/hildon-wizard-dialog.c: Documentation updates.
2777 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2778 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2780 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2782 * configure.ac: post release version bump.
2783 * debian/changelog: version bump.
2785 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2790 * configure.ac: Bump version.
2791 * debian/changelog: Updates.
2793 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2795 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2796 a stock icon nor change the relief of the back arrow.
2798 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2799 graphics from theme)
2801 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2803 * src/hildon-button.c (hildon_button_set_alignment): Use
2804 priv->alignment if the button has no child yet.
2806 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2808 * src/hildon-button.c: (hildon_button_init): Set the
2809 button style during initialization to give it the proper
2812 Fixes: NB#99713 (HildonButton value label color is wrong)
2814 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2816 * src/hildon-touch-selector.c: Document
2817 hildon_touch_selector_center_on_selected()
2819 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2821 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2822 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2823 all menu items, but not the menu itself.
2824 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2825 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2826 items after adding them to the menu so keyboard accelerators work.
2827 (hildon_app_menu_show): Don't show the menu if it contains items
2828 but none of them are visible.
2830 * examples/hildon-app-menu-example.c (create_menu): Use
2831 gtk_widget_show_all() to show all menu items.
2833 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2835 * src/hildon-picker-dialog.c:
2836 (-_update_title_on_selector_changed_cb),
2837 (-_dialog_update_title): Removed.
2838 (_select_on_selector_changed_cb), (_on_dialog_response),
2839 (on_selector_columns_changed): Do not update the dialog title.
2840 (setup_interaction_mode): Do not connect to
2841 HildonTouchSelector::changed signal if there's a "done" button, as
2842 the dialog title doesn't need to be updated.
2844 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2847 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2849 Patch by Kristian Rietveld (kris@imendio.com)
2851 * src/hildon-touch-selector.c: (_create_new_column): Use new
2852 GtkTreeView::hildon-row-tapped signal to react to user interactions
2853 instead of ::changed.
2855 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2856 with some dynamic tree model)
2858 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2860 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2861 (+screen_size_changed, +label_size_request)
2862 (hildon_note_class_init): Make the Hildon information note have a
2863 minimum height, and make its text hvae a maximum width.
2865 Fixes: NB#98614 (Hildon information note (background) should have
2866 minimum height and maximum text width)
2868 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2870 * src/hildon-banner.h
2871 * src/hildon-banner.c (hildon_banner_show_information)
2872 (hildon_banner_show_informationf)
2873 (hildon_banner_show_information_with_markup): Update documentation
2874 to reflect that the icon_name parameter is not used anymore.
2875 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2876 Remove all code from these functions and mark them as deprecated.
2877 (hildon_banner_show_progress): Mark as deprecated.
2879 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2881 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2883 * src/hildon-pannable-area.c,
2884 (hildon_pannable_area_class_init),
2885 (tranparency_color),
2886 (hildon_pannable_draw_vscroll),
2887 (hildon_pannable_draw_hscroll),
2888 (hildon_pannable_area_expose_event): Added a new way to render the
2889 scrollbars of the pannable area avoiding using cairo at all. This
2890 way we improve the performance of the pannable area rendering. The
2891 cairo rendering procedure is still in the code, we can control
2892 which one to use changing the value of the define
2893 USE_CAIRO_SCROLLBARS.
2895 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2897 * configure.ac: post release version bump.
2898 * debian/changelog: version bump.
2900 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2905 * configure.ac: Bump version.
2906 * debian/changelog: Updates.
2908 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2910 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2911 banners instead of destroying them when they receive a button
2914 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2916 Reverted commit 34028, it was causing regressions, probably the
2917 topmost condition is not correct, we have to check it in more
2918 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2919 propagation of button press events)
2921 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2923 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2924 that the selection is not empty before attempting to retrieve the
2925 current ampm selection.
2927 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2929 * src/hildon-picker-button.c:
2930 (hildon_picker_button_on_dialog_response): Directly update the
2931 button contents when required instead of calling _selection_changed.
2933 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2935 * src/hildon-program.c (hildon_program_update_top_most): Update
2936 'is-topmost' property also when wm_hints is not set.
2938 Fixes: NB#98383 (is-topmost signal is not emitted when task
2939 switcher is clicked.)
2941 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2943 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2947 * src/hildon-animation-actor.c,
2948 * src/hildon-animation-actor.h: Added the animation actor class,
2949 this widget represents an animation actor for WM-assisted
2950 animation effects in the Hildon framework.
2952 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2954 * src/hildon-window-stack-private.h
2955 * src/hildon-window-stack.c
2956 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2957 Avoid calling gtk_widget_show() again indirectly from
2958 hildon_stackable_window_show()
2960 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2962 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2965 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2967 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2968 (hildon_time_selector_init): Move the construction of the hours and
2969 ampm columns to the constructor to preserve the order the columns
2972 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2974 * src/hildon-picker-dialog.c:
2975 (hildon_picker_dialog_class_init): Connect a realize method.
2976 (+hildon_picker_dialog_realize): Setup the interaction mode here
2978 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2979 yet, do it during the realize instead.
2980 (_on_dialog_response):
2981 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2982 if the widget is not realized, to avoid the dialog response before it
2985 Avoid premature responses in the HildonPickerDialog that can cause it
2986 to be hidden before it's even shown.
2988 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2990 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2991 (on_selector_columns_changed), (requires_done_button),
2992 (+prepare_action_area), (setup_interaction_mode),
2993 (_hildon_picker_dialog_set_selector):
2995 Split the interaction mode setup into preparation of the
2996 action area (prepare_action_area()) and the connection of
2997 the signals in setup_interaction_mode() and update the code to
3000 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3002 * src/hildon-pannable-area.c,
3003 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3004 per second to 15, we will check if this is ok regarding
3007 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3009 * src/hildon-pannable-area.c,
3010 (hildon_pannable_axis_scroll): Avoid resize if we already have
3011 reached overshoot_max.
3013 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3015 * src/hildon-pannable-area.c,
3016 (hildon_pannable_area_init),
3017 (hildon_pannable_area_realize),
3018 (hildon_pannable_area_size_allocate),
3019 (hildon_pannable_area_map),
3020 (hildon_pannable_area_unmap),
3021 (hildon_pannable_draw_vscroll),
3022 (hildon_pannable_draw_hscroll),
3023 (hildon_pannable_area_expose_event),
3024 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3025 pannable are to avoid the expose events go to the window and
3026 redraw the window. We save this way that part of the stack and the
3027 paint_boxes. We had to change the positions of the elements when
3030 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3032 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3033 * src/hildon-color-chooser-dialog.c:
3034 (hildon_color_chooser_dialog_init):
3035 * src/hildon-font-selection-dialog.c:
3036 (hildon_font_selection_dialog_init),
3037 (hildon_font_selection_dialog_show_preview):
3038 * src/hildon-get-password-dialog.c:
3039 * src/hildon-login-dialog.c:
3040 * src/hildon-set-password-dialog.c:
3041 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3042 * src/hildon-time-picker.c: (hildon_time_picker_init):
3044 Remove obsolete logical string IDs and update to the appropriate ones.
3046 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3048 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3050 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3051 that happens if the window hasn't been realized yet.
3053 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3054 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3056 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3058 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3059 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3062 Fixes: NB#98537 (Device hangs in account settings dialog)
3064 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3066 * configure.ac: post release version bump.
3067 * debian/changelog: version bump
3069 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3074 * configure.ac: Bump version.
3075 * debian/changelog: Updates.
3077 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3079 Added a new function to the HildonTimeButton widget that allows to
3080 change the step of the minutes in the selector associated with the
3081 button: hildon_time_button_new_step
3083 * src/hildon-time-button.c,
3084 (hildon_time_button_init),
3085 (hildon_time_button_new),
3086 (hildon_time_button_new_step):
3087 * src/hildon-time-button.h: Added the new function and refactored
3089 * examples/hildon-time-button-example.c,
3090 (main): We have replaced the function without parameters with the
3091 function with the steps set to 5
3093 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3095 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3097 * src/hildon-time-selector.c,
3098 (hildon_time_selector_class_init),
3099 (hildon_time_selector_constructor),
3100 (hildon_time_selector_get_property),
3101 (hildon_time_selector_set_property),
3102 (_create_minutes_model),
3103 (hildon_time_selector_new_step),
3104 (hildon_time_selector_set_time),
3105 * src/hildon-time-selector.h: Added a new property to the
3106 HildonTimeSelector (minutes-step), we use that property to control
3107 the steps between the minutes in the list of the selector. We have
3108 added a new function to the API to create a widget changing the
3109 step: hildon_time_selector_new_step.
3111 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3113 * src/hildon-time-selector.c,
3114 (hildon_time_selector_class_init),
3115 (hildon_time_selector_constructor),
3116 (hildon_time_selector_init): Overrided the construct function when
3117 creating the time selector object. We have moved the minutes model
3118 handling code from the init to the new construction function:
3119 hildon_time_selector_constructor.
3121 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3123 * examples/hildon-date-button-example.c: (main): Use the new
3124 hildon_date_button_new_with_year_range() method in the example.
3125 * src/hildon-date-button.c:
3126 (+hildon_date_button_new_with_year_range): New public method
3127 to conveniently create a HildonDateButton with a custom year range
3128 in its HildonDateSelector.
3129 * src/hildon-date-button.h: Add the new public method definition.
3131 Fixes: NB#97908 (Not possible to change the year range in
3132 HildonDateSelector/HildonDateButton)
3134 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3136 * src/hildon-date-selector.c:
3137 (+hildon_date_selector_set_property),
3138 (+hildon_date_selector_get_property),
3139 (hildon_date_selector_class_init): Install new properties "min-year"
3140 and "max-year" to define boundaries for the year column.
3141 (_create_year_model): Use the boundary properties to populate the model.
3142 (+hildon_date_selector_new_with_year_range): New public method to
3143 create a HildonDateSelector with a user defined year range.
3144 (hildon_date_selector_select_current_date): Use the new boundaries to
3145 calculate the iterator of current year.
3146 * src/hildon-date-selector.h: Add the new public method definition.
3148 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3150 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3151 Install a constructor method.
3152 (+hildon_date_selector_construct_ui): construct the widget.
3153 (+hildon_date_selector_constructor): new constructor.
3154 (+hildon_date_selector_init): move out widget construction code to
3155 the new constructor.
3157 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3159 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3160 that there's actually a month or year selected before obtaining them.
3161 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3162 of the HildonTouchSelector::changed signal, as it was emitted on every
3163 single item selection.
3165 Fix some warnings and possible crashers due to the selection restoring.
3167 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3169 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3170 the signal handlers only after creating the dialog instead of on every
3173 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3175 * src/hildon-button.c (hildon_button_init)
3176 * src/hildon-check-button.c (hildon_check_button_init)
3177 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3178 focus when clicked by default.
3180 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3182 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3185 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3187 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3188 Alejandro G. Castro (alex@igalia.com)
3190 * src/hildon-picker-dialog.c:
3191 (hildon_picker_dialog_class_init): install new "center-on-show"
3193 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3194 (hildon_picker_dialog_set_property): add setter code for the new
3196 (hildon_picker_dialog_get_property): add getter code for the new
3198 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3199 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3202 Fixes: NB#92849 (Selected item is not always visible when
3203 HildonTouchSelector is shown)
3205 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3207 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3208 Alejandro G. Castro (alex@igalia.com)
3210 * src/hildon-touch-selector.c:
3211 (_create_new_column): Do not connect to the "realize" signal of the
3213 (hildon_touch_selector_append_column): center on the selected items
3214 when a new column is appended.
3215 (hildon_touch_selector_select_iter): Factor out the code to select a
3216 column to hildon_touch_selector_scroll_to().
3217 (+search_nearest_element): Method to retrieve the nearest selected
3218 element to the visible area of the pannable area in a column.
3219 (+on_realize_cb): scroll to the initially selected item.
3220 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3221 the pannable area is realized, otherwise delay this until it is.
3222 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3223 selected items of a given column.
3224 (+hildon_touch_selector_center_on_selected): Public method to center
3225 all columns on the nearest selected item.
3226 * src/hildon-touch-selector.h: Add definition for
3227 hildon_touch_selector_center_on_selected().
3229 Implement public API to ensure visibility of all selected items in
3230 a HildonTouchSelector.
3232 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3234 Fixed a problem in the fading when calling the scroll_to API, and
3235 improve scrollbar fading handling.
3237 * src/hildon-pannable-area.c,
3238 (hildon_pannable_area_grab_notify): avoid the timeout when the
3240 (hildon_pannable_area_button_press_cb),
3241 (hildon_pannable_area_motion_notify_cb): Code style changes.
3242 (hildon_pannable_area_button_release_cb): Review the conditions
3243 when releasing the mouse button to avoid unrequired fading
3245 (hildon_pannable_area_scroll_to): Do not calculate and set the
3246 velocity if the scroll is not required.
3248 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3250 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3251 Don't check whether the new selector is NULL: it cannot be.
3252 Hold a reference to the selector while doing the replacement.
3254 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3256 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3257 unnecessary size_request in a removed widget.
3259 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3261 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3262 an unnecessary reference tracking that was leaking.
3264 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3266 Added delayed motion notify event handling, this way we can
3267 discard redrawing if more than 25 events arrive per second.
3269 * src/hildon-pannable-area.c,
3270 (hildon_pannable_area_init): Initialized the new private atributes
3271 controlling this timeout
3272 (hildon_pannable_area_dispose): Remove the timeout that controls
3273 the motion notify events.
3274 (hildon_pannable_area_scroll): Added a condition to control the
3275 use of the acceleration.
3276 (hildon_pannable_area_motion_event_scroll_timeout),
3277 (hildon_pannable_area_motion_event_scroll): Added this two
3278 functions, they handle the motion notify events inside the
3280 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3281 to the scroll method with the new function.
3282 (hildon_pannable_area_button_release_cb): We have to remove the
3283 timeout handler and move to the last position if the last motion
3284 events were not handled.
3286 Fixes: NB#97028 (Pannable area updates on every motion event)
3288 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3290 * src/hildon-pannable-area.c,
3291 (hildon_pannable_area_get_topmost): Added a new parameter to
3292 filter the the windows that do not include those events. Added
3293 also a condition when finding the window to filter windows that do
3294 not ask for those events.
3295 (hildon_pannable_area_button_press_cb),
3296 (hildon_pannable_area_button_release_cb),
3297 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3298 topmost function, we have added the new parameter.
3300 Fixes: NB#97458 (Pannable area prevents propagation of button
3303 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3305 * src/hildon-pannable-area.c,
3306 (hildon_pannable_area_initial_effect): Added controls before
3307 launching the timeout and the idle functions.
3308 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3309 of the method, in some situations it can return with TRUE and 0 in
3311 (hildon_pannable_area_button_press_cb): We do not need to set
3312 DELAY for fading out here.
3314 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3316 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3318 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3319 post-cleaning if the selection is not NULL.
3321 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3323 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3324 all items before restoring the selection.
3326 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3328 * src/hildon-touch-selector.c:
3329 (+hildon_touch_selector_unselect_all):
3330 * src/hildon-touch-selector.h: New API to unselect all items in a
3331 column of the touch selector.
3333 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3335 * src/hildon-pannable-area.c,
3336 (hildon_pannable_area_redraw): Added a call to the refresh
3337 function inside the redraw because apparently in some cases the
3338 change in the adjustment does not imply a size allocate.
3340 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3341 despite the view not being scrollable)
3343 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3345 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3346 leak. Check for NULL before attempting to set the window title.
3348 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3350 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3351 whether to show or not the 'Done' button each time the dialog is
3352 shown, as it depends on the HildonTouchSelector selection mode.
3354 Fixes: NB#96226 (In multiple selection mode Done button is shown
3355 sometimes in listpicker)
3357 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3359 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3360 for the number of columns in the HildonTouchSelector more than once.
3362 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3364 * src/hildon-touch-selector.c: Minor documentation fixes.
3366 * src/hildon-picker-dialog.c (+_dialog_update_title)
3367 (_select_on_selector_changed_cb)
3368 (_update_title_on_selector_changed_cb)
3369 (on_selector_columns_changed): Update dialog title when there's no
3370 'Done' button and also when the number of columns in the selector
3374 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3375 (+_selection_changed, hildon_picker_button_on_dialog_response)
3376 (hildon_picker_button_selector_selection_changed)
3377 (+hildon_picker_button_selector_columns_changed)
3378 (hildon_picker_button_set_selector): Update button value and emit
3379 'value-changed' when the number of columns in the selector
3383 Fixes: NB#96225 (Dialog titles are not shown according to the
3384 values selected in the list picker)
3386 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3388 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3389 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3390 New "arrow-width" and "arrow-height" style properties to set the
3391 size of the arrow button.
3392 Set name of arrow button ("hildon-edit-toolbar-arrow").
3394 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3395 graphics from theme)
3397 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3399 * src/hildon-picker-button.c:
3400 (hildon_picker_button_selector_selection_changed): Use
3401 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3402 the dialog is present.
3404 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3405 the selection is accepted in the dialog)
3407 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3409 * src/hildon-color-chooser.h
3410 * src/hildon-color-chooser-dialog.h:
3411 Added G_BEGIN_DECLS and G_END_DECLS
3413 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3415 (_clean_current_selection): plug a leak in the list.
3417 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3419 * src/hildon-picker-dialog.c:
3420 (+free_path_list): Method to free a GList of GtkTreePaths.
3421 (_clean_current_selection), (_save_current_selection),
3422 (_restore_current_selection): Save the current selection in
3423 as a list of lists, to support multiple selection properly.
3425 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3427 patch by Claudio Saavedra (csaavedra@igalia.com)
3429 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3430 Store the press position.
3431 (+hildon_text_view_button_release_event): If the release position is
3432 close enough to the press position, move the cursor here. Otherwise,
3434 (hildon_text_view_class_init): Override GtkTextView press, release, and
3435 motion event handlers, disabling this way text selection through
3436 pointer interaction, and allowing the container widget to handle the
3439 Fixes: NB#95828 (HildonTextView functionality)
3441 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3443 Based on a patch by Iván Gómez (igomez@igalia.com)
3445 * src/hildon-button.[ch]
3446 * src/hildon-calendar.c
3447 * src/hildon-check-button.c
3448 * src/hildon-date-editor.c
3449 * src/hildon-date-selector.c
3450 * src/hildon-picker-button.c
3451 * src/hildon-time-editor.c
3452 * src/hildon-time-selector.c
3453 * src/hildon-touch-selector.[ch]:
3454 Documentation updates
3456 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3458 * src/hildon-pannable-area.c,
3459 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3460 threshold, it was required due to X events handling.
3462 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3464 * src/hildon-pannable-area.c,
3465 (hildon_pannable_area_grab_notify),
3466 (hildon_pannable_area_initial_effect),
3467 (hildon_pannable_area_button_press_cb),
3468 (hildon_pannable_area_button_release_cb),
3469 (hildon_pannable_area_scroll_cb),
3470 (hildon_pannable_area_scroll_to): Review the timeout management of
3471 the scrollbar, the frecuency was incorrectly set.
3473 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3475 * src/hildon-picker-button.c:
3476 (+hildon_picker_button_on_dialog_response),
3477 (hildon_picker_button_clicked): Present the dialog instead of
3478 running it with gtk_dialog_run().
3480 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3483 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3485 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3486 (hildon_app_menu_finalize): When a window is hidden it doesn't
3487 emit notify::is-topmost, so make sure than the menu also
3488 disappears in that case.
3489 (parent_window_topmost_notify): Renamed from parent_window_hidden
3491 Fixes: NB#94460 (stackable window's menu is not closed when its
3494 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3496 * src/hildon-touch-selector-entry.c:
3497 (+hildon_touch_selector_entry_set_input_mode),
3498 (+hildon_touch_selector_entry_get_input_mode):
3499 * src/hildon-touch-selector-entry.h: New methods to access the input
3500 mode in the selector's entry.
3502 Fixes: NB#93410 (API required for setting IM mode in
3503 HildonTouchSelectorEntry)
3505 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3507 * configure.ac: post release version bump.
3508 * debian/changelog: version bump
3510 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3515 * configure.ac: Bump version.
3516 * debian/changelog: Updates.
3518 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3520 * src/hildon-touch-selector.c:
3521 (_hildon_touch_selector_has_multiple_selection): No need
3522 to initialize the variables here.
3524 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3526 * src/hildon-note-private.h
3527 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3528 (hildon_note_finalize, hildon_note_rebuild): Close information
3529 notes when they receive a button press.
3531 Fixes: NB#89890 (Information notes does not get disappeared after
3534 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3536 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3537 mark from the wizard title, as it's not really necessary. Also,
3538 do not display the page title if not set.
3540 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3542 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3543 (parent_window_hidden): Use the window's "is-topmost" property to
3544 detect when to hide the menu.
3546 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3548 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3549 (hildon_app_menu_finalize): If the parent window of the menu is
3550 hidden, hide the menu too.
3552 Fixes: NB#94460 (stackable window's menu is not closed when its
3555 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3558 * debian/libhildon1-examples.install
3560 * examples/Makefile.am:
3561 Use dh_install to install all examples.
3562 Use DEB_SRCDIR instead of defining SOURCE_DIR
3564 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3566 * configure.ac: post release version bump.
3567 * debian/changelog: version bump
3569 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3574 * configure.ac: bump version
3575 * debian/changelog: updates
3576 * debian/control: bump gtk+ dependency
3578 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3580 patch by Christian Dywan (christian@imendio.com)
3582 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3583 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3585 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3587 * src/hildon-check-button.c (hildon_check_button_init)
3588 (hildon_check_button_class_init, hildon_check_button_style_set)
3589 (hildon_check_button_apply_style):
3590 New "checkbox-size" style property.
3592 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3593 larger / configurable size)
3595 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3597 * configure.ac: post release version bump.
3598 * debian/changelog: version bump
3600 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3605 * configure.ac: bump version
3606 * debian/changelog: updates
3608 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3610 * doc/hildon-sections.txt
3611 * src/hildon-pannable-area.c
3612 * src/hildon-program.c
3613 * src/hildon-time-editor.c
3614 * src/hildon-touch-selector-entry.c:
3616 More documentation updates.
3618 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3620 * doc/hildon-sections.txt
3621 * src/hildon-caption.c
3622 * src/hildon-code-dialog.c
3623 * src/hildon-color-button.c
3624 * src/hildon-controlbar.c
3625 * src/hildon-date-editor.c
3626 * src/hildon-date-selector.c
3627 * src/hildon-edit-toolbar.c
3628 * src/hildon-find-toolbar.c
3629 * src/hildon-font-selection-dialog.c
3631 * src/hildon-program.c
3632 * src/hildon-range-editor.c
3633 * src/hildon-seekbar.c
3634 * src/hildon-time-editor.c
3635 * src/hildon-time-selector.c
3636 * src/hildon-volumebar-range.c
3637 * src/hildon-volumebar.c
3638 * src/hildon-vvolumebar.c
3639 * src/hildon-weekday-picker.c
3640 * src/hildon-window.c
3641 * src/hildon-wizard-dialog.c:
3643 Lots of documentation fixes.
3645 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3647 Patch contributed by Iván Gómez (igomez@igalia.com)
3649 * src/hildon-check-button.c:
3650 * src/hildon-date-button.c:
3651 * src/hildon-date-selector.c:
3652 * src/hildon-dialog.c:
3653 * src/hildon-edit-toolbar.c:
3654 * src/hildon-entry.c:
3655 * src/hildon-picker-button.c:
3656 * src/hildon-program.c:
3657 * src/hildon-text-view.c:
3658 * src/hildon-time-button.c:
3659 * src/hildon-touch-selector-entry.c:
3660 * src/hildon-window-stack.c:
3662 Add more "since" tags to the new API.
3664 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3666 * doc/hildon-sections.txt: Add below method.
3667 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3668 version for the hildonized scale.
3669 * src/hildon-gtk.h: Add the definition.
3671 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3673 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3675 * doc/hildon-sections.txt: Add missing entries for new methods.
3677 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3679 Added API to pannable are in order to get its adjustments. We
3680 added two properties to manage the values we had in the private
3683 * src/hildon-pannable-area.c:
3684 (hildon_pannable_area_class_init): Added hadjustment and
3685 vadjustment properties in order to expose horizontal and vertical
3687 (hildon_pannable_area_get_property),
3688 (hildon_pannable_area_set_property): Added code to handle the new
3690 (hildon_pannable_area_get_hadjustment),
3691 (hildon_pannable_area_get_vadjustment): API functions to get the
3693 * src/hildon-pannable-area.h:
3694 (hildon_pannable_area_get_hadjustment),
3695 (hildon_pannable_area_get_vadjustment): API functions to get the
3698 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3700 Fixed some leaks, after valgrinding.
3702 * src/hildon-touch-selector.c:
3703 (_default_print_func): Fixed a leak.
3704 (hildon_touch_selector_append_column): Fixed a leak.
3705 * src/hildon-date-button.c:
3706 (hildon_date_button_init): Fixed a leak.
3707 * src/hildon-date-selector.c
3708 (hildon_date_selector_finalize): Fixed a leak.
3710 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3712 Based on a patch by Christian Dywan (christian@imendio.com)
3714 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3716 * src/hildon-gtk.h: Add definition.
3718 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3720 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3722 * src/hildon-picker-button.c: (hildon_picker_button_init),
3723 (hildon_picker_button_new): Set the HildonButton::style property
3724 in the init method, to propagate the value to the derived classes.
3726 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3728 * src/hildon-button.c: (hildon_button_class_init): Do not make
3729 the "style" property a construct property.
3731 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3733 * src/hildon-wizard-dialog.h
3734 * src/hildon-wizard-dialog.c
3735 (hildon_wizard_dialog_set_forward_page_func)
3736 * src/hildon-pannable-area.h
3737 * src/hildon-pannable-area.c
3738 (hildon_pannable_area_set_size_request_policy):
3739 Documentation fixes.
3741 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3743 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3745 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3747 * doc/hildon-sections.txt: Added sections file.
3749 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3752 * src/*.[ch]: Updates.
3754 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3756 * examples/hildon-progress-indicator-example.c: new file
3757 * examples/Makefile.am: include the new example program
3759 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3761 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3763 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3765 * configure.ac: post release version bump
3766 * debian/changelog: version bump
3768 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3773 * configure.ac: bump version
3774 * debian/changelog: updates
3775 * debian/control: bump gtk+ dependency
3777 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3779 * src/hildon-dialog.c: Mark as deprecated.
3780 * src/hildon-dialog.h: Mark as deprecated.
3781 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3782 from HildonDialog and still work, even if
3783 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3784 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3786 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3787 maemo changes) instead)
3789 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3791 * src/hildon-pannable_area.h:
3792 * src/hildon-pannable_area.c:
3793 (hildon_pannable_area_class_init),
3794 (hildon_pannable_area_set_property),
3795 (hildon_pannable_area_get_property),
3796 (hildon_pannable_area_size_request),
3797 (hildon_pannable_area_get_size_request_policy),
3798 (hildon_pannable_area_set_size_request_policy): Added new API
3799 allowing applications to control the request policy. Now they can
3800 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3801 children allocation (HILDON_MOVEMENT_CHILDREN).
3803 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3807 (hildon_gtk_tree_view_set_ui_mode)
3808 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3809 mode of treeviews and iconviews.
3811 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3813 * src/hildon-touch-selector-entry.c:
3814 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3815 of a GtkEntry to get proper theming.
3817 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3818 widget, not GtkEntry)
3820 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3822 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3823 no HildonWizardDialogPageFunc.
3825 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3827 Patch contributed by Iván Gómez (igomez@igalia.com)
3829 * src/hildon-app-menu.c:
3830 * src/hildon-button.c:
3831 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3832 * src/hildon-stackable-window.c:
3833 * src/hildon-time-selector.c:
3834 * src/hildon-touch-selector.c:
3835 * src/hildon-window.c:
3837 Add more "since" tags to the new API in hildon 2.2.
3839 2008-12-05 Tim Janik <timj@imendio.com>
3841 Patch contributed by Christian Dywan (christian@imendio.com)
3843 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3844 HildonSizeType, which are supplied by Gtk+ now.
3846 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3848 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3849 (with maemo changes) instead)
3851 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3853 Patch contributed by Iván Gómez (igomez@igalia.com)
3855 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3858 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3860 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3861 (some_page_func), (main): Update the example to use a
3862 HildonWizardDialogPageFunc function.
3864 * src/hildon-wizard-dialog-private.h: Add private data for
3865 the HildonWizardDialogPageFunc function usage.
3867 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3868 (destroy), (hildon_wizard_dialog_init), (response),
3869 (hildon_wizard_dialog_set_forward_page_func):
3870 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3871 that applications can use to stop a HildonWizardDialog to jump to
3874 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3877 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3879 * src/hildon-program.h
3880 * src/hildon-program-private.h
3881 * src/hildon-program.c (hildon_program_init)
3882 (hildon_program_set_common_app_menu)
3883 (hildon_program_get_common_app_menu):
3884 New API for setting a common HildonAppMenu for all
3885 HildonStackableWindows registered with the HildonProgram.
3887 * src/hildon-stackable-window.c
3888 (hildon_stackable_window_toggle_menu):
3889 Use the common HildonAppMenu if a window doesn't have a specific
3892 * src/hildon-app-menu-private.h
3893 * src/hildon-app-menu.c
3894 (hildon_app_menu_get_parent_window):
3895 Function to obtain the window a HildonAppMenu is attached to.
3896 (hildon_app_menu_set_parent_window):
3897 Hide the menu if the parent window is set to NULL.
3899 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3901 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3902 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3903 search widget to popup.
3905 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3907 * configure.ac: post release version bump
3908 * debian/changelog: version bump
3910 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3915 * configure.ac: bump version
3916 * debian/changelog: updates
3918 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3920 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3922 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3923 (hildon_window_stack_window_realized)
3924 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3925 Set the leader GdkWindow when a window is stacked and realized,
3926 unset it when it's unstacked.
3927 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3929 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3931 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3933 * src/hildon-stackable-window.h
3934 * src/hildon-window-stack.h:
3935 Protect definition of HildonWindowStack using the preprocessor.
3937 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3939 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3940 Fix warning if all menu items are hidden.
3942 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3944 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3946 * src/hildon-controlbar.c:
3947 * src/hildon-hvolumebar.c:
3948 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3949 Multiple scale size defines updates.
3951 Fixes: NB#94322 (Scale Updates)
3953 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3955 * examples/hildon-app-menu-example.c (create_menu)
3956 Show items after adding them to the menu, as in the future the
3957 menu will no longer call gtk_widget_show() on the added items.
3959 * src/hildon-app-menu.c:
3960 Update example as explained above.
3962 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3964 * src/hildon-app-menu.c
3965 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3966 Make sure that all menu items have finger height.
3968 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3970 * src/hildon-picker-dialog.c:
3971 (_on_dialog_response), (_save_current_selection),
3972 (_restore_current_selection), (_clean_current_selection),
3973 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3974 Defined new functions in order to save the current internal selector
3975 selection previous open the dialog, in case that the use cancel the
3976 interaction, so the widget restores the previous selection.
3978 Fixes: NB#92032 (In calendar application, date values in 'new event'
3981 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3983 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3985 * src/hildon-button.c: Add a reference to the button examples in
3986 hildon-button-example.c
3988 * examples/hildon-button-example.c: Added examples of the most
3989 common button layouts.
3991 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3993 * src/hildon-app-menu.c (hildon_app_menu_show)
3994 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3996 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3998 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4000 * src/hildon-picker-dialog.c:
4001 (hildon_picker_dialog_init): Initialize the signal id for
4002 HildonTouchSelector::columns-changed.
4003 (+on_selector_columns_changed): Set up the interaction mode everytime a
4004 column is added or removed from the HildonTouchSelector.
4005 (_hildon_picker_dialog_set_selector): Connect to
4006 HildonTouchSelector::columns-changed and keep track of it.
4008 Make sure to update the interaction mode of the dialog everytime a
4009 column is added or removed in the HildonTouchSelector.
4011 Fixes: NB#93228 (Done button is not shown always in listpicker)
4013 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4015 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4016 a new ::columns-changed signal.
4017 (hildon_touch_selector_append_column): Emit ::columns-changed.
4018 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4020 Add a ::columns-changed signal, emitted when the number of columns in a
4021 HildonTouchSelector changes.
4023 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4025 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4026 (_hildon_picker_dialog_set_selector): Factor out the code
4027 to set up the dialog interaction mode.
4029 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4031 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4032 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4033 to signal_changed_id.
4035 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4037 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4040 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4042 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4043 Updated the logical ids related to ampm format, as now it is required to
4044 show it correctly localized even on languages with no default
4045 abbreviations for am or pm
4046 (_check_am_pm_format): check correctly the 24h format gconf property
4048 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4050 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4052 * src/hildon-button.c: Documentation updates.
4054 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4056 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4057 * src/hildon-caption.c: (hildon_caption_class_init):
4058 * src/hildon-color-button.c: (hildon_color_button_class_init):
4059 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4060 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4061 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4062 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4064 Remove deprecated GTK+ marshalers and replace them with the ones
4065 provided by GLib, for those available, add a marshaler for
4066 BOOLEAN:VOID, which is not available in GLib, and use it.
4068 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4070 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4071 the text from the previous column if there is no
4072 HildonTouchSelectorColumn::text-property set.
4074 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4076 * src/hildon-button.h
4077 * src/hildon-button.c (hildon_button_set_property)
4078 (hildon_button_get_property, hildon_button_class_init)
4079 (hildon_button_set_style, hildon_button_get_style):
4080 New "style" property to change the visual appearance of the
4083 * src/hildon-picker-button.c (hildon_picker_button_new):
4084 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4086 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4087 HildonButton look like PickerButton)
4089 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4091 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4092 column while building the default string.
4094 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4096 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4097 scroll indicator by default.
4099 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4101 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4103 * src/hildon-main.c: Fix the documentation for hildon_init()
4105 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4107 * doc/hildon-docs.sgml
4111 * src/hildon-window-stack-private.h
4112 * src/hildon-window-stack.h
4113 * src/hildon-window-stack.c:
4114 New HildonWindowStack object, that adds support for multiple
4115 stacks of windows per process.
4117 * src/hildon-stackable-window-private.h
4118 * src/hildon-stackable-window.h
4119 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4120 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4121 (hildon_stackable_window_show, hildon_stackable_window_hide)
4122 (hildon_stackable_window_class_init)
4123 (hildon_stackable_window_init):
4124 Use HildonWindowStack for stack management.
4126 * src/hildon-program.c (hildon_program_pop_window_stack)
4127 (hildon_program_peek_window_stack)
4128 (hildon_program_go_to_root_window):
4129 Add a fallback implementation to the deprecated functions using
4132 * examples/hildon-stackable-window-example.c:
4133 Use the new HildonWindowStack API.
4135 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4137 * src/hildon-stackable-window-private.h
4138 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4139 (hildon_stackable_window_hide, hildon_stackable_window_init):
4140 Remove all window stack management.
4142 * src/hildon-program-private.h
4143 * src/hildon-program.h
4144 * src/hildon-program.c (hildon_program_init)
4145 (hildon_program_pop_window_stack)
4146 (hildon_program_peek_window_stack)
4147 (hildon_program_go_to_root_window):
4148 Remove all window stack management and mark functions as
4151 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4153 * src/hildon-app-menu.c (hildon_app_menu_realize):
4154 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4156 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4158 * configure.ac: post release version bump
4159 * debian/changelog: version bump
4161 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4166 * configure.ac: bump version
4167 * debian/changelog: updates
4169 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4171 Based on initial code by Christian Dywan (christian@imendio.com)
4173 * doc/hildon-docs.sgml: Add section for hildon-main.
4174 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4175 * src/Makefile.am: Add new hildon-main.[ch]
4176 * src/hildon-defines.h: Update the icon sizes.
4177 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4178 new library initialization files and register icon sizes.
4179 * src/hildon-main.h: New declarations.
4180 * src/hildon.h: Include hildon-main.h
4182 Add new initialization functions to the library. These methods
4183 will register the hildon specific icon sizes and can be used in the
4184 future for other hildon specific bits.
4186 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4188 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4190 * src/hildon-window.c: (hildon_window_realize),
4191 (hildon_window_notify), (-hildon_window_update_title): Do not set
4192 the application name in the window title.
4194 Fixes: NB#89754 (Applications shouldn't display their names in the
4197 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4199 * src/hildon-note-private.h:
4200 * src/hildon-note.c: (hildon_note_set_property),
4201 (hildon_note_get_property), (hildon_note_class_init),
4202 (hildon_note_init), (hildon_note_finalize),
4203 (hildon_note_new_confirmation_with_icon_name),
4204 (hildon_note_new_information_with_icon_name):
4206 No need to mark as deprecated the actual code. Revert
4207 to avoid missing symbols in widgets using deprecated API.
4209 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4211 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4213 * src/hildon-volumebar.h
4214 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4215 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4217 * src/hildon-helper.h
4218 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4219 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4221 * examples/Makefile.am:
4222 Deprecate hildon-insensitive-example
4224 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4226 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4228 * examples/hildon-pannable-area-buttons-scroll-example.c:
4229 Make all buttons finger height
4231 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4233 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4235 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4236 update the day model only if it is really required, and to avoid the
4237 full-reconstruction aproach. Now it only add or remove the required days.
4239 The purpose of this is avoid superfluous HildonTouchSelector::changed
4242 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4243 with strange parameters)
4245 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4247 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4249 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4250 the WINDOW_TYPE property.
4252 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4254 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4257 Fix dependency to allow parallel compilation with make -jX
4259 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4261 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4262 color frame and some minor tweaks to make it more consistent with
4265 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4266 highlighted but not visible)
4268 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4270 * examples/Makefile.am: Fixed typo in the Makefile.am.
4272 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4274 Reviewed the use of MAEMO_GTK define, now we add the define in the
4275 compilation line, and we also add it to the pc file.
4277 * configure.ac: Added MAEMO_GTK define to the compilation command
4278 and removed it from the config.h.
4280 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4281 do not have to take care about this define if the library was
4285 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4287 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4289 * examples/Makefile.am,
4290 * examples/hildon-pannable-area-buttons-scroll-example.c,
4291 * examples/hildon-pannable-area-gesture-signals-example.c,
4292 * examples/hildon-pannable-area-scroll-jump-example.c,
4293 * examples/hildon-pannable-area-tree-view-example.c:
4294 Renamed the pannable area examples, now they have more meaningful
4297 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4299 * src/hildon-touch-selector.c:
4300 (hildon_touch_selector_set_column_selection_mode): Used of
4301 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4302 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4303 to avoid re-seting the same selection mode.
4305 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4306 breaks HildonPickerDialog)
4308 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4310 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4311 conditional in the Makefile.am
4313 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4315 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4316 Remove unused methods.
4318 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4320 * src/hildon-button.c (hildon_button_init):
4321 Make button images center-aligned by default
4323 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4326 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4327 activated, we have to think about how to deal with both defines
4328 MAEMO_GTK and MAEMO_CHANGES.
4330 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4332 * examples/hildon-app-menu-example.c (create_menu): Make all
4333 buttons finger size.
4335 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4337 Fixed the compilation without maemo gtk adding ifdefs with
4338 MAEMO_GTK define to the code, we have to check this version more
4341 * examples/Makefile.am: Added control to avoid some examples that
4342 just make sense with maemo gtk.
4345 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4346 hildon modes with the define.
4348 * examples/hildon-edit-toolbar-example.c,
4349 (create_icon_view): Create the icon view without hildon-gtk
4350 helpers if we are not using maemo gtk.
4352 * src/hildon-touch-selector.c,
4353 (_create_new_column): Create the treeview without hildon-gtk
4354 helpers if we are not using maemo gtk.
4356 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4358 * src/hildon-pnnable-area.c,
4359 (hildon_pannable_area_dispose),
4360 (hildon_pannable_area_button_press_cb),
4361 (hildon_pannable_area_child_mapped),
4362 (hildon_pannable_area_add),
4363 (hildon_pannable_area_remove): Added code to control the position
4364 of the event_window when adding and removing children from the
4365 pannable. We have to raise the event window when the child is
4368 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4369 selection mode using custom widget inside pannable)
4371 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4373 * configure.ac: post release version bump
4374 * debian/changelog: version bump
4376 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4381 * configure.ac: bump version
4382 * debian/changelog: updates
4384 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4386 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4387 search mode, in order to avoid lose the focus on the treeview when
4388 a hw key (like enter) is pressed.
4390 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4391 in HildonDateSelector dialog)
4393 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4395 * debian/rules: Added --enable-maintainer-mode
4396 * Makefile.am: Added ACLOCAL_AMFLAGS
4398 This allows to properly regenerate the Makefiles if you modify the
4399 configure.ac or any Makefile.am.
4401 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4403 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4404 properties, not needed at all.
4406 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4408 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4410 * src/hildon-note.c: (hildon_note_set_property),
4411 (hildon_note_get_property), (hildon_note_class_init),
4412 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4413 (hildon_note_new_confirmation_add_buttons): Remove icons.
4414 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4415 (hildon_note_new_information_with_icon_name): Deprecate.
4416 (hildon_note_new_confirmation): Act directly, without calling
4417 the deprecated constructor.
4418 (hildon_note_new_information): Act directly, without calling
4419 the deprecated constructor.
4420 * src/hildon-note.h: Mark deprecate methods as such.
4421 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4422 not run tests on the deprecated methods if built with deprecation
4425 Fixes: NB#91688 (Never show icons in information notes/confirmation
4428 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4430 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4431 (hildon_app_menu_key_press): Remove leftover usage of the
4432 private structure in HildonAppMenu struct.
4433 * src/hildon-app-menu.h: Remove leftover private structure
4434 from the HildonAppMenu struct.
4436 Fixes a crasher when using the HildonAppMenu.
4438 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4440 * src/hildon-picker-dialog.c: Use appropriate logical id
4441 for the default "Done" text.
4443 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4445 * configure.ac: post release version bump
4446 * debian/changelog: version bump
4448 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4450 Modified the way to scroll to the current selection just when the touch
4451 selector is shown on the screen, avoiding a g_idle. Added too a property
4452 to configure this behaviour. See hildon_pannable_area_jump_to_child
4453 documentation for more information.
4455 * src/hildon-touch-selector.c
4456 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4457 Added 'initial-scroll' property
4458 (hildon_touch_selector_set_property): Added
4459 (hildon_touch_selector_map): Removed as not required anymore
4460 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4461 only a concrete column, instead of iterate along all the columns
4463 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4468 * configure.ac: bump version
4469 * debian/changelog: updates
4471 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4473 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4474 compilation time warnings.
4476 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4478 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4479 the default value for HildonPannableArea::mov-mode to
4480 HILDON_PANNABLE_AREA_MODE_VERT.
4482 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4484 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4486 Reverting following commit:
4488 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4490 * src/hildon-app-menu-private.h
4491 * src/hildon-app-menu.[ch]
4492 * src/hildon-button.[ch]
4493 * src/hildon-check-button.[ch]
4494 * src/hildon-entry.[ch]
4495 * src/hildon-pannable-area.[ch]
4496 * src/hildon-text-view.[ch]:
4497 Added private field to the object's structure.
4499 because it causes an ABI breakage. We will need to introduce these
4500 changes later at some point. See NB#91636 for an extensive
4501 explanation and status.
4503 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4505 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4507 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4508 remove special cases that are no longer necessary.
4510 Fixes: NB#91016 (Change toolbar sizes, simplification)
4512 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4514 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4515 is shown in the cancel note.
4517 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4519 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4520 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4521 (hildon_seekbar_init): Remove steppers, remove expose event.
4522 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4524 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4526 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4528 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4529 label font to "SmallSystemFont" for vertically arranged buttons.
4531 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4534 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4536 * src/hildon-check-button.c
4537 (hildon_check_button_set_active, hildon_check_button_clicked):
4538 Don't access private parts directly, use getters instead.
4540 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4542 * src/hildon-check-button.c (hildon_check_button_new):
4543 Align the contents of the check button to the left.
4545 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4547 * src/hildon-pannable-area.c,
4548 (hildon_pannable_area_scroll_to),
4549 (hildon_pannable_area_jump_to),
4550 (hildon_pannable_area_scroll_to_child),
4551 (hildon_pannable_area_jump_to_child): Replace the mapped
4552 precondition of these functions with the realized, it is the
4553 correct state of the widget in this case. Changed the
4554 documentation according to this modification.
4556 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4558 Added a new EXTRA_CFLAGS option to add the deprecated define to
4559 the compilation command. This way we can avoid using the define in
4560 the documentation compilation.
4562 * configure.ac: Defined EXTRA_CFLAGS.
4564 * examples/Makefile.am:
4566 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4568 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4570 * src/hildon-picker-dialog.c:
4571 Defined a utility macro with the desired touch selector height
4572 Removed currently unused separator, and title_label variables from
4574 (hildon_picker_dialog_init): Removed code related to the creation
4575 of unused private variables title_label and separator.
4576 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4577 to ensure correct visualization of the touch selector inside the dialog.
4578 * src/hildon-touch-selector.c
4579 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4580 ensure a concrete height of the widget.
4582 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4585 * tests/Makefile.am:
4587 Remove spurious whitespaces.
4589 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4591 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4592 compilation warning after the cancel button removal.
4594 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4596 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4598 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4599 Makefile.am, that way we can choose not to compile some examples
4600 and tests of the deprecated widgets.
4602 * examples/Makefile.am: Divided the sources in deprecated and
4605 * src/Makefile.am: Added undef statement of the deprecated
4606 symbol to the enums file generation process.
4608 * src/hildon-color-chooser-dialog.c
4609 * src/hildon-color-chooser-dialog.h
4610 * src/hildon-color-button.c
4611 * src/hildon-color-button.h
4612 * src/hildon-color-chooser.c
4613 * src/hildon-color-chooser.h
4614 * src/hildon-controlbar.c
4615 * src/hildon-controlbar.h
4616 * src/hildon-date-editor.c
4617 * src/hildon-date-editor.h
4618 * src/hildon-hvolumebar.c
4619 * src/hildon-hvolumebar.h
4620 * src/hildon-private.c
4621 * src/hildon-private.h
4622 * src/hildon-range-editor.c
4623 * src/hildon-range-editor.h
4624 * src/hildon-seekbar.c
4625 * src/hildon-seekbar.h
4626 * src/hildon-time-editor.c
4627 * src/hildon-time-editor.h
4628 * src/hildon-time-picker.c
4629 * src/hildon-time-picker.h
4630 * src/hildon-volumebar.c
4631 * src/hildon-volumebar.h
4632 * src/hildon-vvolumebar.c
4633 * src/hildon-vvolumebar.h
4634 * src/hildon-bread-crumb-trail.h
4635 * src/hildon-bread-crumb-trail.c
4636 * src/hildon-calendar-popup.c
4637 * src/hildon-calendar-popup.h
4638 * src/hildon-weekday-picker.c:
4639 * src/hildon-weekday-picker.h:
4640 * src/hildon-bread-crumb-widget.c:
4641 * src/hildon-bread-crumb-widget.h:
4642 * src/hildon-bread-crumb.c:
4643 * src/hildon-bread-crumb.h:
4644 * src/hildon-calendar.c:
4645 * src/hildon-calendar.h:
4646 * src/hildon-caption.c:
4647 * src/hildon-code-dialog.c:
4648 * src/hildon-code-dialog.h:
4649 * src/hildon-font-selection-dialog.c:
4650 * src/hildon-font-selection-dialog.h:
4651 * src/hildon-get-password-dialog.c:
4652 * src/hildon-get-password-dialog.h:
4653 * src/hildon-login-dialog.c:
4654 * src/hildon-login-dialog.h:
4655 * src/hildon-number-editor.c:
4656 * src/hildon-number-editor.h:
4657 * src/hildon-set-password-dialog.c:
4658 * src/hildon-set-password-dialog.h:
4659 * src/hildon-sort-dialog.c:
4660 * src/hildon-sort-dialog.h: This is the list of deprecated
4663 * src/hildon-touch-selector.c:
4664 * src/hildon-window.c: Added undef statement to avoid compilation
4667 * tests/Makefile.am: Divided the sources in deprecated and
4670 * tests/check_test.c,
4671 (configure_tests): Marked the deprecated code that was adding
4672 suites with deprecated tests.
4674 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4676 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4678 * src/hildon-touch-selector.c: (_default_print_func): Do not
4679 duplicate a string returned by gtk_tree_model_get(), it is already
4682 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4685 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4687 * src/hildon-pannable-area.c
4688 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4689 method, it had problems when adding a widget with viewport the
4690 second time. Now checks if it already has a viewport and uses it.
4692 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4695 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4697 * src/hildon-pannable-area.c,
4698 (hildon_pannable_area_scroll_to),
4699 (hildon_pannable_area_jump_to),
4700 (hildon_pannable_area_scroll_to_child),
4701 (hildon_pannable_area_jump_to_child): Added a precondition to the
4702 scroll and jump to functions: the widget must be mapped before we
4703 can safely call these functions. We have also added documentation
4704 to the functions to explain how to use them in this situation.
4707 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4709 Reviewed the threading handling of the pannable widget, we have
4710 used the gdk_threads_add_timeout function instead of the usual
4711 glib handlers. This avoids some problems with the threads.
4713 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4714 (hildon_pannable_area_initial_effect),
4715 (hildon_pannable_area_scroll_indicator_fade),
4716 (hildon_pannable_area_button_press_cb),
4717 (hildon_pannable_area_timeout),
4718 (hildon_pannable_area_motion_notify_cb),
4719 (hildon_pannable_area_button_release_cb),
4720 (hildon_pannable_area_scroll_cb),
4721 (hildon_pannable_area_scroll_to): Removed the
4722 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4723 gdk_threads_add_timeout.
4725 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4727 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4732 * configure.ac: bump version
4733 * debian/changelog: updates
4735 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4737 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4738 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4739 * src/hildon-color-chooser-dialog.c:
4740 (hildon_color_chooser_dialog_init):
4741 * src/hildon-font-selection-dialog.c:
4742 (hildon_font_selection_dialog_init):
4743 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4745 Remove all cancel/close-like dialogs, as these are not going to be
4748 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4750 * src/hildon-note.c: (hildon_note_rebuild),
4751 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4754 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4756 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4758 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4759 sure all buttons are shown, even the Cancel/Close-like ones.
4761 Fixes: NB#90861 (Custom Confirmation dialogs should be
4762 protected from cancel button removal)
4764 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4766 * debian/control: Change libhildon1-examples dependency from libhildon1
4768 * debian/libhildon1-examples.install
4770 * Makefile.am: Modified the final install directory for the examples on
4771 package libhildon1-examples
4772 * Makefile.static: Update clean target in order to remove all the binary
4775 Changes suggested by Claudio after review new libhildon1-examples package
4777 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4779 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4780 * src/hildon-touch-selector.c: Ditto.
4782 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4784 * debian/control: Added new package libhildon1-examples, in order to pack
4785 the current hildon examples as documentation
4786 * debian/rules: Not to compress .c files, modify some includes on the
4787 examples (as normally are compiled locally, but when installed it will
4788 require to include the installed libhildon1 library), and rename
4790 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4791 install all the example files on the new example package
4792 * examples/Makefile.static: Added static makefile that can be used to
4793 compile the examples, once installed the new example package
4794 * examples: Most of the examples were modified in order to grant that
4795 all use only '#include "hildon.h"', in order to be easy to prepare
4796 it on the example package
4798 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4801 * debian/libhildon1-dev.install
4802 * debian/libhildon1-doc.install:
4803 Move all gtk-doc files to a separate libhildon1-doc package.
4805 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4807 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4809 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4811 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4813 * debian/rules: Fixed a error in order to avoid unnecessary calls
4814 to autogen.sh on package building
4816 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4818 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4820 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4822 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4825 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4827 * src/hildon-picker-button.c
4828 (hildon_picker_button_finalize):
4829 Free priv->done_button_text
4831 * src/hildon-time-button.c
4832 (hildon_time_button_set_time)
4833 * src/hildon-picker-button.c
4834 (hildon_picker_button_clicked)
4835 (hildon_picker_button_selector_selection_changed)
4836 (hildon_picker_button_set_selector)
4837 * src/hildon-date-button.c
4838 (hildon_date_button_set_date):
4839 Free strings returned by hildon_touch_selector_get_current_text()
4841 * src/hildon-button.c (hildon_button_construct_child):
4842 Fix leaks in priv->image and priv->label_box
4844 Fixes: NB#90535 (Memory leak in picker button)
4846 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4848 * src/hildon-button.c: (hildon_button_get_property): Do not access
4849 private elements directly, use getters instead.
4851 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4853 * src/hildon-app-menu-private.h
4854 * src/hildon-app-menu.c
4855 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4856 Store the menu's parent window.
4858 * src/hildon-stackable-window.c
4859 (hildon_stackable_window_toggle_menu)
4860 (hildon_stackable_window_finalize):
4861 Set the menu's parent window when the menu is shown, unset it when
4864 * src/hildon-app-menu.c
4865 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4866 (hildon_app_menu_class_init):
4867 Send unhandled keyboard accelerators to the parent window.
4869 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4871 * src/hildon-stackable-window.c
4872 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4874 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4876 * configure.ac: post release version bump
4878 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4881 * configure.ac: Bump version
4882 * debian/changelog: Updates
4883 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4886 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4888 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4891 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4892 GtkMenu with Hildon style.
4894 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4896 * src/hildon-picker-button.c:
4897 (hildon_picker_button_set_done_button_text): Set the dialog's
4898 done button text here as well.
4900 Fixes: NB#90232 (Picker button does not set the label on done button
4901 for the second time)
4903 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4905 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4908 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4910 * src/hildon-app-menu.c (hildon_app_menu_insert)
4911 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4912 the HildonAppMenu to be activatable using keyboard accelerators
4913 when the menu is not being shown.
4915 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4917 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4919 * src/hildon-stackable-window.c
4920 (hildon_stackable_window_show):
4921 Don't hide old windows automatically when new windows are shown:
4922 this is now a task for the window manager.
4923 (hildon_stackable_window_class_init)
4924 (hildon_stackable_window_hide):
4925 Remove windows from the stack everytime they're hidden.
4926 (hildon_stackable_window_realize):
4927 Don't change the _NET_WM_WINDOW_TYPE property. Use
4928 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4929 it as a stackable window.
4931 * src/hildon-program.c
4932 (hildon_program_pop_window_stack):
4933 Just hide the window to remove it from the stack.
4934 (hildon_program_go_to_root_window):
4935 Don't call gtk_widget_show(), this is now a task for the window
4938 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4940 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4942 * src/hildon-button.c
4943 (hildon_button_construct_child):
4944 Don't pack anything in the button until text or image are
4945 set. This allows adding a custom child after creating the button
4946 with hildon_button_new().
4947 (hildon_button_finalize, hildon_button_class_init)
4948 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4949 alignment and the label box even when they're not packed in the
4952 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4954 * src/hildon-touch-selector.h:
4955 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4956 currently the type definition was using GTK_TYPE_VBOX
4957 * src/hildon-touch-selector.c:
4958 Added some implementation notes in order to clarify that any other widget
4959 added without the column related API will not be included on the
4960 selection logic, and how the widget is freed, as some people ask about
4962 (hildon_touch_selector_remove): Reimplemented in order to free properly
4963 the column related data when you remove the private hbox.
4964 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4965 to get a proper HildonTouchSelectorColumn documentation
4967 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4969 * src/hildon-touch-selector-entry.c:
4970 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4971 text in the GtkEntry and there is no item selected. Fixes a
4974 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4976 * src/hildon-app-menu-private.h
4977 * src/hildon-app-menu.[ch]
4978 * src/hildon-button.[ch]
4979 * src/hildon-check-button.[ch]
4980 * src/hildon-entry.[ch]
4981 * src/hildon-pannable-area.[ch]
4982 * src/hildon-text-view.[ch]:
4983 Added private field to the object's structure.
4985 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4987 * configure.ac: post-release version bump
4989 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4993 * configure.ac: pre-release version bump
4995 * debian/changelog: updates.
4997 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4999 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5000 Disconnect the handler for HildonTouchSelector::changed.
5002 (hildon_picker_button_selector_selection_changed): Update the button
5003 value if the selection change was not triggered by the
5006 (hildon_picker_button_set_selector): connect to
5007 HildonTouchSelector::changed.
5009 Fixes: NB#89650 (Picker button is not updated, when selection in
5010 selector has changed)
5012 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5014 * src/hildon-picker-dialog.c
5015 (hildon_picker_dialog_realize): Removed as not required
5016 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5017 * src/hildon-picker-button.c
5018 (_current_selector_empty): New function, checks if the selector is empty
5019 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5020 if the current selector is empty, in order to avoid to show the dialog
5021 close the dialog in this case (and shows a g_warning).
5023 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5025 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5027 * src/hildon-pannable-area.c,
5028 (hildon_pannable_area_scroll): Added clause to stop movement when
5029 the child of pannable is smaller than one page.
5030 (hildon_pannable_area_scroll_to): Added conditions to avoid
5031 starting the scrolling movement if the child is smaller than one
5032 page, the complete child is in the screen, we do not have to move.
5034 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5036 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5038 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5039 this is managed automatically by the widget when the size of the
5042 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5044 * src/hildon-picker-button.c
5045 (hildon_picker_button_set_done_button_text): Make a copy of the
5046 text, and free the previous value.
5048 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5050 * src/hildon-touch-selector-entry.c:
5051 (hildon_touch_selector_entry_print_func): Return the selected row's
5052 text if the entry is empty.
5054 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5057 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5059 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5061 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5064 * src/hildon-check-button.h
5065 * src/hildon-check-button.c
5066 * examples/hildon-check-button-example.c:
5067 HildonCheckButton is now a new widget. 'toggled' signal added.
5069 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5071 * src/hildon-program-private.h
5072 * src/hildon-program.c (hildon_program_init)
5073 (hildon_program_finalize): Removed unused variables group_leader
5074 and name from HildonProgramPrivate.
5076 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5078 * src/hildon-check-button.c (hildon_check_button_set_active)
5079 (hildon_check_button_get_active, hildon_check_button_new): Use
5080 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5082 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5084 * src/hildon-touch-selector.h
5085 (hildon_touch_selector_set_column_attributes): added deprecation
5086 guard HILDON_DISABLE_DEPRECATED
5087 * src/hildon-time-selector.c
5088 (hildon_time_selector_set_time)
5089 (hildon_time_selector_get_time): Fixed a typo on documentation
5090 * src/hildon-touch-selector.c: update HildonTouchSelector and
5091 HildonTouchSelectorColumn documentation
5092 * src/hildon-touch-selector-entry.c: update "text-column" property
5094 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5095 to be added to the general documentation.
5097 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5099 * examples/hildon-pannable-area-example-4.c,
5101 * examples/hildon-pannable-area-example.c,
5102 (main): Modified the code in order to use the container add, with
5103 viewport treeviews could have problems if they are really big.
5105 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5107 * src/hildon-weekday-picker.c,
5108 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5109 the agreement regarding deprecation in the library.
5111 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5113 * examples/hildon-picker-button-multicolumn-example.c:
5114 (main): Use custom "done" button text.
5116 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5117 (hildon_picker_button_set_property),
5118 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5119 (hildon_picker_button_init),
5120 (+hildon_picker_button_get_done_button_text),
5121 (+hildon_picker_button_set_done_button_text): New methods to customize
5122 the "done" button label in the launched HildonPickerDialog. Also,
5125 * src/hildon-picker-button.h: add the public API.
5127 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5129 * src/hildon-date-selector.h:
5130 * src/hildon-picker-dialog.h:
5131 * src/hildon-time-selector.h:
5132 * src/hildon-touch-selector-column.h:
5133 * src/hildon-touch-selector.h:
5135 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5136 declarations. Fixes gtk-doc warnings.
5138 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5140 * src/hildon-picker-dialog.h
5141 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5142 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5144 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5145 long text is set as label for done button)
5147 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5149 * src/hildon-dialog.c (hildon_dialog_add_button):
5150 Set fixed width to all buttons in the HildonDialog.
5152 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5154 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5156 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5157 Set widget name using class name plus "-finger" or "-thumb".
5159 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5161 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5162 'clicked' when the state of the button is manually changed.
5164 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5166 * src/hildon-app-menu.c (hildon_app_menu_realize)
5167 (hildon_app_menu_unrealize, hildon_app_menu_init)
5168 (hildon_app_menu_class_init, item_visibility_changed):
5169 Change the menu layout when the size of the screen changes.
5170 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5171 Show warning only when changing the number of colums using the
5174 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5176 * debian/compat: Set to 5
5177 * debian/control: Update dependencies.
5178 * debian/libhildon1-dbg.install: Remove.
5179 * debian/libhildon1-dev.install: Update according to cdbs paths.
5180 * debian/libhildon1.install: Update according to cdbs paths.
5181 * debian/rules: Switch to cdbs.
5183 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5185 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5186 'item' variable renamed to 'filter'
5188 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5190 * src/hildon-app-menu.c (hildon_app_menu_insert)
5191 (hildon_app_menu_add_filter, remove_item_from_list)
5192 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5193 Don't leak hidden items when the menu is destroyed.
5195 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5197 * src/hildon-app-menu.c (hildon_app_menu_insert)
5198 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5199 (hildon_app_menu_set_columns, item_visibility_changed)
5200 (filter_visibility_changed, hildon_app_menu_repack_filters)
5201 (hildon_app_menu_repack_items):
5202 Repack items and filters separately.
5204 Don't repack all items, change only the ones that are needed to
5207 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5209 * src/Makefile.am: added hildon-touch-selector-column.h
5211 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5213 * src/hildon-touch-selector.c: added the property "text-column" to the
5214 class HildonTouchSelectorColumn, and related get/set functions
5215 (_default_printf_func): updated to use "text-column" property
5216 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5217 "text-column" in his documentation, as this is now included on
5218 HildonTouchSelectorColumn. The get/set_property can still be used,
5219 working as a wrapper to the concrete column "text-column" property
5220 (_text_column_modified): callback added in order to handle the signal
5221 "notify::text-column" of the concrete HildonTouchSelectorColumn
5222 (hildon_touch_selector_entry_get_text_column)
5223 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5224 modified in order to use the HildonTouchSelectorColumn "text-column"
5226 * src/hildon-time-selector.c:
5227 * src/hildon-date-selector.c:
5228 * examples/hildon-touch-selector-example.c
5229 * examples/hildon-touch-selector-multi-cells-example.c
5230 * examples/hildon-picker-button-multicolumn-example.c
5231 Set the right value to "text-column" property on the creation of a new
5232 column using hildon_touch_selector_append_column()
5234 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5236 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5238 * src/hildon-app-menu.c
5239 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5240 updating the layout of the menu, don't create all widgets again,
5241 just repack the items in their new places.
5243 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5245 * src/hildon-time-selector.c
5246 (hildon_time_selector_get_time)
5247 (hildon_time_selector_set_time)
5248 Added documentation of these public methods
5250 * src/hildon-date-button.h
5251 * src/hildon-touch-selector-column.h
5252 * src/hildon-time-button.h
5253 * src/hildon-picker-dialog.h
5254 * src/hildon-time-selector.h
5255 * src/hildon-picker-button.h
5256 * src/hildon-touch-selector.h
5257 * src/hildon-time-picker.h
5258 * src/hildon-date-selector.h
5259 * src/hildon-touch-selector-entry.h
5260 Modified in order to use hildon-widgets code style
5262 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5264 Added deprecated support to the compilation process using
5265 HILDON_DISABLE_DEPRECATED
5267 * configure.ac: Added the --disable-deprecated to the configure
5270 * src/hildon-weekday-picker.c:
5271 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5272 to use the deprecated support. We will update the other deprecated
5273 widgets status in a new patch.
5275 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5277 * configure.ac: Fixed typo with fatal warnings support, the
5278 variable name was not correct
5280 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5282 * src/hildon-app-menu.c
5283 * src/hildon-program.c: Update documentation.
5285 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5287 * configure.ac: Post-release version bump.
5289 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5294 * configure.ac: Pre-release version bump.
5295 * debian/changelog: Updates.
5297 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5299 * NEWS: Update news for previous releases.
5301 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5303 * examples/hildon-touch-selector-multi-cells-example.c:
5304 (create_selector): Update the example to use
5305 hildon_touch_selector_append_column() with a NULL renderer and set
5306 the renderers later.
5307 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5308 passed a NULL renderer. This is documented behavior now.
5310 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5311 This must be used if the developer wants full control on the layout of
5312 the renderers to be added to the column.
5314 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5316 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5318 * src/hildon-touch-selector.c: Documentation fixes.
5320 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5322 * src/hildon-wizard-dialog-private.h: Remove image and box.
5323 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5324 (hildon_wizard_dialog_set_property), (response): Completely remove
5325 image/icon support, and the containers required for the layout.
5327 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5329 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5331 * src/hildon-app-menu.c: Updated documentation.
5333 * src/hildon-stackable-window.c
5334 (hildon_stackable_window_set_main_menu): Unref the old menu after
5335 ref'ing the new one.
5337 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5339 * src/hildon-stackable-window.c
5340 (hildon_stackable_window_set_main_menu): Unref the previous menu
5341 instead of destroying it.
5343 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5344 floating reference and set has_user_ref_count to FALSE to make
5345 HildonAppMenu act like a normal ref-counted widget and not a
5348 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5351 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5353 * src/hildon-touch-selector-column.h: new file
5354 * src/hildon-touch-selector.h
5355 * src/hildon-touch-selector.c
5356 Implemented GtkCellLayout interface, in order to allow to configure
5357 the cell layout on each individual selector column
5358 (hildon_touch_selector_set_column_attributes): marked as deprecated
5359 * examples/hildon-touch-selector-multi-cells-example.c
5360 Example of how to use the GtkCellLayout interface on the selector
5362 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5364 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5366 * src/hildon-app-menu.h
5367 * src/hildon-app-menu.c
5368 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5369 (hildon_app_menu_append, hildon_app_menu_prepend):
5370 New methods to prepend, insert and move items in the menu.
5372 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5374 * src/hildon-wizard-dialog.c:
5376 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5378 (create_title): Update logical IDs and related code.
5379 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5381 * src/hildon-wizard-dialog.h: Note that
5382 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5383 point, as it is not used anymore.
5385 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5387 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5389 * src/hildon-note.c:
5390 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5391 shown. Do not display an icon in confirmation notes nor information
5393 (hildon_note_set_button_text): Update logical ID for cancel button.
5395 Fixes: NB#88850 (Update HildonNote button strings + signals)
5397 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5399 * src/hildon-stackable-window.c
5400 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5402 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5404 * src/hildon-app-menu-private.h
5405 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5406 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5407 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5408 temporary property 'columns' to change the number of columns.
5410 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5412 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5414 * examples/hildon-note-example.c: (on_information_clicked),
5415 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5416 debugging information.
5417 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5419 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5420 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5421 in order to close: this will be handled by the WM from now on.
5423 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5425 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5427 * src/hildon-app-menu-private.h
5428 * src/hildon-app-menu.c
5429 (hildon_app_menu_append, hildon_app_menu_add_filter)
5430 (button_visibility_changed, hildon_app_menu_apply_style)
5431 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5432 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5433 layout everytime a button (item or filter) is shown or hidden.
5435 * src/hildon-stackable-window.c
5436 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5439 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5441 * src/hildon-touch-selector.c:
5442 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5443 that the treeview inside the touch selector is in fremantle hildon mode
5444 * examples/hildon-date-button-example.c
5445 * examples/hildon-picker-button-multicolumn-example.c
5446 * examples/hildon-touch-selector-entry-example.c
5447 * examples/hildon-touch-selector-example.c
5448 * examples/hildon-time-button-example.c
5449 * examples/hildon-picker-button-example.c:
5450 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5452 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5454 * examples/hildon-text-view-example.c: (main): Remove the
5455 gtkrc bits, now handled by the theme.
5457 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5459 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5462 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5464 * po/Makefile.am: Install properly the mo files.
5465 * po/en_GB.po: Update translation, to ease testing purposes.
5467 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5469 * examples/hildon-picker-button-example.c: (main): Select an item
5470 in the selector before setting it to the button.
5472 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5474 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5475 Update button's value if the selector has an item active.
5477 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5478 'value' with the selector)
5480 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5482 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5483 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5484 (hildon_picker_button_class_init): Plug the finalize method.
5485 (hildon_picker_button_set_selector): If there's a previously set
5486 selector, unref'it before setting a new one.
5488 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5489 HildonTouchSelector)
5491 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5493 * src/hildon-touch-selector-entry.c:
5494 (hildon_touch_selector_entry_changed): Check if there is no text
5495 selected before setting the entry text.
5498 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5500 * src/hildon-touch-selector.h
5501 * src/hildon-touch-selector.c
5502 (hildon_touch_selector_get_active)
5503 (hildon_touch_selector_set_active): New methods to set/get the
5504 index of the selected item.
5506 * src/hildon-picker-button.h
5507 * src/hildon-picker-button.c
5508 (hildon_picker_button_get_active)
5509 (hildon_picker_button_set_active): New methods to set/get the
5510 index of the selected item.
5512 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5514 * configure.ac: post-release version bump.
5516 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5520 * configure.ac: Pre-release version bump.
5521 * debian/changelog: Updates.
5522 * debian/control: Add myself as maintainer and depend on l10n
5525 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5527 * src/hildon-window.c
5528 (hildon_window_set_main_menu)
5529 * src/hildon-stackable-window.c
5530 (hildon_stackable_window_set_main_menu):
5531 Updated documentation.
5533 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5535 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5536 Don't free selector->priv manually.
5539 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5542 (hildon_gtk_window_set_progress_indicator):
5543 * src/hildon-gtk.h: Added the new API
5544 hildon_gtk_window_set_progress_indicator, it changes the state of
5545 the window progress hint.
5547 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5549 * src/hildon-button.c
5550 * src/hildon-stackable-window.c: Minor documentation updates.
5552 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5554 * src/hildon-stackable-window.c: Updated documentation.
5556 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5558 * src/hildon-defines.h: Update margins definitions
5559 to the Fremantle sizes.
5562 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5564 * src/hildon-touch-selector.c,
5565 (_hildon_touch_selector_set_model): Cleaning the code after
5566 review, removed g_print and #if 0 from the code.
5568 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5570 * src/hildon-edit-toolbar.c: Update documentation.
5572 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5574 * src/hildon-check-button.h
5575 * src/hildon-check-button.c
5576 (hildon_check_button_set_label, hildon_check_button_get_label)
5577 * examples/hildon-check-button-example.c
5578 (button_clicked_cb):
5579 Removed deprecated methods.
5581 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5583 * src/hildon-text-view.c:
5584 Add sample code to the documentation.
5586 * src/hildon-entry.h
5587 * src/hildon-text-view.h:
5588 Minor cosmetic changes.
5590 * src/hildon-entry.c:
5591 Add sample code to the documentation.
5592 (hildon_entry_init, hildon_entry_refresh_contents):
5593 Don't allow NULL values in the placeholder.
5595 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5597 * doc/hildon-docs.sgml
5599 * examples/Makefile.am
5600 * examples/hildon-text-view-example.c
5602 * src/hildon-text-view.c
5603 * src/hildon-text-view.h
5605 New HildonTextView widget, with example.
5607 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5609 * po/POTFILES.in: Add missing files with translatable strings.
5610 Partially fixes NB#88287.
5612 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5614 * examples/hildon-pannable-area-example-2.c: (main): No need to
5615 set the cellrenderer height inside hildon touch lists, the theme does
5618 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5620 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5621 they are integrated in the theme.
5623 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5625 * examples/hildon-entry-example.c: Update the example adding
5626 widgets to modify the text and the placeholder of the HildonEntry.
5628 * src/hildon-entry.c: Show the placeholder everytime the widget
5629 is empty and loses the focus.
5631 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5633 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5635 * src/hildon-pannable-area.c,
5636 (hildon_pannable_area_size_request): Fixed bug in height
5637 requisition, avoid increasing size and add border twice.
5639 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5641 * configure.ac: postrelease version bump.
5643 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5647 * configure.ac: Prerelease version bump.
5648 * debian/changelog: update.
5649 * debian/rules: make -dbg package contain useful debugging symbols.
5651 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5653 * src/hildon-dialog.h
5654 * src/hildon-dialog.c
5655 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5656 New methods to add buttons with finger size.
5657 (hildon_dialog_new_with_buttons):
5658 Create buttons with finger size.
5660 * examples/hildon-dialog-example.c (main): Use HildonDialog
5661 methods to add buttons.
5663 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5665 * src/hildon-entry.c: Updated HildonButton documentation.
5667 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5669 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5670 button value label with (FALSE, FALSE) to prevent NB#88126 from
5673 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5675 * examples/hildon-pannable-area-example.c,
5676 (main): Removed examples panning a vbox inside a pannable
5677 area. Check bug NB#87965
5679 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5681 Patch contributed by Kris Rietveld (kris@imendio.com)
5683 * src/hildon-pannable-area.c,
5684 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5685 get_size and get_position, this saves an X server roundtrip.
5687 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5689 * doc/hildon-docs.sgml
5691 * examples/Makefile.am
5692 * examples/hildon-entry-example.c
5694 * src/hildon-entry.c
5695 * src/hildon-entry.h
5697 New HildonEntry widget, with example.
5699 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5701 * src/hildon-button.c (hildon_button_construct_child): Pack the
5702 image with expand == fill == FALSE. This is a workaround for a bug
5705 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5707 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5708 labels for the text column, to make it more look more dynamic.
5710 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5712 * src/hildon-time-selector.c
5713 Define gettext auxiliar macro N_
5714 (_create_minutes_model)
5715 (_create_hours_model)
5716 (_create_ampm_model): use of strftime in order to fill the model
5717 * src/hildon-date-selector.c
5718 (hildon_date_selector_finalize):
5719 (_locales_init): remove the logic related to get the name of the months
5720 using nl_langinfo, as it is not required anymore
5722 (_create_year_model)
5723 (_create_month_model)
5724 (_update_day_model): use of strftime in order to fill the model properly
5727 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5729 * src/hildon-button.h
5730 * src/hildon-button.c (hildon_button_get_image): New method to
5733 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5735 * src/hildon-touch-selector.c:
5736 (hildon_touch_selector_remove_column): Remove from the correct parent
5737 and also remove the list element and free it.
5740 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5742 * src/hildon-time-selector.c
5743 (_create_hours_model): change the range on 12h ampm format in order to use
5744 a 12-11 range instead of previous 01-12 range
5745 (hildon_time_selector_set_time): change the way to select the current time
5746 on 12h ampm format, due the change on the range
5747 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5750 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5752 * src/hildon-touch-selector.c
5753 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5754 in order to allow use this function on multiple row selection mode if
5755 the column is different that the first one
5758 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5760 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5761 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5763 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5765 * src/hildon-date-selector.h: clean some comments, now on the .c
5766 * src/hildon-date-selector.c
5767 (hildon_date_selector_select_month): first implementation
5768 (hildon_date_selector_select_day): added documentation, reimplemented
5769 using hildon_date_selector_select_current_date to avoid repeat code
5772 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5774 Reviewed interaction logic based on device experiences, refactored
5777 * src/hildon-pannable-area.c,
5778 (hildon_pannable_area_class_init): Updated default vmax speed.
5779 (hildon_pannable_area_calculate_velocity): Added this function, it
5780 avoids duplicate valocity calculation. Adjusted calculation to
5781 avoid problems with zero dist events.
5783 (hildon_pannable_area_motion_notify_cb): Now we use the
5784 calculate_velocity function.
5786 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5788 * src/hildon-date-selector.c
5789 (hildon_date_selector_select_current_date): fix the day range check
5790 as it failed using the last day of the current month
5793 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5795 * src/hildon-touch-selector.c
5796 (hildon_touch_selector_get_num_columns): added a parameter validation
5799 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5801 * examples/Makefile.am
5802 * examples/hildon-edit-toolbar-example.c: Example of the
5803 HildonEditToolbar widget.
5805 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5807 * configure.ac: postrelease version bump.
5809 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5813 * configure.ac: prerelease version bump.
5814 * debian/changelog: update.
5816 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5818 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5819 renderer to display stock icons in the touch list. Also, set the sizes
5820 to the recommended in the style guide.
5822 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5823 * src/hildon-touch-selector.h
5824 (hildon_touch_selector_set_active_iter): renamed, now is
5825 hildon_touch_selector_select_iter
5826 (hildon_touch_selector_get_active_iter): renamed, now is
5827 hildon_touch_selector_get_selected
5828 (hildon_touch_selector_unselect_iter): added
5829 * src/hildon-touch-selector.c
5830 Update after API modification (methods renamed)
5831 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5832 order to avoid problems selecting multiple elements on the column
5833 (hildon_touch_selector_unselect_iter): added the implementation
5834 * src/hildon-time-selector.c
5835 * src/hildon-date-selector.c
5836 * src/hildon-touch-selector-entry.c
5837 Update methods calls after hildon-touch-selector.h API modification (methods
5840 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5842 * src/hildon-stackable-window.c
5843 (hildon_stackable_window_finalize): Call the parent class's finalize.
5845 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5847 * examples/hildon-touch-selector-example.c: (create_selector): Use
5848 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5851 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5853 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5854 set a cell background color, to respect theming.
5856 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5858 * doc/hildon-docs.sgml
5861 * src/hildon-edit-toolbar.c
5862 * src/hildon-edit-toolbar.h
5863 * src/hildon.h: New HildonEditToolbar widget.
5865 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5867 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5870 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5871 * src/hildon-touch-selector.c
5872 (_create_new_column): use g_object_set instead of two g_object_set_property
5874 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5875 * src/hildon-touch-selector.c
5876 (_create_new_column): use of hildon_gtk_tree_view_new to create
5877 the treeview, instead of use directly g_object_new
5878 (_create_new_column): update the property name "vindicator-mode" for the
5879 new one "vscrollbar-policy"
5880 * examples/hildon-date-button-example.c
5881 * examples/hildon-picker-button-multicolumn-example.c
5882 * examples/hildon-touch-selector-entry-example.c
5883 * examples/hildon-touch-selector-example.c
5884 * examples/hildon-time-button-example.c
5885 * examples/hildon-picker-button-example.c
5886 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5887 to all the treeviews inside a pannable area.
5889 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5891 * src/hildon-button.h
5892 * src/hildon-button.c (hildon_button_init)
5893 (hildon_button_set_arrangement, hildon_button_set_alignment)
5894 (hildon_button_set_title_alignment)
5895 (hildon_button_set_value_alignment)
5896 (hildon_button_set_image_alignment)
5897 (hildon_button_construct_child): New methods to set the alignment
5898 of the individual components of the button (title, value,
5899 image). Also, new method to alter the xscale and yscale properties
5900 of the GtkAlignment inside the button, so more complex layouts can
5903 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5905 * src/hildon-button.c (hildon_button_style_set)
5906 (hildon_button_class_init, hildon_button_set_arrangement)
5907 (hildon_button_construct_child): Apply style properties
5908 correctly. Use the 'image-spacing' style property too.
5910 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5912 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5913 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5916 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5918 * src/hildon-pannable-area.c,
5919 (hildon_pannable_area_size_request): Fixed problem with
5920 pannable-area size_request.
5922 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5924 Added management for the grab-focus to a child widget, like a
5925 range, we need to fade out the scrollbar when releasing.
5927 * src/hildon-pannable-area.c,
5928 (hildon_pannable_area_init): Connected the grab-focus signal to
5930 (hildon_pannable_area_grab_notify): Added this function in order
5931 to manage the situation when the grab-focus ends. We have to
5932 fade-out the scrollbar.
5934 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5936 * src/hildon-app-menu.c: Minor documentation update.
5938 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5940 * src/hildon-app-menu.c
5941 * examples/hildon-app-menu-example.c (create_menu): Update
5942 examples and documentation to explain how to connect callbacks.
5944 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5946 * examples/hildon-button-example.c
5947 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5948 hildon_stackable_window_new instead of gtk_window_new
5950 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5952 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5953 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5954 (hildon_pannable_area_set_property),
5955 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5956 (hildon_pannable_area_unrealize),
5957 (hildon_pannable_area_size_request),
5958 (hildon_pannable_area_size_allocate),
5959 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5960 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5961 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5962 (hildon_pannable_area_initial_effect),
5963 (hildon_pannable_area_redraw),
5964 (hildon_pannable_area_scroll_indicator_fade),
5965 (hildon_pannable_area_expose_event),
5966 (hildon_pannable_area_get_topmost), (synth_crossing),
5967 (hildon_pannable_area_button_press_cb),
5968 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5969 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5970 (hildon_pannable_area_motion_notify_cb),
5971 (hildon_pannable_area_button_release_cb),
5972 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5973 (hildon_pannable_area_remove),
5974 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5975 chage the code layout to a more GtkWidget like. Review the use of
5978 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5980 * examples/hildon-pannable-area-example-4.c,
5981 (main): Modified the name of the hindicator_mode to
5984 * src/hildon-pannable-area.c,
5985 (hildon_pannable_area_class_init),
5986 (hildon_pannable_area_motion_notify_cb),
5987 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5988 we have reduced the amount of signals and managed reviewed its
5989 rationale. Changed the default decelerate value.
5991 (hildon_pannable_area_add),
5992 (hildon_pannable_area_redraw): Refactored functions.
5994 (hildon_pannable_area_init),
5995 (hildon_pannable_area_get_property),
5996 (hildon_pannable_area_set_property):
5997 (hildon_pannable_draw_vscroll),
5998 (hildon_pannable_draw_hscroll),
5999 (hildon_pannable_area_initial_effect),
6000 (hildon_pannable_area_expose_event),
6001 (hildon_pannable_area_scroll),
6002 (hildon_pannable_area_button_press_cb),
6003 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6004 and vindicator_mode with hscrollbar_policy and
6005 vscrollbar_policy. Replaced hscroll and vscroll with
6006 hscroll_visible and vscroll_visible.
6008 (hildon_pannable_area_refresh): Refactor the function, remove
6009 variables and check the calls to this function, added resize
6010 conditions in case the children change their layout.
6012 (hildon_pannable_area_size_request): Added more detailed
6013 size_request calculation.
6016 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6018 * src/hildon-color-chooser.c
6019 (init_borders): use the correct gtk_border_free instead of g_free, to
6020 avoid a crash when this widget is used (ie: the three color selection
6023 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6025 * src/hildon-check-button.c,
6026 (hildon_check_button_set_active): Fixed problem when setting the
6027 active value, the widget was not redrawn.
6029 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6031 * src/hildon-pannable-area.c,
6032 (hildon_pannable_area_refresh),
6033 (hildon_pannable_area_scroll),
6034 (hildon_pannable_area_motion_notify_cb): Small code style change.
6036 (hildon_pannable_area_class_init): Default initial_hint set to
6037 FALSE, it is not in the specs.
6039 (hildon_pannable_area_initial_effect),
6040 (hildon_pannable_area_expose_event),
6041 (hildon_pannable_area_map),
6042 (hildon_pannable_area_init): Moved the launching point of the
6043 initial effect, it was in map but the sizes where not correct in
6044 that method so we do not know if we have the reproduce it. Now it
6045 is placed in the expose_event method and uses a variable to
6046 reproduce it just once.
6048 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6050 * src/hildon-pannable-area.c,
6051 (hildon_pannable_draw_vscroll),
6052 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6053 position allowed for the scrollbars.
6055 (hildon_pannable_area_size_allocate): Small style change.
6057 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6059 * src/hildon-pannable-area.c,
6060 (hildon_pannable_area_scroll_indicator_fade),
6061 (hildon_pannable_area_button_press_cb),
6062 (hildon_pannable_area_button_release_cb),
6063 (hildon_pannable_area_scroll_cb),
6064 (hildon_pannable_area_expose_event),
6065 (hildon_pannable_area_init): Added the define parameter
6066 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6067 and refactor the fade variable.
6069 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6071 * src/hildon-pannable-area.c,
6072 (hildon_pannable_area_redraw),
6073 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6074 lines, we were reimplemeting the redraw code.
6076 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6078 * src/hildon-pannable-area.c,
6079 (hildon_pannable_area_scroll_cb),
6080 (hildon_pannable_area_realize),
6081 (hildon_pannable_area_class_init): Added scroll_event management
6082 for pannable area, now we can scroll the usual desktop method.
6084 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6085 initialization of the parameters should depend on idle_id.
6087 (hildon_pannable_area_init),
6088 (hildon_pannable_area_map): Small code style modifications
6090 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6092 * src/hildon-pannable-area.c
6093 (hildon_pannable_area_button_press_cb),
6094 (hildon_pannable_area_motion_notify_cb),
6095 (hildon_pannable_area_button_release_cb),
6096 (hildon_pannable_area_size_allocate),
6097 (hildon_pannable_area_scroll_to): Improved the timeouts
6098 management, we avoid creating them each time.
6100 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6102 * src/hildon-pannable-area.c:
6103 (hildon_pannable_area_refresh),
6104 (hildon_pannable_area_motion_notify_cb),
6105 (hildon_pannable_area_class_init):
6106 * src/hildon-pannable-area.h:
6107 * src/hildon-touch-selector.c
6108 (_create_new_column):
6109 * examples/hildon-pannable-area-example-4.c:
6110 (horizontal_movement),
6111 (vertical_movement),
6113 Replaced the names of enums in the HildonPannableArea:
6114 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6115 HILDON_MOVEMENT_MODE_*
6116 - HILDON_PANNABLE_AREA_MOV_* ->
6118 - Removed HildonPannableAreaIndicatorMode, now we
6121 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6123 * examples/hildon-pannable-area-touch-grid-example.c
6124 * examples/hildon-pannable-area-touch-list-example.c: Fix
6125 compilation warnings.
6127 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6129 * src/hildon-gtk.c (hildon_gtk_button_new)
6130 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6131 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6132 images overriding the value of the "gtk-button-images" setting.
6134 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6136 * src/hildon-check-button.c (hildon_check_button_new):
6137 Instead of using a custom container, display the label and the
6138 checkbox using the standard GtkButton API.
6140 * examples/hildon-check-button-example.c (main): Don't use
6141 hildon_check_button_set_label() anymore
6143 * src/hildon-check-button.h
6144 * src/hildon-check-button.c
6145 (hildon_check_button_set_label, hildon_check_button_get_label):
6146 Set as deprecated, now we're using gtk_button_{get,set}_label()
6148 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6150 * src/hildon-pannable-area.c,
6151 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6152 GtkTreeview first line we detected it after the inclusion of the
6153 GtkWindowImpl in gtk+. We now check if the window is visible, not
6154 just if the pointer is over the window.
6155 (hildon_pannable_axis_scroll),
6156 (hildon_pannable_area_expose_event): Small style changes.
6158 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6160 * src/hildon-button.c: Update documentation.
6162 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6164 * examples/hildon-button-example.c: Add a switch to show images in
6167 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6169 * doc/hildon-docs.sgml: Some docs reorganization.
6171 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6173 * examples/hildon-pannable-area-touch-list-example.c
6175 * examples/hildon-pannable-area-touch-grid-example.c
6176 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6177 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6178 Fix memory leak when setting the tree model.
6180 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6184 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6186 * doc/hildon.types: Remove duplicated hildon_window_get_type
6187 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6188 documentation comment.
6190 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6192 * doc/Makefile.am: Complete list of private headers.
6194 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6196 * doc/hildon-docs.sgml
6197 * src/hildon-app-menu.c
6198 * src/hildon-bread-crumb.c
6199 * src/hildon-button.c
6201 * src/hildon-program.c
6202 * src/hildon-stackable-window.c
6203 * src/hildon-window.c: Lots of documentation updates.
6205 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6207 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6209 * configure.ac: Require Gtk+ 2.12.9 at least
6211 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6213 * src/hildon-pannable-area.c
6214 (hildon_pannable_area_scroll_indicator_fade),
6215 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6216 to protect the return of this timeout callbacks, avoiding deadlocks.
6218 2008-08-12 Christian Dywan <christian@imendio.com>
6221 * src/hildon-*.h: Ensure a consistent include order,
6222 include <gtk/gtk.h> instead of particular files and
6223 only include the topmost header in the gtk stack. See NB #39857
6225 2008-08-12 Christian Dywan <christian@imendio.com>
6227 * src/hildon-picker-dialog.c
6228 * src/hildon-touch-selector.c: Fix warnings about unused and
6229 uninitialized variables.
6231 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6233 * examples/Makefile.am
6234 * examples/hildon-check-button-example.c: Example of the hildon
6237 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6239 * src/hildon-window.h
6240 * src/hildon-window.c (hildon_window_class_init)
6241 (hildon_window_unset_program): Don't make
6242 hildon_window_unset_program a virtual function anymore.
6244 * src/hildon-stackable-window.c: Update documentation
6246 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6249 * doc/hildon-docs.sgml
6250 * doc/visual_index.xml
6251 * src/hildon-defines.c
6253 * src/hildon-helper.c
6254 * src/hildon-range-editor.c: Lots of documentation fixes.
6256 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6258 * examples/hildon-picker-button-multicolumn-example.c
6259 (create_touch_selector): Fix compilation warning.
6261 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6263 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6264 (hildon_pannable_area_button_release_cb)
6265 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6267 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6269 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6272 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6274 * src/hildon-bread-crumb-trail.h
6275 * src/hildon-date-editor.c
6276 * src/hildon-date-selector.c
6277 * src/hildon-pannable-area.c
6278 * src/hildon-picker-dialog.c
6279 * src/hildon-time-selector.c
6280 * src/hildon-touch-selector-entry.c
6281 * src/hildon-touch-selector.c
6282 * src/hildon-touch-selector.h: Misc documentation fixes
6284 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6286 * examples/hildon-date-editor-example.c (main): Updated date
6289 * examples/hildon-note-example.c (on_confirmation_clicked):
6290 Updated confirmation note example.
6292 * src/hildon-date-editor.c
6293 * src/hildon-note.c: Updated sample programs in documentation.
6296 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6298 * src/hildon-date-button.h:
6299 * src/hildon-picker-button.h:
6300 * src/hildon-time-button.c:
6301 * src/hildon-time-button.h:
6303 Some declarations changes to allow gtk-doc to document the widgets
6306 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6308 * src/hildon-date-button.c: Document the widget.
6309 * src/hildon-time-button.c: Document the widget.
6311 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6313 * src/hildon-picker-button.c: Document the widget.
6314 * src/hildon-touch-selector-entry.c: Document the widget.
6316 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6318 * doc/hildon-docs.sgml
6321 * src/hildon-check-button.h
6322 * src/hildon-check-button.c: New functions to create the Hildon
6326 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6328 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6330 * src/hildon-button.h
6331 * src/hildon-button.c
6332 (hildon_button_add_title_size_group)
6333 (hildon_button_add_value_size_group)
6334 (hildon_button_add_image_size_group)
6335 (hildon_button_add_size_groups): New functions to set size groups
6336 for the button labels and image.
6337 (hildon_button_new_full): Removed
6339 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6341 * src/hildon-time-selector.c
6342 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6343 in order to avoid a crash if gconf is not available
6345 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6347 * src/hildon-button.c (hildon_button_set_arrangement)
6348 (hildon_button_construct_child): Don't construct the button child
6349 before setting the arrangement.
6351 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6353 * src/hildon-program-private.h
6354 * src/hildon-program.c
6355 * src/hildon-program.h
6356 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6357 (hildon_program_peek_window_stack)
6358 (hildon_program_pop_window_stack)
6359 (hildon_program_go_to_root_window): HildonProgram now has a
6360 separate list for stackable windows. Functions are provided to
6361 manage that list with a stack-like API.
6363 * src/hildon-stackable-window.c: Stackable window management is
6364 now much simpler with the new HildonProgram API. Windows no
6365 longer need to be manually added to the program, they're
6366 automatically pushed to the top of the stack when shown.
6368 * examples/hildon-stackable-window-example.c: Updated example to
6369 reflect the API changes.
6371 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6373 * src/hildon-touch-selector.c: Comment out unimplemented
6374 hildon_touch_selector_insert_column() to avoid a compile warning.
6376 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6378 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6379 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6380 (hildon_touch_selector_set_column_selection_mode),
6381 (_hildon_touch_selector_set_model),
6382 (hildon_touch_selector_set_model):
6384 Complete review of HildonTouchSelector documentation.
6386 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6388 * doc/hildon-docs.sgml
6392 * src/hildon-gtk.c: Convenience functions for standard Gtk
6393 widgets, used to easily perform frequent operations.
6395 * src/hildon-button-helpers.h
6396 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6398 * src/hildon-helper.h
6399 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6400 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6402 * src/hildon-button.h
6403 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6405 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6407 * src/hildon-button.c (hildon_button_init)
6408 (hildon_button_set_arrangement, hildon_button_construct_child):
6409 Pack the image and the labels inside the same GtkAlignment so
6410 gtk_button_set_alignment() can be used
6412 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6414 * src/hildon-button.h
6415 * src/hildon-button.c
6416 (hildon_button_init, hildon_button_set_image)
6417 (hildon_button_set_image_position)
6418 (hildon_button_construct_child): New functions to add an image to
6421 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6423 * src/hildon-date-button.c
6424 * src/hildon-picker-button.c
6425 * src/hildon-time-button.c
6426 * src/hildon-button.c:
6427 (hildon_button_class_init): "size-flags" renamed to "size"
6428 (hildon_button_set_title): Hide the title label if set to NULL.
6430 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6432 HildonButtonFlags split into HildonButtonArrangement (to set the
6433 button layout) and HildonSizeType (which can be used for any
6436 * src/hildon-button.h
6437 * src/hildon-button.c
6438 (hildon_button_class_init)
6439 (hildon_button_set_arrangement)
6440 (hildon_button_set_property): New "size-flags"
6441 property. "arrangement-flags" renamed to "arrangement".
6442 (hildon_button_new, hildon_button_new_with_text)
6443 (hildon_button_new_full): Constructors updated to reflect type changes.
6445 * src/hildon-helper.h
6446 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6447 to set the size of a widget.
6451 * src/hildon-button-helpers.c
6452 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6454 * src/hildon-date-button.c
6455 * src/hildon-date-button.h
6456 * src/hildon-picker-button.c
6457 * src/hildon-picker-button.h
6458 * src/hildon-time-button.c
6459 * src/hildon-time-button.h: Updated widgets to reflect
6460 HildonButton API changes.
6462 * examples/hildon-button-example.c
6463 * examples/hildon-date-button-example.c
6464 * examples/hildon-picker-button-example.c
6465 * examples/hildon-picker-button-multicolumn-example.c
6466 * examples/hildon-time-button-example.c
6467 * examples/hildon-touch-selector-entry-example.c
6468 * examples/hildon-touch-selector-example.c: Updated examples to
6469 reflect HildonButton API changes.
6471 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6473 * doc/hildon-docs.sgml:
6475 * examples/Makefile.am:
6476 * examples/hildon-touch-selector-entry-example.c:
6478 * src/hildon-touch-selector-entry.c:
6479 * src/hildon-touch-selector-entry.h:
6482 Moved HildonTouchSelectorEntry from sandbox. Added its
6483 documentation and examples.
6485 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6487 * src/hildon-touch-selector.h:
6488 * examples/hildon-picker-button-multicolumn-example.c:
6489 (hildon_touch_selector_append_text_column): Add a gboolean
6490 parameter to determine if text must be centered in the column.
6492 * src/hildon-date-selector.c: (hildon_date_selector_init):
6493 * src/hildon-time-selector.c: (hildon_time_selector_init):
6494 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6495 (create_touch_selector): Update widgets and example to reflect
6498 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6500 * src/hildon-touch-selector.c:
6501 (hildon_touch_selector_set_active_iter): Set also the cursor in
6504 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6506 * doc/hildon-docs.sgml
6509 * src/hildon-toggle-button.c
6510 * src/hildon-toggle-button.h
6511 * src/hildon.h: Removed HildonToggleButton widget, a derived
6512 class is not necessary for this.
6514 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6516 * src/hildon-pannable-area.c,
6517 (hildon_pannable_area_realize),
6518 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6521 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6523 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6524 "done" button the default widget for the dialog.
6526 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6528 * src/hildon-touch-selector.c:
6529 (hildon_touch_selector_class_init),
6530 (hildon_touch_selector_get_property),
6531 (_hildon_touch_selector_set_model),
6532 (_hildon_touch_selector_has_multiple_selection),
6533 (hildon_touch_selector_has_multiple_selection):
6534 Add a "has-multiple-selection" property with a virtual
6535 has_multiple_selection() method to allow derived classes to
6536 override the default value for it. See the method and property
6537 documentation for details.
6539 * src/hildon-touch-selector.h: Add the new API.
6541 * src/hildon-picker-dialog.c: (requires_done_button): Call
6542 hildon_touch_selector_has_multiple_selection() instead of
6543 determining the need for a button itself.
6545 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6547 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6548 (_hildon_touch_selector_set_model),
6549 (hildon_touch_selector_set_model): Move working code to
6550 _hildon_touch_selector_set_mode(). Call the class method instead.
6552 * src/hildon-touch-selector.h: Add (*set_model) to
6553 HildonTouchSelectorClass.
6555 Make hildon_touch_selector_set_model() a virtual method, so that
6556 derived classes can extend it and do fancy stuff with the model.
6558 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6560 * configure.ac: Set back the tarname in AC_INIT to hildon.
6562 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6566 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6567 instead of libesd (NB#86876). Volume handling is still an open issue.
6569 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6572 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6574 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6575 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6576 derived class to ease placement of an entry widget in
6577 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6578 end, where the selector columns are packed now.
6580 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6582 * src/hildon-picker-button.c: Removed the simple _text() API.
6583 * src/hildon-picker-button.h: Likewise.
6585 * src/hildon-touch-selector.h:
6586 * src/hildon-touch-selector.c:
6587 (hildon_touch_selector_new_text),
6588 (hildon_touch_selector_append_text),
6589 (hildon_touch_selector_prepend_text),
6590 (hildon_touch_selector_insert_text):
6592 Moved the simple _text() API from HildonPickerButton to
6593 HildonTouchPicker, to provide better escalability and not to tie
6594 that API to HildonPickerButton.
6596 * examples/hildon-picker-button-example.c: (main): Example updated.
6598 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6600 * src/hildon-button.c: Updated documentation.
6602 * examples/hildon-button-example.c: Add the posibility to create
6603 the buttons using horizontal layout for title and value.
6605 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6607 * src/hildon-app-menu-private.h
6608 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6609 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6610 GtkSizeGroup for the filters, use the 'homogeneous' property of
6613 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6615 * examples/hildon-button-example.c: Updated example.
6617 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6619 * doc/hildon-docs.sgml:
6622 Update documentation.
6624 * examples/Makefile.am: Update renamed examples.
6626 * examples/hildon-picker-button-multicolumn-example.c:
6627 (create_touch_selector), (main): Update after the rename.
6629 * examples/hildon-touch-picker-example.c: Removed.
6630 * examples/hildon-touch-selector-example.c: (value_changed),
6631 (create_selector), (get_visible_content), (main): Renamed from
6632 hildon-touch-picker-example.c
6634 * src/Makefile.am: Updated renamed files.
6636 * src/hildon-date-button.c: (hildon_date_button_init),
6637 (hildon_date_button_get_date), (hildon_date_button_set_date):
6638 * src/hildon-date-selector.c: (hildon_date_selector_init),
6639 (_custom_print_func), (_update_day_model),
6640 (_manage_selector_change_cb),
6641 (hildon_date_selector_select_current_date),
6642 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6643 * src/hildon-date-selector.h:
6644 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6645 (hildon_picker_button_set_property),
6646 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6647 (hildon_picker_button_init), (hildon_picker_button_new_text),
6648 (hildon_picker_button_append_text),
6649 (hildon_picker_button_prepend_text),
6650 (hildon_picker_button_insert_text),
6651 (hildon_picker_button_set_selector),
6652 (hildon_picker_button_get_selector):
6653 * src/hildon-picker-button.h:
6654 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6655 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6656 (_update_title_on_selector_changed_cb), (requires_done_button),
6657 (_hildon_picker_dialog_set_selector),
6658 (hildon_picker_dialog_set_selector),
6659 (hildon_picker_dialog_get_selector):
6660 * src/hildon-picker-dialog.h:
6661 * src/hildon-time-button.c: (hildon_time_button_init),
6662 (hildon_time_button_get_time), (hildon_time_button_set_time):
6663 * src/hildon-time-selector.c: (hildon_time_selector_init),
6664 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6665 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6666 * src/hildon-time-selector.h:
6669 Massive code updates after the rename.
6671 * src/hildon-touch-picker.c: Removed.
6672 * src/hildon-touch-picker.h: Removed.
6674 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6675 (hildon_touch_selector_init), (hildon_touch_selector_map),
6676 (hildon_touch_selector_remove), (_default_print_func),
6677 (_selection_changed_cb), (_create_new_column),
6678 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6679 (hildon_touch_selector_append_text_column),
6680 (hildon_touch_selector_remove_column),
6681 (hildon_touch_selector_set_column_attributes),
6682 (hildon_touch_selector_insert_column),
6683 (hildon_touch_selector_get_num_columns),
6684 (hildon_touch_selector_get_column_selection_mode),
6685 (hildon_touch_selector_set_column_selection_mode),
6686 (hildon_touch_selector_set_print_func),
6687 (hildon_touch_selector_get_print_func),
6688 (hildon_touch_selector_get_active_iter),
6689 (hildon_touch_selector_set_active_iter),
6690 (hildon_touch_selector_get_selected_rows),
6691 (hildon_touch_selector_get_model),
6692 (hildon_touch_selector_set_model),
6693 (hildon_touch_selector_get_current_text),
6694 (_hildon_touch_selector_center_on_selected_items):
6695 * src/hildon-touch-selector.h: Renamed from
6696 hildon-touch-picker.[ch]
6698 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6699 references, code examples, and related documentation.
6701 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6703 * doc/hildon-docs.sgml
6706 * src/hildon-toggle-button.c
6707 * src/hildon-toggle-button.h
6708 * src/hildon.h: New HildonToggleButton widget.
6710 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6712 * src/hildon-button.c: Add API documentation.
6713 (hildon_button_set_size_groups): Check input parameters
6715 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6717 * src/hildon-pannable-area.c
6718 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6719 effect after reaching the movement thredshold. This way we start
6720 using the distance after passing the thredshold.
6722 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6724 * src/hildon-button.c: (hildon_button_set_property): Use the
6725 appropriate g_value_get_flags() method.
6727 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6729 * doc/hildon-docs.sgml:
6732 Add the touch pickers, picker dialogs, and picker button widgets
6733 to the documentation.
6735 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6737 * src/hildon-button.c: (hildon_button_set_property),
6738 (hildon_button_class_init): Make "arrangement-flags" a proper
6739 G_TYPE_FLAGS derived property.
6741 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6743 * examples/Makefile.am: Add below examples.
6744 * examples/hildon-date-button-example.c:
6745 * examples/hildon-picker-button-example.c:
6746 * examples/hildon-picker-button-multicolumn-example.c:
6747 * examples/hildon-time-button-example.c:
6748 * examples/hildon-touch-picker-example.c:
6750 Add examples for the recently added touch pickers,
6751 picker dialogs, and picker button widgets.
6753 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6755 * src/hildon-button.c: Add some API documentation
6757 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6759 * src/hildon-button.h
6760 * src/hildon-button.c
6762 (hildon_button_new_with_text): New constructor to create a button
6763 with no text at all.
6764 (hildon_button_init, hildon_button_set_arrangement)
6765 (hildon_button_set_title, hildon_button_set_value)
6766 (hildon_button_set_text)
6767 (hildon_button_construct_child): Hide the value when it's not used
6768 so the rest of the text is properly aligned.
6769 Allow creating buttons with arbitrary widgets inside (not just
6770 title/value labels).
6772 * examples/hildon-button-example.c (vertical_buttons_window)
6773 (horizontal_buttons_window): Update example to use new API.
6775 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6777 * src/Makefile.am: Added HildonTimeButton.
6778 * src/hildon-time-button.c: Added missing LGPL header.
6779 * src/hildon-time-button.h: Added missing LGPL header.
6780 * src/hildon.h: Add hildon-time-button.h
6782 Copied HildonTimeButton from sandbox to trunk. Future work on this
6783 widget must take place in trunk.
6785 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6787 * src/Makefile.am: Added HildonDateButton.
6788 * src/hildon-date-button.c: Update includes.
6789 * src/hildon.h: Add hildon-date-button.h
6791 Copied HildonDateButton from sandbox to trunk. Future work on this
6792 widget must take place in trunk.
6794 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6796 * src/Makefile.am: Added HildonPickerButton.
6797 * src/hildon-picker-button.h: Update includes.
6798 * src/hildon.h: Add hildon-picker-button.h
6800 Copied HildonPickerButton from sandbox to trunk. Future work on
6801 this widget must take place in trunk.
6803 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6805 * src/Makefile.am: Added HildonPickerDialog.
6806 * src/hildon-picker-dialog.c: Update includes.
6807 * src/hildon.h: Add hildon-picker-dialog.h
6809 Copied HildonPickerDialog from sandbox to trunk. Future work
6810 on this widget must take place in trunk.
6812 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6814 * src/Makefile.am: Added HildonTimeSelector.
6815 * src/hildon.h: Add hildon-time-selector.h
6817 Copied HildonTimeSelector widget from sandbox to trunk. Future
6818 work on this widget must happen in trunk.
6820 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6822 * src/Makefile.am: Added HildonDateSelector.
6823 * src/hildon.h: Add hildon-date-selector.h
6825 Copied HildonDateSelector widget from sandbox to trunk. Future
6826 work on this widget must happen in trunk.
6828 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6830 * src/Makefile.am: Added HildonTouchPicker.
6831 * src/hildon-touch-picker.c: Update includes.
6832 * src/hildon.h: Add hildon-touch-picker.h
6834 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6835 on this widget must happen in trunk.
6837 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6839 * src/hildon-pannable-area.c:
6840 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6842 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6844 * examples/hildon-app-menu-example.c (main): Let the window
6847 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6849 * src/hildon-pannable-area.c
6850 (hildon_pannable_area_class_init): Set the min value of the
6851 overshoot properties to zero, which points out that not
6852 overshooting allowed.
6854 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6856 Modified the procedure to get the widget at a point inside the
6857 pannable area when using the movement type signals. Now the user
6858 has to call a function to get the child, that way we just
6859 calculate the child in case the user really want to use it and not
6862 * src/hildon-marshalers.list: Modified the marshallers, now we do
6863 not have the widget as a parameter.
6865 * src/hildon-pannable-area.c
6866 (hildon_pannable_area_motion_notify_cb),
6867 (hildon_pannable_area_class_init),
6868 (hildon_pannable_get_child_widget_at): Removed the widget
6869 parameter from the signal callback. We have also refactored the
6870 emission of the signals.
6872 * src/hildon-pannable-area.h: Added a new method to the API to
6873 calculate a widget at a point inside the pannable area,
6874 hildon_pannable_get_child_widget_at.
6876 * examples/hildon-pannable-area-example-4.c
6877 (horizontal_movement): Modified the example to use the new API,
6878 added condition to control which widget is under the event. This
6879 way we can avoid scrolling laterally over other widgets.
6881 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6883 * src/hildon-pannable-area.c
6884 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6885 modes, we stop getting the pointer events due to returning the
6886 callback without properly calling the get pointer again. Fixed
6887 also an error using the hscroll and vscroll.
6889 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6891 * src/hildon-app-menu-private.h
6892 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6893 (hildon_app_menu_button_release, hildon_app_menu_init)
6894 (hildon_app_menu_class_init): Don't hide the menu on button
6895 release if the user didn't press outside first.
6897 * src/hildon-window.h
6898 * src/hildon-window.c (hildon_window_toggle_menu)
6899 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6900 hildon_window_toggle_menu a virtual function for the stackable
6901 window to override it.
6903 * src/hildon-stackable-window.h
6904 * src/hildon-stackable-window-private.h
6905 * src/hildon-stackable-window.c
6906 (hildon_stackable_window_realize)
6907 (hildon_stackable_window_finalize)
6908 (hildon_stackable_window_class_init)
6909 (hildon_stackable_window_init)
6910 (hildon_stackable_window_set_main_menu): New function to set the
6911 app menu of a HildonStackableWindow.
6913 * examples/hildon-app-menu-example.c: Remove the button to show
6914 the app menu, now it'll be shown when clicking on the title bar
6917 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6919 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6920 set the widget name if the arrangement flags do not specify
6923 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6925 * src/hildon-button.c: (hildon_button_set_property),
6926 (hildon_button_class_init), (hildon_button_new_full),
6927 (hildon_button_set_arrangement): Added "arrangement-flags"
6930 Make the HildonButtonFlags a construction-only property, to allow
6931 subclasses to set them properly.
6933 2008-07-21 Tim Janik <timj@imendio.com>
6935 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6936 insertion position after backspace, so additional digits are appended,
6939 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6941 * src/hildon-pannable-area.c,
6942 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6943 TODO list, it was complete and removed the g_debug and g_print
6946 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6948 Added the movement modes to the hildon-pannable-area, with this
6949 modes the developers can control in which directions the widget
6950 can scroll. They can also connect to signals in order to do
6951 something when that happens, allowing applications scroll. There
6952 is an example uploaded showing how to use it.
6954 * examples/Makefile.am:
6955 * examples/hildon-pannable-area-example-4.c: Added this example of
6956 an application using the modes.
6958 * src/hildon-marshalers.list: Added a new marshaller for the new
6961 * src/hildon-pannable-area.h: Added new enumerations and flags in
6962 order to control the movement modes and the new signals to warn
6963 about the movements in the area.
6965 * src/hildon-pannable-area.c:
6966 (hildon_pannable_axis_scroll),
6967 (hildon_pannable_area_scroll),
6968 (hildon_pannable_area_motion_notify_cb),
6969 (hildon_pannable_area_get_property),
6970 (hildon_pannable_area_set_property),
6971 (hildon_pannable_area_map),
6972 (hildon_pannable_area_class_init),
6973 (hildon_pannable_area_init),
6974 (hildon_pannable_area_jump_to): Added the modes to control the
6975 movement in the widget. We have added properties to control it,
6976 signals to warn about the movements and refactored some code.
6978 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6980 Changes required in order to allow vfast_factor set to zero to
6983 * src/hildon-pannable-area.c:
6984 (hildon_pannable_area_button_press_cb): Changed the condition, it
6985 is required for not allowing click when vfast_factor is zero.
6986 (hildon_pannable_area_timeout): Initialized velocity variables
6987 when we stop moving, it was less than 1 but not zero and we need
6988 to check zero in some situations.
6989 (hildon_pannable_area_class_init): Changed the default value of
6990 the speed factor, now the button_press is just sent in case the
6991 speed is 2 per cent of the max speed.
6992 (hildon_pannable_area_init): Initialization with 0.
6994 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6996 * src/hildon-pannable-area.c,
6997 (hildon_pannable_area_get_topmost): replaced
6998 gdk_window_get_children with gdk_window_peek_children, this way we
6999 do not have to free the list because it is not a copy.
7001 (hildon_pannable_axis_scroll),
7002 (hildon_pannable_area_scroll),
7003 (hildon_pannable_area_timeout),
7004 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7005 two parameters that were only used inside the
7006 hildon_pannable_area_scroll function.
7008 * examples/hildon-pannable-area-example.c,
7009 (get_sawtooth_label): Fixed small memory leak.
7011 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7013 More checks for the case where the overshoot is bigger than the
7016 * src/hildon-pannable-area.c:
7017 (hildon_pannable_draw_vscroll),
7018 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7019 to draw the slider of the scrollbar under the other scrollbar.
7020 (hildon_pannable_area_expose_event): added new checks to control
7021 the drawing of the overshooting area rectangle, in case it is too
7022 big for the area of the widget.
7023 (hildon_pannable_area_size_allocate): add more checks to avoid
7024 setting a position to the child widget outside the area.
7026 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7028 * src/hildon-pannable-area.c
7029 (hildon_pannable_area_size_allocate): Added conditions to control
7030 when overshooting is bigger than the allocated space for the
7031 children, this avoids negative allocations.
7033 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7035 * doc/hildon-docs.sgml
7037 * examples/Makefile.am
7038 * examples/hildon-button-example.c
7040 * src/hildon-button.c
7041 * src/hildon-button.h
7042 * src/hildon.h: Initial version of the new HildonButton widget,
7045 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7047 * src/hildon-pannable-area.c:
7048 (hildon_pannable_area_button_press_cb),
7049 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7050 (hildon_pannable_area_motion_notify_cb),
7051 (hildon_pannable_area_button_release_cb),
7052 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7053 (hildon_pannable_area_jump_to_child):
7055 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7057 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7059 * examples/Makefile.am
7060 * examples/hildon-pannable-area-touch-grid-example.c
7061 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7062 the Hildon Touch List and Hildon Touch Grid using the
7063 HildonPannableArea widget.
7065 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7067 * src/hildon-pannable-area.c,
7068 (hildon_pannable_area_button_press_cb),
7069 (hildon_pannable_area_refresh),
7070 (hildon_pannable_area_scroll),
7071 (hildon_pannable_area_motion_notify_cb),
7072 (hildon_pannable_area_button_release_cb),
7073 (hildon_pannable_area_expose_event),
7074 (hildon_pannable_area_add),
7075 (hildon_pannable_area_remove),
7076 (hildon_pannable_area_realize),
7077 (hildon_pannable_area_size_allocate),
7078 (hildon_pannable_area_class_init),
7079 (hildon_pannable_area_init),
7080 (hildon_pannable_area_scroll_to_child),
7081 (hildon_pannable_area_jump_to_child): Fixed the problem of
7082 removing the child from the GtkBin, we have rearranged the widget
7083 hierarchy, now there is no GtkAlignment which was not doing
7084 anything interesting but breaking some of the assumptions of
7085 GtkContainer. Now developers if they want to add a GtkAlignment
7086 they could, but it is not inside the area.
7088 We had to review the whole allocation/expose process, now it is
7089 improved and we save at least three signals which would be saving
7090 some time when rendering the widget. The allocation of the
7091 scrollbars is now made in the allocate method as usual.
7093 We have also added some conditions in order to control when there
7094 is no child of the pannable area. Maybe we will need more work
7097 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7099 * src/hildon-pannable-area.c,
7100 (hildon_pannable_area_dispose): Released the fade-out timeout when
7101 disposing the widget.
7103 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7105 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7106 zero, we are going to use that property in order to deactivate the
7108 (hildon_pannable_axis_scroll),
7109 (hildon_pannable_area_size_allocate): Added conditions to control
7110 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7111 call, now it is called in all situations and we can remove calls
7112 in the allocate method.
7113 (hildon_pannable_area_map): Control the situation when
7114 overshoot_max is zero, we do not need the timeout.
7115 (hildon_pannable_area_class_init): Added documentation in order to
7116 point out that setting zero to overshoot_max means deactivate
7119 NOTE: removed trailing whitespaces from my previous comments of
7122 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7124 * src/hildon-pannable-area.c
7125 (hildon_pannable_area_get_property),
7126 (hildon_pannable_area_set_property),
7127 (hildon_pannable_area_map),
7128 (hildon_pannable_area_class_init),
7129 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7130 to cause the widget give a hint about its panning abilities upon
7133 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7135 * src/hildon-pannable-area.c: Several documentation improvements.
7137 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7139 * src/hildon-program.c
7140 * src/hildon-stackable-window.c: Update documentation.
7142 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7144 * src/hildon-stackable-window.c (get_previous_window_if_last):
7145 Renamed get_last_window()
7146 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7147 (hildon_stackable_window_unset_program):
7149 (get_previous_window_if_last):
7150 Detect if the window hasn't been added to a HildonProgram.
7152 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7154 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7156 * src/hildon-pannable-area.c
7157 (hildon_pannable_area_button_press_cb),
7158 (hildon_pannable_axis_scroll),
7159 (hildon_pannable_area_scroll),
7160 (hildon_pannable_area_timeout),
7161 (hildon_pannable_calculate_vel_factor),
7162 (hildon_pannable_area_get_property),
7163 (hildon_pannable_area_set_property),
7164 (hildon_pannable_area_class_init),
7165 (hildon_pannable_area_init),
7166 (hildon_pannable_area_scroll_to),
7167 (hildon_pannable_area_jump_to),
7168 (hildon_pannable_area_scroll_to_child),
7169 (hildon_pannable_area_jump_to_child):
7170 * src/hildon-pannable-area.h: Added the new API functions:
7171 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7172 hildon_pannable_area_scroll_to_child,
7173 hildon_pannable_area_jump_to_child
7176 * examples/Makefile.am
7177 * examples/hildon-pannable-area-example-2.c
7178 * examples/hildon-pannable-area-example-3.c: Added these two new
7179 examples in order to test and show how the new APIs work.
7181 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7183 * examples/hildon-stackable-window-example.c (new_window):
7184 * src/Makefile.am (noinst_HEADERS):
7185 * src/hildon-program.c (hildon_program_go_to_root_window):
7186 * src/hildon-program.h:
7187 * src/hildon-stackable-window-private.h:
7188 * src/hildon-stackable-window.c:
7189 * src/hildon-stackable-window.h:
7190 Create hildon-stackable-window-private.h
7191 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7193 * examples/hildon-app-menu-example.c (create_menu):
7194 * examples/hildon-hvolumebar-insensitive-example.c (main):
7195 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7196 * examples/hildon-toolbar-seekbar-example.c (main):
7197 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7198 * src/hildon-banner.c (hildon_banner_set_property):
7199 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7200 Fix compilation warnings
7202 * src/hildon-window.c:
7205 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7207 * src/hildon-stackable-window.c
7208 (hildon_stackable_window_unset_program):
7209 Calculate correctly whether to show the previous window if the
7210 last one is removed from the stack.
7211 (hildon_stackable_window_go_to_root_window):
7212 Send delete events starting from the topmost window.
7213 Stop if one of the windows is not destroyed.
7215 (hildon_stackable_window_delete_event)
7216 (hildon_stackable_window_class_init):
7217 Ignore the delete event if the window is not the topmost one.
7219 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7221 * src/hildon-pannable-area.c
7222 (hildon_pannable_area_expose_event): Fixed a problem when
7223 selecting the background color of the scrollbars.
7225 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7227 * examples/hildon-stackable-window-example.c
7228 * src/hildon-stackable-window.c
7229 * src/hildon-stackable-window.h
7230 hildon_stackable_window_go_home() renamed to
7231 hildon_stackable_window_go_to_root_window()
7232 Send delete events to windows rather than closing them with
7233 gtk_widget_destroy()
7235 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7237 * src/hildon-pannable-area.c
7238 (hildon_pannable_area_button_release_cb): Fix overshooting in
7241 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7243 * src/hildon-pannable-area.c
7244 (hildon_pannable_area_init): Initially show the scroll indicators.
7245 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7247 Add initial effect showing the widget is pannable.
7249 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7251 * src/hildon-pannable-area.c
7252 (hildon_pannable_area_class_init)
7253 (hildon_pannable_area_set_property)
7254 (hildon_pannable_area_get_property)
7255 (hildon_pannable_area_button_press_cb):
7256 New 'velocity_fast_factor' property to decide which velocity is
7259 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7261 * src/hildon-pannable-area.c
7262 (hildon_pannable_draw_hscroll)
7263 (hildon_pannable_draw_vscroll):
7264 Use float variables to calculate the size of the scrollbars to
7265 avoid error propagation and resizing during scrolling.
7267 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7269 * src/hildon-pannable-area.c
7270 (hildon_pannable_draw_vscroll)
7271 (hildon_pannable_draw_hscroll):
7272 Define a minimum size for the scroll bars
7274 * src/hildon-stackable-window.c
7275 (hildon_stackable_window_go_home): Fix compilation warning
7276 (get_last_window): Minor optimizations
7277 (hildon_stackable_window_class_init): Fix initialization of
7280 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7282 * src/hildon-stackable-window.c: Fixed typos in doc
7284 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7286 * src/hildon-pannable-area.c
7287 (hildon_pannable_area_scroll):
7288 Calculate here whether we need to scroll instead of using the booleans
7289 that tell us whether to /draw/ the scrolling bars.
7291 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7293 * src/hildon-app-menu.h
7295 * src/hildon-app-menu.c
7296 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7297 multiple filter groups related code and API. Now we support only
7299 * examples/hildon-app-menu-example.c:
7301 Update to reflect API changes.
7303 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7305 * src/hildon-stackable-window.c
7306 (hildon_stackable_window_class_init):
7307 Add hildon_stackable_window_realize.
7308 (hildon_stackable_window_realize):
7309 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7310 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7311 to apply theming and behavior specific to HildonStackableWindow
7314 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7316 * src/hildon-note.c (hildon_note_button_release):
7317 Close information notes also when tapping on them
7319 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7321 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7322 ELASTICITY, refactor and review, fix some issues with drawing
7325 * src/hildon-pannable-area.c:
7326 (hildon_pannable_area_button_press_cb): removed the conditions to
7327 avoid clicks when overshooting. It is not required
7329 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7330 define. Refatored and reviewed the code, now we do not need to
7331 manage velocity in motion_notify.
7333 (hildon_pannable_area_motion_notify_cb): We have moved the code
7334 that controls the area_scroll to the axis_scroll function and get
7335 rid of duplicated code.
7337 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7339 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7341 (hildon_pannable_draw_vscroll),
7342 (hildon_pannable_draw_hscroll): Fixed the problems with the
7343 scrollbar drawing, now we do not use two surfaces, it is easier
7344 and saves resources.
7346 (hildon_pannable_area_get_property): Style modification.
7348 (hildon_pannable_area_class_init): Changed some default values.
7350 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7352 * src/hildon-stackable-window.c: Fix some typos in the
7355 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7357 * src/hildon-dialog.c:
7358 Change indentation style
7361 (hildon_note_button_release):
7362 Use root coordinates to check if the release event happened
7365 * src/hildon-app-menu.c
7366 (hildon_app_menu_button_release):
7367 Remove unnecessary check
7369 * examples/hildon-app-menu-example.c
7371 Add cast to fix warning
7373 * src/hildon-app-menu.c
7374 (hildon_app_menu_class_init):
7375 New inner-border style property.
7376 Set all default spacings to 16
7377 (hildon_app_menu_init):
7378 Use vertical-spacing to set the space between filter buttons and
7379 regular menu buttons.
7380 Set the default container border using the inner-border value.
7382 * examples/hildon-app-menu-example.c
7384 Don't set the menu border explicitly, now we have the inner-border
7385 style property for that.
7387 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7389 * src/hildon-app-menu.c (hildon_app_menu_init):
7390 Make the window modal
7392 * src/hildon-note.c (hildon_note_map)
7393 * src/hildon-app-menu.c (hildon_app_menu_map):
7394 Destroy the grab window if we're unable to grab the pointer
7396 * src/hildon-app-menu-private.h
7397 * src/hildon-app-menu.c
7398 (hildon_app_menu_init, hildon_app_menu_finalize)
7399 (hildon_app_menu_map, hildon_app_menu_unmap)
7400 (hildon_app_menu_button_release)
7401 (grab_transfer_window_get):
7402 Bring back the grab window
7403 (hildon_app_menu_realize):
7404 Decorate the window, set WM hint for Matchbox
7406 * src/hildon-note.c (hildon_note_realize):
7407 * src/hildon-banner.c (hildon_banner_realize):
7408 Add WM hints for Matchbox
7410 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7412 * src/hildon-app-menu-private.h
7413 * src/hildon-app-menu.c
7414 (hildon_app_menu_init, hildon_app_menu_finalize)
7415 (hildon_app_menu_map, hildon_app_menu_unmap)
7416 (hildon_app_menu_button_release):
7417 Remove the grab window, it's not needed anymore
7419 * src/hildon-program.c
7420 Fixed typo in documentation
7422 * src/hildon-app-menu.h
7423 * src/hildon-app-menu.c
7424 * examples/hildon-app-menu-example.c
7425 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7427 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7430 Added new transfer_window and close_if_pressed_outside private
7432 (hildon_note_rebuild):
7433 Don't add a cancel button to the information note. It will be
7434 closed when tapping outside
7435 Remove the comment about the OK button in the documentation
7436 (hildon_note_realize):
7437 Set the notification type hint
7438 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7439 Grab/ungrab pointer and keyboard if the note has to be closed when
7441 (hildon_note_button_release):
7442 Close the note when tapping outside (if applicable)
7444 * src/hildon-app-menu.c
7445 Grab/ungrab pointer and keyboard on map/unmap
7446 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7447 Close the menu on button release, not button press
7449 * src/hildon-banner.c
7450 (hildon_banner_set_property)
7451 (hildon_banner_check_position):
7452 Make the banner use the full width of the screen
7453 (hildon_banner_show_information)
7454 (hildon_banner_show_information_with_markup):
7455 Don't display an icon by default
7457 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7459 Added fading scrollbars and adapted all the overshooting code to
7460 horizontal scrolling. We have also fixed bugs with overshooting
7461 and current fading implementation.
7463 * src/hildon-pannable-area.c
7464 (hildon_pannable_area_scroll_indicator_fade): Time out function
7465 used to change the transparency of the scrollbars.
7467 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7468 control and fixed a problem with fading, we now remove the fade
7469 timeout before adding a new one.
7471 (hildon_pannable_axis_scroll):
7472 (hildon_pannable_area_scroll):
7473 (hildon_pannable_area_timeout): Added this functions so we can use
7474 the scroll code both for vertical and horizontal.
7476 (hildon_pannable_area_motion_notify_cb):
7477 (hildon_pannable_area_button_release_cb): Added the horizontal
7478 scrolling control, fixed a problem with the overshooting timeout.
7480 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7481 painting of the scrolls.
7483 (hildon_pannable_draw_vscroll):
7484 (hildon_pannable_draw_hscroll):
7485 (hildon_pannable_area_expose_event):
7486 Draw both scrollbars and rectangles in the overshooting area.
7488 (hildon_pannable_area_get_property):
7489 (hildon_pannable_area_set_property):
7490 Modified the overshoot property to overshoot_max
7492 (hildon_pannable_area_map):
7493 Replaced the comments symbols.
7495 (hildon_pannable_area_size_allocate):
7496 (hildon_pannable_area_class_init):
7497 (hildon_pannable_area_init): Added horizontal scroll, fading
7498 effect properties, fixed a problem when overshooting in the bottom
7501 * examples/hildon-pannable-area-example.c:
7502 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7503 looks better in the example.
7505 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7507 * src/hildon-window.c
7508 * src/hildon-window.h
7509 (hildon_window_class_init)
7510 (hildon_window_unset_program)
7511 (hildon_window_unset_program_real):
7512 Make unset_program a virtual function
7514 * src/hildon-stackable-window.c
7515 * src/hildon-stackable-window.h
7516 Added hildon_stackable_window_go_home()
7518 * examples/Makefile.am
7519 * examples/hildon-stackable-window-example.c
7520 HildonStackableWindow example
7522 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7524 * hildon-pannable-area.c: Added the overshoot property and removed
7525 the OVERSHOOT define. Fixed an indent style error.
7526 (hildon_pannable_area_motion_notify_cb):
7527 (hildon_pannable_area_get_property):
7528 (hildon_pannable_area_set_property): Add overshoot property.
7530 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7533 (hildon_pannable_area_class_init): Installed the new property.
7535 * hildon-pannable-area-example.c: Added a sawtooth function, this
7536 way it is easier to check the movement in the pannable.
7537 (get_sawtooth_label): Added this function.
7538 (main): Now we get the labels from the new get_sawtooth_label
7541 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7543 * src/hildon-app-menu.h
7544 * src/hildon-app-menu.c
7545 Renamed API variables for consistency
7547 (hildon_app_menu_popup): Use also the default window size to
7548 decide where to place the menu
7550 (hildon_app_menu_init, hildon_app_menu_class_init): New
7551 external-border style property
7553 2008-05-26 Michael Natterer <mitch@imendio.com>
7555 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7556 widget_class->tap_and_hold_setup signal slot doesn't exist any
7557 longer, stop overriding it.
7559 (hildon_time_editor_init): g_signal_connect() to the
7560 tap-and-hold-setup signal instead.
7562 (hildon_time_editor_entry_keypress): add cast to fix warning.
7564 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7566 * doc/hildon-docs.sgml
7568 * examples/Makefile.am
7569 * examples/hildon-app-menu-example.c
7571 * src/hildon-app-menu-private.h
7572 * src/hildon-app-menu.c
7573 * src/hildon-app-menu.h
7575 New HildonAppMenu widget
7577 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7579 Rearranged the inheritance of the pannable area, now it inherits
7580 from GtkBin. This will allow us to control the event_window and
7581 the allocation process of the widget, required for some effects.
7583 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7584 GtkBin structures. * src/hildon-pannable-area.c: Added the
7585 event_window variable.
7586 (hildon_pannable_area_button_press_cb):
7587 (hildon_pannable_area_button_release_cb):
7588 (hildon_pannable_area_motion_notify_cb):
7589 Changed the signature of the method, now we override the event
7590 callback instead of connecting to the signal.
7592 (hildon_pannable_area_realize):
7593 (hildon_pannable_area_unrealize):
7594 (hildon_pannable_area_map):
7595 (hildon_pannable_area_unmap):
7596 (hildon_pannable_area_size_allocate):
7597 Added functions to control the widget construction. We add a
7598 INPUT_ONLY window and we put it over the widgets inside the
7599 container, this event_window handles the events.
7601 (hildon_pannable_area_class_init):
7602 Replaced the signal connections with overrides of the event
7605 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7607 Bouncing effect added when touching the borders, you can change
7608 the elasticity of the border changing the ELASTICITY define.
7610 * src/hildon-pannable-area.c: Added ELASTICITY define.
7611 (hildon_pannable_area_timeout): Added inverse velocity when
7612 touching the border of the child widget, that causes a bounce.
7614 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7616 Improved performance, we now do not go to the X server in order to
7617 get the list of window children. Apparently the effect is the
7618 same, we have to be careful and check if this breaks something in
7621 * src/hildon-pannable-area.c:
7622 (get_ordered_children): Removed this function.
7623 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7624 the children windows function with gdk_window_get_children.
7626 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7628 * src/hildon-pannable-area.c:
7629 (hildon_pannable_area_dispose): Fixed a crash when closing the
7630 window and kinetics is activated.
7632 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7634 * src/hildon-pannable-area.h
7635 * src/hildon-pannable-area.c
7636 Changed indentation style to meet the one used in Hildon
7638 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7640 Reviewed the interaction of the AUTO mode, now we use the time
7641 attribute of the events and calculate the velocity in the motion,
7642 doing a gimp like calculation. The velocity is calculated in each
7643 motion event using the last velocity and the current one, the
7644 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7646 * src/hildon-pannable-area.c: Replaced the time based algorithm
7648 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7649 timeout for the AUTO mode when we are still moving the cursor. We
7650 added also the velocity calculation in this function.
7651 (hildon_pannable_area_button_release_cb): launch the timeout in
7652 case we are in AUTO mode. There are still some constants here that
7653 come from the old implementation that should be reviewed and
7656 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7658 * doc/hildon-docs.sgml
7661 * src/hildon-stackable-window.c
7662 * src/hildon-stackable-window.h
7664 New HildonStackableWindow widget
7666 * examples/hildon-dialog-example.c
7667 * examples/hildon-pannable-area-example.c
7670 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7672 * src/hildon-dialog.c
7673 (hildon_dialog_new_with_buttons): New constructor.
7675 * examples/hildon-dialog-example.c
7676 (main): Update the example to use the new
7677 hildon_dialog_new_with_buttons().
7679 * examples/hildon-pannable-area-example.c
7680 (main): Update example.
7682 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7684 * doc/hildon-docs.sgml
7686 Added HildonPannableArea to the documentation.
7688 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7690 * doc/visual_index.xml
7691 Fix reference to HildonLoginDialog in documentation
7693 * doc/hildon-docs.sgml
7695 * examples/Makefile.am
7696 * examples/hildon-dialog-example.c
7698 * src/hildon-dialog.c
7699 * src/hildon-dialog.h
7701 New HildonDialog widget.
7703 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7705 * src/hildon-pannable-area.c
7706 Merge latest changes (r4318, r4342) from libmokoui trunk
7708 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7710 * examples/Makefile.am
7711 * examples/hildon-pannable-area-example.c
7713 * src/hildon-pannable-area.c
7714 * src/hildon-pannable-area.h
7716 New HildonPannableArea widget.
7718 2008-04-15 18:05:19 <timj@imendio.com>
7720 * src/hildon-banner.c: revert the recent change, that introduced
7721 gtk_window_present() calls. this reopens:
7722 Bug 78481 - [freetest] information banners are hidden under browser menu
7723 But resolves another variant of:
7724 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7726 2008-04-15 13:21:13 <timj@imendio.com>
7728 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7729 recreated its layout, spotted by Kris. this fixes all remaining
7730 artefacts and stability issues with the banner code. in particular:
7731 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7733 2008-04-14 16:52:59 <timj@imendio.com>
7735 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7736 operating on unrealized widgets, fixes:
7737 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7739 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7741 2008-04-09 Kristian Rietveld <kris@imendio.com>
7743 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7744 makes banner disappear.
7745 Fixes: NB#79182: info banner flickering with certain message lengts.
7747 * src/hildon-banner.c (hildon_banner_constructor),
7748 (hildon_banner_init), (hildon_banner_set_text),
7749 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7750 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7751 FALSE, reset size requests of label and banner,
7752 (force_to_wrap_truncated): when the text is too wide, always enforce
7753 the maximum possible width instead of recalculating it from the
7754 layout; enforce the maximum banner height of 3 lines,
7755 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7756 nicer wrapping and no truncated chars if space gets tight.
7758 * src/hildon-banner-private.h: add has_been_wrapped and
7759 has_been_truncated fields.
7761 2008-04-07 Sven Herzberg <sven@imendio.com>
7763 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7764 local values in hildon_date_editor_size_allocate
7766 * src/hildon-date-editor.c: moved the real allocation code into the
7769 2008-04-07 Sven Herzberg <sven@imendio.com>
7771 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7772 local values in hildon_date_editor_size_allocate
7774 * src/hildon-date-editor.c: merged the two if() branches together
7776 2008-04-07 Sven Herzberg <sven@imendio.com>
7778 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7779 local values in hildon_date_editor_size_allocate
7781 * src/hildon-date-editor.c: changed the arguments of the if()
7784 2008-04-07 Sven Herzberg <sven@imendio.com>
7786 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7787 local values in hildon_date_editor_size_allocate
7789 * src/hildon-date-editor.c: split the calculation of the allocation
7790 from the real allocation
7792 2008-03-27 Michael Natterer <mitch@imendio.com>
7794 Fixes: NB#81696: The passcode is not overwritten even after
7797 * src/hildon-code-dialog.c
7798 (hildon_code_dialog_button_clicked)
7799 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7800 because that doesn't overwrite selected text. Instead, emit the
7801 "commit" signal on the entry's im_context so the entry's normal
7802 insert logic is triggered. Set the cursor to the end of the entry
7803 after each insert operation so that we *only* insert in the middle
7804 of the text if something was selected.
7806 2008-03-27 Michael Natterer <mitch@imendio.com>
7808 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7809 selector cannot be opened
7811 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7812 when the popup color selector is created. Please connect to this
7813 signal in order to set the dialog's help ID.
7815 2008-03-25 Sven Herzberg <sven@imendio.com>
7817 Fixes: MB#1212: Hide info banners (infoprints) on click
7819 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7820 extracted the close event simulation into an extra function
7821 (hildon_banner_button_press_event): simulate a close event and destroy
7822 the widget if the event wasn't handled
7823 (hildon_banner_class_init): added the button_press_event handler
7824 (hildon_banner_init): added button-press events to the widget
7826 2008-03-25 Sven Herzberg <sven@imendio.com>
7828 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7829 Patch from: Mohammad Anwari <mdamt@maemo.org>
7831 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7832 instead of the right in RTL mode
7833 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7834 breadcrumb button list in RTL mode
7835 * src/hildon-caption.c: mirror the appearance of the caption widget in
7837 * src/hildon-date-editor.c: mirror appearance of the date editor in
7839 * src/hildon-time-editor.c: mirror appearance of the time editor in
7841 * src/hildon-window.c: fix the position of the popup in RTL mode
7843 2008-03-25 Sven Herzberg <sven@imendio.com>
7845 Amendment to the fix of NB#22072. Fix compilation.
7847 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7849 2008-03-19 Sven Herzberg <sven@imendio.com>
7851 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7854 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7855 timeout id properly when the timeout will disappear this leaves no
7856 artifacts around in the destroy(); there will only be the timeout
7857 created by hildon_banner_ensure_timeout() and adding a new timeout
7858 will also work if the timeout gets removed because the timeout_handler
7861 2008-03-19 Michael Natterer <mitch@imendio.com>
7863 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7865 * src/hildon-volumebar.c
7866 * src/hildon-vvolumebar.c
7867 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7868 the widget becomes focussable at all.
7870 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7871 set the focus to wither the mute button or the volumebar.
7873 Remove own "can-focus" property and instead listen to
7874 notify::can-focus in order to update the widget's state.
7876 Implement GtkWidget::focus() and make sure we can also *leave* the
7877 widget, not only enter it, depending on volumebar orientation and
7878 requested focus direction.
7880 Clean up set_mute() to cooperate nicely with all the above.
7882 2008-03-04 Michael Natterer <mitch@imendio.com>
7884 Fixes: NB#78481: information banners are hidden under browser menu
7886 * src/hildon-banner.c: call gtk_window_present() on the banners so
7887 they are risen if they are already visible.
7889 2008-03-03 Sven Herzberg <sven@imendio.com>
7891 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7893 * examples/hildon-window-menu-example.c: (main): extended the window
7894 menu example to serve as a testcase for automatically added
7895 accelerator groups, too
7896 * src/hildon-window.c: (hildon_window_add_accel_group),
7897 (hildon_window_set_menu): added patch by Tommi Komulainen
7899 2008-03-03 Sven Herzberg <sven@imendio.com>
7901 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7903 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7904 knowledge about the border allocators used within GTK+
7906 2008-02-26 Sven Herzberg <sven@imendio.com>
7908 Fixes: MB#2981: Build with asserts broken
7910 * src/hildon-date-editor.c,
7911 * src/hildon-number-editor.c,
7912 * src/hildon-time-editor.c,
7913 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7914 the proper GType instance check
7916 2008-02-25 Sven Herzberg <sven@imendio.com>
7918 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7920 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7921 * examples/hildon-window-menu-example.c: (main): explicitly show
7923 * src/hildon-window.c:
7924 (hildon_window_set_main_menu): moved most of the code from set_menu()
7925 to this place; skipped the call to gtk_widget_show_all(); also didn't
7926 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7927 (hildon_window_set_menu): removed most of the code, just keep the
7928 questionable gtk_widget_show_all()
7929 * src/hildon-window.h: added the new function and deprecate the old
7932 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7938 * debian/changelog: Updating.
7940 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7943 * pkgconfig/Makefile.am:
7944 * pkgconfig/hildon.pc.in:
7947 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7948 use newly created API_MAJOR_VERSION.
7950 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7956 * debian/changelog: Updating.
7958 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7960 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7962 Add outer_border style property, we use it but don't define it (!).
7966 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7968 * examples/hildon-bread-crumb-trail-example.c (main):
7972 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7974 Fix logic for the bread crumb trail node removal.
7978 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7984 * debian/changelog: Updating.
7986 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7988 Patch by Alejandro to get/set passwords dialogs accesibility.
7990 * hildon-1/src/hildon-get-password-dialog.c:
7991 * hildon-1/src/hildon-set-password-dialog.c:
7992 Set atk_set_name to the passwd entries in order to allow
7993 accessibility by name on this entries.
7995 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8000 * debian/control: Updating gtk dep.
8002 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8004 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8005 USE_MAEMO_GTK is enabled.
8007 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8009 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8010 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8012 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8018 * debian/changelog: Updating.
8020 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8022 * examples/Makefile.am:
8023 * examples/hildon-logical-color-example.c:
8024 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8025 applied + adding a test case. Fixes: NB#71660.
8027 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8029 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8030 to be visible, fixes warning on map for windows without toolbars.
8032 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8034 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8035 2.11.0, add a check for that besides the MAEMO_GTK check.
8037 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8043 * debian/changelog: Updating.
8045 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8047 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8048 visibility. Fixes: NB#70842 and MB#615.
8050 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8052 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8053 set the separator as no-show-all so it doesn't unintentionally appear when
8054 someone does a show_all.
8056 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8058 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8059 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8060 toplevel item. Fixes: NB#62031
8062 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8064 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8065 fix the name of the function in the docs.
8067 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8073 * debian/changelog: Updating.
8075 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8077 * examples/hildon-banner-long-example.c: Adding a test-case for long
8080 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8082 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8084 * src/hildon-color-chooser-dialog.c:
8085 * src/hildon-color-chooser.c:
8086 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8087 memory leaks in font selector and color selector. Fixes: NB#70499 and
8090 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8092 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8094 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8096 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8097 little bit bigger. Fixes: #NB63694.
8099 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8105 * debian/changelog: Updating.
8107 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8110 * doc/hildon-docs.sgml:
8111 * doc/images/bread-crumb-trail.png:
8112 * doc/images/calendar-popup.png:
8113 * doc/images/caption.png:
8114 * doc/images/code-dialog.png:
8115 * doc/images/color-button.png:
8116 * doc/images/color-chooser-dialog.png:
8117 * doc/images/color-chooser.png:
8118 * doc/images/controlbar.png:
8119 * doc/images/date-editor.png:
8120 * doc/images/font-selection-dialog.png:
8121 * doc/images/get-password-dialog.png:
8122 * doc/images/hvolumebar.png:
8123 * doc/images/login-dialog.png:
8124 * doc/images/note.png:
8125 * doc/images/number-editor.png:
8126 * doc/images/range-editor.png:
8127 * doc/images/seekbar.png:
8128 * doc/images/set-password-dialog.png:
8129 * doc/images/sort-dialog.png:
8130 * doc/images/time-editor.png:
8131 * doc/images/time-picker.png:
8132 * doc/images/vvolumebar.png:
8133 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8134 Adding the bread-crumb-trial and helpers to the documentation.
8136 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8138 * examples/hildon-find-toolbar-example.c:
8139 * src/hildon-find-toolbar.c:
8140 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8141 actually continue firing the other handlers if connected. Adding a new
8143 hildon_find_toolbar_get_last_index that gets the index of the most
8144 recently added (last) item. Fixes: NB#52301.
8146 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8148 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8149 behaviour. Fixes: NB#68610.
8151 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8153 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8156 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8158 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8159 when realizing the banner. Should make the infonbanner effect a bit more
8162 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8164 * src/hildon-volumebar.c:
8165 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8166 hildon_volumebar_set_range_insensitive_message and
8167 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8169 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8171 * src/hildon-window.c: Fixing the border freeing on destroy.
8173 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8175 * src/hildon-code-dialog-private.h:
8176 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8177 kw keyboard support in HildonCodeDialog.
8179 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8185 * debian/changelog: Updating.
8187 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8189 * src/hildon-date-editor.c:
8190 * src/hildon-number-editor.c:
8191 * src/hildon-private.c:
8192 * src/hildon-private.h:
8193 * src/hildon-time-editor.c:
8194 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8195 handling in subclassed composite widgets. Fixes: NB#66628.
8197 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8199 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8200 from destroy_ callback as it introduces problems in async dbus signal
8201 handlers. Fixes NB#66673.
8203 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8205 * examples/hildon-hvolumebar-example.c:
8206 * src/hildon-volumebar.c: Improving the focus handling in the
8207 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8208 set_property accessor so that "mute" property can be actually set. I'm
8209 scared that nobody noticed it's totally broken.
8211 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8213 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8216 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8218 * src/hildon-calendar.c:
8219 * src/hildon-number-editor.c:
8220 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8221 matches the spec of 6 chars per second. Fixes: NB#60489.
8223 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8225 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8226 gtk_style_lookup_color sometime returns FALSE even though color was
8227 found and values were filled properly. Weird. Removing the warning for the
8230 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8232 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8233 expand vertically. Adding some extra space to the find toolbar buttons to
8234 make them thumbable. Fixes NB#66060.
8236 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8238 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8239 popup with "Ok" and "Cancel". Fixes NB#59299.
8241 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8243 * src/hildon-calendar.c: Process all window updates before executing next
8244 timeout. Fixes: NB#54146.
8246 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8252 * debian/changelog: Updating.
8254 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8256 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8257 the client event and ignore it, since we use the delete event to close
8260 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8262 * src/hildon-helper.c: Remove the bogus warning about color not being
8263 found. Fixes NB#58352.
8265 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8267 * examples/Makefile.am:
8268 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8269 HildonSeekbar widget inside a toolbar.
8271 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8273 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8274 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8275 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8276 don't want to be closed by non-temporary windows on map.
8278 Also use G_DEFINE_TYPE instead of manually typed code.
8280 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8287 * debian/rules: Updating.
8289 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8291 * examples/Makefile.am:
8292 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8293 bug NB#61128. Strangely it works.
8295 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8297 * src/hildon-date-editor.c: When the date editor entry has been changed
8298 but the numbers of characters < max, turn off the skip validation flag.
8299 Prevents a situation when we enter first a valid year and later re-write
8300 it with an invalid one. Fixes NB#60154.
8302 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8304 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8305 code dialog. Fixes NB#64355.
8307 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8309 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8310 switching the page. Fixes NB#49374.
8312 * examples/Makefile.am:
8313 * examples/hildon-wizard-dialog-example.c: Adding an example for
8314 HildonWizardDialog that shows how to handle manual sensitivity setting on
8317 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8321 * src/hildon-version.h.in:
8322 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8324 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8326 * src/hildon-volumebar.c: Updating the docs.
8328 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8334 * debian/changelog: Updating.
8336 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8338 * src/hildon-find-toolbar.c:
8339 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8340 selected item: hildon_find_toolbar_set_active,
8341 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8342 hildon_find_toolbar_get_active_iter . They correspond to respective
8343 GtkComboBox functions.
8345 * examples/Makefile.am:
8346 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8349 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8351 * examples/Makefile.am:
8352 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8355 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8356 when font size > 32 and we pack a focusable widget inside. Actually using
8357 the default response would work too, but since we don't show default
8358 response state in any way (no theming) it would not be visible to the
8359 user. Fixes NB#63430.
8361 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8363 * src/hildon-date-editor.c: Adding the missing variable setter in the
8364 set_property handler. Fixes NB#54182.
8366 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8368 * src/hildon-window.h: Changing the long key press time from 1500ms to
8369 800ms as requested in NB#63700. I have a bad feeling about this, let's
8370 see... Fixes NB#63700.
8372 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8374 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8375 hildon_time_picker_map, hildon_time_picker_realize,
8376 hildon_time_picker_style_set): Split the contents of map to more
8377 appropriate functions; set window decorations on realize and update
8378 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8380 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8385 * debian/changelog: Updating.
8387 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8389 * src/Makefile.am: fixed installation of the header files
8391 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8397 * debian/changelog: Updating.
8399 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8401 * configure.ac: Removing some remaining of --enable-xan.
8403 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8405 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8406 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8408 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8409 2.10.12-osso6 because the move-focus signal needs to be available in
8412 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8414 * examples/Makefile.am:
8415 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8416 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8417 fine. Prolly NB#61128 is fixed now.
8419 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8421 * src/hildon-volumebar.c:
8422 * src/hildon-volumebar.h: Adding the
8423 hildon_volumebar_set_range_insensitive_message and
8424 hildon_volumebar_set_range_insensitive_messagef functions to set
8425 insensitive message on the slider of the volumebar. Fixes NB#61129.
8427 * examples/Makefile.am:
8428 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8429 test the new insensitive messsage functionality on HildonVolumebar.
8431 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8433 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8436 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8438 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8439 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8440 button on after clearing the trail.
8442 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8444 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8446 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8448 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8449 by splitting the installed headers in generated and non-generated groups. Use
8450 only the non-generated headers to create the hildon-enum-types.h file.
8452 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8454 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8456 * src/hildon-window.c: Hide the window before performing the destroy.
8457 Should make the app closing a little tiny bit more snappy.
8459 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8461 * src/hildon-seekbar.c: add gtkrange.h header
8462 * src/hildon-caption.c: remove unused variable
8464 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8466 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8469 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8475 * debian/changelog: Updating.
8477 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8479 * src/hildon-window.c (hildon_window_window_state_event,
8480 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8481 escape timeout on focus-out-event rather than notify::is-topmost; the
8482 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8484 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8486 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8487 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8489 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8491 * src/hildon-window: actually, you need to use the macro always, there's
8492 no private pointer in the instance structure. We should have cleaned this up
8493 when we had the chance...
8495 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8497 * src/hildon-window.c: do not get the private date from HildonWindow before
8498 it passes the g_return_if_fail check. Once it's passed the test, there's no
8499 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8500 if you are only going to access the data once. Whitespace cleanups.
8502 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8504 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8505 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8507 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8513 * debian/changelog: Updating.
8515 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8517 * src/hildon-window.c: When destroying the window, remove (if exists) the
8518 escape timeout handler. Fixes #NB59276.
8520 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8522 * src/hildon-banner.c: When realizing the widget, set the window
8523 transiency. Setting the transiency in the gobject constructor is not
8524 good, as the widget is not realized at that point. Fixes: #NB56624.
8526 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8528 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8529 Add padding for future expansions.
8531 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8533 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8534 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8535 will fake an activation on the previous to the last item of the trail, so
8536 the effect can be overrided by the developer as usual.
8537 Also change the callback for the back button to do the same thing, so its
8538 effect can be overrided too. Fixes: NB#58982
8540 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8542 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8543 HildonCaption. Fixes NB#52379.
8545 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8547 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8548 the internal state of the trail after the user has had the chance of executing
8549 his handler for the signal. Specifically, it may happen that the activated button
8550 is removed and the user still lets the default handler run. This would segfault
8553 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8555 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8556 scrollbar to the preview dialog. Fixes NB#54147.
8558 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8560 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8561 max/min year properties can be altered, so the client can modify it
8562 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8564 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8566 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8567 hildonlike by default. Fixing a problem with disappearing arrows when
8568 scrolling through months and years. Fixes NB#54127.
8570 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8572 * examples/hildon-date-editor-example.c: Adding error callback to the date
8575 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8581 * configure.ac: Updating.
8583 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8585 * configure.ac: Adding a special '--enable-xan' configure option that
8586 turns off the -Werror compilation setting. Usefull for development.
8588 * src/hildon-calendar.c:
8589 * src/hildon-number-editor.c:
8590 * src/hildon-time-picker.c: Adding the 5* multiplier to
8593 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8595 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8596 instead of g_object_ref + gtk_object_sink.
8598 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8604 * debian/changelog: Updating.
8606 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8608 * src/hildon-color-chooser-dialog.c:
8609 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8610 straight from Tommi labs.
8612 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8614 * examples/hildon-finger-example.c: Correcting the header file path.
8616 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8617 the changed signal. Fixes a small memory leak.
8619 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8623 * src/hildon-banner.c: Importing several usefull fixes from the
8624 ubuntu-mobile branch.
8626 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8628 * examples/Makefile.am:
8629 * examples/hildon-finger-example.c: Adding a finger-checking code
8632 * src/hildon-font-selection-dialog.c: Do not allocate the color
8633 structure using the g_new. Fixes NB#54061.
8635 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8637 * src/hildon-helper.c: Correcting tabs in file.
8639 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8641 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8642 control the visibility of the children.
8644 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8646 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8652 * debian/changelog: Updating.
8654 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8656 * src/hildon-bread-crumb-trail.c:
8657 (hildon_bread_crumb_trail_size_allocate):
8659 Make the back button always a square.
8661 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8663 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8664 from the .c file as it's a private file.
8666 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8668 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8669 uses slightly bigger height.
8671 * src/hildon-font-selection-dialog.c: Adding some checks before
8672 freeing memory in the font selection dialog.
8674 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8676 * src/hildon-font-selection-dialog.c: Adding a small check when
8679 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8680 buttons sensitivity on page switching.
8682 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8684 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8685 internal details of adding a bread crumb to the trail.
8687 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8693 * debian/changelog: Updating.
8695 * src/hildon-bread-crumb-trail.h:
8696 * src/hildon-bread-crumb.h: Changing the API guard to
8697 HILDON_ENABLE_UNSTABLE_API.
8699 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8707 * src/hildon-helper.h: Updating.
8709 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8717 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8721 * src/hildon-helper.h: Small fix to make the package actually compile.
8723 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8725 * src/hildon-bread-crumb-trail.h:
8726 * src/hildon-bread-crumb.h:
8728 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8729 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8731 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8733 * examples/hildon-bread-crumb-trail-example.c:
8735 * src/hildon-bread-crumb-trail.c:
8736 * src/hildon-bread-crumb-trail.h:
8737 * src/hildon-bread-crumb.c:
8738 * src/hildon-bread-crumb.h:
8739 * src/hildon-marshalers.list:
8740 * src/hildon-bread-crumb-widget.c:
8741 * src/hildon-bread-crumb-widget.h:
8743 Slight change in the widget design. The bread crumb trail API is
8744 unchanged, but HildonBreadCrumb is now an interface. A *private*
8745 implementation, hildon-bread-crumb-widget, is provided and used
8746 internally by the trail for the push_text/push_icon functions.
8748 The generic push API is still available, so anyone can implement
8749 and use its own bread crumb widget.
8751 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8753 * debian/rules: Fixing the shlibs.
8755 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8757 * src/hildon-banner.c: Fixing a problem with timed banners having
8758 their parrent destroyed before they are.
8760 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8762 * src/hildon-bread-crumb.c:
8763 * src/hildon-bread-crumb.h:
8765 Make the get_natural_size function a vfunc.
8767 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8769 * src/hildon-bread-crumb.c:
8770 * src/hildon-bread-crumb-trail.c:
8774 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8781 * debian/changelog: Updating for release.
8783 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8785 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8786 don't leak the pango layout.
8788 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8791 * examples/hildon-bread-crumb-trail-example.c:
8795 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8797 * debian/changelog: Removing the bug-fixed entries that were actually
8798 resolved as WONTFIX.
8800 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8803 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8805 * src/hildon-bread-crumb-trail.c:
8806 * src/hildon-bread-crumb-trail.h:
8807 * src/hildon-bread-crumb.c:
8808 * src/hildon-bread-crumb.h:
8812 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8814 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8815 until it's passed the type check.
8817 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8819 * examples/hildon-bread-crumb-trail-example.c
8823 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8825 * examples/Makefile.am
8826 * examples/hildon-bread-crumb-trail-example.c
8828 * src/hildon-bread-crumb-trail.c
8829 * src/hildon-bread-crumb-trail.h
8830 * src/hildon-bread-crumb.c
8831 * src/hildon-bread-crumb.h
8833 New HildonBreadCrumbTrail widget.
8835 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8837 * src/hildon-range-editor.c (hildon_range_editor_init),
8838 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8839 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8840 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8841 hildon_time_editor_class_init, hildon_time_editor_init),
8842 src/hildon-get-password-dialog.c (invalid_input,
8843 hildon_get_password_set_property, hildon_get_password_get_property,
8844 create_contents, hildon_get_password_dialog_set_max_characters),
8845 src/hildon-set-password-dialog.c (create_contents),
8846 src/hildon-date-editor.c (hildon_date_editor_init),
8847 src/hildon-login-dialog.c (hildon_login_dialog_init),
8848 src/hildon-number-editor.c (hildon_number_editor_init),
8849 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8850 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8851 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8852 configure option and adding the respective checks in the code.
8853 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8854 hildon_calendar_drag_data_received): fixed some build warnings.
8856 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8858 * debian/changelog: A 1.0.0 release notes.