aboutsummaryrefslogtreecommitdiff
path: root/src/mute-menu-item.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-08-08 17:51:23 +0100
committerConor Curran <conor.curran@canonical.com>2011-08-08 17:51:23 +0100
commit4300a124d6959f8bfad9393530de587fefe828be (patch)
tree0e3b2e3d6b96e0473a7ccc729b133aa3ad89217c /src/mute-menu-item.c
parentd0727964e78fd5174402e4732731ad11ad0d7ef3 (diff)
parentc60b7f972eb8faa1b06366dfebdb4a220d565f1e (diff)
downloadayatana-indicator-sound-4300a124d6959f8bfad9393530de587fefe828be.tar.gz
ayatana-indicator-sound-4300a124d6959f8bfad9393530de587fefe828be.tar.bz2
ayatana-indicator-sound-4300a124d6959f8bfad9393530de587fefe828be.zip
added missing marshaller and merged in tip to keep things up to date for oneiric
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);