summaryrefslogtreecommitdiffstats
path: root/perl-install
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
parent4e9b41d5380209b00620bd9fb89fddcf5f4686a8 (diff)
downloaddrakx-81dd1722946efe118b498c273f2c0afd0fc85442.tar
drakx-81dd1722946efe118b498c273f2c0afd0fc85442.tar.gz
drakx-81dd1722946efe118b498c273f2c0afd0fc85442.tar.bz2
drakx-81dd1722946efe118b498c273f2c0afd0fc85442.tar.xz
drakx-81dd1722946efe118b498c273f2c0afd0fc85442.zip
(switch) grey PA routing if PA is disabled
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/harddrake/sound.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index fffbb9df6..cdeba80b4 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,5 +1,6 @@
- draksound:
o disable PA routing when PA is disabled (#40219)
+ o grey PA routing if PA is disabled
- handle new drivers:
o pata: pata_sch
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"),