[empathy: 1/2] connectivity: consider that network is disconnected if state is NM_STATE_ASLEEP (#647793)



commit 8160b750d804d3d7af55d6c77f1cddc6a16859b8
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Apr 15 08:33:27 2011 +0200

    connectivity: consider that network is disconnected if state is NM_STATE_ASLEEP (#647793)

 libempathy/empathy-connectivity.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-connectivity.c b/libempathy/empathy-connectivity.c
index ebd72b0..3c9805c 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]