summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/sound.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-13 12:33:19 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-13 12:33:19 +0000
commit1dce0edabddba25530faa1fa3e8cea6b284680d8 (patch)
treefd4e073f4cd292e9ceff10627f5229dc96d6e88d /perl-install/harddrake/sound.pm
parent6f36f999dcaa2cfc9b5c1db2bbd4698784e7e7eb (diff)
downloaddrakx-1dce0edabddba25530faa1fa3e8cea6b284680d8.tar
drakx-1dce0edabddba25530faa1fa3e8cea6b284680d8.tar.gz
drakx-1dce0edabddba25530faa1fa3e8cea6b284680d8.tar.bz2
drakx-1dce0edabddba25530faa1fa3e8cea6b284680d8.tar.xz
drakx-1dce0edabddba25530faa1fa3e8cea6b284680d8.zip
(switch) grey 5.1 sound option if PA is disabled
Diffstat (limited to 'perl-install/harddrake/sound.pm')
-rw-r--r--perl-install/harddrake/sound.pm1
1 files changed, 1 insertions, 0 deletions
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"),