aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-send-recv.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 939a124836..6cd9bacc51 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,10 @@
2001-08-21 Peter Williams <peterw@ximian.com>
+ * mail-send-recv.c (build_dialogue): Treat the spool provider like IMAP:
+ update instead of performing an explicit receive.
+
+2001-08-21 Peter Williams <peterw@ximian.com>
+
* folder-browser-ui.c (fbui_sensitize_items): Rename to
fbui_real_sensitize_items. Now we queue a change and set up a timeout,
making sure weed out redundant changes, fixing flicker.
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;