From dfbc58d0466a24dd08c5f20ac4199fe8bd353e85 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 10 Oct 2001 22:52:10 +0000 Subject: Fix up the logic here. * mail-config.c (new_source_created): Fix up the logic here. svn path=/trunk/; revision=13576 --- mail/ChangeLog | 4 ++++ mail/mail-config.c | 9 ++++----- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'mail') 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 + + * mail-config.c (new_source_created): Fix up the logic here. + 2001-10-10 Larry Ewing * 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)); -- cgit v1.2.3