mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-11 00:08:51 +00:00
Monotone-Parent: 1c3bb3511167199e0dc7bafa4db7fc5540648666
Monotone-Revision: eb2ae1364da011cec8f9e025b9b53785ba2647d6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-07-10T15:49:24 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -455,7 +455,7 @@ static NSNumber *sharedYes = nil;
|
||||
// We MUST keep the 'NO' value here, because we will always
|
||||
// fallback to the domain defaults otherwise.
|
||||
//
|
||||
- (BOOL) _setNotificationValue: (BOOL) b
|
||||
- (void) _setNotificationValue: (BOOL) b
|
||||
forKey: (NSString *) theKey
|
||||
{
|
||||
[self setFolderPropertyValue: [NSNumber numberWithBool: b]
|
||||
@@ -1005,7 +1005,9 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||
rules = [cycleinfo objectForKey: @"rules"];
|
||||
exRules = [cycleinfo objectForKey: @"exRules"];
|
||||
exDates = [cycleinfo objectForKey: @"exDates"];
|
||||
eventTimeZone = allDayTimeZone = tz = nil;
|
||||
eventTimeZone = nil;
|
||||
allDayTimeZone = nil;
|
||||
tz = nil;
|
||||
|
||||
row = [self fixupRecord: theRecord];
|
||||
[row removeObjectForKey: @"c_cycleinfo"];
|
||||
@@ -1062,7 +1064,9 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||
}
|
||||
}
|
||||
|
||||
tz = eventTimeZone? eventTimeZone : allDayTimeZone;
|
||||
#warning this code is ugly: we should not mix objects with different types as\
|
||||
it reduces readability
|
||||
tz = eventTimeZone ? eventTimeZone : allDayTimeZone;
|
||||
if (tz)
|
||||
{
|
||||
// Adjust the exception dates
|
||||
|
||||
Reference in New Issue
Block a user