Monotone-Parent: fad4af384953bf77b8c1da664d7deab40e8cfdc5

Monotone-Revision: 42bfc0613859467f595a2bdb349908a8f8d602f2

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-08-05T00:32:26
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2008-08-05 00:32:26 +00:00
parent 9963e8f831
commit ce6c8b3627
3 changed files with 26 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2008-08-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoUser.m ([SOGoUser +initialize]): same as
below.
* Main/SOGo.m ([SOGo -run]): rename AgenorProfileURL to
SOGoProfileURL automagically.
2008-07-29 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Scheduler/UIxCalListingActions.m ([UIxCalListingActions

View File

@ -242,9 +242,13 @@ static BOOL debugObjectAllocation = NO;
{
value = [ud stringForKey: @"AgenorProfileURL"];
if (value)
[self warnWithFormat: @"the user defaults key 'AgenorProfileURL'"
@" was renamed to 'SOGoProfileURL', please update your"
@" configuration accordingly"];
{
[ud setObject: value forKey: *urlString];
[ud removeObjectForKey: @"AgenorProfileURL"];
[ud synchronize];
[self warnWithFormat: @"the user defaults key 'AgenorProfileURL'"
@" was renamed to 'SOGoProfileURL'"];
}
}
if (value)

View File

@ -127,7 +127,17 @@ _timeValue (NSString *key)
{
profileURL = [ud stringForKey: @"SOGoProfileURL"];
if (!profileURL)
profileURL = [ud stringForKey: @"AgenorProfileURL"];
{
profileURL = [ud stringForKey: @"AgenorProfileURL"];
if (profileURL)
{
[ud setObject: profileURL forKey: @"SOGoProfileURL"];
[ud removeObjectForKey: @"AgenorProfileURL"];
[ud synchronize];
[self warnWithFormat: @"the user defaults key 'AgenorProfileURL'"
@" was renamed to 'SOGoProfileURL'"];
}
}
SOGoProfileURL = [[NSURL alloc] initWithString: profileURL];
}
if (!fallbackIMAP4Server)