summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-02-25 16:03:42 +0000
committerOlivier Blin <oblin@mandriva.com>2009-02-25 16:03:42 +0000
commit833eefcb5d6b41cd0870344e907f57cfc66d5e2e (patch)
tree3cd0c6a091a3457923eff78b3d5238cd4c31b65f /lib/network
parent179b2801bdce99147f35b1429ccdcbac76a26fb4 (diff)
downloaddrakx-net-833eefcb5d6b41cd0870344e907f57cfc66d5e2e.tar
drakx-net-833eefcb5d6b41cd0870344e907f57cfc66d5e2e.tar.gz
drakx-net-833eefcb5d6b41cd0870344e907f57cfc66d5e2e.tar.bz2
drakx-net-833eefcb5d6b41cd0870344e907f57cfc66d5e2e.tar.xz
drakx-net-833eefcb5d6b41cd0870344e907f57cfc66d5e2e.zip
keep wait message in drakroam too
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/connection_manager.pm1
-rwxr-xr-xlib/network/netcenter.pm1
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index 3ebbe83..b005e76 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -38,6 +38,7 @@ sub new {
sub set_connection {
my ($cmanager, $connection) = @_;
$cmanager->{connection} = $connection;
+ $cmanager->{wait_message_timeout} = 20*1000 if ref($connection) eq 'network::connection::wireless' && $cmanager->{net}{monitor};
}
sub check_setup {
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index 27a56c6..cd5cdb3 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -19,7 +19,6 @@ sub build_cmanager {
my $cmanager = network::connection_manager->new($in, $net, $w, $pixbufs);
$cmanager->set_connection($connection);
$cmanager->{gui}{show_unique_network} = $cmanager->{connection}->has_unique_network;
- $cmanager->{wait_message_timeout} = 20*1000 if ref($connection) eq 'network::connection::wireless' && $net->{monitor};
if ($connection->can('get_networks')) {
$cmanager->create_networks_list;