aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-10-11 06:52:10 +0800
committerDan Winship <danw@src.gnome.org>2001-10-11 06:52:10 +0800
commitdfbc58d0466a24dd08c5f20ac4199fe8bd353e85 (patch)
tree93f8fdb26247b117c59531b332d0b9bb95f8e47c /mail
parentf3e2d67d4dc9211f7036618e0f272d9ef1f86915 (diff)
downloadgsoc2013-evolution-dfbc58d0466a24dd08c5f20ac4199fe8bd353e85.tar.gz
gsoc2013-evolution-dfbc58d0466a24dd08c5f20ac4199fe8bd353e85.tar.zst
gsoc2013-evolution-dfbc58d0466a24dd08c5f20ac4199fe8bd353e85.zip
Fix up the logic here.
* mail-config.c (new_source_created): Fix up the logic here. svn path=/trunk/; revision=13576
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-config.c9
2 files changed, 8 insertions, 5 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index abbe894f2f..782da07741 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-10 Dan Winship <danw@ximian.com>
+
+ * mail-config.c (new_source_created): Fix up the logic here.
+
2001-10-10 Larry Ewing <lewing@ximian.com>
* mail-callbacks.c (mail_generate_reply): use new function to copy
diff --git a/mail/mail-config.c b/mail/mail-config.c
index aa94a2c8e3..5ed4886163 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -1609,7 +1609,8 @@ new_source_created (MailConfigAccount *account)
}
/* not a storage, don't bother. */
- if (!(prov->flags & CAMEL_PROVIDER_IS_STORAGE))
+ if (!(prov->flags & CAMEL_PROVIDER_IS_STORAGE) ||
+ (prov->flags & CAMEL_PROVIDER_IS_EXTERNAL))
return;
inbox = mail_tool_get_inbox (account->source->url, &ex);
@@ -1639,10 +1640,8 @@ new_source_created (MailConfigAccount *account)
*/
}
- if (!(prov->flags & CAMEL_PROVIDER_IS_EXTERNAL)) {
- /* add the storage to the folder tree */
- add_new_storage (account->source->url, account->name);
- }
+ /* add the storage to the folder tree */
+ add_new_storage (account->source->url, account->name);
if (inbox)
camel_object_unref (CAMEL_OBJECT (inbox));