From d84c9ce4d01ed83aaac9c1a0b79133bcc823f80d Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Fri, 27 Feb 2015 17:52:05 +0000 Subject: Added MATE Desktop support. --- src/service.vala | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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) -- cgit v1.2.3