summaryrefslogtreecommitdiffstats
path: root/perl-install
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
parent6f36f999dcaa2cfc9b5c1db2bbd4698784e7e7eb (diff)
downloaddrakx-backup-do-not-use-1dce0edabddba25530faa1fa3e8cea6b284680d8.tar
drakx-backup-do-not-use-1dce0edabddba25530faa1fa3e8cea6b284680d8.tar.gz
drakx-backup-do-not-use-1dce0edabddba25530faa1fa3e8cea6b284680d8.tar.bz2
drakx-backup-do-not-use-1dce0edabddba25530faa1fa3e8cea6b284680d8.tar.xz
drakx-backup-do-not-use-1dce0edabddba25530faa1fa3e8cea6b284680d8.zip
(switch) grey 5.1 sound option if PA is disabled
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/harddrake/sound.pm1
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index cdeba80b4..c5a0ba592 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,6 +1,6 @@
- draksound:
o disable PA routing when PA is disabled (#40219)
- o grey PA routing if PA is disabled
+ o grey PA routing & 5.1 sound 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 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"),