[empathy/gnome-3-0] connectivity: consider that network is disconnected if state is NM_STATE_ASLEEP (#647793)



commit c66c3bf8df20d888bae8e8c89c5041023e65142b
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]