From 263c62a70d15627a750191eed808e2141842a32a Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 19 Nov 2007 15:40:22 +0000 Subject: [PATCH] Monotone-Parent: e2c6d6b8cfe712b3904159b16afba1769a6ab0a4 Monotone-Revision: 1c1de9a3a363e23c7c1b6ef48bc5545eab2ac66b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-11-19T15:40:22 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 +++ UI/Scheduler/UIxTaskEditor.m | 28 ++++++++++++++-------------- UI/Scheduler/product.plist | 15 --------------- 3 files changed, 17 insertions(+), 29 deletions(-) diff --git a/ChangeLog b/ChangeLog index 20bbc5ddb..9b26ca28c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-11-19 Wolfgang Sourdeau + * UI/Scheduler/UIxTaskEditor.m ([-acceptAction]) + ([-declineAction]): commented out unused methods. + * UI/MailPartViewers/UIxMailPartICalActions.m ([UIxMailPartICalActions -deleteFromCalendarAction]): actually delete the found object. diff --git a/UI/Scheduler/UIxTaskEditor.m b/UI/Scheduler/UIxTaskEditor.m index 41c39fc99..96d520810 100644 --- a/UI/Scheduler/UIxTaskEditor.m +++ b/UI/Scheduler/UIxTaskEditor.m @@ -411,23 +411,23 @@ // TODO: add tentatively -- (id) acceptOrDeclineAction: (BOOL) _accept -{ - [[self clientObject] changeParticipationStatus: - _accept ? @"ACCEPTED" : @"DECLINED"]; +// - (id) acceptOrDeclineAction: (BOOL) _accept +// { +// [[self clientObject] changeParticipationStatus: +// _accept ? @"ACCEPTED" : @"DECLINED"]; - return self; -} +// return self; +// } -- (id) acceptAction -{ - return [self acceptOrDeclineAction: YES]; -} +// - (id) acceptAction +// { +// return [self acceptOrDeclineAction: YES]; +// } -- (id) declineAction -{ - return [self acceptOrDeclineAction: NO]; -} +// - (id) declineAction +// { +// return [self acceptOrDeclineAction: NO]; +// } - (id) changeStatusAction { diff --git a/UI/Scheduler/product.plist b/UI/Scheduler/product.plist index 6ee2a5afb..734735ff8 100644 --- a/UI/Scheduler/product.plist +++ b/UI/Scheduler/product.plist @@ -179,11 +179,6 @@ }; }; methods = { -// delete = { -// protectedBy = "Delete Objects"; -// pageName = "UIxTaskView"; -// actionName = "delete"; -// }; edit = { protectedBy = "ViewAllComponent"; pageName = "UIxTaskEditor"; @@ -207,16 +202,6 @@ pageName = "UIxTaskEditor"; actionName = "changeStatus"; }; - accept = { - protectedBy = "RespondToComponent"; - pageName = "UIxTaskEditor"; - actionName = "accept"; - }; - decline = { - protectedBy = "RespondToComponent"; - pageName = "UIxTaskEditor"; - actionName = "decline"; - }; }; }; };