summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-09-30 18:41:57 +0000
committerOlivier Blin <oblin@mandriva.com>2008-09-30 18:41:57 +0000
commitb477e545261d97f2484a913846b3ebb1708c8a2f (patch)
treef3c65211453b674150f6165568dfd12b982e057c
parentc46710c13d393e8144816a7ecc18feb6223c22db (diff)
downloaddrakx-net-b477e545261d97f2484a913846b3ebb1708c8a2f.tar
drakx-net-b477e545261d97f2484a913846b3ebb1708c8a2f.tar.gz
drakx-net-b477e545261d97f2484a913846b3ebb1708c8a2f.tar.bz2
drakx-net-b477e545261d97f2484a913846b3ebb1708c8a2f.tar.xz
drakx-net-b477e545261d97f2484a913846b3ebb1708c8a2f.zip
do not show interactive help during install
-rw-r--r--lib/network/netconnect.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/netconnect.pm b/lib/network/netconnect.pm
index 4b266d7..4ccd732 100644
--- a/lib/network/netconnect.pm
+++ b/lib/network/netconnect.pm
@@ -124,7 +124,7 @@ sub real_main {
pre => sub { undef $net->{type} },
if_(!$::isInstall, no_back => 1),
name => N("Choose the connection you want to configure"),
- interactive_help_id => 'configureNetwork',
+ if_(!$::isInstall, interactive_help_id => 'configureNetwork'),
data => [ { list => [ network::connection::get_types ],
type => 'list', val => \$net->{type}, format => sub { $_[0] && $_[0]->get_type_description },
gtk => { use_scrolling => 1 } } ],
@@ -535,7 +535,7 @@ Take a look at http://www.linmodems.org"),
$modem->{device} ||= readlink "$::prefix/dev/modem";
},
name => N("Please choose which serial port your modem is connected to."),
- interactive_help_id => 'selectSerialPort',
+ if_(!$::isInstall, interactive_help_id => 'selectSerialPort'),
data => sub {
[ { val => \$modem->{device}, format => \&mouse::serial_port2text, type => "list",
list => [ grep { $_ ne $mouse->{device} } (mouse::serial_ports(), glob_("/dev/ttyUSB*"), grep { -e $_ } '/dev/modem', '/dev/ttySL0', '/dev/ttyS14',) ] } ];