Monotone-Parent: b2a6613b1d3ed16ddb16ffa95f6c3e5eddd14422

Monotone-Revision: 3f0a698566b940e183824009e4aae638d5263054

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-10-23T21:06:05
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-10-23 21:06:05 +00:00
parent 23583d2e86
commit e7e31ef543
2 changed files with 6 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
2009-10-23 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Contacts/SOGoContactSourceFolder.m
(-initWithName:andDisplayName:inContainer:): use the source name
when the displayname is nil.
* SoObjects/SOGo/SOGoUserManager.m (_registerSource:): added
sanity checks and warnings to the user.

View File

@@ -124,6 +124,8 @@
if ((self = [self initWithName: newName
inContainer: newContainer]))
{
if (![newDisplayName length])
newDisplayName = newName;
ASSIGN (displayName, newDisplayName);
}