Monotone-Parent: aa4ef1d1bac572d15a5bfc60bf3cd7b7cb0875a0

Monotone-Revision: 570139b68f09705f78bbf777102e81e343566d3d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-11-21T20:32:44
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-11-21 20:32:44 +00:00
parent afa15efb12
commit 79a29b662f
2 changed files with 15 additions and 2 deletions
+7
View File
@@ -1,3 +1,10 @@
2006-11-21 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Mailer/SOGoMailAccount.m ([SOGoMailAccount
-lookupFolder:ofClassNamed:inContext:]): added the ability to
configure the name of the SOGoDraftFolders with the ud var
"SOGoDraftsFolderName".
2006-11-17 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoObject.m ([SOGoObject
+8 -2
View File
@@ -43,6 +43,7 @@ static BOOL useAltNamespace = NO;
+ (void)initialize {
NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];
NSString *cfgDraftsFolderName;
NSAssert2([super version] == 1,
@"invalid superclass (%@) version %i !",
@@ -52,10 +53,15 @@ static BOOL useAltNamespace = NO;
sharedFolderName = [ud stringForKey:@"SOGoSharedFolderName"];
otherUsersFolderName = [ud stringForKey:@"SOGoOtherUsersFolderName"];
cfgDraftsFolderName = [ud stringForKey:@"SOGoDraftsFolderName"];
if ([cfgDraftsFolderName length] > 0)
{
ASSIGN (draftsFolderName, cfgDraftsFolderName);
NSLog(@"Note: using drafts folder named: '%@'", draftsFolderName);
}
NSLog(@"Note: using shared-folders name: '%@'", sharedFolderName);
NSLog(@"Note: using other-users-folders name: '%@'", otherUsersFolderName);
if ([ud boolForKey:@"SOGoEnableSieveFolder"]) {
rootFolderNames = [[NSArray alloc] initWithObjects:
draftsFolderName,