summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-09 16:22:15 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-09 16:22:15 +0000
commit81dd1722946efe118b498c273f2c0afd0fc85442 (patch)
treecafee61e5cb079f916c82182919a69c05322d15c /perl-install/harddrake
parent4e9b41d5380209b00620bd9fb89fddcf5f4686a8 (diff)
downloaddrakx-backup-do-not-use-81dd1722946efe118b498c273f2c0afd0fc85442.tar
drakx-backup-do-not-use-81dd1722946efe118b498c273f2c0afd0fc85442.tar.gz
drakx-backup-do-not-use-81dd1722946efe118b498c273f2c0afd0fc85442.tar.bz2
drakx-backup-do-not-use-81dd1722946efe118b498c273f2c0afd0fc85442.tar.xz
drakx-backup-do-not-use-81dd1722946efe118b498c273f2c0afd0fc85442.zip
(switch) grey PA routing if PA is disabled
Diffstat (limited to 'perl-install/harddrake')
-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 c920ef0c5..2b1191440 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -339,6 +339,7 @@ sub switch {
{
text => N("Automatic routing from ALSA to PulseAudio"),
type => 'bool', val => \$is_pulseaudio_routing_enabled,
+ disabled => sub { !$is_pulseaudio_enabled },
},
{
text => N("Enable 5.1 sound with Pulse Audio"),