diff options
author | Damien Chaumette <dchaumette@mandriva.com> | 2004-01-22 14:56:02 +0000 |
---|---|---|
committer | Damien Chaumette <dchaumette@mandriva.com> | 2004-01-22 14:56:02 +0000 |
commit | 403ad9456fb4b610b8e8f24eb442a2727879072f (patch) | |
tree | d277c0b56f1d2b74470eac464a26c19e0ff918f9 /perl-install/standalone | |
parent | 0cd77f86cc948625adb6f67d2bafda6b7f622d2e (diff) | |
download | drakx-403ad9456fb4b610b8e8f24eb442a2727879072f.tar drakx-403ad9456fb4b610b8e8f24eb442a2727879072f.tar.gz drakx-403ad9456fb4b610b8e8f24eb442a2727879072f.tar.bz2 drakx-403ad9456fb4b610b8e8f24eb442a2727879072f.tar.xz drakx-403ad9456fb4b610b8e8f24eb442a2727879072f.zip |
- further s/cnx/intf/
- remove old code
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakconnect | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 461fec34f..c7b06d2bd 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -395,15 +395,15 @@ sub build_notebook { ), gtkpack_(Gtk2::HBox->new(0,0), 0, Gtk2::Label->new(N("Connection timeout (in sec)")), - 1, gtksignal_connect($gui->{cnx}{huptimeout} = Gtk2::Entry->new, + 1, gtksignal_connect($gui->{intf}{huptimeout} = Gtk2::Entry->new, key_press_event => $apply), ), ), )); - $dialing_mode_radio[0]->signal_connect('toggled' => sub { $gui->{cnx}{dialing_mode_radio} = 'auto'; $apply->() }); - $dialing_mode_radio[1]->signal_connect('toggled' => sub { $gui->{cnx}{dialing_mode_radio} = 'static'; $apply->() }); - $speed_radio[0]->signal_connect('toggled' => sub { $gui->{cnx}{speed_radio} = '64'; $apply->() }); - $speed_radio[1]->signal_connect('toggled' => sub { $gui->{cnx}{speed_radio} = '128'; $apply->() }); + $dialing_mode_radio[0]->signal_connect('toggled' => sub { $gui->{intf}{dialing_mode_radio} = 'auto'; $apply->() }); + $dialing_mode_radio[1]->signal_connect('toggled' => sub { $gui->{intf}{dialing_mode_radio} = 'static'; $apply->() }); + $speed_radio[0]->signal_connect('toggled' => sub { $gui->{intf}{speed_radio} = '64'; $apply->() }); + $speed_radio[1]->signal_connect('toggled' => sub { $gui->{intf}{speed_radio} = '128'; $apply->() }); $gui->{intf_bool}{ONBOOT}->set_active($intf->{ONBOOT} eq 'yes' ? 1 : 0); $gui->{intf_bool}{MII_NOT_SUPPORTED}->set_active($intf->{MII_NOT_SUPPORTED} eq 'no' ? 1 : 0); $gui->{intf_bool}{HWADDR}->set_active($intf->{HWADDR}); @@ -433,8 +433,6 @@ sub build_notebook { ); $gui->{intf}{auth}->set_popdown_strings(N("PAP"), N("Terminal-based"), N("Script-based"), N_("CHAP")); $gui->{intf}{passwd}->set_visibility(0); - #/^user\s+"([^"]+)"/ and $intf->{login} = $1 foreach cat_("/etc/ppp/peers/adsl"); - #$_->{login} eq $intf->{login} and $intf->{passwd} = $_->{passwd} foreach @{read_secret_backend()}; } if ($intf->{pages}{Modem}) { |