diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-10-21 10:51:38 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-10-21 10:51:38 +0800 |
commit | 6d74595779416412b478dd4ae3d38dffd3f4baae (patch) | |
tree | f5793662a36daff8df54de77077193920fb5acc3 /filter/filter-message-search.h | |
parent | 3d17cca7ed57dcde3c6649e15d4ac7fe30174776 (diff) | |
download | gsoc2013-evolution-6d74595779416412b478dd4ae3d38dffd3f4baae.tar gsoc2013-evolution-6d74595779416412b478dd4ae3d38dffd3f4baae.tar.gz gsoc2013-evolution-6d74595779416412b478dd4ae3d38dffd3f4baae.tar.bz2 gsoc2013-evolution-6d74595779416412b478dd4ae3d38dffd3f4baae.tar.lz gsoc2013-evolution-6d74595779416412b478dd4ae3d38dffd3f4baae.tar.xz gsoc2013-evolution-6d74595779416412b478dd4ae3d38dffd3f4baae.tar.zst gsoc2013-evolution-6d74595779416412b478dd4ae3d38dffd3f4baae.zip |
Added filter-url.[c,h].
2000-10-20 Jeffrey Stedfast <fejj@helixcode.com>
* Makefile.am: Added filter-url.[c,h].
* filter-message-search.c (get_source): New callback to get the
source url of the message being filtered.
(filter_message_search): Now takes a source argument.
* filter-element.c (filter_element_new_type_name): Added code to
handle URL types.
* filter-url.[c,h]: New filter object to handle URLs (ie in the
case of filtering on source url). FIXME: find a way to populate
the source combo box (including mail-config.h breaks the build in
the addressbook - how does including mail-tools.h not break the
build???)
* filtertypes.xml: Added the source filter type and added the
move-to action.
* filter-driver.c (do_move): New callback, a "Copy" action should
just copy the message to another location while a Move should both
copy the message to a new location and delete it from the source
location.
(do_delete): Set the deleted flag on the message info.
(filter_driver_filter_message): Now returns void as we don't care
if it was copied or not in the caller functions. Also check the
CamelMessageInfo being passed in - if the message has been marked
as deleted prior to being filtered, then return immediately as we
don't want to apply filter actions to deleted messages.
svn path=/trunk/; revision=6094
Diffstat (limited to 'filter/filter-message-search.h')
-rw-r--r-- | filter/filter-message-search.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/filter-message-search.h b/filter/filter-message-search.h index ce9cc57c52..453e888e54 100644 --- a/filter/filter-message-search.h +++ b/filter/filter-message-search.h @@ -34,7 +34,7 @@ extern "C" { #include <camel-folder-summary.h> gboolean filter_message_search (CamelMimeMessage *message, CamelMessageInfo *info, - const char *expression, CamelException *ex); + const char *source, const char *expression, CamelException *ex); #ifdef __cplusplus } |