Monotone-Parent: 23e776c8c54fe02739326119a5d6519e81abc605

Monotone-Revision: 6a2b142b86238b6988137e5c25e428fc7a5f4ef7

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-07-04T20:10:45
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2007-07-04 20:10:45 +00:00
1 parent 1844d390df
commit 2ba7ae4c89
2 files changed
+11 -3

No files matched your search

@@ -1229,20 +1229,21 @@ static NSNumber *sharedYes = nil;
{
NSMutableDictionary *userCalendar, *calendarDict;
NSMutableArray *calendarFolders;
SOGoUser *activeUser;
SOGoUser *calendarUser;
BOOL firstActive;
calendarFolders = [NSMutableArray new];
[calendarFolders autorelease];
activeUser = [context activeUser];
calendarUser = [SOGoUser userWithLogin: [self ownerInContext: context]
roles: nil];
userCalendar = [NSMutableDictionary new];
[userCalendar autorelease];
[userCalendar setObject: @"/" forKey: @"folder"];
[userCalendar setObject: @"Calendar" forKey: @"displayName"];
[calendarFolders addObject: userCalendar];
calendarDict = [[activeUser userSettings] objectForKey: @"Calendar"];
calendarDict = [[calendarUser userSettings] objectForKey: @"Calendar"];
firstActive = [[calendarDict objectForKey: @"activateUserFolder"] boolValue];
firstActive = ([self _appendSubscribedFolders:
[calendarDict objectForKey: @"SubscribedFolders"]