From d9b8a249c4778ba2c385af244661b2e94e360ccf Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 24 Apr 2009 20:33:12 +0200 Subject: 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. --- mail/ChangeLog | 7 +++++++ mail/message-list.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/mail/ChangeLog b/mail/ChangeLog index d4a9c8912f..56918b19fb 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2009-04-24 Milan Crha + + ** 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 ** Fix for bug #552583 diff --git a/mail/message-list.c b/mail/message-list.c index 3386ff4d3b..dce409ee04 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -4344,6 +4344,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) -- cgit v1.2.3