aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-filter-driver.h
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-06-08 08:12:52 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-06-08 08:12:52 +0800
commit47326377225c125b5fca37759faacfad1c75f20a (patch)
tree3171a0603c36399a29d6a527958e02d627ae11c5 /camel/camel-filter-driver.h
parentc754daa1d6d974c0a0b9c6b2496236e429812ab0 (diff)
downloadgsoc2013-evolution-47326377225c125b5fca37759faacfad1c75f20a.tar
gsoc2013-evolution-47326377225c125b5fca37759faacfad1c75f20a.tar.gz
gsoc2013-evolution-47326377225c125b5fca37759faacfad1c75f20a.tar.bz2
gsoc2013-evolution-47326377225c125b5fca37759faacfad1c75f20a.tar.lz
gsoc2013-evolution-47326377225c125b5fca37759faacfad1c75f20a.tar.xz
gsoc2013-evolution-47326377225c125b5fca37759faacfad1c75f20a.tar.zst
gsoc2013-evolution-47326377225c125b5fca37759faacfad1c75f20a.zip
Added an argument, so that the original source URI of the mbox can be
2001-06-07 Jon Trowbridge <trow@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_mbox): Added an argument, so that the original source URI of the mbox can be passed in. This is needed because this function is called post-movemail, so we are never reading from the original mbox anymore. Without the original mbox URI, the X-Evolution-Source tag gets set incorrectly and filter-on-source will fail to work. (camel_filter_driver_filter_message): Also take an extra arg for the original source URI. It is the original URI, not the source URI, that is used for filtering and for setting the X-Evolution-Source tag. 2001-06-07 Jon Trowbridge <trow@ximian.com> * mail-ops.c (fetch_mail_fetch): Pass the original source URI to camel_filter_driver_filter_mbox. (mail_send_message): Pass NULL as the orginal source URI to camel_filter_driver_filter_message. svn path=/trunk/; revision=10152
Diffstat (limited to 'camel/camel-filter-driver.h')
-rw-r--r--camel/camel-filter-driver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-filter-driver.h b/camel/camel-filter-driver.h
index 94cc54820b..69e9518e7e 100644
--- a/camel/camel-filter-driver.h
+++ b/camel/camel-filter-driver.h
@@ -75,9 +75,9 @@ void camel_filter_driver_add_rule (CamelFilterDriver *d, const char *name, con
int camel_filter_driver_filter_message (CamelFilterDriver *driver, CamelMimeMessage *message,
CamelMessageInfo *info, const char *uri,
- CamelFolder *source, const char *source_url,
+ CamelFolder *source, const char *source_url, const char *original_source_url,
CamelException *ex);
-int camel_filter_driver_filter_mbox (CamelFilterDriver *driver, const char *mbox,
+int camel_filter_driver_filter_mbox (CamelFilterDriver *driver, const char *mbox, const char *original_source_url,
CamelException *ex);
int camel_filter_driver_filter_folder (CamelFilterDriver *driver, CamelFolder *folder,
GPtrArray *uids, gboolean remove, CamelException *ex);