aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter/ChangeLog5
-rw-r--r--filter/filter-driver.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index 00f4c1dec4..8ddc892746 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,8 @@
+2000-11-15 Jeffrey Stedfast <fejj@helixcode.com>
+
+ * filter-driver.c (filter_driver_finalise): Sync the
+ defaultfolder.
+
2000-11-13 Jeffrey Stedfast <fejj@helixcode.com>
* filter-message-search.c (header_matches): Neglect any leading
diff --git a/filter/filter-driver.c b/filter/filter-driver.c
index cf73bb050c..9385e6f098 100644
--- a/filter/filter-driver.c
+++ b/filter/filter-driver.c
@@ -207,8 +207,10 @@ filter_driver_finalise (GtkObject *obj)
gtk_object_unref (GTK_OBJECT (p->eval));
- if (p->defaultfolder)
+ if (p->defaultfolder) {
+ camel_folder_sync (p->defaultfolder, FALSE, NULL);
camel_object_unref (CAMEL_OBJECT (p->defaultfolder));
+ }
g_free (p);