diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2012-03-30 14:45:38 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2012-03-30 14:45:38 -0400 |
commit | 314748d2f582c341b93f7353653d6eed116edee3 (patch) | |
tree | 01e3f05e19106fa50308f2a4852c7cc20a5a2734 /src | |
parent | 66d95fc3a6a73357578051739dd58b5622ceffd6 (diff) | |
download | ayatana-indicator-sound-314748d2f582c341b93f7353653d6eed116edee3.tar.gz ayatana-indicator-sound-314748d2f582c341b93f7353653d6eed116edee3.tar.bz2 ayatana-indicator-sound-314748d2f582c341b93f7353653d6eed116edee3.zip |
releasing version 0.8.5.0-0ubuntu1
Diffstat (limited to 'src')
-rw-r--r-- | src/sound-service-dbus.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/sound-service-dbus.c b/src/sound-service-dbus.c index c503220..5e004cb 100644 --- a/src/sound-service-dbus.c +++ b/src/sound-service-dbus.c @@ -227,16 +227,8 @@ show_sound_settings_dialog (DbusmenuMenuitem *mi, gpointer user_data) { GError * error = NULL; - gchar* cmd; - if (!g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "Unity")) - cmd = "gnome-control-center sound-nua"; - else if (!g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "xubuntu")) - cmd = "pavucontrol"; - else - cmd = "gnome-control-center sound"; - if (!g_spawn_command_line_async("gnome-volume-control --page=applications", &error) && - !g_spawn_command_line_async(cmd, &error) && + !g_spawn_command_line_async("gnome-control-center sound", &error) && !g_spawn_command_line_async("xfce4-mixer", &error)) { g_warning("Unable to show dialog: %s", error->message); |