diff options
author | unknown <martin@piware.de> | 2010-07-02 10:01:31 +0200 |
---|---|---|
committer | unknown <martin@piware.de> | 2010-07-02 10:01:31 +0200 |
commit | 1954771a97e724e53754100c0eef84ae0efeec3f (patch) | |
tree | d958b80e1ec0cd7776f2dbed9d391cb269be06b9 | |
parent | a0c3edbbe3d6cbb160049716cec66bf2673784e4 (diff) | |
download | ayatana-indicator-sound-1954771a97e724e53754100c0eef84ae0efeec3f.tar.gz ayatana-indicator-sound-1954771a97e724e53754100c0eef84ae0efeec3f.tar.bz2 ayatana-indicator-sound-1954771a97e724e53754100c0eef84ae0efeec3f.zip |
If gnome-volume-control is not available, try xfce4-mixer
-rw-r--r-- | src/dbus-menu-manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dbus-menu-manager.c b/src/dbus-menu-manager.c index d19bfbb..a68976a 100644 --- a/src/dbus-menu-manager.c +++ b/src/dbus-menu-manager.c @@ -172,7 +172,8 @@ Bring up the gnome volume preferences dialog static void show_sound_settings_dialog (DbusmenuMenuitem *mi, gpointer user_data) { GError * error = NULL; - if (!g_spawn_command_line_async("gnome-volume-control", &error)) { + if (!g_spawn_command_line_async("gnome-volume-control", &error) && + !g_spawn_command_line_async("xfce4-mixer", &error)) g_warning("Unable to show dialog: %s", error->message); g_error_free(error); } |