diff options
author | Ted Gould <ted@canonical.com> | 2009-04-22 22:06:00 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-04-22 22:06:00 -0500 |
commit | 2f6ccdfe4ee4d5c30123edcea9fcd4c4d54d8ea7 (patch) | |
tree | b25cf290caf34537a101fd17193c7417fa5b9a64 /src | |
parent | d075aeec9ff17ffa5847d06246854689236d3876 (diff) | |
download | libayatana-indicator-2f6ccdfe4ee4d5c30123edcea9fcd4c4d54d8ea7.tar.gz libayatana-indicator-2f6ccdfe4ee4d5c30123edcea9fcd4c4d54d8ea7.tar.bz2 libayatana-indicator-2f6ccdfe4ee4d5c30123edcea9fcd4c4d54d8ea7.zip |
Slipping in the hbox
Diffstat (limited to 'src')
-rw-r--r-- | src/applet-main.c | 3 |
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; } |