aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-08-15 12:46:35 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-08-15 12:46:35 +0800
commit21a13fbcb64c543103a352d5b316565cac963c1c (patch)
treefd2fdecd9a5d31fc76d25accccb52b1a7a72542a /mail/message-list.c
parent545c3e8a64626dd516d9a5f044b080fea946536a (diff)
downloadgsoc2013-evolution-21a13fbcb64c543103a352d5b316565cac963c1c.tar.gz
gsoc2013-evolution-21a13fbcb64c543103a352d5b316565cac963c1c.tar.zst
gsoc2013-evolution-21a13fbcb64c543103a352d5b316565cac963c1c.zip
gets rid of those annoying operation-re-registered messages at last.
2001-08-15 Not Zed <NotZed@Ximian.com> * mail-local.c (register_folder_register): Remove operation registration/etc. Handled by mail-mt.c * message-list.c (regen_list_regen): Remove camel operation registration/etc. svn path=/trunk/; revision=12041
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 646bfb9246..7f7930c362 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -2326,19 +2326,13 @@ regen_list_regen (struct _mail_msg *mm)
CamelMessageInfo *info;
int i;
- camel_operation_register(mm->cancel);
- camel_operation_start(mm->cancel, _("Updating message list"));
-
if (m->search)
uids = camel_folder_search_by_expression (m->folder, m->search, &mm->ex);
else
uids = camel_folder_get_uids (m->folder);
- if (camel_exception_is_set (&mm->ex)) {
- camel_operation_end(mm->cancel);
- camel_operation_unregister(mm->cancel);
+ if (camel_exception_is_set (&mm->ex))
return;
- }
/* perform hiding */
if (m->hideexpr) {
@@ -2441,9 +2435,6 @@ regen_list_regen (struct _mail_msg *mm)
m->tree = camel_folder_thread_messages_new_summary (m->summary);
else
m->tree = NULL;
-
- camel_operation_end(mm->cancel);
- camel_operation_unregister(mm->cancel);
}
static void