mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-26 20:34:18 +00:00
See ChangeLog
Monotone-Parent: dbc120865f7cb48891f7b017124443cc19de5f5c Monotone-Revision: 98e797e237e41e316f67dab068ddf038cdcc0b9a Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-01-22T20:12:21 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2010-01-22 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/Contacts/UIxListEditor.m (-references): avoid printing the
|
||||
email address between brackets if not defined.
|
||||
|
||||
* UI/Contacts/UIxListView.m (-itemHasEmail): new method that
|
||||
returns YES if the current list item has an email address.
|
||||
|
||||
|
||||
@@ -79,8 +79,12 @@
|
||||
{
|
||||
ref = [[list cardReferences] objectAtIndex: i];
|
||||
row = [NSMutableDictionary dictionary];
|
||||
[row setObject: [NSString stringWithFormat: @"%@ <%@>", [ref fn], [ref email]]
|
||||
forKey: @"name"];
|
||||
if ([[ref email] length] > 0)
|
||||
[row setObject: [NSString stringWithFormat: @"%@ <%@>", [ref fn], [ref email]]
|
||||
forKey: @"name"];
|
||||
else
|
||||
[row setObject: [ref fn]
|
||||
forKey: @"name"];
|
||||
[row setObject: [ref reference] forKey: @"id"];
|
||||
[rc addObject: row];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user