diff options
author | Ted Gould <ted@gould.cx> | 2010-04-01 10:10:00 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-04-01 10:10:00 -0500 |
commit | e6b0746782acf425a1033cbddf00c13b3dae39c3 (patch) | |
tree | f63a8dca78761e9078f1f64c73d1b888fc5b6156 /src/app-menu-item.c | |
parent | 791ebdf697b50b6a54e4d7dc4e1524e7f6c30b12 (diff) | |
parent | a05571c978dba6f33773a664bbb1672038fbad93 (diff) | |
download | ayatana-indicator-messages-e6b0746782acf425a1033cbddf00c13b3dae39c3.tar.gz ayatana-indicator-messages-e6b0746782acf425a1033cbddf00c13b3dae39c3.tar.bz2 ayatana-indicator-messages-e6b0746782acf425a1033cbddf00c13b3dae39c3.zip |
Import upstream version 0.3.6
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); |