From 6490e8aed0673d12393d39f132394b0c46487ef8 Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Fri, 29 Aug 2003 00:16:42 +0000 Subject: Do not show hidden options in the options dialog. --- perl-install/printer/printerdrake.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install/printer') diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm index 27edd9957..4305c81d0 100644 --- a/perl-install/printer/printerdrake.pm +++ b/perl-install/printer/printerdrake.pm @@ -2603,6 +2603,9 @@ You should make sure that the page size and the ink type/printing mode (if avail my $i; my @oldgroup = ("", ""); for ($i = 0; $i <= $#{$printer->{ARGS}}; $i++) { + # Do not show hidden options (member options of a forced + # composite option) + next if $printer->{ARGS}[$i]{hidden}; my $optshortdefault = $printer->{ARGS}[$i]{default}; # Should the option only show when the "Advanced" button was # clicked? -- cgit v1.2.1