summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2013-05-07 02:22:47 +0000
committerOlivier Blin <blino@mageia.org>2013-05-07 02:22:47 +0000
commit295d825a151791460cba7c5454fabd0332409f51 (patch)
tree6a5ad7973ee8f204152d811479f30ccb508a835a /lib
parentf08ba752a2c20921ab4a0e7a7f3707af6d87412c (diff)
downloaddrakx-net-295d825a151791460cba7c5454fabd0332409f51.tar
drakx-net-295d825a151791460cba7c5454fabd0332409f51.tar.gz
drakx-net-295d825a151791460cba7c5454fabd0332409f51.tar.bz2
drakx-net-295d825a151791460cba7c5454fabd0332409f51.tar.xz
drakx-net-295d825a151791460cba7c5454fabd0332409f51.zip
netcenter: update connection status after connection timeout (#3888)
Diffstat (limited to 'lib')
-rw-r--r--lib/network/connection_manager.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index fd5489c..9e76868 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -202,6 +202,7 @@ sub start_connection {
Glib::Timeout->add($cmanager->{wait_message_timeout},
sub {
if ($cmanager->{wait_message}) {
+ $cmanager->update_on_status_change;
undef $cmanager->{wait_message};
$cmanager->{in}->ask_warn(N("Error"), N("Connection failed."))
if !$cmanager->{connection}->get_status;