From 1954771a97e724e53754100c0eef84ae0efeec3f Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 2 Jul 2010 10:01:31 +0200 Subject: If gnome-volume-control is not available, try xfce4-mixer --- src/dbus-menu-manager.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.3