summaryrefslogtreecommitdiffstats
path: root/perl-install/printerdrake.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-25 16:44:49 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-25 16:44:49 +0000
commitfe7705317b1f3048f0e03a04ced25558df95f14e (patch)
treee735b4d89b7ab6bd2391cf9f3d1d4115e81e1958 /perl-install/printerdrake.pm
parent6eeda62a3bff8a9978aa6b58a25bb96ade7e0d0c (diff)
downloaddrakx-fe7705317b1f3048f0e03a04ced25558df95f14e.tar
drakx-fe7705317b1f3048f0e03a04ced25558df95f14e.tar.gz
drakx-fe7705317b1f3048f0e03a04ced25558df95f14e.tar.bz2
drakx-fe7705317b1f3048f0e03a04ced25558df95f14e.tar.xz
drakx-fe7705317b1f3048f0e03a04ced25558df95f14e.zip
allow non expert user to remove a printer queue.
Diffstat (limited to 'perl-install/printerdrake.pm')
-rw-r--r--perl-install/printerdrake.pm2
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"));