Monotone-Parent: ebcc4eafc5d1abcb0b6b974376ee2dc45a80f62b

Monotone-Revision: 48d58a4e991ff751249e19642dfe41818aadaf08

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-27T17:45:32
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-10-27 17:45:32 +00:00
parent b02281fb72
commit 2c9d84ce12
2 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
2006-10-27 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* 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.

View File

@@ -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;
}