aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-02-25 02:23:03 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-02-25 02:23:03 +0800
commit24abc4f17353ed818a09f324f5ed8822ad9b5a7e (patch)
tree1d11660ebe5bff3419b278c664d20e9b68f3d4c3 /shell
parent305152503fb15c0d146c4544e5d66c3dece4e1ec (diff)
downloadgsoc2013-evolution-24abc4f17353ed818a09f324f5ed8822ad9b5a7e.tar
gsoc2013-evolution-24abc4f17353ed818a09f324f5ed8822ad9b5a7e.tar.gz
gsoc2013-evolution-24abc4f17353ed818a09f324f5ed8822ad9b5a7e.tar.bz2
gsoc2013-evolution-24abc4f17353ed818a09f324f5ed8822ad9b5a7e.tar.lz
gsoc2013-evolution-24abc4f17353ed818a09f324f5ed8822ad9b5a7e.tar.xz
gsoc2013-evolution-24abc4f17353ed818a09f324f5ed8822ad9b5a7e.tar.zst
gsoc2013-evolution-24abc4f17353ed818a09f324f5ed8822ad9b5a7e.zip
Go offline when we see NM_STATE_ASLEEP from NetworkManager (#572962).
svn path=/branches/kill-bonobo/; revision=37318
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-nm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/e-shell-nm.c b/shell/e-shell-nm.c
index 48652501da..c1598b4a7d 100644
--- a/shell/e-shell-nm.c
+++ b/shell/e-shell-nm.c
@@ -85,6 +85,7 @@ e_shell_network_monitor (DBusConnection *connection G_GNUC_UNUSED,
case NM_STATE_CONNECTED:
e_shell_set_network_available (shell, TRUE);
break;
+ case NM_STATE_ASLEEP:
case NM_STATE_DISCONNECTED:
e_shell_set_network_available (shell, FALSE);
break;