aboutsummaryrefslogtreecommitdiff
path: root/src/mute-menu-item.c
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2011-07-17 04:40:52 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2011-07-17 04:40:52 +0200
commit4e86af2e6f0fe204731441fb63ab0159fb0863a2 (patch)
tree2de1c609dc532b62a25b9eaf424d24d6171256f2 /src/mute-menu-item.c
parent5f35f5e36e90e32aed5105434ee1ecae7c09806b (diff)
downloadayatana-indicator-sound-4e86af2e6f0fe204731441fb63ab0159fb0863a2.tar.gz
ayatana-indicator-sound-4e86af2e6f0fe204731441fb63ab0159fb0863a2.tar.bz2
ayatana-indicator-sound-4e86af2e6f0fe204731441fb63ab0159fb0863a2.zip
mute-menu-item: export type to allow to handle it remotely
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);