Properly center HildonBanner contents
[hildon] / ChangeLog
index aca1da9..336dae2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,278 @@
+2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
+       structure.
+       * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
+       to ensure the banner contents are centered, instead of relying on
+       the expand and fill properties in GtkHBox.
+       (hildon_banner_ensure_child): Do not expand nor fill the child widget.
+
+       Fixes: NB#108265 (Animation banner not properly centered)
+
+2009-05-28  Alejandro Pinheiro <apinheiro@igalia.com>
+
+       * hildon/hildon-pannable-area.c
+       (hildon_pannable_area_initial_effect): Remove the initial_effect
+       management, check initial_hint
+       (hildon_pannable_are_expose_event): Remove the initial_hint management,
+       set initial_effect to FALSE
+       (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
+       by launching the fade_timeout if the scrollbars state has changed and are
+       visible
+       * examples/hildon-pannable-area-initial-hint-example.c
+       Modified to allow to remove rows too. Add and remove rows one by one.
+
+2009-05-28  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
+       Don't close the menu if there's an animation actor below it.
+
+       Fixes: NB#117927 (Application menu not usable with animation
+       actors)
+
+2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
+       "focus-on-click" from the dialog button, to avoid stealing the
+       focus from the entry.
+
+       Fixes: NB#118903 (Account setup wizard: Text in Search field
+       should be focused when "Region" touch list picker is reopened
+       again)
+
+2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
+       (prepare_action_area): Completely hide the dialog separator.
+
+2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-touch-selector-entry.c
+       (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
+       (hildon_touch_selector_entry_changed): Use HildonEntry text API,
+       now that the entry is exposed.
+
+2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-touch-selector-entry.c
+       (hildon_touch_selector_entry_init): Change the entry's size
+       to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
+
+2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
+       height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
+       avoid unnecessary scaling.
+
+2009-05-27  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu.c (hildon_app_menu_map):
+       Create grab transfer window before calling parent's map function.
+
+       Fixes: NB#115988 (hildon_app_menu_popup creates menu with
+       "crushed" button(s) in the top left corner)
+
+2009-05-26  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
+       Check if the window is already realized when pushing it.
+
+2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * configure.ac: post release version bump
+       * debian/changelog: post release version bump
+
+2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
+
+       [Release 2.1.76]
+
+       * NEWS: Updates.
+       * configure.ac: Bump version.
+       * debian/changelog: Updates.
+
+2009-05-25  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu.c: Doc updates.
+
+2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-banner.c: Remove leftover macro.
+
+2009-05-25  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_scroll_indicator_fade),
+       (hildon_pannable_area_button_release_cb): Reviewed vmin
+       conditions, it could cause problems in the fadeout procedure.
+
+2009-05-25  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c
+       (hildon_pannable_area_button_release_cb): Added a threshold to
+       push the animation if the speed is big (MAX_SPEED_THRESHOLD).
+
+2009-05-25  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_set_property): Added code to sync the gtk
+       dnd threshold with the panning threshold.
+
+2009-05-25  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init): Changed some of the default
+       values, now it should be less responsive and more accurate.
+
+2009-05-25  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_init),
+       (hildon_pannable_area_scroll_indicator_fade),
+       (hildon_pannable_area_button_press_cb),
+       (hildon_pannable_axis_scroll),
+       (hildon_pannable_area_timeout),
+       (hildon_pannable_area_motion_notify_cb),
+       (hildon_pannable_area_button_release_cb): Changed the name of the
+       clicked attribute to button_pressed, it is more clear about its use.
+
+2009-05-25  Alejandro Pinheiro <apinheiro@igalia.com>
+
+       * src/hildon-pannable-area.c
+       (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
+       to 0
+       (hildon_pannable_area_initial_effect): avoid to compute horizontal and
+       vertical scrollbar visibility, and use the data on private section instead,
+       remove the initial_hint check
+       (hildon_pannable_area_expose_event): add the initial_hint check here
+
+2009-05-25  Alejandro Pinheiro <apinheiro@igalia.com>
+
+       * src/hildon-pannable-area.c
+       (hildon_pannable_area_initial_effect): set to FALSE initial_effect
+       if the fadeout effect was used
+       (hildon_pannable_area_expose_event): check if it is required to
+       manage the initial effect on the begining of the function. Previously
+       it was made at the end, but this doesn't ensure that the scrollbars
+       will be painted on the first show. Do not set to FALSE initial_effect,
+       to ensure that the initial hint is showed the first time the pannable
+       becomes scrollable.
+       * examples/Makefile.am
+       * examples/hildon-pannable-area-initial-hint-example.c:
+       New example, to show that the initial-hint is showed when the widget
+       becomes scrollable
+
+       Fixes: NB#116607 (Pannable area should always have scrollbar visible
+       initially if the application can be scrolled)
+
+2009-05-25  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
+       Resize table before adding new items to make sure that
+       gtk_table_resize() is called just once.
+
+2009-05-25  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu-private.h
+       * hildon/hildon-app-menu.c (item_visibility_changed)
+       (filter_visibility_changed, hildon_app_menu_show_all)
+       (hildon_app_menu_hide_all, hildon_app_menu_init):
+       Rearrange items just once when gtk_widget_show_all()/hide_all()
+       are used.
+
+2009-05-25  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-app-menu.c
+       (hildon_app_menu_insert, hildon_app_menu_add_filter):
+       Don't call gtk_widget_show() on added items.
+
+       Fixes: NB#109063 (HildonAppMenu shouldn't show its items
+       automatically when they're added)
+
+2009-05-20  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-banner.c
+       (hildon_banner_realize, +hildon_banner_unrealize)
+       (+screen_size_changed, hildon_banner_class_init):
+       Redisplay the banner if the screen is rotated.
+
+       Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
+       on transition from landscape to portrait)
+
+2009-05-20  Alejandro Pinheiro  <apinheiro@igalia.com>
+
+       * hildon/hildon-banner.[ch]:
+       (hildon_banner_show_information_override_dnd): remove icon_name from the
+       method definition as it is ignored.
+       * examples/hildon-banner-dnd-example.c: updated with the change on
+       hildon-banner.h API
+
+2009-05-20  Alejandro Pinheiro  <apinheiro@igalia.com>
+
+       * hildon/hildon-banner-private.h: new require_override_dnd and
+       overrides_dnd variables
+       * hildon/hildon-banner.h:
+       (hildon_banner_show_information_override_dnd): new method, that shows
+       the information but sets the override flag, in order to show important
+       messages
+       * hildon/hildon-banner.c
+       (hildon_banner_show_information_override_dnd): new method
+       (hildon_banner_set_override_flag): new utility function
+       (hildon_banner_real_show_information): new utility function, in order to
+       generalize the current hildon_banner_show_information_override_dnd and
+       hildon_banner_show_information_override_dnd
+       * examples/Makefile.am
+       * examples/hildon-banner-dnd-example.c: New example that show how to
+       use the new hildon_banner_show_information_override_dnd
+
+       Fixes: NB#114874 (There is no possibility to show hildon banners with
+       DND flag set)
+
+2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-pannable-area.c: Add a comment explaining the math
+       behind hildon_pannable_calculate_vel_factor().
+
+2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-pannable-area.c
+       (hildon_pannable_calculate_vel_factor): Correct the sum of the
+       deceleration factors.
+
+2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
+       Reduce the default value for 'scroll_time' to 1 second, since the
+       current initial scrolling takes too much time.
+
+2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
+       calculate velocity factor during initialization, since the properties
+       are not yet set.
+
+2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * hildon/hildon-pannable-area.c
+       (hildon_pannable_area_set_property): Calculate the velocity factor
+       after setting the deceleration property and not after.
+
+2009-05-20  Alberto Garcia  <agarcia@igalia.com>
+
+       * hildon/hildon-entry.c
+       (hildon_entry_class_init, +set_property, hildon_entry_new)
+       * hildon/hildon-check-button.c
+       (hildon_check_button_class_init)
+       (+set_property, hildon_check_button_new):
+       Make the theme size a property.
+
+       Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
+       others) do too much in the _new function)
+
+2009-05-18  Claudio Saavedra  <csaavedra@igalia.com>
+
+       * configure.ac: post release version bump
+       * debian/changelog: post release version bump
+
 2009-05-18  Claudio Saavedra  <csaavedra@igalia.com>
 
        [Release 2.1.74]