From 825e963795172d4b93ff1435cf63137c5e217728 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Tue, 13 Mar 2001 05:22:01 +0000 Subject: add E_STRING_PROP for categories. 2001-03-12 Chris Toshok * 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 --- addressbook/ChangeLog | 13 +++++++++++++ addressbook/backend/ebook/e-card-simple.c | 1 + addressbook/backend/ebook/e-card-simple.h | 1 + addressbook/backend/pas/evolutionperson.schema | 8 +++++++- addressbook/backend/pas/pas-backend-ldap.c | 1 + 5 files changed, 23 insertions(+), 1 deletion(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index b3a1d72c94..22ed51f507 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,16 @@ +2001-03-12 Chris Toshok + + * 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. + 2001-03-12 Chris Toshok * gui/widgets/e-minicard.c (supported_fields_cb): add is_read_only diff --git a/addressbook/backend/ebook/e-card-simple.c b/addressbook/backend/ebook/e-card-simple.c index 66076e0b0f..6c398b6133 100644 --- a/addressbook/backend/ebook/e-card-simple.c +++ b/addressbook/backend/ebook/e-card-simple.c @@ -98,6 +98,7 @@ static ECardSimpleFieldData field_data[] = { E_CARD_SIMPLE_FIELD_BIRTH_DATE, "birth_date", "Birth Date", "", 0, E_CARD_SIMPLE_INTERNAL_TYPE_DATE }, { E_CARD_SIMPLE_FIELD_MAILER, "mailer", "", "", 0, E_CARD_SIMPLE_INTERNAL_TYPE_STRING }, { E_CARD_SIMPLE_FIELD_NAME_OR_ORG, "nameororg", "", "", 0, E_CARD_SIMPLE_INTERNAL_TYPE_SPECIAL }, + { E_CARD_SIMPLE_FIELD_CATEGORIES, "categories", "Categories", "Categories", 0, E_CARD_SIMPLE_INTERNAL_TYPE_STRING }, }; static int field_data_count = sizeof (field_data) / sizeof (field_data[0]); diff --git a/addressbook/backend/ebook/e-card-simple.h b/addressbook/backend/ebook/e-card-simple.h index bcdc37f914..2fe96be18e 100644 --- a/addressbook/backend/ebook/e-card-simple.h +++ b/addressbook/backend/ebook/e-card-simple.h @@ -120,6 +120,7 @@ enum _ECardSimpleField { E_CARD_SIMPLE_FIELD_BIRTH_DATE, E_CARD_SIMPLE_FIELD_MAILER, E_CARD_SIMPLE_FIELD_NAME_OR_ORG, + E_CARD_SIMPLE_FIELD_CATEGORIES, E_CARD_SIMPLE_FIELD_LAST }; 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, */ -- cgit ption> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats