aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-04-25 02:33:12 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-04-28 20:03:33 +0800
commitd9b8a249c4778ba2c385af244661b2e94e360ccf (patch)
tree4c8bdea1b5b103beda5a45b23046f5910a83aa39 /mail/message-list.c
parent1d1288d29c72794aa83ad8cf0e51747c2f2c250c (diff)
downloadgsoc2013-evolution-d9b8a249c4778ba2c385af244661b2e94e360ccf.tar.gz
gsoc2013-evolution-d9b8a249c4778ba2c385af244661b2e94e360ccf.tar.zst
gsoc2013-evolution-d9b8a249c4778ba2c385af244661b2e94e360ccf.zip
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.
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c2
1 files changed, 2 insertions, 0 deletions
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)