See ChangeLog

Monotone-Parent: b577b5789ba850c92417e70690576edfd3a2793b
Monotone-Revision: 931357c046b4c2c5bca20cfc7027809a3240f43a

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-06-09T21:25:41
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2009-06-09 21:25:41 +00:00
parent be78b5890e
commit f7f55e9315
10 changed files with 70 additions and 1 deletions
+26
View File
@@ -340,6 +340,32 @@ static BOOL shouldDisplayWeekend = NO;
return [self dateStringForDate: [self nextMonth]];
}
- (void) setCurrentView: (NSString *) theView
{
SOGoUser *activeUser;
NSString *module;
NSUserDefaults *ud;
NSMutableDictionary *moduleSettings;
SOGoAppointmentFolders *clientObject;
activeUser = [context activeUser];
clientObject = [self clientObject];
module = [clientObject nameInContainer];
ud = [activeUser userSettings];
moduleSettings = [ud objectForKey: module];
if (!moduleSettings)
{
moduleSettings = [NSMutableDictionary dictionary];
[ud setObject: moduleSettings forKey: module];
}
[moduleSettings setObject: theView
forKey: @"View"];
[ud synchronize];
}
/* current day related */
- (void) setCurrentDay:(NSCalendarDate *) _day