aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filtertypes.xml
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-13 06:58:02 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-13 06:58:02 +0800
commitc8d3373a5d5bca41803f451c8533ebcba7589d21 (patch)
tree895739486700ced64456d97e110bb1b4529dbb41 /filter/filtertypes.xml
parent07ea88fad1f4f99caa4d11cb6ac3fe189588e89d (diff)
downloadgsoc2013-evolution-c8d3373a5d5bca41803f451c8533ebcba7589d21.tar
gsoc2013-evolution-c8d3373a5d5bca41803f451c8533ebcba7589d21.tar.gz
gsoc2013-evolution-c8d3373a5d5bca41803f451c8533ebcba7589d21.tar.bz2
gsoc2013-evolution-c8d3373a5d5bca41803f451c8533ebcba7589d21.tar.lz
gsoc2013-evolution-c8d3373a5d5bca41803f451c8533ebcba7589d21.tar.xz
gsoc2013-evolution-c8d3373a5d5bca41803f451c8533ebcba7589d21.tar.zst
gsoc2013-evolution-c8d3373a5d5bca41803f451c8533ebcba7589d21.zip
Added an "Attachments" filter option where you can filter messages that
2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Added an "Attachments" filter option where you can filter messages that have (or do not have) attachments. This does not allow you to filter based on the types of the attachments. svn path=/trunk/; revision=8652
Diffstat (limited to 'filter/filtertypes.xml')
-rw-r--r--filter/filtertypes.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/filter/filtertypes.xml b/filter/filtertypes.xml
index 370175785d..6409a3a00c 100644
--- a/filter/filtertypes.xml
+++ b/filter/filtertypes.xml
@@ -433,6 +433,24 @@
<input type="system-flag" name="flag"/>
</part>
+ <part name="attachments">
+ <title>Attachments</title>
+ <input type="optionlist" name="match-type">
+ <option value="exist">
+ <title>Exist</title>
+ <code>
+ (match-all (system-flag "Attachments"))
+ </code>
+ </option>
+ <option value="not exist">
+ <title>Do Not Exist</title>
+ <code>
+ (match-all (not (system-flag "Attachments")))
+ </code>
+ </option>
+ </input>
+ </part>
+
<part name="mlist">
<title>Mailing list</title>
<input type="optionlist" name="mlist-type">