From fe7705317b1f3048f0e03a04ced25558df95f14e Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 25 Apr 2001 16:44:49 +0000 Subject: allow non expert user to remove a printer queue. --- perl-install/printerdrake.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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")); -- cgit v1.2.1