From 8160b750d804d3d7af55d6c77f1cddc6a16859b8 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 15 Apr 2011 08:33:27 +0200 Subject: connectivity: consider that network is disconnected if state is NM_STATE_ASLEEP (#647793) --- libempathy/empathy-connectivity.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libempathy/empathy-connectivity.c b/libempathy/empathy-connectivity.c index ebd72b09d..3c9805c54 100644 --- a/libempathy/empathy-connectivity.c +++ b/libempathy/empathy-connectivity.c @@ -111,6 +111,7 @@ connectivity_nm_state_change_cb (NMClient *client, #if NM_CHECK_VERSION(0,8,992) || state == NM_STATE_DISCONNECTING #endif + || state == NM_STATE_ASLEEP || state == NM_STATE_DISCONNECTED); DEBUG ("New NetworkManager network state %d (connected: %s)", state, -- cgit v1.2.3