summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_applet
diff options
context:
space:
mode:
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() } },