[maemo-commits] [maemo-commits] r12697 - in projects/haf/trunk/hildon-desktop: . src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Mon Jul 9 16:43:23 EEST 2007
- Previous message: [maemo-commits] r12696 - in projects/haf/trunk/hildon-desktop: . libhildondesktop
- Next message: [maemo-commits] r12698 - in projects/haf/trunk/hildon-theme-layout-4: . rc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: moimart Date: 2007-07-09 16:43:16 +0300 (Mon, 09 Jul 2007) New Revision: 12697 Modified: projects/haf/trunk/hildon-desktop/ChangeLog projects/haf/trunk/hildon-desktop/src/hn-app-switcher.c Log: 2007-07-09 Moises Martinez <moises.martinez at nokia.com> * src/hn-app-switcher.c: (refresh_buttons): - Set icon geometry for children of application (HDWMWindows) not the application itself. * ChangeLog updated. Modified: projects/haf/trunk/hildon-desktop/ChangeLog =================================================================== --- projects/haf/trunk/hildon-desktop/ChangeLog 2007-07-09 13:35:02 UTC (rev 12696) +++ projects/haf/trunk/hildon-desktop/ChangeLog 2007-07-09 13:43:16 UTC (rev 12697) @@ -1,5 +1,11 @@ 2007-07-09 Moises Martinez <moises.martinez at nokia.com> + * src/hn-app-switcher.c: (refresh_buttons): + - Set icon geometry for children of application (HDWMWindows) not the + application itself. + +2007-07-09 Moises Martinez <moises.martinez at nokia.com> + * libhildondesktop/hildon-desktop-popup-window.c: (hildon_desktop_popup_window_leave_notify): - Check wether we are going to a composited window only if those are Modified: projects/haf/trunk/hildon-desktop/src/hn-app-switcher.c =================================================================== --- projects/haf/trunk/hildon-desktop/src/hn-app-switcher.c 2007-07-09 13:35:02 UTC (rev 12696) +++ projects/haf/trunk/hildon-desktop/src/hn-app-switcher.c 2007-07-09 13:43:16 UTC (rev 12697) @@ -572,7 +572,7 @@ if (update_icon_geometry || app_switcher->priv->orientation_changed) hd_wm_window_set_icon_geometry (HD_WM_WINDOW (l->data), - GTK_WIDGET (app_button)->allocation.x, + GTK_WIDGET (app_button)->allocation.x, GTK_WIDGET (app_button)->allocation.y, GTK_WIDGET (app_button)->allocation.width, GTK_WIDGET (app_button)->allocation.height, @@ -674,12 +674,15 @@ } else { - hd_wm_window_set_icon_geometry (HD_WM_WINDOW (l->data), - GTK_WIDGET (app_switcher)->allocation.x, - GTK_WIDGET (app_switcher)->allocation.y, - GTK_WIDGET (app_switcher)->allocation.width, - GTK_WIDGET (app_switcher)->allocation.height, - FALSE); + const GList *iter ,*children = hd_wm_entry_info_get_children (HD_WM_ENTRY_INFO (l->data)); + + for (iter = children; iter != NULL; iter = g_list_next (iter)) + hd_wm_window_set_icon_geometry (HD_WM_WINDOW (iter->data), + GTK_WIDGET (app_switcher)->allocation.x, + GTK_WIDGET (app_switcher)->allocation.y, + GTK_WIDGET (app_switcher)->allocation.width, + GTK_WIDGET (app_switcher)->allocation.height, + FALSE); } }
- Previous message: [maemo-commits] r12696 - in projects/haf/trunk/hildon-desktop: . libhildondesktop
- Next message: [maemo-commits] r12698 - in projects/haf/trunk/hildon-theme-layout-4: . rc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]