From fe57c63558450228ca52c6f3302910372be6ebb4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 13 Feb 2003 14:35:52 +0000 Subject: - set_help is deprecated - it is replaced by interactive_help_id on each ask_* - many set_help do not have any correspondance in help.pm (drakxid-*), those are commented for now --- perl-install/network/modem.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'perl-install/network/modem.pm') diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm index 011ee9054..050743794 100644 --- a/perl-install/network/modem.pm +++ b/perl-install/network/modem.pm @@ -218,8 +218,9 @@ sub ppp_choose { $mouse ||= {}; $mouse->{device} ||= readlink "$::prefix/dev/mouse"; - $::isInstall and $in->set_help('selectSerialPort'); - $modem->{device} ||= $in->ask_from_listf('', N("Please choose which serial port your modem is connected to."), + $modem->{device} ||= $in->ask_from_listf_raw({ messsages => N("Please choose which serial port your modem is connected to."), + interactive_help_id => 'selectSerialPort', + }, \&mouse::serial_port2text, [ grep { $_ ne $mouse->{device} } (mouse::serial_ports(), if_(-e '/dev/modem', '/dev/modem')) ]) || return; @@ -228,7 +229,7 @@ sub ppp_choose { foreach (@$secret) { push @cnx_list, $_->{server}; } - $::isStandalone || $in->set_help('configureNetworkISP'); +# $::isStandalone || $in->set_help('configureNetworkISP'); $in->ask_from('', N("Dialup options"), [ { label => N("Connection name"), val => \$modem->{connection} }, { label => N("Phone number"), val => \$modem->{phone} }, -- cgit v1.2.1