diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-03-27 12:27:13 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-03-27 12:27:13 +0000 |
commit | 8b91b50d2b352ece6b6fa0a66f98718aad807873 (patch) | |
tree | e40dbaadc484cc1ac24e4a87df30d270abb84c6b | |
parent | 7b470feb8d04c53322891dd834d86a7480e68a81 (diff) | |
download | drakx-8b91b50d2b352ece6b6fa0a66f98718aad807873.tar drakx-8b91b50d2b352ece6b6fa0a66f98718aad807873.tar.gz drakx-8b91b50d2b352ece6b6fa0a66f98718aad807873.tar.bz2 drakx-8b91b50d2b352ece6b6fa0a66f98718aad807873.tar.xz drakx-8b91b50d2b352ece6b6fa0a66f98718aad807873.zip |
(summary): fix displaying of printer configured
-rw-r--r-- | perl-install/install_steps_interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index f62212733..399e40b6d 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -782,7 +782,7 @@ sub summary { { label => _("Mouse"), val => \$mouse_name, clicked => sub { $o->selectMouse(1); &$format_mouse } }, { label => _("Keyboard"), val => \$o->{keyboard}, clicked => sub { $o->selectKeyboard(1) }, format => sub { translate(keyboard::keyboard2text($_[0])) } }, { label => _("Timezone"), val => \$o->{timezone}{timezone}, clicked => sub { $o->configureTimezone(1) } }, -{ label => _("Printer"), val => \$o->{printer}{mode}, clicked => sub { $o->configurePrinter(1) }, format => sub { $_[0] || _("No printer") } }, +{ label => _("Printer"), val => \$o->{printer}, clicked => sub { $o->configurePrinter(1) }, format => sub { is_empty_hash_ref($_[0]{configured}) ? _("No printer") : (values %{$_[0]{configured}})[0]->{DBENTRY} } }, (map { { label => _("ISDN card"), val => $_->{description}, clicked => sub { $o->configureNetwork } } } grep { $_->{driver} eq 'hisax' } detect_devices::probeall()), |