aboutsummaryrefslogtreecommitdiff
path: root/src/common-defs.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-15 12:22:21 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-15 12:22:21 +0000
commit57e21d3708ad855333de53f31a3e1b0f93081dc2 (patch)
treefcfcaa1fff741871213e88cb9c0906234878d175 /src/common-defs.h
parent661b34c4f8175efbd51a4471c01e96a370806228 (diff)
downloadayatana-indicator-sound-57e21d3708ad855333de53f31a3e1b0f93081dc2.tar.gz
ayatana-indicator-sound-57e21d3708ad855333de53f31a3e1b0f93081dc2.tar.bz2
ayatana-indicator-sound-57e21d3708ad855333de53f31a3e1b0f93081dc2.zip
mute behaviour consistent over both sliders => go to 0 on mute and return to previous volume on unmute
Diffstat (limited to 'src/common-defs.h')
-rw-r--r--src/common-defs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common-defs.h b/src/common-defs.h
index da504de..21aab60 100644
--- a/src/common-defs.h
+++ b/src/common-defs.h
@@ -45,12 +45,13 @@ typedef enum {
TRANSPORT_STATE_PAUSED
}TransportState;
-#define NOT_ACTIVE -1
+#define NOT_ACTIVE -1
#define DBUSMENU_PROPERTY_EMPTY -1
/* DBUS Custom Items */
#define DBUSMENU_VOLUME_MENUITEM_TYPE "x-canonical-ido-volume-type"
#define DBUSMENU_VOLUME_MENUITEM_LEVEL "x-canonical-ido-volume-level"
+#define DBUSMENU_VOLUME_MENUITEM_MUTE "x-canonical-ido-volume-mute"
#define DBUSMENU_VOIP_INPUT_MENUITEM_TYPE "x-canonical-ido-voip-input-type"
#define DBUSMENU_VOIP_INPUT_MENUITEM_LEVEL "x-canonical-ido-voip-input-level"