aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-13 14:41:27 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-13 14:41:27 +0800
commit0d66044bc4040da1852f1aea30e4e0fffb3ad0c5 (patch)
treeb0ffdd039080394b479a86b418900925b9785633 /addressbook
parent48c3fc57227ee11efeb3e232ec3ae180520c0aeb (diff)
downloadgsoc2013-evolution-0d66044bc4040da1852f1aea30e4e0fffb3ad0c5.tar
gsoc2013-evolution-0d66044bc4040da1852f1aea30e4e0fffb3ad0c5.tar.gz
gsoc2013-evolution-0d66044bc4040da1852f1aea30e4e0fffb3ad0c5.tar.bz2
gsoc2013-evolution-0d66044bc4040da1852f1aea30e4e0fffb3ad0c5.tar.lz
gsoc2013-evolution-0d66044bc4040da1852f1aea30e4e0fffb3ad0c5.tar.xz
gsoc2013-evolution-0d66044bc4040da1852f1aea30e4e0fffb3ad0c5.tar.zst
gsoc2013-evolution-0d66044bc4040da1852f1aea30e4e0fffb3ad0c5.zip
Fixed a typo that cause the wrong field to be searched.
2000-08-13 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c: Fixed a typo that cause the wrong field to be searched. * gui/component/select-names/e-select-names.c: Made the select names dialog only display entries with email addresses. svn path=/trunk/; revision=4800
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog8
-rw-r--r--addressbook/backend/pas/pas-backend-file.c2
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c2
3 files changed, 10 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index b4bfe19a64..e40d1c30b8 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,11 @@
+2000-08-13 Christopher James Lahey <clahey@helixcode.com>
+
+ * backend/pas/pas-backend-file.c: Fixed a typo that cause the
+ wrong field to be searched.
+
+ * gui/component/select-names/e-select-names.c: Made the select
+ names dialog only display entries with email addresses.
+
2000-08-12 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/contact-editor.glade: Fixed a typo in the name of
diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c
index fc67c4c0d8..3d7e443f21 100644
--- a/addressbook/backend/pas/pas-backend-file.c
+++ b/addressbook/backend/pas/pas-backend-file.c
@@ -253,7 +253,7 @@ entry_compare(PASBackendFileSearchContext *ctx, struct _ESExp *f,
any_field = !strcmp(propname, "x-evolution-any-field");
for (i = 0; i < num_prop_infos; i ++) {
if (any_field
- || strcmp (prop_info_table[i].query_prop, propname)) {
+ || !strcmp (prop_info_table[i].query_prop, propname)) {
info = &prop_info_table[i];
if (info->prop_type == PROP_TYPE_NORMAL) {
diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c
index 272a1f5e2a..2303f13ad1 100644
--- a/addressbook/gui/component/select-names/e-select-names.c
+++ b/addressbook/gui/component/select-names/e-select-names.c
@@ -109,7 +109,7 @@ set_book(EBook *book, EBookStatus status, ETableModel *model)
{
gtk_object_set(GTK_OBJECT(model),
"book", book,
- "query", "(not (is \"email\" \"\"))",
+ "query", "(contains \"email\" \"\")",
NULL);
gtk_object_unref(GTK_OBJECT(book));
}