diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2003-08-29 00:16:42 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2003-08-29 00:16:42 +0000 |
commit | 6490e8aed0673d12393d39f132394b0c46487ef8 (patch) | |
tree | 45e9884994c4a0ab11f8fe5987817466794443dd /perl-install/printer | |
parent | cb0ebbebdd7d31ddd18db3c2def5c5346fc03203 (diff) | |
download | drakx-backup-do-not-use-6490e8aed0673d12393d39f132394b0c46487ef8.tar drakx-backup-do-not-use-6490e8aed0673d12393d39f132394b0c46487ef8.tar.gz drakx-backup-do-not-use-6490e8aed0673d12393d39f132394b0c46487ef8.tar.bz2 drakx-backup-do-not-use-6490e8aed0673d12393d39f132394b0c46487ef8.tar.xz drakx-backup-do-not-use-6490e8aed0673d12393d39f132394b0c46487ef8.zip |
Do not show hidden options in the options dialog.
Diffstat (limited to 'perl-install/printer')
-rw-r--r-- | perl-install/printer/printerdrake.pm | 3 |
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? |