hello,

I tried to solve the following bug in evolution-1.4.6: queries by
category in LDAP-backed addressbooks do not work.

the following patch solves the problem:

--- evolution-1.4.6/addressbook/backend/pas/pas-backend-ldap.c.orig     2004-04-22 
10:45:59.000000000 +0200
+++ evolution-1.4.6/addressbook/backend/pas/pas-backend-ldap.c  2004-04-22 
10:46:23.000000000 +0200
@@ -268,7 +268,7 @@
        E_STRING_PROP (E_CARD_SIMPLE_FIELD_MAILER,      "mailer", "mailer"), 
 
        E_STRING_PROP (E_CARD_SIMPLE_FIELD_FILE_AS,     "file_as", "fileAs"),
-       E_COMPLEX_PROP (E_CARD_SIMPLE_FIELD_CATEGORIES,  "categories", "category", 
category_populate, category_ber, category_compare),
+       E_COMPLEX_PROP (E_CARD_SIMPLE_FIELD_CATEGORIES,  "category", "category", 
category_populate, category_ber, category_compare),
 
        STRING_PROP (E_CARD_SIMPLE_FIELD_CALURI,      "caluri", "calCalURI"),
        STRING_PROP (E_CARD_SIMPLE_FIELD_FBURL,       "fburl",
        "calFBURL"),

, but creates another problem:

the "Categories" button in the contact edition folder is now
disabled. Yet, the categories are still listed in the text field.

I tried to solve it using that patch:

--- evolution-1.4.6/addressbook/gui/contact-editor/e-contact-editor.c.orig      
2004-04-22 12:46:12.000000000 +0200
+++ evolution-1.4.6/addressbook/gui/contact-editor/e-contact-editor.c   2004-04-22 
12:45:34.000000000 +0200
@@ -2128,7 +2128,7 @@
        { "entry-nickname", "nickname" },
        { "entry-spouse", "spouse" },
        { "text-comments", "note" },
-       { "entry-categories", "categories" },
+       { "entry-categories", "category" },
        { "entry-caluri", "caluri" },
        { "entry-fburl", "fburl" },
 };

but, it makes things worse: the button is still disabled, and the
categories do not show up anymore in the text field.

I am determined to solve this problem, but I am asking around for any
hints...

thanks a lot,

Stan. 
_______________________________________________
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers

Reply via email to