aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-22 16:46:37 -0600
committerTed Gould <ted@gould.cx>2010-02-22 16:46:37 -0600
commit78429e88e6fd7354ec8a2dcbfe0931368a5b7fa2 (patch)
tree5ac7bdfd89c59f24f6a9b8b86bc6f5deab15f4a6 /src
parent1d6eba2448b2753cb3cc38e05d763a576d40b978 (diff)
downloadlibayatana-appindicator-78429e88e6fd7354ec8a2dcbfe0931368a5b7fa2.tar.gz
libayatana-appindicator-78429e88e6fd7354ec8a2dcbfe0931368a5b7fa2.tar.bz2
libayatana-appindicator-78429e88e6fd7354ec8a2dcbfe0931368a5b7fa2.zip
NO TEARY!
Diffstat (limited to 'src')
-rw-r--r--src/libappindicator/app-indicator.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index 0490031..70ca6a2 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -1158,6 +1158,10 @@ container_iterate (GtkWidget *widget,
const gchar *label = NULL;
gboolean label_set = FALSE;
+ if (GTK_IS_TEAROFF_MENU_ITEM(widget)) {
+ return;
+ }
+
child = dbusmenu_menuitem_new ();
if (GTK_IS_SEPARATOR_MENU_ITEM (widget))