Monotone-Parent: 88f0ce5639727c85b38f30956343e35a4d05148c

Monotone-Revision: 17e1bafbb4857456e2a221fb491feab7ee89745d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-03-16T21:08:19
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-03-16 21:08:19 +00:00
parent 6d328b0c65
commit 056f16178b
3 changed files with 21 additions and 6 deletions
+8
View File
@@ -1,5 +1,13 @@
2009-03-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoAppointmentObject.m
([SOGoAppointmentObject -occurence:occ]): create the occurence
with the first calendar event as master.
* SoObjects/Appointments/SOGoTaskObject.m ([SOGoTaskObject
-occurence:occ]): create the occurence with the first calendar
task as master.
* SoObjects/Appointments/SOGoCalendarComponent.m
([SOGoCalendarComponent
-lookupName:lookupNameinContext:localContextacquire:acquire]):
@@ -129,10 +129,14 @@
- (SOGoComponentOccurence *) occurence: (iCalRepeatableEntityObject *) occ
{
return [SOGoAppointmentOccurence occurenceWithComponent: occ
withMasterComponent: [self component: NO
secure: NO]
inContainer: self];
NSArray *allEvents;
allEvents = [[occ parent] events];
return [SOGoAppointmentOccurence
occurenceWithComponent: occ
withMasterComponent: [allEvents objectAtIndex: 0]
inContainer: self];
}
- (iCalRepeatableEntityObject *) newOccurenceWithID: (NSString *) recID
+5 -2
View File
@@ -48,9 +48,12 @@
- (SOGoComponentOccurence *) occurence: (iCalRepeatableEntityObject *) occ
{
NSArray *allTodos;
allTodos = [[occ parent] todos];
return [SOGoTaskOccurence occurenceWithComponent: occ
withMasterComponent: [self component: NO
secure: NO]
withMasterComponent: [allTodos objectAtIndex: 0]
inContainer: self];
}