diff options
author | Milan Crha <mcrha@redhat.com> | 2009-10-27 21:01:10 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-10-27 21:01:10 +0800 |
commit | 555c178a7d52ae4aa5a52fa78bbbc0f70f4cc576 (patch) | |
tree | 938d1b7f190318d9e40b295df7c8c411da608b34 /mail/mail-mt.c | |
parent | d00a56d4cc6f3185004f6babdb1a5f7aad729b5e (diff) | |
download | gsoc2013-evolution-555c178a7d52ae4aa5a52fa78bbbc0f70f4cc576.tar.gz gsoc2013-evolution-555c178a7d52ae4aa5a52fa78bbbc0f70f4cc576.tar.zst gsoc2013-evolution-555c178a7d52ae4aa5a52fa78bbbc0f70f4cc576.zip |
Bug #571039 - Shows all selected messages in a preview pane on a slow network
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r-- | mail/mail-mt.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c index 16d593c0f3..f87a8f2e91 100644 --- a/mail/mail-mt.c +++ b/mail/mail-mt.c @@ -309,7 +309,8 @@ mail_msg_check_error (gpointer msg) if (!camel_exception_is_set(&m->ex) || m->ex.id == CAMEL_EXCEPTION_USER_CANCEL - || m->ex.id == CAMEL_EXCEPTION_FOLDER_INVALID_UID) + || m->ex.id == CAMEL_EXCEPTION_FOLDER_INVALID_UID + || (m->cancel && camel_operation_cancel_check (m->cancel))) return; if (active_errors == NULL) @@ -527,10 +528,6 @@ mail_msg_proxy (MailMsg *msg) if (msg->info->desc != NULL && msg->cancel) { camel_operation_end (msg->cancel); camel_operation_unregister (msg->cancel); - MAIL_MT_LOCK (mail_msg_lock); - camel_operation_unref (msg->cancel); - msg->cancel = NULL; - MAIL_MT_UNLOCK (mail_msg_lock); } g_async_queue_push (msg_reply_queue, msg); |