summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_applet
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-05-30 11:00:55 +0000
committerOlivier Blin <oblin@mandriva.org>2005-05-30 11:00:55 +0000
commit4b4f9f315bc66a6ba4db04e8cdebcccee398f40b (patch)
tree6e2eff960a52df1081dab419e59565ecbb53c80d /perl-install/standalone/net_applet
parenta89672a52248dd56ae1f1ba691a1e476820644a6 (diff)
downloaddrakx-backup-do-not-use-4b4f9f315bc66a6ba4db04e8cdebcccee398f40b.tar
drakx-backup-do-not-use-4b4f9f315bc66a6ba4db04e8cdebcccee398f40b.tar.gz
drakx-backup-do-not-use-4b4f9f315bc66a6ba4db04e8cdebcccee398f40b.tar.bz2
drakx-backup-do-not-use-4b4f9f315bc66a6ba4db04e8cdebcccee398f40b.tar.xz
drakx-backup-do-not-use-4b4f9f315bc66a6ba4db04e8cdebcccee398f40b.zip
move netprofile stuff in network::network
Diffstat (limited to 'perl-install/standalone/net_applet')
-rw-r--r--perl-install/standalone/net_applet8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index 8f81d72b5..53c42f62c 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -81,11 +81,11 @@ my %actions = (
},
'chooseProfile' => {
name => N("Profiles"),
- choices => sub { network::netconnect::get_profiles() },
- choice_selected => sub { $_[0] eq $netcnx->{PROFILE} },
+ choices => sub { network::network::netprofile_list()) },
+ choice_selected => sub { $_[0] eq $netc->{PROFILE} },
launch => sub {
- $netcnx->{PROFILE} = $_[0];
- network::tools::bg_command_as_root('/sbin/set-netprofile', $netcnx->{PROFILE});
+ $netc->{PROFILE} = $_[0];
+ network::tools::bg_command_as_root('/sbin/set-netprofile', $netc->{PROFILE});
}
},
'refresh' => { name => N("Refresh"), launch => sub { checkNetworkForce() } },