aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorDevashish Sharma <dsharma@src.gnome.org>2006-01-30 18:05:01 +0800
committerDevashish Sharma <dsharma@src.gnome.org>2006-01-30 18:05:01 +0800
commit087f1bd3e1e2cce49d2f0e6dc3e0f04f54b64859 (patch)
treeffc13fc68e616d2580a9f564ad9158ba1878ad25 /addressbook
parentc572343c4962de2945b6a10c8e4827dc6a406445 (diff)
downloadgsoc2013-evolution-087f1bd3e1e2cce49d2f0e6dc3e0f04f54b64859.tar.gz
gsoc2013-evolution-087f1bd3e1e2cce49d2f0e6dc3e0f04f54b64859.tar.zst
gsoc2013-evolution-087f1bd3e1e2cce49d2f0e6dc3e0f04f54b64859.zip
Search types for addressbook
svn path=/trunk/; revision=31360
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/gui/widgets/addresstypes.xml174
1 files changed, 174 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/addresstypes.xml b/addressbook/gui/widgets/addresstypes.xml
new file mode 100644
index 0000000000..f320a9b03f
--- /dev/null
+++ b/addressbook/gui/widgets/addresstypes.xml
@@ -0,0 +1,174 @@
+<?xml version="1.0"?>
+<filterdescription>
+<partset>
+ <part name="name">
+ <title>Name</title>
+ <input type="optionlist" name="name-type">
+ <option value="contains">
+ <title>contains</title>
+ <code>(contains "full_name" ${name})</code>
+ </option>
+ <option value="not contains">
+ <title>does not contain</title>
+ <code>(not (contains "full_name" ${name}))</code>
+ </option>
+ <option value="is">
+ <title>is</title>
+ <code>(is "full_name" ${name})))</code>
+ </option>
+ <option value="is not">
+ <title>is not</title>
+ <code>(not (is "full_name" ${name}))</code>
+ </option>
+ <option value="begin">
+ <title>begins with</title>
+ <code>(beginswith "full_name" ${name})</code>
+ </option>
+ <option value="end">
+ <title>ends in</title>
+ <code>(endswith "full_name" ${name})</code>
+ </option>
+ </input>
+ <input type="string" name="name"/>
+ </part>
+ <part name="email">
+ <title>Email</title>
+ <input type="optionlist" name="email-type">
+ <option value="contains">
+ <title>contains</title>
+ <code>(contains "email" ${email})</code>
+ </option>
+ <option value="not contains">
+ <title>does not contain</title>
+ <code>(not (contains "email" ${email}))</code>
+ </option>
+ <option value="is">
+ <title>is</title>
+ <code>(is "email" ${email})</code>
+ </option>
+ <option value="is not">
+ <title>is not</title>
+ <code>(not (is "email" ${email}))</code>
+ </option>
+ </input>
+ <input type="address" name="email"/>
+ </part>
+ <part name="category">
+ <title>Category</title>
+ <input type="optionlist" name="category-type">
+ <option value="contains">
+ <title>contains</title>
+ <code>(contains "category_list" ${category})</code>
+ </option>
+ <option value="not contains">
+ <title>does not contain</title>
+ <code>(not (contains "category_list" ${category}))</code>
+ </option>
+ <option value="is">
+ <title>is</title>
+ <code>(is "category_list" ${category})</code>
+ </option>
+ <option value="is not">
+ <title>is not</title>
+ <code>(not (is "category_list" ${category}))</code>
+ </option>
+ </input>
+ <input type="optionlist" name="category">
+ <option value="Anniversary">
+ <title>Anniversary</title>
+ </option>
+ <option value="Holiday">
+ <title>Holiday</title>
+ </option>
+ <option value="Ideas">
+ <title>Ideas</title>
+ </option>
+ <option value="Status">
+ <title>Status</title>
+ </option>
+ <option value="Holiday Cards">
+ <title>Holiday Cards</title>
+ </option>
+ <option value="Hot Contacts">
+ <title>Hot Contacts</title>
+ </option>
+ <option value="International">
+ <title>International</title>
+ </option>
+ <option value="Birthday">
+ <title>Birthday</title>
+ </option>
+ <option value="VIP">
+ <title>VIP</title>
+ </option>
+ <option value="Gifts">
+ <title>Gifts</title>
+ </option>
+ <option value="Waiting">
+ <title>Waiting</title>
+ </option>
+ <option value="Key Customer">
+ <title>Key Customer</title>
+ </option>
+ <option value="Time &amp; Expenses">
+ <title>Time &amp; Expenses </title>
+ </option>
+ <option value="Miscellaneous">
+ <title>Miscellaneous</title>
+ </option>
+ <option value="Business">
+ <title>Business</title>
+ </option>
+ <option value="Personal">
+ <title>Personal</title>
+ </option>
+ <option value="Suppliers">
+ <title>Suppliers</title>
+ </option>
+ <option value="Goals/Objectives">
+ <title>Goals/Objectives</title>
+ </option>
+ <option value="Strategies">
+ <title>Strategies</title>
+ </option>
+ <option value="Competition">
+ <title>Competition</title>
+ </option>
+ <option value="Favourites">
+ <title>Favourites</title>
+ </option>
+ <option value="Phone Calls">
+ <title>Phone Calls</title>
+ </option>
+ </input>
+ </part>
+ <part name="sexp">
+ <title>Expression</title>
+ <input type="code" name="code"/>
+ </part>
+</partset>
+
+ <ruleset>
+
+ <rule grouping="any" source="demand">
+ <_title>Name begins with</_title>
+ <sources/>
+ </rule>
+
+ <rule grouping="any" source="demand">
+ <_title>Email begins with</_title>
+ <sources/>
+ </rule>
+
+ <rule grouping="any" source="demand">
+ <_title>Category is</_title>
+ <sources/>
+ </rule>
+
+ <rule grouping="any" source="demand">
+ <_title>Any field contains</_title>
+ <sources/>
+ </rule>
+
+ </ruleset>
+</filterdescription>