Monotone-Parent: 7b560f5d25d1c37a7cdb773d653d58f82af95e42

Monotone-Revision: 30c81b4f13ebe8fe0c9c28588b0fca6366b0e3b2

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-11-30T18:12:46
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-11-30 18:12:46 +00:00
parent e753c28947
commit 148ce32085
2 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,10 @@
2009-11-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoDefaultsSource.m (-setBool:forKey:): we
encode boolean values as integers to avoid confusing the boolean
objective-c parsers when reading values coming back from the JS
code.
* UI/WebServerResources/SchedulerUI.js (initCalendars): the
"ShowCompletedTasks" parameter is in the UserSettings dictionary.

View File

@@ -123,8 +123,7 @@ NSString *SOGoDefaultsSourceUnmutableSource = @"SOGoDefaultsSourceUnmutableSourc
- (void) setBool: (BOOL) value
forKey: (NSString *) key
{
[self setObject: [NSNumber numberWithBool: value]
forKey: key];
[self setInteger: (value) ? 1: 0 forKey: key];
}
- (BOOL) boolForKey: (NSString *) key