From cc1a6dccfa92a78d6a359c49037855b9ce156142 Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Tue, 16 Aug 2005 16:47:41 +0000 Subject: - Improved the auto queue setup pop-up window display on the user's desktop according to the suggestions in bug #17370. - Ask the user whether he wants really have a new printer set up before doing the auto queue setup. - Do always a fully non-interactive auto queue setup when X is not installed - First-time dialog could show garbage as printer model name for some models. Fixed. - Separated "Print no test pages" entry on the wizard page for printing test pages. - Changed the defaults for automatic re-enabling of disabled queues to "no", due to the new CUPS backend wrapper queues should not get disabled automatically any more. - Typo corrections. --- perl-install/printer/main.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'perl-install/printer/main.pm') diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm index 951e6734a..808c8f6e5 100644 --- a/perl-install/printer/main.pm +++ b/perl-install/printer/main.pm @@ -756,16 +756,16 @@ sub get_auto_admin { my ($printer) = @_; $printer->{enablequeuesonnewprinter} = (!defined($sysconfig{ENABLE_QUEUES_ON_PRINTER_CONNECTED}) || - ($sysconfig{ENABLE_QUEUES_ON_PRINTER_CONNECTED} =~ /yes/i) ? - 1 : 0); + ($sysconfig{ENABLE_QUEUES_ON_PRINTER_CONNECTED} =~ /no/i) ? + 0 : 1); $printer->{autoqueuesetuponnewprinter} = (!defined($sysconfig{AUTO_SETUP_QUEUES_ON_PRINTER_CONNECTED}) || ($sysconfig{AUTO_SETUP_QUEUES_ON_PRINTER_CONNECTED} =~ /yes/i) ? 1 : 0); $printer->{enablequeuesonspoolerstart} = (!defined($sysconfig{ENABLE_QUEUES_ON_SPOOLER_START}) || - ($sysconfig{ENABLE_QUEUES_ON_SPOOLER_START} =~ /yes/i) ? - 1 : 0); + ($sysconfig{ENABLE_QUEUES_ON_SPOOLER_START} =~ /no/i) ? + 0 : 1); $printer->{autoqueuesetuponspoolerstart} = (!defined($sysconfig{AUTO_SETUP_QUEUES_ON_SPOOLER_START}) || ($sysconfig{AUTO_SETUP_QUEUES_ON_SPOOLER_START} =~ /yes/i) ? -- cgit v1.2.1