summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/cups.pm
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2003-09-08 01:22:26 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2003-09-08 01:22:26 +0000
commit46067f935cbb0ac99449fe2eac7d72acec2e2065 (patch)
tree93302bcf37e6578ce866ccd87356571b59d6bf58 /perl-install/printer/cups.pm
parent8b404d3394a1812d7bc01ff6fcec1c39b59d6c97 (diff)
downloaddrakx-backup-do-not-use-46067f935cbb0ac99449fe2eac7d72acec2e2065.tar
drakx-backup-do-not-use-46067f935cbb0ac99449fe2eac7d72acec2e2065.tar.gz
drakx-backup-do-not-use-46067f935cbb0ac99449fe2eac7d72acec2e2065.tar.bz2
drakx-backup-do-not-use-46067f935cbb0ac99449fe2eac7d72acec2e2065.tar.xz
drakx-backup-do-not-use-46067f935cbb0ac99449fe2eac7d72acec2e2065.zip
- Use a field in the $printer data structure and no a global variable
for the expert mode. - Fixed bug of database not being re-read when switching between normal and expert mode with the new GTK2 main window.
Diffstat (limited to 'perl-install/printer/cups.pm')
-rw-r--r--perl-install/printer/cups.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/printer/cups.pm b/perl-install/printer/cups.pm
index d0b89eabf..468625d65 100644
--- a/perl-install/printer/cups.pm
+++ b/perl-install/printer/cups.pm
@@ -96,7 +96,7 @@ sub get_formatted_remote_queues {
# CUPS daemon knows due to broadcasting of remote servers or
# "BrowsePoll" entries in the local /etc/cups/cupsd.conf/
map {
- join('!', if_($::expert, N("CUPS")), N("Configured on other machines"), $_);
+ join('!', if_($printer->{expert}, N("CUPS")), N("Configured on other machines"), $_);
} map {
my $comment = N("On CUPS server \"%s\"", $_->{ipp}) . ($_->{queuename} eq $printer->{DEFAULT} ? N(" (Default)") : "");
"$_->{queuename}: $comment";