diff options
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); |