summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--NEWS1
-rw-r--r--lib/network/connection_manager.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 8d0a363..b70b5c9 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
- connection manager: extract gtk2 specific code in separate module
(to reuse connection manager in harddrake service for packages installation)
- net_applet/netcenter/drakroam: remove unused pixbufs creation
+- netcenter: update connection status after connection timeout (#3888)
1.23:
- add FDN to ISP list (mga#6883)
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;