diff options
author | Peter Williams <peterw@ximian.com> | 2002-07-15 23:00:05 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2002-07-15 23:00:05 +0800 |
commit | f9a7422465a5f6c05d080cdbb8b06932d45ce8df (patch) | |
tree | c598d897823fd93e057fc3b5112fdbcaa1a68311 /mail/mail-session.c | |
parent | 7e9fe066648a94d79835ea45c83d536d03e558fe (diff) | |
download | gsoc2013-evolution-f9a7422465a5f6c05d080cdbb8b06932d45ce8df.tar.gz gsoc2013-evolution-f9a7422465a5f6c05d080cdbb8b06932d45ce8df.tar.zst gsoc2013-evolution-f9a7422465a5f6c05d080cdbb8b06932d45ce8df.zip |
Account for the case that when a disco store is "online" but actually
2002-07-15 Peter Williams <peterw@ximian.com>
* mail-offline-handler.c (service_is_relevant): Account for the case
that when a disco store is "online" but actually offline and we're
going online, we should actually connect it.
* component-factory.c (mail_load_storages): Always set auto_connect
to FALSE, same reason as below.
* mail-session.c (mail_session_init): Initialize our session to not be online,
since the shell will tell us to go online if we need to.
svn path=/trunk/; revision=17459
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r-- | mail/mail-session.c | 4 |
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); } |