aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Wimpress <code@flexion.org>2015-02-27 17:52:05 +0000
committerMartin Wimpress <code@flexion.org>2015-02-27 17:52:05 +0000
commitd84c9ce4d01ed83aaac9c1a0b79133bcc823f80d (patch)
tree7cf93b95c5c0aaec6a74fc1d3cd039c457ea33a8 /src
parente1362e2ddb880fba0c489fd2ceabfe867ba2f2e0 (diff)
downloadayatana-indicator-sound-d84c9ce4d01ed83aaac9c1a0b79133bcc823f80d.tar.gz
ayatana-indicator-sound-d84c9ce4d01ed83aaac9c1a0b79133bcc823f80d.tar.bz2
ayatana-indicator-sound-d84c9ce4d01ed83aaac9c1a0b79133bcc823f80d.zip
Added MATE Desktop support.
Diffstat (limited to 'src')
-rw-r--r--src/service.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/service.vala b/src/service.vala
index 0c82538..e2d65b7 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -216,6 +216,8 @@ public class IndicatorSound.Service: Object {
string cmd;
if (env == "xubuntu" || env == "ubuntustudio")
cmd = "pavucontrol";
+ else if (env == "mate")
+ cmd = "mate-volume-control";
else
{
if (Environment.get_variable ("XDG_CURRENT_DESKTOP") == "Unity" && Environment.find_program_in_path ("unity-control-center") != null)