[evolution] Sort UIDs before using them
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution] Sort UIDs before using them
- Date: Fri, 24 Apr 2009 14:34:16 -0400 (EDT)
commit 70fe80d69aec73ea1f4fa830b00ac603546e135d
Author: Milan Crha <mcrha redhat com>
Date: Fri Apr 24 20:33:12 2009 +0200
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(+), 0 deletions(-)
diff --git a/mail/ChangeLog b/mail/ChangeLog
index d4a9c89..56918b1 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,12 @@
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
* mail-config.c: (mc_get_account_by), (get_source_url_string),
diff --git a/mail/message-list.c b/mail/message-list.c
index a2a9989..c98ce04 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]