summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-17 12:11:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-17 12:11:15 +0000
commit3016c601c499cb9537c43bfd57e2d7f1b56b82e3 (patch)
treebb1efa278816020a77cdc1aa92b2f7d6e1158d0e
parent458bee429652e2b3e73996caf6547e75bdc05ae8 (diff)
downloaddrakx-3016c601c499cb9537c43bfd57e2d7f1b56b82e3.tar
drakx-3016c601c499cb9537c43bfd57e2d7f1b56b82e3.tar.gz
drakx-3016c601c499cb9537c43bfd57e2d7f1b56b82e3.tar.bz2
drakx-3016c601c499cb9537c43bfd57e2d7f1b56b82e3.tar.xz
drakx-3016c601c499cb9537c43bfd57e2d7f1b56b82e3.zip
better sound card description in summary
-rw-r--r--perl-install/install_steps_interactive.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 2c367a3af..ba0bb5124 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -910,7 +910,9 @@ sub summary {
push @l, {
group => N("Hardware"),
label => N("Sound card"),
- val => sub { $device->{description} },
+ val => sub {
+ $device->{driver} && modules::module2description($device->{driver}) || $device->{description};
+ },
clicked => sub {
require harddrake::sound;
harddrake::sound::config($o, $device)