aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-03-13 13:22:01 +0800
committerChris Toshok <toshok@src.gnome.org>2001-03-13 13:22:01 +0800
commit825e963795172d4b93ff1435cf63137c5e217728 (patch)
tree40da9b1552297e33c1a2956fbe0b10f9edcb5b99 /addressbook/backend/pas
parentb089c850c554594aefb5cf1024a68019aac8701c (diff)
downloadgsoc2013-evolution-825e963795172d4b93ff1435cf63137c5e217728.tar
gsoc2013-evolution-825e963795172d4b93ff1435cf63137c5e217728.tar.gz
gsoc2013-evolution-825e963795172d4b93ff1435cf63137c5e217728.tar.bz2
gsoc2013-evolution-825e963795172d4b93ff1435cf63137c5e217728.tar.lz
gsoc2013-evolution-825e963795172d4b93ff1435cf63137c5e217728.tar.xz
gsoc2013-evolution-825e963795172d4b93ff1435cf63137c5e217728.tar.zst
gsoc2013-evolution-825e963795172d4b93ff1435cf63137c5e217728.zip
add E_STRING_PROP for categories.
2001-03-12 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c: add E_STRING_PROP for categories. * backend/pas/evolutionperson.schema: add categories attribute. * backend/ebook/e-card-simple.c (field_data): add E_CARD_SIMPLE_FIELD_CATEGORIES. * backend/ebook/e-card-simple.h: add E_CARD_SIMPLE_FIELD_CATEGORIES. svn path=/trunk/; revision=8664
Diffstat (limited to 'addressbook/backend/pas')
-rw-r--r--addressbook/backend/pas/evolutionperson.schema8
-rw-r--r--addressbook/backend/pas/pas-backend-ldap.c1
2 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/backend/pas/evolutionperson.schema b/addressbook/backend/pas/evolutionperson.schema
index 5fc41cc9f6..abd85fc01c 100644
--- a/addressbook/backend/pas/evolutionperson.schema
+++ b/addressbook/backend/pas/evolutionperson.schema
@@ -145,6 +145,12 @@ attributetype ( 666.666.666.1.22
SUBSTR telephoneNumberSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
+attributetype ( 666.666.666.1.23
+ NAME 'categories'
+ EQUALITY caseIgnoreMatch
+ SUBSTR caseIgnoreSubstringsMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{4096} )
+
# evolutionPerson
objectclass ( 666.666.666.2.1
NAME 'evolutionPerson'
@@ -156,5 +162,5 @@ objectclass ( 666.666.666.2.1
otherPhone $ businessRole $ managerName $ assistantName $ assistantPhone $
otherPostalAddress $ mailer $ birthDate $ anniversary $ spouseName $
note $ companyPhone $ callbackPhone $ otherFacsimileTelephoneNumber $
- radio $ telex $ tty )
+ radio $ telex $ tty $ categories )
)
diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c
index 88f32f70eb..0478c59ece 100644
--- a/addressbook/backend/pas/pas-backend-ldap.c
+++ b/addressbook/backend/pas/pas-backend-ldap.c
@@ -214,6 +214,7 @@ struct prop_info {
E_STRING_PROP (E_CARD_SIMPLE_FIELD_MAILER, "mailer", "mailer"),
E_STRING_PROP (E_CARD_SIMPLE_FIELD_FILE_AS, "file_as", "fileAs"),
+ E_STRING_PROP (E_CARD_SIMPLE_FIELD_CATEGORIES, "categories", "categories"),
/* E_CARD_SIMPLE_FIELD_FBURL, */
/* E_CARD_SIMPLE_FIELD_NAME_OR_ORG, */