diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-09-12 02:13:42 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-09-12 02:13:42 +0800 |
commit | b9b9c3824414ad6c3f7d4e00b11baf6cda4f0be6 (patch) | |
tree | 9f32d1cdf408a846db030bce5d2680f7b181e679 | |
parent | e413c307c23fa65f910038b604422299c6d6a0ea (diff) | |
download | gsoc2013-evolution-b9b9c3824414ad6c3f7d4e00b11baf6cda4f0be6.tar gsoc2013-evolution-b9b9c3824414ad6c3f7d4e00b11baf6cda4f0be6.tar.gz gsoc2013-evolution-b9b9c3824414ad6c3f7d4e00b11baf6cda4f0be6.tar.bz2 gsoc2013-evolution-b9b9c3824414ad6c3f7d4e00b11baf6cda4f0be6.tar.lz gsoc2013-evolution-b9b9c3824414ad6c3f7d4e00b11baf6cda4f0be6.tar.xz gsoc2013-evolution-b9b9c3824414ad6c3f7d4e00b11baf6cda4f0be6.tar.zst gsoc2013-evolution-b9b9c3824414ad6c3f7d4e00b11baf6cda4f0be6.zip |
Updated to allow the user to specify arbitrary headers.
2000-09-11 Jeffrey Stedfast <fejj@helixcode.com>
* filtertypes.xml: Updated to allow the user to specify arbitrary
headers.
svn path=/trunk/; revision=5330
-rw-r--r-- | filter/ChangeLog | 5 | ||||
-rw-r--r-- | filter/filtertypes.xml | 21 |
2 files changed, 26 insertions, 0 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index d8a1f75ed3..35b06ab956 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,8 @@ +2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> + + * filtertypes.xml: Updated to allow the user to specify arbitrary + headers. + 2000-09-09 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Fixed a logic error. Only diff --git a/filter/filtertypes.xml b/filter/filtertypes.xml index 791e566a85..7574540ba4 100644 --- a/filter/filtertypes.xml +++ b/filter/filtertypes.xml @@ -54,6 +54,27 @@ </input> <input type="string" name="subject"/> </part> + + <part name="header"> + <title>Header</title> + <input type="string" name="header-field"/> + <input type="optionlist" name="header-type"> + <option value="contains"> + <title>contains</title> + <code> + (match-all (header-contains ${header-field} ${subject})) + </code> + </option> + <option value="not contains"> + <title>does not contain</title> + <code> + (match-all (not (header-contains ${header-field} ${subject}))) + </code> + </option> + </input> + <input type="string" name="subject"/> + </part> + <part name="body"> <title>Message Body</title> <input type="optionlist" name="body-type"> |