diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2013-10-24 22:03:54 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-10-24 22:03:54 +0000 |
commit | 44724ab7eca2a0a7e34d5373191c887f17cdef32 (patch) | |
tree | 43bfc6b98a7f1fc4c64ae83c5e42e1809785cb95 | |
parent | 39890de138edeb70c68b72bb5686f557c3ab74aa (diff) | |
parent | ac9786b5400419b8360e2de42e5df0c53d3fd5f9 (diff) | |
download | ayatana-indicator-sound-44724ab7eca2a0a7e34d5373191c887f17cdef32.tar.gz ayatana-indicator-sound-44724ab7eca2a0a7e34d5373191c887f17cdef32.tar.bz2 ayatana-indicator-sound-44724ab7eca2a0a7e34d5373191c887f17cdef32.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). Fixes: https://bugs.launchpad.net/bugs/1239545.
Approved by Charles Kerr, PS Jenkins bot.
-rw-r--r-- | src/service.vala | 4 |
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"; |