From 1dce0edabddba25530faa1fa3e8cea6b284680d8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 13 May 2008 12:33:19 +0000 Subject: (switch) grey 5.1 sound option if PA is disabled --- perl-install/harddrake/sound.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/harddrake') diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm index 2b1191440..4d5288c0f 100644 --- a/perl-install/harddrake/sound.pm +++ b/perl-install/harddrake/sound.pm @@ -344,6 +344,7 @@ sub switch { { text => N("Enable 5.1 sound with Pulse Audio"), type => 'bool', val => \$is_5_1_in_pulseaudio_enabled, + disabled => sub { !$is_pulseaudio_enabled }, }, { text => N("Enable user switching for audio applications"), -- cgit v1.2.1