aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-nm.c
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2008-04-26 22:46:21 +0800
committerSuman Manjunath <msuman@src.gnome.org>2008-04-26 22:46:21 +0800
commit71a2b976155b49590348b24bd23c5603f7f483ae (patch)
treee991517727c72735bee63ab4843586064d068ca8 /shell/e-shell-nm.c
parentb16ffa38da4591b3662aa16781c233b18fb71a17 (diff)
downloadgsoc2013-evolution-71a2b976155b49590348b24bd23c5603f7f483ae.tar
gsoc2013-evolution-71a2b976155b49590348b24bd23c5603f7f483ae.tar.gz
gsoc2013-evolution-71a2b976155b49590348b24bd23c5603f7f483ae.tar.bz2
gsoc2013-evolution-71a2b976155b49590348b24bd23c5603f7f483ae.tar.lz
gsoc2013-evolution-71a2b976155b49590348b24bd23c5603f7f483ae.tar.xz
gsoc2013-evolution-71a2b976155b49590348b24bd23c5603f7f483ae.tar.zst
gsoc2013-evolution-71a2b976155b49590348b24bd23c5603f7f483ae.zip
Patch from James Westby <jw+debian@jameswestby.net>: Fix for bug #518103 (Check online status from NetworkManager at startup instead of using the last-used-state)
svn path=/trunk/; revision=35420
Diffstat (limited to 'shell/e-shell-nm.c')
-rw-r--r--shell/e-shell-nm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-nm.c b/shell/e-shell-nm.c
index 65b9812632..e6a9c2930e 100644
--- a/shell/e-shell-nm.c
+++ b/shell/e-shell-nm.c
@@ -104,7 +104,7 @@ e_shell_network_monitor (DBusConnection *connection G_GNUC_UNUSED,
if (line_status == E_SHELL_LINE_STATUS_ONLINE && status == E_SHELL_LINE_DOWN) {
shell_state = GNOME_Evolution_FORCED_OFFLINE;
e_shell_go_offline (shell, window, shell_state);
- } else if (line_status == E_SHELL_LINE_STATUS_OFFLINE && status == E_SHELL_LINE_UP) {
+ } else if (line_status == E_SHELL_LINE_STATUS_FORCED_OFFLINE && status == E_SHELL_LINE_UP) {
shell_state = GNOME_Evolution_USER_ONLINE;
e_shell_go_online (shell, window, shell_state);
}