summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-18 19:48:48 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-18 19:48:48 +0000
commit6fc6dba9b140c06cf66e94581fa9bec84c61b941 (patch)
tree072fc3f95b0cbb7593ca586122173aa17126d0fe /lib
parent836c85d1be11b95e45f3b6f57725c8438842d667 (diff)
downloaddrakx-net-6fc6dba9b140c06cf66e94581fa9bec84c61b941.tar
drakx-net-6fc6dba9b140c06cf66e94581fa9bec84c61b941.tar.gz
drakx-net-6fc6dba9b140c06cf66e94581fa9bec84c61b941.tar.bz2
drakx-net-6fc6dba9b140c06cf66e94581fa9bec84c61b941.tar.xz
drakx-net-6fc6dba9b140c06cf66e94581fa9bec84c61b941.zip
get provider settings first
Diffstat (limited to 'lib')
-rw-r--r--lib/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/netconnect.pm b/lib/network/netconnect.pm
index f496e15..7b46d28 100644
--- a/lib/network/netconnect.pm
+++ b/lib/network/netconnect.pm
@@ -194,12 +194,12 @@ sub real_main {
select_provider => {
pre => sub {
+ $provider_settings = $connection->get_provider_settings;
@providers_data = $connection->get_providers;
require lang;
my $locale_country = lang::c2name(ref($::o) && $::o->{locale}{country} || lang::read()->{country});
my $separator = $providers_data[1];
$connection->{provider_name} = find { /^\Q$locale_country$separator\E/ } sort(keys %{$providers_data[0]});
- $provider_settings = $connection->get_provider_settings;
},
name => sub { $net->{type}->get_type_name . "\n\n" . N("Please select your provider:") },
data => sub { $provider_settings },