diff options
author | Not Zed <NotZed@Ximian.com> | 2004-05-24 12:17:34 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-05-24 12:17:34 +0800 |
commit | e687d1a435d70200a50d65babe86b754cd0ff13f (patch) | |
tree | d85412a868172a14cb48c60ffc9f553143fc7b53 /mail/message-list.c | |
parent | c6511cddca5cc8820b3a4c944045ef92814f8371 (diff) | |
download | gsoc2013-evolution-e687d1a435d70200a50d65babe86b754cd0ff13f.tar gsoc2013-evolution-e687d1a435d70200a50d65babe86b754cd0ff13f.tar.gz gsoc2013-evolution-e687d1a435d70200a50d65babe86b754cd0ff13f.tar.bz2 gsoc2013-evolution-e687d1a435d70200a50d65babe86b754cd0ff13f.tar.lz gsoc2013-evolution-e687d1a435d70200a50d65babe86b754cd0ff13f.tar.xz gsoc2013-evolution-e687d1a435d70200a50d65babe86b754cd0ff13f.tar.zst gsoc2013-evolution-e687d1a435d70200a50d65babe86b754cd0ff13f.zip |
pull the message from the regen list before we check the list and pending
2004-05-24 Not Zed <NotZed@Ximian.com>
* 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
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |