diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-07-12 11:09:27 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-07-12 11:09:27 +0800 |
commit | 08b0dbea5a3b880d0d991b6c3618fa750d8c2f80 (patch) | |
tree | 1744f6541722a7140587a7b0ecd05bc817c30f40 | |
parent | 83ea15c72f0d9b51119711d8d3c5f9c91487a17c (diff) | |
download | gsoc2013-evolution-08b0dbea5a3b880d0d991b6c3618fa750d8c2f80.tar gsoc2013-evolution-08b0dbea5a3b880d0d991b6c3618fa750d8c2f80.tar.gz gsoc2013-evolution-08b0dbea5a3b880d0d991b6c3618fa750d8c2f80.tar.bz2 gsoc2013-evolution-08b0dbea5a3b880d0d991b6c3618fa750d8c2f80.tar.lz gsoc2013-evolution-08b0dbea5a3b880d0d991b6c3618fa750d8c2f80.tar.xz gsoc2013-evolution-08b0dbea5a3b880d0d991b6c3618fa750d8c2f80.tar.zst gsoc2013-evolution-08b0dbea5a3b880d0d991b6c3618fa750d8c2f80.zip |
Updated to reflect changes to camel_folder_append_message ()
2000-07-11 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c (filter_driver_run): Updated to reflect changes to
camel_folder_append_message ()
svn path=/trunk/; revision=4104
-rw-r--r-- | filter/ChangeLog | 5 | ||||
-rw-r--r-- | filter/filter-driver.c | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index 865b8a00f4..ff4df6b9e8 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,8 @@ +2000-07-11 Jeffrey Stedfast <fejj@helixcode.com> + + * filter-driver.c (filter_driver_run): Updated to reflect changes to + camel_folder_append_message () + 2000-07-09 Dan Winship <danw@helixcode.com> * filter-xml.[ch]: add a "string" type diff --git a/filter/filter-driver.c b/filter/filter-driver.c index 0ccd70e56b..a6ad9496ba 100644 --- a/filter/filter-driver.c +++ b/filter/filter-driver.c @@ -552,15 +552,18 @@ filter_driver_run(FilterDriver *d, CamelFolder *source, CamelFolder *inbox) char *uid = all->pdata[i], *procuid; GList *copies, *tmp; CamelMimeMessage *mm; + const CamelMessageInfo *info; copies = g_hash_table_lookup(p->copies, uid); procuid = g_hash_table_lookup(p->processed, uid); + info = camel_folder_get_message_info (p->source, uid); + if (copies || !procuid) { mm = camel_folder_get_message(p->source, uid, p->ex); while (copies) { - camel_folder_append_message(copies->data, mm, p->ex); + camel_folder_append_message(copies->data, mm, info ? info->flags : 0, p->ex); tmp = copies->next; g_list_free_1(copies); copies = tmp; @@ -568,7 +571,7 @@ filter_driver_run(FilterDriver *d, CamelFolder *source, CamelFolder *inbox) if (!procuid) { printf("Applying default rule to message %s\n", uid); - camel_folder_append_message(inbox, mm, p->ex); + camel_folder_append_message(inbox, mm, info ? info->flags : 0, p->ex); } gtk_object_unref((GtkObject *)mm); |