aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-04-25 02:33:12 +0800
committerMilan Crha <mcrha@redhat.com>2009-04-25 02:33:12 +0800
commit70fe80d69aec73ea1f4fa830b00ac603546e135d (patch)
treebbe6e90d55626ff33593d3cf327de6676cb342c8 /mail/message-list.c
parent96a85a6ecd4f65c8a52ad2242cb55edd4ca6e2a8 (diff)
downloadgsoc2013-evolution-70fe80d69aec73ea1f4fa830b00ac603546e135d.tar
gsoc2013-evolution-70fe80d69aec73ea1f4fa830b00ac603546e135d.tar.gz
gsoc2013-evolution-70fe80d69aec73ea1f4fa830b00ac603546e135d.tar.bz2
gsoc2013-evolution-70fe80d69aec73ea1f4fa830b00ac603546e135d.tar.lz
gsoc2013-evolution-70fe80d69aec73ea1f4fa830b00ac603546e135d.tar.xz
gsoc2013-evolution-70fe80d69aec73ea1f4fa830b00ac603546e135d.tar.zst
gsoc2013-evolution-70fe80d69aec73ea1f4fa830b00ac603546e135d.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 a2a9989bda..c98ce04ace 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -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)