diff options
author | Not Zed <NotZed@HelixCode.com> | 2000-05-31 10:19:20 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-05-31 10:19:20 +0800 |
commit | 0f0ab78afdfcf9aa7d8493aab235ff36a9c19a63 (patch) | |
tree | 6e6c3a5b3c545c0cee4c0d6ddcc612fdda114c46 | |
parent | 6e86093cad967b7f60383b170f119504668f8a8b (diff) | |
download | gsoc2013-evolution-0f0ab78afdfcf9aa7d8493aab235ff36a9c19a63.tar gsoc2013-evolution-0f0ab78afdfcf9aa7d8493aab235ff36a9c19a63.tar.gz gsoc2013-evolution-0f0ab78afdfcf9aa7d8493aab235ff36a9c19a63.tar.bz2 gsoc2013-evolution-0f0ab78afdfcf9aa7d8493aab235ff36a9c19a63.tar.lz gsoc2013-evolution-0f0ab78afdfcf9aa7d8493aab235ff36a9c19a63.tar.xz gsoc2013-evolution-0f0ab78afdfcf9aa7d8493aab235ff36a9c19a63.tar.zst gsoc2013-evolution-0f0ab78afdfcf9aa7d8493aab235ff36a9c19a63.zip |
And here too.
2000-05-30 Not Zed <NotZed@HelixCode.com>
* filtertypes.xml: And here too.
* vfoldertypes.xml: Add body-contains and not-body-contains
types.
svn path=/trunk/; revision=3306
-rw-r--r-- | filter/ChangeLog | 7 | ||||
-rw-r--r-- | filter/filtertypes.xml | 15 | ||||
-rw-r--r-- | filter/vfoldertypes.xml | 12 |
3 files changed, 34 insertions, 0 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index cb9562d284..cd7acabaee 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,10 @@ +2000-05-30 Not Zed <NotZed@HelixCode.com> + + * filtertypes.xml: And here too. + + * vfoldertypes.xml: Add body-contains and not-body-contains + types. + 2000-05-27 Not Zed <NotZed@HelixCode.com> * vfoldertypes.xml: New file - lists rules appropriate for diff --git a/filter/filtertypes.xml b/filter/filtertypes.xml index f93a7b9c35..034164bb0f 100644 --- a/filter/filtertypes.xml +++ b/filter/filtertypes.xml @@ -22,6 +22,13 @@ <description lang="en">The Subject contains <source type="folder" name="words">words</source>.</description> </rule> +<rule name="body-contains"> + <code> + (match-all (body-contains ${words})) + </code> + <description lang="en">The body contains <source type="folder" name="words">words</source>.</description> +</rule> + <rule name="cc-address"> <code> (match-all (header-contains "CC" ${self-email})) @@ -72,6 +79,14 @@ </code> <description language="en">When I am the receipient.</description> </rule> + +<rule name="not-body-contains"> + <code> + (match-all (not (body-contains ${words}))) + </code> + <description lang="en">The body does not contain <source type="folder" name="words">words</source>.</description> +</rule> + </ruleset> <optionset> diff --git a/filter/vfoldertypes.xml b/filter/vfoldertypes.xml index bb12220d31..505a5948e1 100644 --- a/filter/vfoldertypes.xml +++ b/filter/vfoldertypes.xml @@ -21,6 +21,12 @@ </code> <description lang="en">The Subject contains <source type="folder" name="words">words</source>.</description> </rule> +<rule name="body-contains"> + <code> + (match-all (body-contains ${words})) + </code> + <description lang="en">The body contains <source type="folder" name="words">words</source>.</description> +</rule> <rule name="cc-address"> <code> @@ -38,6 +44,12 @@ </code> <description language="en">I am the receipient.</description> </rule> +<rule name="not-body-contains"> + <code> + (match-all (not (body-contains ${words}))) + </code> + <description lang="en">The body does not contain <source type="folder" name="words">words</source>.</description> +</rule> </ruleset> <optionset> |