From d87a10196cd82a391f9c2f937ee91dd9f06e5abe Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sun, 30 Apr 2000 17:03:06 +0000 Subject: From addressbook/ChangeLog 2000-04-30 Christopher James Lahey * backend/ebook/e-card.c: Make file as not have the : after it if it's empty. If there's no name, or file_as, fill in these fields with defaults based on full_name or name respectively. * backend/ebook/load-pine-addressbook.c: New file to do import of pine .addressbook files. * backend/pas/pas-backend-file.c: Made empty fields act as the empty string for searches. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Made the File As field update properly as you edit the name and company fields. Added the pull down list of File As choices. Made sure that all fields will be set to NULL if they are deleted to the empty string. * gui/minicard/e-minicard.c: Use the File As field instead of the Full Name field for the header. Make identical compares on the File As field do a compare on the uid. From wombat/ChangeLog 2000-04-30 Christopher James Lahey * Makefile.am: Added ename libs to LDADD. svn path=/trunk/; revision=2696 --- addressbook/backend/pas/pas-backend-file.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'addressbook/backend/pas') diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c index cbe75a5aba..20de42808c 100644 --- a/addressbook/backend/pas/pas-backend-file.c +++ b/addressbook/backend/pas/pas-backend-file.c @@ -287,6 +287,9 @@ entry_compare(PASBackendFileSearchContext *ctx, struct _ESExp *f, if (prop && compare(prop, argv[1]->value.string)) { truth = TRUE; } + if ((!prop) && compare("", argv[1]->value.string)) { + truth = TRUE; + } } else if (info->prop_type == PROP_TYPE_LIST) { /* the special searches that match any of the list elements */ -- cgit v1.2.3