summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/main.pm
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2003-08-25 23:15:21 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2003-08-25 23:15:21 +0000
commitd1cc348191809530c80b35405317dbe21b999bfd (patch)
tree025680838797ffb5b28da3da567d75632ce7670e /perl-install/printer/main.pm
parenta0be523710b157b40e483a72b1e4f59ebdcf804d (diff)
downloaddrakx-backup-do-not-use-d1cc348191809530c80b35405317dbe21b999bfd.tar
drakx-backup-do-not-use-d1cc348191809530c80b35405317dbe21b999bfd.tar.gz
drakx-backup-do-not-use-d1cc348191809530c80b35405317dbe21b999bfd.tar.bz2
drakx-backup-do-not-use-d1cc348191809530c80b35405317dbe21b999bfd.tar.xz
drakx-backup-do-not-use-d1cc348191809530c80b35405317dbe21b999bfd.zip
Distinguish between printers "Configured on this machine" and
"Configured on other machines", not any more "Local Printers" and "Remote Printers", so the current dialog is compatible to the new GTK2 dialog.
Diffstat (limited to 'perl-install/printer/main.pm')
-rw-r--r--perl-install/printer/main.pm9
1 files changed, 1 insertions, 8 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm
index 9add764d4..e6567c8cb 100644
--- a/perl-install/printer/main.pm
+++ b/perl-install/printer/main.pm
@@ -320,14 +320,7 @@ sub make_menuentry {
my ($printer, $queue) = @_;
my $spooler = $spoolers{$printer->{SPOOLER}}{short_name};
my $connect = $printer->{configured}{$queue}{queuedata}{connect};
- my $localremote;
- if ($connect =~ m!^(file|parallel|usb|serial):! ||
- $connect =~ m!^ptal://?mlc:! ||
- $connect =~ m!^mtink:!) {
- $localremote = N("Local Printers");
- } else {
- $localremote = N("Remote Printers");
- }
+ my $localremote = N("Configured on this machine");
my $make = $printer->{configured}{$queue}{queuedata}{make};
my $model = $printer->{configured}{$queue}{queuedata}{model};
my $connection;