diff options
author | Ted Gould <ted@gould.cx> | 2009-12-16 16:29:24 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2009-12-16 16:29:24 -0600 |
commit | 9ab79b5a7cf9a6d0224acd7902324a76ad2f8cf5 (patch) | |
tree | 7786d95ef251c978878f4d0654f87e92c92c1851 /libdbusmenu-gtk | |
parent | 4cc0915b394bb63dad3018d342d4baf57fd215f0 (diff) | |
download | libdbusmenu-9ab79b5a7cf9a6d0224acd7902324a76ad2f8cf5.tar.gz libdbusmenu-9ab79b5a7cf9a6d0224acd7902324a76ad2f8cf5.tar.bz2 libdbusmenu-9ab79b5a7cf9a6d0224acd7902324a76ad2f8cf5.zip |
Yeah, gotta show those labels.
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r-- | libdbusmenu-gtk/genericmenuitem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/genericmenuitem.c b/libdbusmenu-gtk/genericmenuitem.c index d2a20ef..5eba55a 100644 --- a/libdbusmenu-gtk/genericmenuitem.c +++ b/libdbusmenu-gtk/genericmenuitem.c @@ -123,6 +123,7 @@ set_label (GtkMenuItem * menu_item, const gchar * label) GtkWidget * labelw = gtk_label_new(label); gtk_label_set_use_underline(GTK_LABEL(labelw), TRUE); gtk_container_add(GTK_CONTAINER(menu_item), labelw); + gtk_widget_show(labelw); } else if (GTK_IS_LABEL(child)) { gtk_label_set_label(GTK_LABEL(child), label); } else if (GTK_IS_BOX(child)) { @@ -135,6 +136,7 @@ set_label (GtkMenuItem * menu_item, const gchar * label) labelw = gtk_label_new(label); gtk_label_set_use_underline(GTK_LABEL(labelw), TRUE); gtk_box_pack_end(GTK_BOX(child), labelw, TRUE, TRUE, 0); + gtk_widget_show(labelw); } else { /* We can reset the label that we have. */ gtk_label_set_label(GTK_LABEL(labelw), label); |