aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-nm-glib.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-glib.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-glib.c')
-rw-r--r--shell/e-shell-nm-glib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-nm-glib.c b/shell/e-shell-nm-glib.c
index e14a2afee8..0af9e5d811 100644
--- a/shell/e-shell-nm-glib.c
+++ b/shell/e-shell-nm-glib.c
@@ -49,7 +49,7 @@ static void e_shell_glib_network_monitor (libnm_glib_ctx *ctx, gpointer user_dat
if (line_status == E_SHELL_LINE_STATUS_ONLINE && state == LIBNM_NO_NETWORK_CONNECTION) {
shell_state = GNOME_Evolution_FORCED_OFFLINE;
e_shell_go_offline (shell, window, shell_state);
- } else if (line_status == E_SHELL_LINE_STATUS_OFFLINE && state == LIBNM_ACTIVE_NETWORK_CONNECTION) {
+ } else if (line_status == E_SHELL_LINE_STATUS_FORCED_OFFLINE && state == LIBNM_ACTIVE_NETWORK_CONNECTION) {
shell_state = GNOME_Evolution_USER_ONLINE;
e_shell_go_online (shell, window, shell_state);
}