diff options
author | Milan Crha <mcrha@redhat.com> | 2012-04-23 18:49:46 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-04-23 18:49:46 +0800 |
commit | e4cce2eeae7889b82ff9a1da5d4062a83f2cbdf7 (patch) | |
tree | 46751fc357638293f6a8e48a003378758f52c032 /mail | |
parent | 12256b4f1cc7def560824ed5fb3c506669709a32 (diff) | |
download | gsoc2013-evolution-e4cce2eeae7889b82ff9a1da5d4062a83f2cbdf7.tar.gz gsoc2013-evolution-e4cce2eeae7889b82ff9a1da5d4062a83f2cbdf7.tar.zst gsoc2013-evolution-e4cce2eeae7889b82ff9a1da5d4062a83f2cbdf7.zip |
Bug #564820 - Search filter persists when changing folders
Diffstat (limited to 'mail')
-rw-r--r-- | mail/message-list.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index 14ef44fe91..154080eb19 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -3850,6 +3850,12 @@ message_list_set_folder (MessageList *message_list, if (message_list->folder == folder) return; + g_free (message_list->search); + message_list->search = NULL; + + g_free (message_list->frozen_search); + message_list->frozen_search = NULL; + if (message_list->seen_id) { g_source_remove (message_list->seen_id); message_list->seen_id = 0; |