aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r--mail/mail-session.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 02a67f4ee7..2fb0628301 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -979,6 +979,10 @@ mail_session_init (void)
camel_dir = g_strdup_printf ("%s/mail", evolution_dir);
camel_session_construct (session, camel_dir);
+
+ /* The shell will tell us to go online. */
+ camel_session_set_online ((CamelSession *)session, FALSE);
+
g_free (camel_dir);
}