aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2005-02-01 04:34:17 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2005-02-01 04:34:17 +0800
commitf02c665c123debca3d01aef99bead9844d1ff62b (patch)
tree0f3aacd072f7b68579f04f43f6a82a6b8da91a10 /mail
parent26a980c35eb26230226b84aa6b15466aef984862 (diff)
downloadgsoc2013-evolution-f02c665c123debca3d01aef99bead9844d1ff62b.tar
gsoc2013-evolution-f02c665c123debca3d01aef99bead9844d1ff62b.tar.gz
gsoc2013-evolution-f02c665c123debca3d01aef99bead9844d1ff62b.tar.bz2
gsoc2013-evolution-f02c665c123debca3d01aef99bead9844d1ff62b.tar.lz
gsoc2013-evolution-f02c665c123debca3d01aef99bead9844d1ff62b.tar.xz
gsoc2013-evolution-f02c665c123debca3d01aef99bead9844d1ff62b.tar.zst
gsoc2013-evolution-f02c665c123debca3d01aef99bead9844d1ff62b.zip
Reset the normalised string sort table.
2005-01-28 Jeffrey Stedfast <fejj@novell.com> * message-list.c (message_list_set_folder): Reset the normalised string sort table. svn path=/trunk/; revision=28638
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/message-list.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index e9deb94ddd..fa37f2f864 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-28 Jeffrey Stedfast <fejj@novell.com>
+
+ * message-list.c (message_list_set_folder): Reset the normalised
+ string sort table.
+
2005-01-31 JP Rosevear <jpr@novell.com>
Fixes #71937
diff --git a/mail/message-list.c b/mail/message-list.c
index 688c45e437..f5e3c4213e 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -2803,7 +2803,10 @@ message_list_set_folder (MessageList *message_list, CamelFolder *folder, const c
g_source_remove (message_list->idle_id);
message_list->idle_id = 0;
}
-
+
+ /* reset the normalised sort performance hack */
+ g_hash_table_foreach (message_list->normalised_hash, normalised_free, NULL);
+
mail_regen_cancel(message_list);
if (message_list->folder != NULL) {