See ChangeLog

Monotone-Parent: dec9b1733e709c1ad5b0be7dc9d1c4d9b2f6f991
Monotone-Revision: 3b52714060113176005a0886d4a2e1a33ab89ecc

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-05-22T21:39:53
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Francis Lachapelle 2009-05-22 21:39:53 +00:00
parent e225a936ca
commit 6d07744e36
2 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2009-05-22 Francis Lachapelle <flachapelle@inverse.ca>
* Main/sogod.m (main): verify if the default parameter
WOApplicationRedirectURL is defined and if so, removed any
trailing slash.
* UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor
-_toolbarForOwner:andClientObject:]): ignore the participation
status for tasks so the usual edition toolbar appears.

View File

@ -77,7 +77,7 @@ convertOldSOGoDomain (NSUserDefaults *ud)
int
main (int argc, char **argv, char **env)
{
NSString *tzName;
NSString *tzName, *redirectURL;
NSUserDefaults *ud;
NSAutoreleasePool *pool;
int rc;
@ -97,6 +97,14 @@ main (int argc, char **argv, char **env)
ud = [NSUserDefaults standardUserDefaults];
convertOldSOGoDomain (ud);
redirectURL = [ud stringForKey: @"WOApplicationRedirectURL"];
if (redirectURL && [redirectURL hasSuffix: @"/"])
{
[ud setObject: [redirectURL substringToIndex: [redirectURL length] - 1]
forKey: @"WOApplicationRedirectURL"];
[ud synchronize];
}
rc = 0;
tzName = [ud stringForKey: @"SOGoServerTimeZone"];
if (!tzName)