aboutsummaryrefslogtreecommitdiff
path: root/src/mute-menu-item.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-07-28 10:18:04 +0100
committerConor Curran <conor.curran@canonical.com>2011-07-28 10:18:04 +0100
commit06757112c6a6f3c860d1092bbd544c5e27b20c3b (patch)
tree8c43ade246905af1d8698b72a460904108642316 /src/mute-menu-item.c
parent9762553300ac40df12e5f700810cc8203903bb64 (diff)
parenta2871b1b51c2f26a5778a6f15c5cae6650cc8fff (diff)
downloadayatana-indicator-sound-06757112c6a6f3c860d1092bbd544c5e27b20c3b.tar.gz
ayatana-indicator-sound-06757112c6a6f3c860d1092bbd544c5e27b20c3b.tar.bz2
ayatana-indicator-sound-06757112c6a6f3c860d1092bbd544c5e27b20c3b.zip
merged Trevino's middle click mute patch
Diffstat (limited to 'src/mute-menu-item.c')
-rw-r--r--src/mute-menu-item.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mute-menu-item.c b/src/mute-menu-item.c
index 2876be3..0e6a46f 100644
--- a/src/mute-menu-item.c
+++ b/src/mute-menu-item.c
@@ -63,6 +63,11 @@ mute_menu_item_init (MuteMenuItem *self)
MuteMenuItemPrivate* priv = MUTE_MENU_ITEM_GET_PRIVATE(self);
priv->button = NULL;
priv->button = dbusmenu_menuitem_new();
+
+ dbusmenu_menuitem_property_set(priv->button,
+ DBUSMENU_MENUITEM_PROP_TYPE,
+ DBUSMENU_MUTE_MENUITEM_TYPE);
+
dbusmenu_menuitem_property_set_bool (priv->button,
DBUSMENU_MENUITEM_PROP_VISIBLE,
TRUE);