From ebae4c35f5991f647adfba3743a78e7f402cb96e Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 12 Jun 2007 18:54:28 +0000 Subject: [PATCH] Monotone-Parent: d68d071f599a77e3065ac980ce7760c92c1abb05 Monotone-Revision: 470811187d8793ec8cd6a7fe191d59f4c0196056 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-06-12T18:54:28 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ SoObjects/Appointments/SOGoCalendarComponent.h | 2 -- SoObjects/Appointments/SOGoCalendarComponent.m | 7 ------- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3f7d0c27f..684ef4aae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-06-12 Wolfgang Sourdeau + * SoObjects/Appointments/SOGoCalendarComponent.m + ([SOGoCalendarComponent -init]): "isNew" is no longer defined + here, but rather in its parent class. + * UI/SOGoUI/SOGoDateFormatter.m ([SOGoDateFormatter -stringForSecondsSinceThe70s:seconds]): new utility method. diff --git a/SoObjects/Appointments/SOGoCalendarComponent.h b/SoObjects/Appointments/SOGoCalendarComponent.h index 5675724bf..db0d4df99 100644 --- a/SoObjects/Appointments/SOGoCalendarComponent.h +++ b/SoObjects/Appointments/SOGoCalendarComponent.h @@ -38,13 +38,11 @@ { iCalCalendar *calendar; NSString *calContent; - BOOL isNew; } - (NSString *) componentTag; - (iCalCalendar *) calendar: (BOOL) create; - (iCalRepeatableEntityObject *) component: (BOOL) create; -- (BOOL) isNew; - (NSException *) primarySaveContentString: (NSString *) _iCalString; - (NSException *) primaryDelete; diff --git a/SoObjects/Appointments/SOGoCalendarComponent.m b/SoObjects/Appointments/SOGoCalendarComponent.m index f07444838..5f707b181 100644 --- a/SoObjects/Appointments/SOGoCalendarComponent.m +++ b/SoObjects/Appointments/SOGoCalendarComponent.m @@ -71,7 +71,6 @@ static BOOL sendEMailNotifications = NO; { calendar = nil; calContent = nil; - isNew = NO; } return self; @@ -183,7 +182,6 @@ static BOOL sendEMailNotifications = NO; newComponent = [[calendar classForTag: componentTag] groupWithTag: componentTag]; [calendar addChild: newComponent]; - isNew = YES; } } if (calendar) @@ -200,11 +198,6 @@ static BOOL sendEMailNotifications = NO; firstChildWithTag: [self componentTag]]; } -- (BOOL) isNew -{ - return isNew; -} - /* raw saving */ - (NSException *) primarySaveContentString: (NSString *) _iCalString