aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter/ChangeLog7
-rw-r--r--filter/filter-driver.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index 671960400c..9e931c4294 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,10 @@
+2001-01-02 Jeffrey Stedfast <fejj@helixcode.com>
+
+ * filter-driver.c (do_flag): Set the 'dirty' flag - this should
+ fix the problem of flags not being set (or, more precisely,
+ synced).
+ (filter_driver_filter_message): Here too.
+
2000-12-21 Jeffrey Stedfast <fejj@helixcode.com>
* filter-message-search.c (header_contains): Use
diff --git a/filter/filter-driver.c b/filter/filter-driver.c
index deeb075d11..502fe7ebcc 100644
--- a/filter/filter-driver.c
+++ b/filter/filter-driver.c
@@ -442,7 +442,7 @@ do_flag (struct _ESExp *f, int argc, struct _ESExpResult **argv, FilterDriver *d
d(fprintf (stderr, "setting flag\n"));
if (argc == 1 && argv[0]->type == ESEXP_RES_STRING) {
- p->info->flags |= camel_system_flag (argv[0]->value.string);
+ p->info->flags |= camel_system_flag (argv[0]->value.string) | CAMEL_MESSAGE_FOLDER_FLAGGED;
filter_driver_log (driver, FILTER_LOG_ACTION, "Set %s flag", argv[0]->value.string);
}
@@ -761,7 +761,7 @@ filter_driver_filter_message (FilterDriver *driver, CamelMimeMessage *message, C
/* *Now* we can set the DELETED flag... */
if (p->deleted)
- info->flags = info->flags | CAMEL_MESSAGE_DELETED;
+ info->flags = info->flags | CAMEL_MESSAGE_DELETED | CAMEL_MESSAGE_FOLDER_FLAGGED;
if (freeinfo)
camel_message_info_free (info);