From: Guillaume Desmottes Date: Fri, 15 Apr 2011 06:33:27 +0000 (+0200) Subject: connectivity: consider that network is disconnected if state is NM_STATE_ASLEEP ... X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=8160b750d804d3d7af55d6c77f1cddc6a16859b8 connectivity: consider that network is disconnected if state is NM_STATE_ASLEEP (#647793) --- diff --git a/libempathy/empathy-connectivity.c b/libempathy/empathy-connectivity.c index ebd72b09..3c9805c5 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,