[maemo-commits] [maemo-commits] r13606 - in projects/haf/trunk/hildon-desktop: . libhildondesktop
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Sep 5 16:17:04 EEST 2007
- Previous message: [maemo-commits] r13605 - in projects/haf/trunk/hildon-desktop: . src
- Next message: [maemo-commits] r13607 - in projects/haf/trunk/hildon-theme-layout-4: . rc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: moimart Date: 2007-09-05 16:17:02 +0300 (Wed, 05 Sep 2007) New Revision: 13606 Modified: projects/haf/trunk/hildon-desktop/ChangeLog projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-panel.c Log: 2007-09-05 Moises Martinez <moises.martinez at nokia.com> * libhildondesktop/hildon-desktop-panel.c: (hildon_desktop_panel_refresh_items_status): - When refreshing items check if the container is a composited one (or so called hildon-desktop-container). Fixes: NB#63897 * ChangeLog updated. Modified: projects/haf/trunk/hildon-desktop/ChangeLog =================================================================== --- projects/haf/trunk/hildon-desktop/ChangeLog 2007-09-05 12:32:32 UTC (rev 13605) +++ projects/haf/trunk/hildon-desktop/ChangeLog 2007-09-05 13:17:02 UTC (rev 13606) @@ -1,3 +1,11 @@ +2007-09-05 Moises Martinez <moises.martinez at nokia.com> + + * libhildondesktop/hildon-desktop-panel.c: + (hildon_desktop_panel_refresh_items_status): + - When refreshing items check if the container is a + composited one (or so called hildon-desktop-container). + Fixes: NB#63897 + 2007-09-05 Lucas Rocha <lucas.rocha at nokia.com> * src/hd-switcher-menu.c (hd_switcher_menu_show_menu_cb): do not emit Modified: projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-panel.c =================================================================== --- projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-panel.c 2007-09-05 12:32:32 UTC (rev 13605) +++ projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-panel.c 2007-09-05 13:17:02 UTC (rev 13606) @@ -25,6 +25,7 @@ #include "hildon-desktop-panel.h" #include "hildon-desktop-panel-item.h" +#include "hildon-desktop-container.h" #include "statusbar-item.h" #include <gtk/gtkhbox.h> @@ -425,9 +426,12 @@ GList *children = NULL, *l; g_return_if_fail (panel && HILDON_DESKTOP_IS_PANEL (panel)); - - children = gtk_container_get_children (GTK_CONTAINER (panel)); + if (HILDON_DESKTOP_IS_CONTAINER (panel)) + children = hildon_desktop_container_get_children (HILDON_DESKTOP_CONTAINER (panel)); + else + children = gtk_container_get_children (GTK_CONTAINER (panel)); + for (l = children; l != NULL; l = g_list_next (l)) { if (STATUSBAR_IS_ITEM (l->data))
- Previous message: [maemo-commits] r13605 - in projects/haf/trunk/hildon-desktop: . src
- Next message: [maemo-commits] r13607 - in projects/haf/trunk/hildon-theme-layout-4: . rc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]