diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-05-09 16:22:15 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-05-09 16:22:15 +0000 |
commit | 81dd1722946efe118b498c273f2c0afd0fc85442 (patch) | |
tree | cafee61e5cb079f916c82182919a69c05322d15c | |
parent | 4e9b41d5380209b00620bd9fb89fddcf5f4686a8 (diff) | |
download | drakx-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
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/harddrake/sound.pm | 1 |
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"), |