summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2003-08-29 00:16:42 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2003-08-29 00:16:42 +0000
commit6490e8aed0673d12393d39f132394b0c46487ef8 (patch)
tree45e9884994c4a0ab11f8fe5987817466794443dd
parentcb0ebbebdd7d31ddd18db3c2def5c5346fc03203 (diff)
downloaddrakx-6490e8aed0673d12393d39f132394b0c46487ef8.tar
drakx-6490e8aed0673d12393d39f132394b0c46487ef8.tar.gz
drakx-6490e8aed0673d12393d39f132394b0c46487ef8.tar.bz2
drakx-6490e8aed0673d12393d39f132394b0c46487ef8.tar.xz
drakx-6490e8aed0673d12393d39f132394b0c46487ef8.zip
Do not show hidden options in the options dialog.
-rw-r--r--perl-install/printer/printerdrake.pm3
1 files changed, 3 insertions, 0 deletions
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?