From 2c9d84ce12004627bb7c8b60d0b6c498d1b9b75a Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 27 Oct 2006 17:45:32 +0000 Subject: [PATCH] Monotone-Parent: ebcc4eafc5d1abcb0b6b974376ee2dc45a80f62b Monotone-Revision: 48d58a4e991ff751249e19642dfe41818aadaf08 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-27T17:45:32 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 +++ SoObjects/Contacts/SOGoContactLDAPEntry.m | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fe4b3dd71..003a932d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-10-27 Wolfgang Sourdeau + * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry + -vCard]): mark address returned from LDAP as the work address. + * UI/Templates/SchedulerUI/UIxCalInlineAptView.wox: made the whole span covered with the anchor, not only the textual information within. diff --git a/SoObjects/Contacts/SOGoContactLDAPEntry.m b/SoObjects/Contacts/SOGoContactLDAPEntry.m index 3f968aaf8..92f38c436 100644 --- a/SoObjects/Contacts/SOGoContactLDAPEntry.m +++ b/SoObjects/Contacts/SOGoContactLDAPEntry.m @@ -175,6 +175,7 @@ location = [ldapEntry singleAttributeWithName: @"l"]; element = [CardElement elementWithTag: @"adr" attributes: nil values: nil]; + [element setValue: 0 ofAttribute: @"type" to: @"work"]; if (streetAddress) [element setValue: 2 to: streetAddress]; if (location) @@ -182,7 +183,7 @@ if (streetAddress || location) [vcard addChild: element]; } - + return vcard; }