From bd194575df320c6ed53d4aae16625bcd65280b4e Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Sat, 15 Sep 2007 02:31:34 +0000 Subject: [PATCH] Monotone-Parent: 63bcd763cff414d885e16f073fd75273e3b16ddb Monotone-Revision: 4d261df2cf600b1a2b203cffba49ea6559226fdd Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-09-15T02:31:34 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 ++ UI/Scheduler/UIxCalendarSelector.m | 2 ++ UI/Templates/SchedulerUI/UIxCalMainView.wox | 2 ++ .../SchedulerUI/UIxCalendarSelector.wox | 3 +- UI/WebServerResources/SchedulerUI.js | 33 ++++++++++++++++++- 5 files changed, 41 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a4c799c2f..d879621d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-09-14 Wolfgang Sourdeau + * UI/Scheduler/UIxCalendarSelector.m ([UIxCalendarSelector + -calendars]): also returns the owner of the listed folders. + * SoObjects/Appointments/SOGoAppointmentFolder.m ([-deleteEntriesWithIds:ids]): moved method into SOGoFolder. diff --git a/UI/Scheduler/UIxCalendarSelector.m b/UI/Scheduler/UIxCalendarSelector.m index e077176ab..6bee8aad6 100644 --- a/UI/Scheduler/UIxCalendarSelector.m +++ b/UI/Scheduler/UIxCalendarSelector.m @@ -129,6 +129,8 @@ colorForNumber (unsigned int number) forKey: @"color"]; isActive = [NSNumber numberWithBool: [folder isActive]]; [calendar setObject: isActive forKey: @"active"]; + [calendar setObject: [folder ownerInContext: context] + forKey: @"owner"]; [calendars addObject: calendar]; } } diff --git a/UI/Templates/SchedulerUI/UIxCalMainView.wox b/UI/Templates/SchedulerUI/UIxCalMainView.wox index 9ab3d56d5..4c5039a3d 100644 --- a/UI/Templates/SchedulerUI/UIxCalMainView.wox +++ b/UI/Templates/SchedulerUI/UIxCalMainView.wox @@ -49,6 +49,8 @@