From 1b72d81e5509bad15d811d71d103f7b93d429e3c Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Tue, 21 Aug 2001 16:36:00 +0000 Subject: Treat the spool provider like IMAP: update instead of performing an 2001-08-21 Peter Williams * mail-send-recv.c (build_dialogue): Treat the spool provider like IMAP: update instead of performing an explicit receive. svn path=/trunk/; revision=12344 --- mail/ChangeLog | 5 +++++ mail/mail-send-recv.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 939a124836..6cd9bacc51 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-08-21 Peter Williams + + * mail-send-recv.c (build_dialogue): Treat the spool provider like IMAP: + update instead of performing an explicit receive. + 2001-08-21 Peter Williams * folder-browser-ui.c (fbui_sensitize_items): Rename to diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index e70eade3e5..d47d69d278 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -277,8 +277,8 @@ static struct _send_data *build_dialogue(GSList *sources, CamelFolder *outbox, c info = g_hash_table_lookup(data->active, source->url); if (info == NULL) { info = g_malloc0(sizeof(*info)); - /* imap is handled differently */ - if (!strncmp(source->url, "imap:", 5)) + /* imap and spool are handled differently */ + if (!strncmp(source->url, "imap:", 5) || !strncmp (source->url, "spool:", 6)) info->type = SEND_UPDATE; else info->type = SEND_RECEIVE; -- cgit v1.2.3