diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2010-04-01 18:57:06 +0200 |
---|---|---|
committer | Sebastien Bacher <seb128@ubuntu.com> | 2010-04-01 18:57:06 +0200 |
commit | c1e8acc9fb568cd2a245442a326587ea09df4839 (patch) | |
tree | 80567f9a5c72e663a529a42935a0b282d859ae97 /src/app-menu-item.c | |
parent | 6d57604cdb7694fbf4bda9bbcdec64544b688922 (diff) | |
parent | 5d7af1a7b4830b5f13d6f90849af5beb253256e4 (diff) | |
download | ayatana-indicator-messages-c1e8acc9fb568cd2a245442a326587ea09df4839.tar.gz ayatana-indicator-messages-c1e8acc9fb568cd2a245442a326587ea09df4839.tar.bz2 ayatana-indicator-messages-c1e8acc9fb568cd2a245442a326587ea09df4839.zip |
releasing version 0.3.6-0ubuntu1
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); |