diff options
author | Martin Wimpress <code@flexion.org> | 2015-02-27 22:35:55 +0000 |
---|---|---|
committer | CI Train Bot <ci-train-bot@canonical.com> | 2015-02-27 22:35:55 +0000 |
commit | a18d5b7b0a4389042af832e5397e1fd731ec7479 (patch) | |
tree | 1c19c5bde80967540cfda6893b2f72a30c1b57bf /src/service.vala | |
parent | e1362e2ddb880fba0c489fd2ceabfe867ba2f2e0 (diff) | |
parent | 6d69f0fff905a03c2e23399bc28188e5d6cb2f57 (diff) | |
download | ayatana-indicator-sound-a18d5b7b0a4389042af832e5397e1fd731ec7479.tar.gz ayatana-indicator-sound-a18d5b7b0a4389042af832e5397e1fd731ec7479.tar.bz2 ayatana-indicator-sound-a18d5b7b0a4389042af832e5397e1fd731ec7479.zip |
Add support for settings on the MATE Desktop.
Approved by: Ted Gould
Diffstat (limited to 'src/service.vala')
-rw-r--r-- | src/service.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/service.vala b/src/service.vala index 0c82538..0804e53 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) |