From 593eca5fcc9bd7a3f5b0f2c9a87b7d53125a2b7c Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 3 Jul 2002 20:40:12 +0000 Subject: Pass TRUE as the auto_connect argument to mail_load_storage_from_uri(). 2002-07-03 Jeffrey Stedfast * mail-vfolder.c (vfolder_load_storage): Pass TRUE as the auto_connect argument to mail_load_storage_from_uri(). * mail-account-gui.c (add_new_store): Pass FALSE as the auto_connect value to mail_load_storage_from_uri(). * mail-format.c (handle_multipart_encrypted): Pass the correct pointer into camel_multipart_encrypted_decrypt(). * component-factory.c (mail_add_storage): Now takes an auto-connect argument which it passes along to add_storage(). (mail_load_storage_from_uri): Same. (add_storage): Only call mail_note_store() if we plan on auto-connecting. svn path=/trunk/; revision=17363 --- mail/mail.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/mail.h') diff --git a/mail/mail.h b/mail/mail.h index ef8bedc952..ecf49f4155 100644 --- a/mail/mail.h +++ b/mail/mail.h @@ -71,8 +71,8 @@ char *mail_get_message_body (CamelDataWrapper *data, gboolean want_plain, gboole char *mail_identify_mime_part (CamelMimePart *part, MailDisplay *md); /* component factory for lack of a better place */ -void mail_add_storage (CamelStore *store, const char *name, const char *uri); -void mail_load_storage_by_uri (GNOME_Evolution_Shell shell, const char *uri, const char *name); +void mail_add_storage (CamelStore *store, const char *name, const char *uri, gboolean auto_connect); +void mail_load_storage_by_uri (GNOME_Evolution_Shell shell, const char *uri, const char *name, gboolean auto_connect); /*takes a GSList of MailConfigServices */ void mail_load_storages (GNOME_Evolution_Shell shell, const GSList *sources, gboolean is_account_data); -- cgit v1.2.3