From 02359d94a826eae15559821b6219040aaeb38e0f Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 14 Dec 2006 21:22:57 +0000 Subject: [PATCH] Monotone-Parent: b2699a981cd5458fbd1da1a9a72992020a29a4fc Monotone-Revision: 3a8b54652636e357a114d90c7fbe2ff4f944a60f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-12-14T21:22:57 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 2 ++ Main/SOGo.m | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 77d5fae1b..fd5873f00 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-12-14 Wolfgang Sourdeau + * Main/SOGo.m: declare "Freebusy" permissions for the top objects. + * UI/Contacts/UIxContactsAclsSelection.m: new component specific to the handling of the user selection for the acls. diff --git a/Main/SOGo.m b/Main/SOGo.m index 37de19459..6ee482ec0 100644 --- a/Main/SOGo.m +++ b/Main/SOGo.m @@ -87,9 +87,9 @@ static BOOL doCrashOnSessionCreate = NO; WOResourceManager *rm; /* ensure core SoClass'es are setup */ - [NSClassFromString(@"SOGoObject") soClass]; - [NSClassFromString(@"SOGoContentObject") soClass]; - [NSClassFromString(@"SOGoFolder") soClass]; + [$(@"SOGoObject") soClass]; + [$(@"SOGoContentObject") soClass]; + [$(@"SOGoFolder") soClass]; /* setup locale cache */ self->localeLUT = [[NSMutableDictionary alloc] initWithCapacity:2]; @@ -129,7 +129,7 @@ static BOOL doCrashOnSessionCreate = NO; - (id)lookupUser:(NSString *)_key inContext:(id)_ctx { NSLog (@"lookupUser: %@", _key); - return [[[NSClassFromString(@"SOGoUserFolder") alloc] + return [[[$(@"SOGoUserFolder") alloc] initWithName:_key inContainer:self] autorelease]; } @@ -267,7 +267,7 @@ static BOOL doCrashOnSessionCreate = NO; return lpath; if (MainProduct == Nil) { - if ((MainProduct = NSClassFromString(@"MainUIProduct")) == Nil) + if ((MainProduct = $(@"MainUIProduct")) == Nil) [self errorWithFormat:@"did not find MainUIProduct class!"]; }