mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 19:35:38 +00:00
Monotone-Parent: 3d9b00a12e01adb2b2f57de56d94b0bb617db89e
Monotone-Revision: 68fc87916043043a4f4813bda38cca7f315dcdf6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-02-09T16:53:05 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,8 +1,16 @@
|
||||
2007-02-09 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/SOGoUI/UIxComponent.m ([UIxComponent -userFolderPath]): treat
|
||||
resulting url with [NSString+Utilities hostlessURL] instead of
|
||||
using NSURL. This is because the url in question sometimes has a
|
||||
hostname and sometimes not. "hostlessURL" ensure the hostname is
|
||||
removed anyway.
|
||||
([UIxComponent -applicationPath]): same as above.
|
||||
|
||||
2007-02-08 Ludovic Marcotte <ludovic@inverse.ca>
|
||||
|
||||
* SoObjects/Mailer/SOGoMailFolder.m
|
||||
Priorize the look of folders before doing
|
||||
the one on messages.
|
||||
* SoObjects/Mailer/SOGoMailFolder.m: priorize the lookup of
|
||||
folders before doing the one on messages.
|
||||
|
||||
2007-02-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
|
||||
@@ -285,7 +285,6 @@ static BOOL uixDebugEnabled = NO;
|
||||
- (NSString *) userFolderPath
|
||||
{
|
||||
WOContext *ctx;
|
||||
NSString *url, *path;
|
||||
NSEnumerator *objects;
|
||||
SOGoObject *currentObject;
|
||||
BOOL found;
|
||||
@@ -301,16 +300,12 @@ static BOOL uixDebugEnabled = NO;
|
||||
else
|
||||
currentObject = [objects nextObject];
|
||||
|
||||
url = [currentObject baseURLInContext:ctx];
|
||||
path = [[NSURL URLWithString:url] path];
|
||||
|
||||
return path;
|
||||
return [[currentObject baseURLInContext:ctx] hostlessURL];
|
||||
}
|
||||
|
||||
- (NSString *) applicationPath
|
||||
{
|
||||
SOGoObject *currentClient, *parent;
|
||||
NSString *url;
|
||||
BOOL found;
|
||||
Class objectClass, groupFolderClass, userFolderClass;
|
||||
WOContext *ctx;
|
||||
@@ -333,9 +328,8 @@ static BOOL uixDebugEnabled = NO;
|
||||
}
|
||||
|
||||
ctx = [self context];
|
||||
url = [currentClient baseURLInContext: ctx];
|
||||
|
||||
return [[NSURL URLWithString: url] path];
|
||||
return [[currentClient baseURLInContext:ctx] hostlessURL];
|
||||
}
|
||||
|
||||
- (NSString *) resourcesPath
|
||||
|
||||
Reference in New Issue
Block a user