From 295d825a151791460cba7c5454fabd0332409f51 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 7 May 2013 02:22:47 +0000 Subject: netcenter: update connection status after connection timeout (#3888) --- NEWS | 1 + lib/network/connection_manager.pm | 1 + 2 files changed, 2 insertions(+) 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; -- cgit v1.2.1