mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 08:55:08 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user