diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2001-08-15 22:48:13 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2001-08-15 22:48:13 +0000 |
commit | e192b0985a1cfaa8b270e6142b99797ad3cf756d (patch) | |
tree | 658f510f09f14171812f7273c5699fbfed2bf878 /perl-install/printerdrake.pm | |
parent | 157996b04d563708e044f449e87c0a0087532c75 (diff) | |
download | drakx-backup-do-not-use-e192b0985a1cfaa8b270e6142b99797ad3cf756d.tar drakx-backup-do-not-use-e192b0985a1cfaa8b270e6142b99797ad3cf756d.tar.gz drakx-backup-do-not-use-e192b0985a1cfaa8b270e6142b99797ad3cf756d.tar.bz2 drakx-backup-do-not-use-e192b0985a1cfaa8b270e6142b99797ad3cf756d.tar.xz drakx-backup-do-not-use-e192b0985a1cfaa8b270e6142b99797ad3cf756d.zip |
Let the "Options" button only appear when the queue is Foomatic or with PPD (CUPS)
Diffstat (limited to 'perl-install/printerdrake.pm')
-rw-r--r-- | perl-install/printerdrake.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm index 72f1ec24b..5fcb5997e 100644 --- a/perl-install/printerdrake.pm +++ b/perl-install/printerdrake.pm @@ -1412,7 +1412,11 @@ What do you want to modify on this printer?", ($::expert ? _("Printer manufacturer, model, driver") : _("Printer manufacturer, model")), - _("Printer options"), + (($printer->{configured}{$queue}{make} ne + "") && + ($printer->{configured}{$queue}{model} ne + _("Unknown model")) ? + _("Printer options") : ()), _("Print test pages"), _("Remove printer") ] } ] ) ) { # Stay in the queue edit window until the user clicks "Close" |