diff options
author | Ted Gould <ted@gould.cx> | 2010-03-31 22:06:50 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-03-31 22:06:50 -0500 |
commit | b872dc2997cb71ae67747120fbea2af6c5b66f06 (patch) | |
tree | 4cf88e3b1ce4a7b6cafc0a55e8de0a30edd57861 /src/app-menu-item.c | |
parent | d52f8101972f6e08986a16c3a9e8191bb7cc7650 (diff) | |
parent | 9cb54c4aaf962d82db6af1225c2b854215c9ae0f (diff) | |
download | ayatana-indicator-messages-b872dc2997cb71ae67747120fbea2af6c5b66f06.tar.gz ayatana-indicator-messages-b872dc2997cb71ae67747120fbea2af6c5b66f06.tar.bz2 ayatana-indicator-messages-b872dc2997cb71ae67747120fbea2af6c5b66f06.zip |
* Upstream merge
* Fixing several bugs with regards to visibility and placement
if items and separators in the menu. (LP: #446914)
Diffstat (limited to 'src/app-menu-item.c')
-rw-r--r-- | src/app-menu-item.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c index 87423c0..ef30333 100644 --- a/src/app-menu-item.c +++ b/src/app-menu-item.c @@ -128,6 +128,8 @@ app_menu_item_init (AppMenuItem *self) priv->root = NULL; priv->shortcuts = NULL; + dbusmenu_menuitem_property_set_bool(DBUSMENU_MENUITEM(self), DBUSMENU_MENUITEM_PROP_VISIBLE, FALSE); + return; } @@ -317,6 +319,8 @@ desktop_cb (IndicateListener * listener, IndicateListenerServer * server, gchar priv->desktop = g_strdup(value); + dbusmenu_menuitem_property_set_bool(DBUSMENU_MENUITEM(self), DBUSMENU_MENUITEM_PROP_VISIBLE, TRUE); + update_label(self); const gchar * def_icon = get_default_icon(priv->desktop); |