diff options
author | Ted Gould <ted@gould.cx> | 2011-04-05 13:58:03 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-04-05 13:58:03 -0500 |
commit | 6b50d8d8bd1bacb27c403c556bb17d9d5cec175b (patch) | |
tree | 18bc4245673bb88495627b3dc348133a9265f25c /libdbusmenu-glib | |
parent | ec387ab88778be96e383c12910ccccb492138183 (diff) | |
download | libdbusmenu-6b50d8d8bd1bacb27c403c556bb17d9d5cec175b.tar.gz libdbusmenu-6b50d8d8bd1bacb27c403c556bb17d9d5cec175b.tar.bz2 libdbusmenu-6b50d8d8bd1bacb27c403c556bb17d9d5cec175b.zip |
Make check to send about-to-show look for properties as well.
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/menuitem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-glib/menuitem.c b/libdbusmenu-glib/menuitem.c index 70b5fd2..bdaf49f 100644 --- a/libdbusmenu-glib/menuitem.c +++ b/libdbusmenu-glib/menuitem.c @@ -446,7 +446,7 @@ send_about_to_show (DbusmenuMenuitem * mi, void (*cb) (DbusmenuMenuitem * mi, gp { g_return_if_fail(DBUSMENU_IS_MENUITEM(mi)); - if (dbusmenu_menuitem_get_children(mi) == NULL) { + if (dbusmenu_menuitem_get_children(mi) == NULL && g_strcmp0(DBUSMENU_MENUITEM_CHILD_DISPLAY_SUBMENU, dbusmenu_menuitem_property_get(mi, DBUSMENU_MENUITEM_PROP_CHILD_DISPLAY)) != 0) { g_warning("About to Show called on an item wihtout submenus. We're ignoring it."); } else { gboolean dummy; |