aboutsummaryrefslogtreecommitdiff
path: root/src/applet-main.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-22 22:06:00 -0500
committerTed Gould <ted@canonical.com>2009-04-22 22:06:00 -0500
commit2f6ccdfe4ee4d5c30123edcea9fcd4c4d54d8ea7 (patch)
treeb25cf290caf34537a101fd17193c7417fa5b9a64 /src/applet-main.c
parentd075aeec9ff17ffa5847d06246854689236d3876 (diff)
downloadlibayatana-indicator-2f6ccdfe4ee4d5c30123edcea9fcd4c4d54d8ea7.tar.gz
libayatana-indicator-2f6ccdfe4ee4d5c30123edcea9fcd4c4d54d8ea7.tar.bz2
libayatana-indicator-2f6ccdfe4ee4d5c30123edcea9fcd4c4d54d8ea7.zip
Slipping in the hbox
Diffstat (limited to 'src/applet-main.c')
-rw-r--r--src/applet-main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/applet-main.c b/src/applet-main.c
index 1f538ae..7f3a210 100644
--- a/src/applet-main.c
+++ b/src/applet-main.c
@@ -117,12 +117,15 @@ load_module (const gchar * name, GtkWidget * menu)
if (label != NULL) {
gtk_box_pack_start(GTK_BOX(hbox), GTK_WIDGET(label), FALSE, FALSE, 0);
}
+ gtk_container_add(GTK_CONTAINER(menuitem), hbox);
+ gtk_widget_show(hbox);
if (menu != NULL) {
gtk_menu_shell_append(GTK_MENU_SHELL(menuitem), GTK_WIDGET(lmenu));
}
gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem);
+ gtk_widget_show(menuitem);
return TRUE;
}