Monotone-Parent: 002cfad9d108ff7c2b34603852b074ecd764cf96

Monotone-Revision: 907a11a883fa8eef30169c4b85233afb04b20e2c

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-07-21T18:45:25
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert
2009-07-21 18:45:25 +00:00
parent 6b70e8480d
commit edb9bed9b9
4 changed files with 13 additions and 6 deletions
+10 -1
View File
@@ -32,6 +32,7 @@
if ((self = [super init]))
{
calendar = [self clientObject];
reloadTasks = NO;
}
return self;
@@ -94,6 +95,8 @@
- (void) setShowCalendarAlarms: (BOOL) new
{
if (new != [calendar showCalendarAlarms])
reloadTasks = YES;
[calendar setShowCalendarAlarms: new];
}
@@ -104,6 +107,8 @@
- (void) setShowCalendarTasks: (BOOL) new
{
if (new != [calendar showCalendarTasks])
reloadTasks = YES;
[calendar setShowCalendarTasks: new];
}
@@ -119,7 +124,11 @@
- (id <WOActionResults>) savePropertiesAction
{
return [self jsCloseWithRefreshMethod: nil];
NSString *action = nil;
if (reloadTasks)
action = @"refreshTasks()";
return [self jsCloseWithRefreshMethod: action];
}
@end