diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-12-19 20:55:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-12-19 20:55:49 +0000 |
commit | 3e20a560e2632f77a6536f59d698eeeebea7a181 (patch) | |
tree | 18c9244d11f003a2594c5590c1a40f5d1ae625eb /perl-install/printer/printerdrake.pm | |
parent | fd0b2d7966ee3c48142c813a87be8fe1bb004a70 (diff) | |
download | drakx-3e20a560e2632f77a6536f59d698eeeebea7a181.tar drakx-3e20a560e2632f77a6536f59d698eeeebea7a181.tar.gz drakx-3e20a560e2632f77a6536f59d698eeeebea7a181.tar.bz2 drakx-3e20a560e2632f77a6536f59d698eeeebea7a181.tar.xz drakx-3e20a560e2632f77a6536f59d698eeeebea7a181.zip |
- printer::main::read_cups_printer_list() is now printer::cups::read_printer_list() (but it is unused!)
- printer::main::get_cups_remote_queues() is now printer::cups::get_formatted_remote_queues()
- cleanup printer::cups::get_remote_queues() using printer::cups::lpstat_v()
Diffstat (limited to 'perl-install/printer/printerdrake.pm')
-rw-r--r-- | perl-install/printer/printerdrake.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm index 318bcfe3d..27a08eeac 100644 --- a/perl-install/printer/printerdrake.pm +++ b/perl-install/printer/printerdrake.pm @@ -2889,7 +2889,7 @@ sub main { } elsif ($printer->{SPOOLER} eq "cups") { ($cursorpos) = grep { /!$printer->{DEFAULT}:[^!]*$/ } - printer::main::get_cups_remote_queues($printer); + printer::cups::get_formatted_remote_queues($printer); } } # Generate the list of available printers @@ -2900,7 +2900,7 @@ sub main { keys(%{$printer->{configured} || {}})), ($printer->{SPOOLER} eq "cups" ? - printer::main::get_cups_remote_queues($printer) : + printer::cups::get_formatted_remote_queues($printer) : ())); my $noprinters = $#printerlist < 0; # Position the cursor where it were before (in case |