[evolution-patches] 73401, saving full mailbox when colour set





not sure if this fixes the reported bug, but it fixes a similarly performance-destroying bug.

Index: camel/providers/local/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/local/ChangeLog,v
retrieving revision 1.4
diff -u -p -r1.4 ChangeLog
--- camel/providers/local/ChangeLog	25 Feb 2005 03:42:38 -0000	1.4
+++ camel/providers/local/ChangeLog	16 Mar 2005 08:25:32 -0000
@@ -1,3 +1,11 @@
+2005-03-16  Not Zed  <NotZed Ximian com>
+
+	** See bug #73401?
+
+	* camel-mbox-summary.c (mbox_info_set_user_tag)
+	(mbox_info_set_user_flag): do not flag xevchange here, these
+	values are not stored in x-evolution-header anymore.
+
 2005-02-24  Not Zed  <NotZed Ximian com>
 
 	** See bug #57185
Index: camel/providers/local/camel-mbox-summary.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/local/camel-mbox-summary.c,v
retrieving revision 1.51
diff -u -p -r1.51 camel-mbox-summary.c
--- camel/providers/local/camel-mbox-summary.c	24 Feb 2005 01:43:09 -0000	1.51
+++ camel/providers/local/camel-mbox-summary.c	16 Mar 2005 08:25:32 -0000
@@ -107,7 +107,7 @@ mbox_info_set_user_flag(CamelMessageInfo
 
 	res = ((CamelFolderSummaryClass *)camel_mbox_summary_parent)->info_set_user_flag(mi, name, value);
 	if (res)
-		((CamelLocalMessageInfo *)mi)->info.flags |= CAMEL_MESSAGE_FOLDER_FLAGGED|CAMEL_MESSAGE_FOLDER_XEVCHANGE;
+		((CamelLocalMessageInfo *)mi)->info.flags |= CAMEL_MESSAGE_FOLDER_FLAGGED;
 
 	return res;
 }
@@ -119,7 +119,7 @@ mbox_info_set_user_tag(CamelMessageInfo 
 
 	res = ((CamelFolderSummaryClass *)camel_mbox_summary_parent)->info_set_user_tag(mi, name, value);
 	if (res)
-		((CamelLocalMessageInfo *)mi)->info.flags |= CAMEL_MESSAGE_FOLDER_FLAGGED|CAMEL_MESSAGE_FOLDER_XEVCHANGE;
+		((CamelLocalMessageInfo *)mi)->info.flags |= CAMEL_MESSAGE_FOLDER_FLAGGED;
 
 	return res;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]