diff options
author | Ted Gould <ted@gould.cx> | 2010-07-01 08:54:59 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-07-01 08:54:59 -0500 |
commit | a79f1b295ca5a6a0f20cc899db9043a46aff22e9 (patch) | |
tree | a39d4941b1009a201bdaf128d8f090be84f1c18b /libdbusmenu-gtk | |
parent | 1a54d0070d99cca1322995bb74ab6027ee1dc434 (diff) | |
parent | 235abfa96562b5ba4d1876dc99e86551160ee34c (diff) | |
download | libdbusmenu-a79f1b295ca5a6a0f20cc899db9043a46aff22e9.tar.gz libdbusmenu-a79f1b295ca5a6a0f20cc899db9043a46aff22e9.tar.bz2 libdbusmenu-a79f1b295ca5a6a0f20cc899db9043a46aff22e9.zip |
Import upstream version 0.3.4
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r-- | libdbusmenu-gtk/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/client.c b/libdbusmenu-gtk/client.c index c73c90f..a46aef3 100644 --- a/libdbusmenu-gtk/client.c +++ b/libdbusmenu-gtk/client.c @@ -503,6 +503,7 @@ new_child (DbusmenuMenuitem * mi, DbusmenuMenuitem * child, guint position, Dbus #endif if (dbusmenu_menuitem_get_root(mi)) { return; } + if (g_strcmp0(dbusmenu_menuitem_property_get(mi, DBUSMENU_MENUITEM_PROP_TYPE), DBUSMENU_CLIENT_TYPES_SEPARATOR) == 0) { return; } gpointer ann_menu = g_object_get_data(G_OBJECT(mi), data_menu); GtkMenu * menu = GTK_MENU(ann_menu); |