[evolution-mapi] Bug #607637 - empty trash doesn't refresh folder view
- From: Johnny Jacob <jjohnny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Bug #607637 - empty trash doesn't refresh folder view
- Date: Thu, 18 Feb 2010 08:52:25 +0000 (UTC)
commit e6bfbb493c1e8fc1c248a4fd45275165efefe507
Author: Johnny Jacob <johnnyjacob gmail com>
Date: Tue Feb 16 12:39:41 2010 +0530
Bug #607637 - empty trash doesn't refresh folder view
Use camel_folder_summary_clear_db for cleaning dummary db.
src/camel/camel-mapi-summary.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/camel/camel-mapi-summary.c b/src/camel/camel-mapi-summary.c
index efd64fc..1e8c938 100644
--- a/src/camel/camel-mapi-summary.c
+++ b/src/camel/camel-mapi-summary.c
@@ -262,7 +262,6 @@ mapi_summary_clear (CamelFolderSummary *summary, gboolean uncache)
{
CamelFolderChangeInfo *changes;
CamelMessageInfo *info;
- CamelException ex;
int i, count;
const char *uid;
@@ -278,10 +277,7 @@ mapi_summary_clear (CamelFolderSummary *summary, gboolean uncache)
camel_message_info_free(info);
}
- camel_folder_summary_clear (summary);
- camel_exception_init (&ex);
- /*TODO : Test exception */
- camel_folder_summary_save_to_db (summary, &ex);
+ camel_folder_summary_clear_db (summary);
if (uncache)
camel_data_cache_clear (((CamelMapiFolder *) summary->folder)->cache, "cache", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]