diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-02-07 12:53:45 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-02-07 12:53:45 +0000 |
commit | 89ea8fc69cd0b3253d6b5f4ba2d205b41e431a5d (patch) | |
tree | c6d4359d2c5f4c79d0be05dede4ccce0e7ed7980 /src/mute-menu-item.c | |
parent | 373460533ffcd4217b96ed1e95672f7e73141824 (diff) | |
download | ayatana-indicator-sound-89ea8fc69cd0b3253d6b5f4ba2d205b41e431a5d.tar.gz ayatana-indicator-sound-89ea8fc69cd0b3253d6b5f4ba2d205b41e431a5d.tar.bz2 ayatana-indicator-sound-89ea8fc69cd0b3253d6b5f4ba2d205b41e431a5d.zip |
tidy up
Diffstat (limited to 'src/mute-menu-item.c')
-rw-r--r-- | src/mute-menu-item.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mute-menu-item.c b/src/mute-menu-item.c index df98d5d..4740ecf 100644 --- a/src/mute-menu-item.c +++ b/src/mute-menu-item.c @@ -62,6 +62,9 @@ mute_menu_item_init (MuteMenuItem *self) g_debug("Building new Mute Menu Item"); MuteMenuItemPrivate* priv = MUTE_MENU_ITEM_GET_PRIVATE(self); priv->button = dbusmenu_menuitem_new(); + dbusmenu_menuitem_property_set_bool (priv->button, + DBUSMENU_MENUITEM_PROP_VISIBLE, + TRUE); g_signal_connect (G_OBJECT (priv->button), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, @@ -111,6 +114,9 @@ void mute_menu_item_enable (MuteMenuItem* item, gboolean active) { MuteMenuItemPrivate* priv = MUTE_MENU_ITEM_GET_PRIVATE (item); + dbusmenu_menuitem_property_set_bool (priv->button, + DBUSMENU_MENUITEM_PROP_VISIBLE, + TRUE); dbusmenu_menuitem_property_set_bool (priv->button, DBUSMENU_MENUITEM_PROP_ENABLED, |