aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-03-01 08:55:56 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-03-01 08:55:56 +0800
commitefa31cf176b236410e88a11b33bbfec5160e2c81 (patch)
treeebf7522c6db1c3d55c8cd43745c0638965ec94c5
parenteab717a2ec5594feb514efb487a33018b9a64fe2 (diff)
downloadgsoc2013-evolution-efa31cf176b236410e88a11b33bbfec5160e2c81.tar
gsoc2013-evolution-efa31cf176b236410e88a11b33bbfec5160e2c81.tar.gz
gsoc2013-evolution-efa31cf176b236410e88a11b33bbfec5160e2c81.tar.bz2
gsoc2013-evolution-efa31cf176b236410e88a11b33bbfec5160e2c81.tar.lz
gsoc2013-evolution-efa31cf176b236410e88a11b33bbfec5160e2c81.tar.xz
gsoc2013-evolution-efa31cf176b236410e88a11b33bbfec5160e2c81.tar.zst
gsoc2013-evolution-efa31cf176b236410e88a11b33bbfec5160e2c81.zip
Added searches.xml to default user data.
2001-03-01 Not Zed <NotZed@Ximian.com> * Makefile.am: Added searches.xml to default user data. svn path=/trunk/; revision=8437
-rw-r--r--default_user/ChangeLog4
-rw-r--r--default_user/Makefile.am2
-rw-r--r--default_user/searches.xml73
3 files changed, 78 insertions, 1 deletions
diff --git a/default_user/ChangeLog b/default_user/ChangeLog
index a7a00fcdb7..0a74213d91 100644
--- a/default_user/ChangeLog
+++ b/default_user/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-01 Not Zed <NotZed@Ximian.com>
+
+ * Makefile.am: Added searches.xml to default user data.
+
2001-01-25 Christopher James Lahey <clahey@helixcode.com>
* local/Contacts/Makefile.am (defaultcalendar_DATA): Added
diff --git a/default_user/Makefile.am b/default_user/Makefile.am
index a02792aae3..3dabe74653 100644
--- a/default_user/Makefile.am
+++ b/default_user/Makefile.am
@@ -1,7 +1,7 @@
SUBDIRS = local
defaultdir = $(datadir)/evolution/default_user
-default_DATA = addressbook-sources.xml shortcuts.xml
+default_DATA = addressbook-sources.xml shortcuts.xml searches.xml
EXTRA_DIST = $(default_DATA)
diff --git a/default_user/searches.xml b/default_user/searches.xml
new file mode 100644
index 0000000000..2a05fb98db
--- /dev/null
+++ b/default_user/searches.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0"?>
+<filteroptions>
+ <ruleset>
+ <rule grouping="any" source="demand">
+ <title>Body or subject contains</title>
+ <partset>
+ <part name="subject">
+ <value name="subject-type" type="option" value="contains"/>
+ <value name="subject" type="string">
+ <string>crap</string>
+ </value>
+ </part>
+ <part name="body">
+ <value name="body-type" type="option" value="contains"/>
+ <value name="word" type="string">
+ <string>crap</string>
+ </value>
+ </part>
+ </partset>
+ <sources/>
+ </rule>
+ <rule grouping="any" source="demand">
+ <title>Body contains</title>
+ <partset>
+ <part name="body">
+ <value name="body-type" type="option" value="contains"/>
+ <value name="word" type="string"/>
+ </part>
+ </partset>
+ <sources/>
+ </rule>
+ <rule grouping="any" source="demand">
+ <title>Subject contains</title>
+ <partset>
+ <part name="subject">
+ <value name="subject-type" type="option" value="contains"/>
+ <value name="subject" type="string"/>
+ </part>
+ </partset>
+ <sources/>
+ </rule>
+ <rule grouping="any" source="demand">
+ <title>Body does not contain</title>
+ <partset>
+ <part name="body">
+ <value name="body-type" type="option" value="not contains"/>
+ <value name="word" type="string"/>
+ </part>
+ </partset>
+ <sources/>
+ </rule>
+ <rule grouping="any" source="demand">
+ <title>Subject does not contain</title>
+ <partset>
+ <part name="subject">
+ <value name="subject-type" type="option" value="not contains"/>
+ <value name="subject" type="string"/>
+ </part>
+ </partset>
+ <sources/>
+ </rule>
+ <rule grouping="any" source="demand">
+ <title>Sender contains</title>
+ <partset>
+ <part name="sender">
+ <value name="sender-type" type="option" value="contains"/>
+ <value name="sender" type="string"/>
+ </part>
+ </partset>
+ <sources/>
+ </rule>
+ </ruleset>
+</filteroptions>