mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-18 19:48:53 +00:00
Monotone-Parent: a09bb98f042f5485200b06b6f1b4c5b7c4d18f4a
Monotone-Revision: 4ae4bf02420bd47acf6c83bbd0372f4d9ba89026 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-11-29T21:10:39 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -80,6 +80,8 @@ static NSString *defaultUserID = @"<default>";
|
||||
newFolder = [self objectWithName: folderName inContainer: aContainer];
|
||||
[newFolder setOCSPath: path];
|
||||
[newFolder setOwner: login];
|
||||
if (![newFolder displayName])
|
||||
newFolder = nil;
|
||||
|
||||
return newFolder;
|
||||
}
|
||||
@@ -88,10 +90,10 @@ static NSString *defaultUserID = @"<default>";
|
||||
{
|
||||
if ((self = [super init]))
|
||||
{
|
||||
displayName = nil;
|
||||
ocsPath = nil;
|
||||
ocsFolder = nil;
|
||||
aclCache = [NSMutableDictionary new];
|
||||
[self _fetchDisplayName];
|
||||
}
|
||||
|
||||
return self;
|
||||
@@ -164,9 +166,6 @@ static NSString *defaultUserID = @"<default>";
|
||||
|
||||
- (NSString *) displayName
|
||||
{
|
||||
if (!displayName)
|
||||
[self _fetchDisplayName];
|
||||
|
||||
return displayName;
|
||||
}
|
||||
|
||||
|
||||
@@ -166,6 +166,11 @@
|
||||
{
|
||||
}
|
||||
|
||||
- (void) _removeSubscribedSource: (NSString *) key
|
||||
{
|
||||
#warning TO BE IMPLEMENTED SOON FIXME
|
||||
}
|
||||
|
||||
- (void) appendSubscribedSources
|
||||
{
|
||||
NSArray *subscribedReferences;
|
||||
@@ -186,8 +191,11 @@
|
||||
subscribedFolder
|
||||
= [subFolderClass folderWithSubscriptionReference: currentKey
|
||||
inContainer: self];
|
||||
[subFolders setObject: subscribedFolder
|
||||
forKey: [subscribedFolder nameInContainer]];
|
||||
if (subscribedFolder)
|
||||
[subFolders setObject: subscribedFolder
|
||||
forKey: [subscribedFolder nameInContainer]];
|
||||
else
|
||||
[self _removeSubscribedSource: currentKey];
|
||||
currentKey = [allKeys nextObject];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user