aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-07-06 19:27:01 +0100
committerConor Curran <conor.curran@canonical.com>2010-07-06 19:27:01 +0100
commita31a44674791651221a8ec4077cf6983057a7eab (patch)
treed958b80e1ec0cd7776f2dbed9d391cb269be06b9
parenta0c3edbbe3d6cbb160049716cec66bf2673784e4 (diff)
parent1954771a97e724e53754100c0eef84ae0efeec3f (diff)
downloadayatana-indicator-sound-a31a44674791651221a8ec4077cf6983057a7eab.tar.gz
ayatana-indicator-sound-a31a44674791651221a8ec4077cf6983057a7eab.tar.bz2
ayatana-indicator-sound-a31a44674791651221a8ec4077cf6983057a7eab.zip
merge with Pitti's xfce tweak
-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);
}