From 3ddba08a9eea5a4270e725a50911074db7bad19e Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 19 Jul 2012 01:26:45 +0000 Subject: [PATCH] Monotone-Parent: 2cad87365f0a0c5651f8609b76b87ed5eeb351c4 Monotone-Revision: 8b81870c2b6bc608846d32e8e0b91c60d47ebb6a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-07-19T01:26:45 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ OpenChange/MAPIApplication.m | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index c76e5bad2..00401f0c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-07-18 Wolfgang Sourdeau + * OpenChange/MAPIApplication.m (-init): a WEResourceManager is + setup for the application so that page templates can be properly + be initialized. + * OpenChange/MAPIStoreDBMessage.m (-objectVersion): shift the version number by 16 bits, instead of doing it in -save. (-save): don t swap the bytes of the version number as it would diff --git a/OpenChange/MAPIApplication.m b/OpenChange/MAPIApplication.m index 8da1c1078..ecf3bedb0 100644 --- a/OpenChange/MAPIApplication.m +++ b/OpenChange/MAPIApplication.m @@ -22,6 +22,7 @@ #import #import +#import #import #import @@ -46,12 +47,18 @@ MAPIApplication *MAPIApp = nil; { if (!MAPIApp) { + WEResourceManager *rm; + // TODO publish [iCalEntityObject initializeSOGoExtensions]; MAPIApp = [super init]; [MAPIApp retain]; + rm = [[WEResourceManager alloc] init]; + [self setResourceManager:rm]; + [rm release]; + utcTZ = [NSTimeZone timeZoneWithName: @"UTC"]; [utcTZ retain]; }