Monotone-Parent: b526d981477874b339fcb0e64ee456714c76b84f

Monotone-Revision: 290944a7a48619d2848c467ceac22359889e773c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-07-19T21:49:37
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-07-19 21:49:37 +00:00
parent 823fa2b9a8
commit dbc50c78aa
4 changed files with 20 additions and 16 deletions

View File

@@ -23,6 +23,8 @@
#import <Foundation/NSDictionary.h>
#import <NGExtensions/NSObject+Logs.h>
#import <SOGo/SOGoObject.h>
#import <SOGo/SOGoUser.h>
#import <SOGo/SOGoUserDefaults.h>
#import "MAPIStoreContext.h"
#import "MAPIStoreFolder.h"
@@ -207,6 +209,21 @@ static Class NSExceptionK, MAPIStoreFolderK;
containerURL, [self nameInContainer]];
}
- (NSTimeZone *) ownerTimeZone
{
NSString *owner;
SOGoUserDefaults *ud;
NSTimeZone *tz;
WOContext *woContext;
woContext = [[self context] woContext];
owner = [sogoObject ownerInContext: woContext];
ud = [[SOGoUser userWithLogin: owner] userDefaults];
tz = [ud timeZone];
return tz;
}
- (void) addNewProperties: (NSDictionary *) newNewProperties
{
[newProperties addEntriesFromDictionary: newNewProperties];