diff options
author | Francois Pons <fpons@mandriva.com> | 2001-04-25 16:44:49 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-04-25 16:44:49 +0000 |
commit | fe7705317b1f3048f0e03a04ced25558df95f14e (patch) | |
tree | e735b4d89b7ab6bd2391cf9f3d1d4115e81e1958 /perl-install | |
parent | 6eeda62a3bff8a9978aa6b58a25bb96ade7e0d0c (diff) | |
download | drakx-backup-do-not-use-fe7705317b1f3048f0e03a04ced25558df95f14e.tar drakx-backup-do-not-use-fe7705317b1f3048f0e03a04ced25558df95f14e.tar.gz drakx-backup-do-not-use-fe7705317b1f3048f0e03a04ced25558df95f14e.tar.bz2 drakx-backup-do-not-use-fe7705317b1f3048f0e03a04ced25558df95f14e.tar.xz drakx-backup-do-not-use-fe7705317b1f3048f0e03a04ced25558df95f14e.zip |
allow non expert user to remove a printer queue.
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/printerdrake.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm index fc099fd20..432ea16c2 100644 --- a/perl-install/printerdrake.pm +++ b/perl-install/printerdrake.pm @@ -448,7 +448,7 @@ and optionally the port number."), [ $in->set_help('configurePrinterLocal') if $::isInstall; $in->ask_from_entries_refH_powered( { title => _("Select Printer Connection"), - cancel => !$::expert || !$printer->{configured}{$printer->{QUEUE}} ? '' : _("Remove queue"), + cancel => !$printer->{configured}{$printer->{QUEUE}} ? '' : _("Remove queue"), callbacks => { complete => sub { unless ($printer->{QUEUE} =~ /^\w*$/) { $in->ask_warn('', _("Name of printer should contains only letters, numbers and the underscore")); |