Remove the assert, and always copy over the threadtree which represents

2002-07-22  Not Zed  <NotZed@Ximian.com>

	* message-list.c (regen_list_regened): Remove the assert, and
	always copy over the threadtree which represents the current view,
	unreffing the old one if set.  For #28021.  Haven't tested this a
	lot, but i guess it cant be worse than what is there.

svn path=/trunk/; revision=17524
This commit is contained in:
Not Zed
2002-07-22 09:22:17 +00:00
committed by Michael Zucci
parent 2d77ed3f0d
commit ed7236d351
2 changed files with 9 additions and 5 deletions
+5
View File
@@ -1,5 +1,10 @@
2002-07-22 Not Zed <NotZed@Ximian.com>
* message-list.c (regen_list_regened): Remove the assert, and
always copy over the threadtree which represents the current view,
unreffing the old one if set. For #28021. Haven't tested this a
lot, but i guess it cant be worse than what is there.
* mail-vfolder.c (store_folder_renamed): When renaming, use
full_name to set the folder, not name, so the path is preserved.
+4 -5
View File
@@ -2691,11 +2691,10 @@ regen_list_regened (struct _mail_msg *mm)
if (m->dotree) {
build_tree (m->ml, m->tree, m->changes);
g_assert(m->ml->thread_tree == NULL || m->ml->thread_tree == m->tree);
if (m->ml->thread_tree == NULL) {
m->ml->thread_tree = m->tree;
m->tree = NULL;
}
if (m->ml->thread_tree)
camel_folder_thread_messages_unref(m->ml->thread_tree);
m->ml->thread_tree = m->tree;
m->tree = NULL;
} else
build_flat (m->ml, m->summary, m->changes);