mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-09 18:35:10 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user