mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-16 12:23:17 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user