aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-08-22 00:36:00 +0800
committerPeter Williams <peterw@src.gnome.org>2001-08-22 00:36:00 +0800
commit1b72d81e5509bad15d811d71d103f7b93d429e3c (patch)
treeb0bc3614392ecbb0b82888cba582563c59fe5ecd
parentee5591ab8403f97732789776bf56b3b444ffcd86 (diff)
downloadgsoc2013-evolution-1b72d81e5509bad15d811d71d103f7b93d429e3c.tar
gsoc2013-evolution-1b72d81e5509bad15d811d71d103f7b93d429e3c.tar.gz
gsoc2013-evolution-1b72d81e5509bad15d811d71d103f7b93d429e3c.tar.bz2
gsoc2013-evolution-1b72d81e5509bad15d811d71d103f7b93d429e3c.tar.lz
gsoc2013-evolution-1b72d81e5509bad15d811d71d103f7b93d429e3c.tar.xz
gsoc2013-evolution-1b72d81e5509bad15d811d71d103f7b93d429e3c.tar.zst
gsoc2013-evolution-1b72d81e5509bad15d811d71d103f7b93d429e3c.zip
Treat the spool provider like IMAP: update instead of performing an
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. svn path=/trunk/; revision=12344
-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;