aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-sus.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-30 16:40:46 -0500
committerTed Gould <ted@canonical.com>2009-06-30 16:40:46 -0500
commitf084e851c5ef36e6afa920c9198c4a53e7f7c1c3 (patch)
treeffd4fec37b1271138ed355afbe3bb2cd3d8853fd /src/indicator-sus.c
parent6bd2d42ccd10366788fc0721b61e0f984cb77543 (diff)
downloadayatana-indicator-session-f084e851c5ef36e6afa920c9198c4a53e7f7c1c3.tar.gz
ayatana-indicator-session-f084e851c5ef36e6afa920c9198c4a53e7f7c1c3.tar.bz2
ayatana-indicator-session-f084e851c5ef36e6afa920c9198c4a53e7f7c1c3.zip
Showing the loading item. Atleast that works now.
Diffstat (limited to 'src/indicator-sus.c')
-rw-r--r--src/indicator-sus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/indicator-sus.c b/src/indicator-sus.c
index 88bea47..7deb6e8 100644
--- a/src/indicator-sus.c
+++ b/src/indicator-sus.c
@@ -81,6 +81,7 @@ child_added (DbusmenuMenuitem * parent, DbusmenuMenuitem * child, guint position
}
position += posfunc();
+ g_debug("SUS: Adding child: %d", position);
GtkMenuItem * widget = dbusmenu_gtkclient_menuitem_get(client, child);
if (widget == NULL) {
@@ -363,6 +364,7 @@ get_menu (void)
main_menu = GTK_MENU(gtk_menu_new());
loading_item = gtk_menu_item_new_with_label("Loading...");
gtk_menu_shell_append(GTK_MENU_SHELL(main_menu), loading_item);
+ gtk_widget_show(GTK_WIDGET(loading_item));
return main_menu;
}