aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-02-13 04:14:11 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-02-13 04:14:11 +0800
commit54fca5162ad06b40e2d161ba93e845d9fc271fbb (patch)
treeacc2a16902ff7338665d6c55d1102a4d46dc6ece
parent3ab71d197466ac576bfccbabca86d879880a189f (diff)
downloadgsoc2013-evolution-54fca5162ad06b40e2d161ba93e845d9fc271fbb.tar
gsoc2013-evolution-54fca5162ad06b40e2d161ba93e845d9fc271fbb.tar.gz
gsoc2013-evolution-54fca5162ad06b40e2d161ba93e845d9fc271fbb.tar.bz2
gsoc2013-evolution-54fca5162ad06b40e2d161ba93e845d9fc271fbb.tar.lz
gsoc2013-evolution-54fca5162ad06b40e2d161ba93e845d9fc271fbb.tar.xz
gsoc2013-evolution-54fca5162ad06b40e2d161ba93e845d9fc271fbb.tar.zst
gsoc2013-evolution-54fca5162ad06b40e2d161ba93e845d9fc271fbb.zip
Re-added contains and not-contains.
2002-02-12 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Re-added contains and not-contains. svn path=/trunk/; revision=15687
-rw-r--r--filter/ChangeLog4
-rw-r--r--filter/filtertypes.xml8
-rw-r--r--filter/libfilter-i18n.h1
-rw-r--r--filter/vfoldertypes.xml8
4 files changed, 20 insertions, 1 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index f15cd145a3..a3034802b6 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-12 Jeffrey Stedfast <fejj@ximian.com>
+
+ * filtertypes.xml: Re-added contains and not-contains.
+
2002-02-04 Jeffrey Stedfast <fejj@ximian.com>
* vfoldertypes.xml: Same here.
diff --git a/filter/filtertypes.xml b/filter/filtertypes.xml
index bc10b77346..fe71153517 100644
--- a/filter/filtertypes.xml
+++ b/filter/filtertypes.xml
@@ -495,6 +495,14 @@
<title>is not</title>
<code>(match-all (not (header-matches "x-camel-mlist" ${mlist})))</code>
</option>
+ <option value="contains">
+ <title>contains</title>
+ <code>(match-all (header-contains "x-camel-mlist" ${mlist}))</code>
+ </option>
+ <option value="not contains">
+ <title>does not contain</title>
+ <code>(match-all (not (header-contains "x-camel-mlist" ${mlist})))</code>
+ </option>
</input>
<input type="string" name="mlist"/>
</part>
diff --git a/filter/libfilter-i18n.h b/filter/libfilter-i18n.h
index 03fd35443f..57f2871e49 100644
--- a/filter/libfilter-i18n.h
+++ b/filter/libfilter-i18n.h
@@ -31,7 +31,6 @@ char *s = N_("Mailing list");
char *s = N_("Message Body");
char *s = N_("Message Header");
char *s = N_("Move to Folder");
-char *s = N_("Needs Reply");
char *s = N_("Read");
char *s = N_("Recipients");
char *s = N_("Regex Match");
diff --git a/filter/vfoldertypes.xml b/filter/vfoldertypes.xml
index 2aa479d3d0..b3e92dd79a 100644
--- a/filter/vfoldertypes.xml
+++ b/filter/vfoldertypes.xml
@@ -318,6 +318,14 @@
<title>is not</title>
<code>(match-all (not (header-matches "x-camel-mlist" ${mlist})))</code>
</option>
+ <option value="contains">
+ <title>contains</title>
+ <code>(match-all (header-contains "x-camel-mlist" ${mlist}))</code>
+ </option>
+ <option value="not contains">
+ <title>does not contain</title>
+ <code>(match-all (not (header-contains "x-camel-mlist" ${mlist})))</code>
+ </option>
</input>
<input type="string" name="mlist"/>
</part>