aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-driver.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-10-24 10:10:20 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-10-24 10:10:20 +0800
commitbdb308067c223640c2c14ebd92205e0ae1d20326 (patch)
tree8bbfe199baa3ffaeb33eac81176e6ac11ad9ebbf /filter/filter-driver.h
parent067991f6b4eae28762f76637e37be092d1232f2e (diff)
downloadgsoc2013-evolution-bdb308067c223640c2c14ebd92205e0ae1d20326.tar
gsoc2013-evolution-bdb308067c223640c2c14ebd92205e0ae1d20326.tar.gz
gsoc2013-evolution-bdb308067c223640c2c14ebd92205e0ae1d20326.tar.bz2
gsoc2013-evolution-bdb308067c223640c2c14ebd92205e0ae1d20326.tar.lz
gsoc2013-evolution-bdb308067c223640c2c14ebd92205e0ae1d20326.tar.xz
gsoc2013-evolution-bdb308067c223640c2c14ebd92205e0ae1d20326.tar.zst
gsoc2013-evolution-bdb308067c223640c2c14ebd92205e0ae1d20326.zip
Set the remove button insensitive if there is only 1 action left.
2000-10-23 Jeffrey Stedfast <fejj@helixcode.com> * filter-filter.c (less_parts): Set the remove button insensitive if there is only 1 action left. (more_parts): Set the remove button sensitive (since we now have 2 or more actions). (get_widget): If there is only 1 action, disable the remove button. * filter-rule.c (xml_encode): If there is a defined source, don't set it to "incoming", set it to whatever the source is! (less_parts): Set the remove button insensitive if there is only 1 criterion left. (more_parts): Set the remove button sensitive (since we now have 2 or more criterion). (get_widget): If there is no name for the filter then set it to "Untitled", highlight it, and grab the focus. If there is only 1 criterion, disable the remove button. * filter-editor.c, vfolder-editor.c: GUI fixes here and there as well as some consistancy fixes between them. * filter-driver.c (filter_driver_filter_mbox): Updated to send the source url to filter_driver_filter_message() (filter_driver_filter_folder): Updated to send the source url of the folder to filter_driver_filter_message() (filter_driver_filter_message): Now takes a source_url argument that represents the url of the folder the message is coming from (so that we may filter based upon that information). svn path=/trunk/; revision=6138
Diffstat (limited to 'filter/filter-driver.h')
-rw-r--r--filter/filter-driver.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/filter-driver.h b/filter/filter-driver.h
index 1da1fc37ff..471118631e 100644
--- a/filter/filter-driver.h
+++ b/filter/filter-driver.h
@@ -2,6 +2,7 @@
* Copyright (C) 2000 Helix Code Inc.
*
* Authors: Michael Zucchi <notzed@helixcode.com>
+ * Jeffrey Stedfast <fejj@helixcode.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -70,7 +71,7 @@ void filter_driver_set_default_folder (FilterDriver *d, CamelFolder *def);
/* filter a message - returns TRUE if the message was filtered into some location other than inbox */
void filter_driver_filter_message (FilterDriver *driver, CamelMimeMessage *message, CamelMessageInfo *info,
- const char *source, CamelException *ex);
+ const char *source_url, const char *source, CamelException *ex);
void filter_driver_filter_mbox (FilterDriver *driver, const char *mbox, const char *source, CamelException *ex);
void filter_driver_filter_folder (FilterDriver *driver, CamelFolder *folder, const char *source,
GPtrArray *uids, gboolean remove, CamelException *ex);