aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2013-10-24 15:48:08 -0400
committerSebastien Bacher <seb128@ubuntu.com>2013-10-24 15:48:08 -0400
commitac9786b5400419b8360e2de42e5df0c53d3fd5f9 (patch)
tree43bfc6b98a7f1fc4c64ae83c5e42e1809785cb95
parent39890de138edeb70c68b72bb5686f557c3ab74aa (diff)
downloadayatana-indicator-sound-ac9786b5400419b8360e2de42e5df0c53d3fd5f9.tar.gz
ayatana-indicator-sound-ac9786b5400419b8360e2de42e5df0c53d3fd5f9.tar.bz2
ayatana-indicator-sound-ac9786b5400419b8360e2de42e5df0c53d3fd5f9.zip
Don't special case Unity sessions, that's not needed since
gnome-control-center is doing the right thing, the session name used was also wrong and couldn't work (lp: #1239545)
-rw-r--r--src/service.vala4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/service.vala b/src/service.vala
index 393a1ea..0b1ec77 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -120,9 +120,7 @@ public class IndicatorSound.Service {
void activate_desktop_settings (SimpleAction action, Variant? param) {
var env = Environment.get_variable ("DESKTOP_SESSION");
string cmd;
- if (env == "unity")
- cmd = "gnome-control-center sound-nua";
- else if (env == "xubuntu" || env == "ubuntustudio")
+ if (env == "xubuntu" || env == "ubuntustudio")
cmd = "pavucontrol";
else
cmd = "gnome-control-center sound";