mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-28 00:09:29 +00:00
Monotone-Parent: a3b799159abc70880dcdddcf22236376e1646a5d
Monotone-Revision: fa0f9bd311fd3d1239970c0d361a8ef16ecfa4f9 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-02-23T21:10:18 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2012-02-23 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreContext.m (-init): restored "containersBag"
|
||||
mechanism where root context folders that are deeper than the
|
||||
first level of their hierarchy needs to have their parent folders
|
||||
retained.
|
||||
|
||||
2012-02-23 Jean Raby <jraby@inverse.ca>
|
||||
|
||||
* debian/rules: add a symlink to let gdb find debugging symbols
|
||||
|
||||
@@ -54,11 +54,9 @@
|
||||
@interface MAPIStoreContext : NSObject
|
||||
{
|
||||
struct mapistore_connection_info *connInfo;
|
||||
|
||||
NSMutableArray *containersBag;
|
||||
SOGoUser *activeUser;
|
||||
|
||||
MAPIStoreUserContext *userContext;
|
||||
|
||||
NSURL *contextUrl;
|
||||
}
|
||||
|
||||
|
||||
@@ -260,6 +260,7 @@ static inline NSURL *CompleteURLFromMapistoreURI (const char *uri)
|
||||
activeUser = nil;
|
||||
userContext = nil;
|
||||
contextUrl = nil;
|
||||
containersBag = [NSMutableArray new];
|
||||
}
|
||||
|
||||
return self;
|
||||
@@ -314,6 +315,7 @@ static inline NSURL *CompleteURLFromMapistoreURI (const char *uri)
|
||||
UTF8String]);
|
||||
[contextUrl release];
|
||||
[userContext release];
|
||||
[containersBag release];
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
@@ -437,6 +439,8 @@ static inline NSURL *CompleteURLFromMapistoreURI (const char *uri)
|
||||
acquire: NO];
|
||||
if ([currentFolder isKindOfClass: NSExceptionK])
|
||||
currentFolder = nil;
|
||||
else
|
||||
[containersBag addObject: currentFolder];
|
||||
}
|
||||
|
||||
if (currentFolder)
|
||||
|
||||
Reference in New Issue
Block a user