summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/main.pm
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2005-08-16 16:47:41 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2005-08-16 16:47:41 +0000
commitcc1a6dccfa92a78d6a359c49037855b9ce156142 (patch)
tree2dfc1f4aa0ced7ca33dc39db274ee052a0310e24 /perl-install/printer/main.pm
parentbf044465f939f95bb14c3507e762e8195bf3fe0a (diff)
downloaddrakx-cc1a6dccfa92a78d6a359c49037855b9ce156142.tar
drakx-cc1a6dccfa92a78d6a359c49037855b9ce156142.tar.gz
drakx-cc1a6dccfa92a78d6a359c49037855b9ce156142.tar.bz2
drakx-cc1a6dccfa92a78d6a359c49037855b9ce156142.tar.xz
drakx-cc1a6dccfa92a78d6a359c49037855b9ce156142.zip
- 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.
Diffstat (limited to 'perl-install/printer/main.pm')
-rw-r--r--perl-install/printer/main.pm8
1 files changed, 4 insertions, 4 deletions
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) ?