From a7efa834619943e29fb8b0c80315eda40f1a853e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 17 Jul 2003 16:45:30 +0000 Subject: 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 --- perl-install/network/netconnect.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install') 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; -- cgit v1.2.1