From f02c665c123debca3d01aef99bead9844d1ff62b Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 31 Jan 2005 20:34:17 +0000 Subject: Reset the normalised string sort table. 2005-01-28 Jeffrey Stedfast * message-list.c (message_list_set_folder): Reset the normalised string sort table. svn path=/trunk/; revision=28638 --- mail/message-list.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mail/message-list.c') 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) { -- cgit