aboutsummaryrefslogtreecommitdiff
path: root/src/mute-menu-item.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-07-28 17:12:13 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-07-28 17:12:13 -0400
commitbce814c8b5db523e514de2bf1be4e33b7c3cf2de (patch)
tree941fa21e5447bd20a1faa4c6d04ca3864c310750 /src/mute-menu-item.c
parent4fe864d53eea581c95685e31a4372a83f87fce55 (diff)
parent5fcbaa67209c40c752b8b3c2b78cb26233b7ccb8 (diff)
downloadayatana-indicator-sound-bce814c8b5db523e514de2bf1be4e33b7c3cf2de.tar.gz
ayatana-indicator-sound-bce814c8b5db523e514de2bf1be4e33b7c3cf2de.tar.bz2
ayatana-indicator-sound-bce814c8b5db523e514de2bf1be4e33b7c3cf2de.zip
Import upstream version 0.7.4
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);