Sort UIDs before using them

** Fix for bug #563954

	* message-list.c: (regen_list_exec): Sort UIDs before
	using them to obtain proper order when without sorting.
This commit is contained in:
Milan Crha
2009-04-24 20:33:12 +02:00
parent 96a85a6ecd
commit 70fe80d69a
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2009-04-24 Milan Crha <mcrha@redhat.com>
** Fix for bug #563954
* message-list.c: (regen_list_exec): Sort UIDs before
using them to obtain proper order when without sorting.
2009-04-24 Milan Crha <mcrha@redhat.com>
** Fix for bug #552583

View File

@ -4169,6 +4169,8 @@ regen_list_exec (struct _regen_list_msg *m)
//camel_folder_summary_reload_from_db (m->folder->summary, NULL);
if (!camel_operation_cancel_check(m->base.cancel)) {
camel_folder_sort_uids (m->folder, showuids);
/* update/build a new tree */
if (m->dotree) {
if (m->tree)