evolution-data-server r9378 - trunk/camel/providers/local
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9378 - trunk/camel/providers/local
- Date: Mon, 18 Aug 2008 10:35:56 +0000 (UTC)
Author: sragavan
Date: Mon Aug 18 10:35:55 2008
New Revision: 9378
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9378&view=rev
Log:
2008-08-18 Srinivasa Ragavan <sragavan novell com>
* camel/providers/local/camel-mbox-summary.c: When required just save
the header and not all.
Modified:
trunk/camel/providers/local/ChangeLog
trunk/camel/providers/local/camel-mbox-summary.c
Modified: trunk/camel/providers/local/camel-mbox-summary.c
==============================================================================
--- trunk/camel/providers/local/camel-mbox-summary.c (original)
+++ trunk/camel/providers/local/camel-mbox-summary.c Mon Aug 18 10:35:55 2008
@@ -1021,6 +1021,7 @@
size_t len;
const char *fromline;
int lastdel = FALSE;
+ gboolean touched = FALSE;
#ifdef STATUS_PINE
char statnew[8], xstatnew[8];
#endif
@@ -1100,6 +1101,7 @@
i--;
info = NULL;
lastdel = TRUE;
+ touched = TRUE;
} else {
/* otherwise, the message is staying, copy its From_ line across */
#if 0
@@ -1195,7 +1197,9 @@
}
}
- camel_folder_summary_save_to_db (s, ex);
+ if (touched)
+ camel_folder_summary_header_save_to_db (s, ex);
+
return 0;
error:
g_free(xevnew);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]