aboutsummaryrefslogtreecommitdiffstats
path: root/default_user
diff options
context:
space:
mode:
Diffstat (limited to 'default_user')
-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>