aboutsummaryrefslogtreecommitdiff
path: root/src/dbus-menu-manager.c
diff options
context:
space:
mode:
authorunknown <martin@piware.de>2010-07-02 10:01:31 +0200
committerunknown <martin@piware.de>2010-07-02 10:01:31 +0200
commit1954771a97e724e53754100c0eef84ae0efeec3f (patch)
treed958b80e1ec0cd7776f2dbed9d391cb269be06b9 /src/dbus-menu-manager.c
parenta0c3edbbe3d6cbb160049716cec66bf2673784e4 (diff)
downloadayatana-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
Diffstat (limited to 'src/dbus-menu-manager.c')
-rw-r--r--src/dbus-menu-manager.c3
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);
}