summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network')
-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',) ] } ];