aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2002-07-15 23:00:05 +0800
committerPeter Williams <peterw@src.gnome.org>2002-07-15 23:00:05 +0800
commitf9a7422465a5f6c05d080cdbb8b06932d45ce8df (patch)
treec598d897823fd93e057fc3b5112fdbcaa1a68311 /mail/component-factory.c
parent7e9fe066648a94d79835ea45c83d536d03e558fe (diff)
downloadgsoc2013-evolution-f9a7422465a5f6c05d080cdbb8b06932d45ce8df.tar
gsoc2013-evolution-f9a7422465a5f6c05d080cdbb8b06932d45ce8df.tar.gz
gsoc2013-evolution-f9a7422465a5f6c05d080cdbb8b06932d45ce8df.tar.bz2
gsoc2013-evolution-f9a7422465a5f6c05d080cdbb8b06932d45ce8df.tar.lz
gsoc2013-evolution-f9a7422465a5f6c05d080cdbb8b06932d45ce8df.tar.xz
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/component-factory.c')
-rw-r--r--mail/component-factory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 7fe2a4e8a1..29d47cc681 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -1409,7 +1409,8 @@ mail_load_storages (GNOME_Evolution_Shell shell, const GSList *sources)
if (service == NULL || service->url == NULL || service->url[0] == '\0')
continue;
- mail_load_storage_by_uri (shell, service->url, name, service->enabled);
+ /* don't auto-connect here; the shell will tell us to goOnline */
+ mail_load_storage_by_uri (shell, service->url, name, FALSE);
}
}