summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-17 16:45:30 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-17 16:45:30 +0000
commita7efa834619943e29fb8b0c80315eda40f1a853e (patch)
tree2e708aa53bc9a7ec17ab055092a2f1323b23cd4d /perl-install/network/netconnect.pm
parent0173fcf296fd5b8a7478caa5f5c5789e100580bb (diff)
downloaddrakx-backup-do-not-use-a7efa834619943e29fb8b0c80315eda40f1a853e.tar
drakx-backup-do-not-use-a7efa834619943e29fb8b0c80315eda40f1a853e.tar.gz
drakx-backup-do-not-use-a7efa834619943e29fb8b0c80315eda40f1a853e.tar.bz2
drakx-backup-do-not-use-a7efa834619943e29fb8b0c80315eda40f1a853e.tar.xz
drakx-backup-do-not-use-a7efa834619943e29fb8b0c80315eda40f1a853e.zip
fix usage of bool type in interactive: put the text in the checkbox's
label instead of packing a standalone label *and* a checkbox with an empty label
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 1f61cf770..42cbd6e02 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -112,8 +112,8 @@ If you don't want to use the auto detection, deselect the checkbox.
},
[
if_(@profiles > 1, { label => N("Choose the profile to configure"), val => \$netcnx->{PROFILE}, list => \@profiles }),
- { label => N("Use auto detection"), val => \$netc->{autodetection}, type => 'bool' },
- { label => N("Expert Mode"), val => \$::expert, type => 'bool' },
+ { text => N("Use auto detection"), val => \$netc->{autodetection}, type => 'bool' },
+ { text => N("Expert Mode"), val => \$::expert, type => 'bool' },
]
) or goto step_5 }; $in->exit(0) if $@ =~ /wizcancel/;
undef $::Wizard_no_previous;
@@ -139,7 +139,7 @@ If you don't want to use the auto detection, deselect the checkbox.
messages => N("Choose the connection you want to configure"),
interactive_help_id => 'configureNetwork',
},
- [ map { { label => $_->[0], val => $_->[1], type => 'bool' } } @l ],
+ [ map { { text => $_->[0], val => $_->[1], type => 'bool' } } @l ],
changed => sub {
return if !$netc->{autodetection};
my $c = 0;