diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-04-15 14:33:27 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-04-15 14:33:27 +0800 |
commit | 8160b750d804d3d7af55d6c77f1cddc6a16859b8 (patch) | |
tree | 9660456bed2e82ecef440d5cfce8f517ab4be2da | |
parent | ae01650e1c46d9856457d7cf657908acb3684913 (diff) | |
download | gsoc2013-empathy-8160b750d804d3d7af55d6c77f1cddc6a16859b8.tar gsoc2013-empathy-8160b750d804d3d7af55d6c77f1cddc6a16859b8.tar.gz gsoc2013-empathy-8160b750d804d3d7af55d6c77f1cddc6a16859b8.tar.bz2 gsoc2013-empathy-8160b750d804d3d7af55d6c77f1cddc6a16859b8.tar.lz gsoc2013-empathy-8160b750d804d3d7af55d6c77f1cddc6a16859b8.tar.xz gsoc2013-empathy-8160b750d804d3d7af55d6c77f1cddc6a16859b8.tar.zst gsoc2013-empathy-8160b750d804d3d7af55d6c77f1cddc6a16859b8.zip |
connectivity: consider that network is disconnected if state is NM_STATE_ASLEEP (#647793)
-rw-r--r-- | 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 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, |