From e687d1a435d70200a50d65babe86b754cd0ff13f Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 24 May 2004 04:17:34 +0000 Subject: pull the message from the regen list before we check the list and pending 2004-05-24 Not Zed * message-list.c (regen_list_regened): pull the message from the regen list before we check the list and pending uid. * em-folder-view.c (emfv_enable_menus): remove the hack for enabling select delete from here and put it in the right place. (em_folder_view_get_popup_target): put it here so its consistent. svn path=/trunk/; revision=26055 --- mail/message-list.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mail/message-list.c') diff --git a/mail/message-list.c b/mail/message-list.c index 58f579dc4b..d621281433 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -3516,6 +3516,8 @@ regen_list_regened (struct _mail_msg *mm) g_free (m->ml->search); m->ml->search = m->search; + m->ml->regen = g_list_remove(m->ml->regen, m); + if (m->ml->regen == NULL && m->ml->pending_select_uid) { char *uid = m->ml->pending_select_uid; @@ -3549,7 +3551,7 @@ regen_list_free (struct _mail_msg *mm) if (m->changes) camel_folder_change_info_free (m->changes); - /* we have to poke this here since we might've been cancelled and regened wont get called */ + /* we have to poke this here as well since we might've been cancelled and regened wont get called */ m->ml->regen = g_list_remove(m->ml->regen, m); g_object_unref(m->ml); -- cgit v1.2.3