Monotone-Parent: 00dd928bbf94a03723ae2a10834fa0c27640df46

Monotone-Revision: 21336607671cae2f88c376198194b888c617d148

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-19T17:35:28
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-10-19 17:35:28 +00:00
parent 2623f6b0d5
commit b80abb0672
2 changed files with 10 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
2006-10-19 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Contacts/UIxContactEditor.m ([UIxContactEditor
-writeAction]): updated method to fetch the card before initing
the snapshot.
* OGoContentStore/OCSiCalFieldExtractor.m ([OCSiCalFieldExtractor
-extractQuickFieldsFromTodo:_task]): fixed to use NSNull instead
of NSNotFound.

View File

@@ -492,8 +492,13 @@
{
NSString *email, *url;
card = [[self clientObject] vCard];
[self initSnapshot];
email = [snapshot objectForKey: @"mail"];
if ([preferredEmail isEqualToString: @"home"])
email = [snapshot objectForKey: @"homeMail"];
else
email = [snapshot objectForKey: @"workMail"];
if (email)
url = [NSString stringWithFormat: @"Mail/compose?mailto=%@", email];
else