aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-06-27 08:32:29 +0800
committerChris Lahey <clahey@src.gnome.org>2001-06-27 08:32:29 +0800
commit4627fb4bea8df175318bfa7151fda6f248ebf98b (patch)
tree86056bd6c2b6c5d5a4e22c6269d6aab92df77c18 /addressbook
parent7728e7dbd26fd0140cf493a190c424105902fd7c (diff)
downloadgsoc2013-evolution-4627fb4bea8df175318bfa7151fda6f248ebf98b.tar
gsoc2013-evolution-4627fb4bea8df175318bfa7151fda6f248ebf98b.tar.gz
gsoc2013-evolution-4627fb4bea8df175318bfa7151fda6f248ebf98b.tar.bz2
gsoc2013-evolution-4627fb4bea8df175318bfa7151fda6f248ebf98b.tar.lz
gsoc2013-evolution-4627fb4bea8df175318bfa7151fda6f248ebf98b.tar.xz
gsoc2013-evolution-4627fb4bea8df175318bfa7151fda6f248ebf98b.tar.zst
gsoc2013-evolution-4627fb4bea8df175318bfa7151fda6f248ebf98b.zip
Added category searching to the advanced search dialog here.
2001-06-26 Christopher James Lahey <clahey@ximian.com> * gui/search/addresstypes.xml: Added category searching to the advanced search dialog here. svn path=/trunk/; revision=10521
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/search/addresstypes.xml22
2 files changed, 27 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 74a723d4fb..09cdfc33f6 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,10 @@
2001-06-26 Christopher James Lahey <clahey@ximian.com>
+ * gui/search/addresstypes.xml: Added category searching to the
+ advanced search dialog here.
+
+2001-06-26 Christopher James Lahey <clahey@ximian.com>
+
* backend/pas/pas-backend-file.c (compare_category): Added
category searching to the file backend.
diff --git a/addressbook/gui/search/addresstypes.xml b/addressbook/gui/search/addresstypes.xml
index bf64e841b0..4ee23af613 100644
--- a/addressbook/gui/search/addresstypes.xml
+++ b/addressbook/gui/search/addresstypes.xml
@@ -53,6 +53,28 @@
</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" ${category})</code>
+ </option>
+ <option value="not contains">
+ <title>does not contain</title>
+ <code>(not (contains "category" ${category}))</code>
+ </option>
+ <option value="is">
+ <title>is</title>
+ <code>(is "category" ${category})</code>
+ </option>
+ <option value="is not">
+ <title>is not</title>
+ <code>(not (is "category" ${category}))</code>
+ </option>
+ </input>
+ <input type="string" name="category"/>
+ </part>
<part name="sexp">
<title>Expression</title>
<input type="code" name="code"/>