diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2002-01-24 22:42:54 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2002-01-24 22:42:54 +0000 |
commit | 66bfc95dc2e453e9d52b02017c2241f6597e3d80 (patch) | |
tree | c9a9f2762a4406b8ab470a064d6ef35c831255bf /perl-install/printer.pm | |
parent | 9664677dd64e5e7efcda518935cd2b68bc0fee97 (diff) | |
download | drakx-backup-do-not-use-66bfc95dc2e453e9d52b02017c2241f6597e3d80.tar drakx-backup-do-not-use-66bfc95dc2e453e9d52b02017c2241f6597e3d80.tar.gz drakx-backup-do-not-use-66bfc95dc2e453e9d52b02017c2241f6597e3d80.tar.bz2 drakx-backup-do-not-use-66bfc95dc2e453e9d52b02017c2241f6597e3d80.tar.xz drakx-backup-do-not-use-66bfc95dc2e453e9d52b02017c2241f6597e3d80.zip |
Fixed bug of empty menu entry appearing after adding a new printer.
Modified "Local Printer" dialog to be more newbie-friendly.
Diffstat (limited to 'perl-install/printer.pm')
-rw-r--r-- | perl-install/printer.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/printer.pm b/perl-install/printer.pm index 906d8550e..57a01352b 100644 --- a/perl-install/printer.pm +++ b/perl-install/printer.pm @@ -453,7 +453,6 @@ sub make_menuentry { } else { $localremote = _("Remote Printers"); } - my $queue = $printer->{configured}{$queue}{'queuedata'}{'queue'}; my $make = $printer->{configured}{$queue}{'queuedata'}{'make'}; my $model = $printer->{configured}{$queue}{'queuedata'}{'model'}; my $connection; @@ -1136,6 +1135,9 @@ sub configure_queue($) { $printer->{configured}{$printer->{currentqueue}{'queue'}}{'args'} = read_cups_options($printer->{currentqueue}{'queue'}); } + # Construct an entry line for tree view in main window of + # printerdrake + make_menuentry($printer, $printer->{currentqueue}{'queue'}); # Clean up delete($printer->{ARGS}); $printer->{OLD_CHOICE} = ""; |