Monotone-Parent: c33c456b52c6e6d4ee1f29bfd9ca57096b8d13be

Monotone-Revision: 5539e3c473023281dd04f7cb8a8fee051ac0735d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-04-11T19:08:58
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-04-11 19:08:58 +00:00
parent 828d3b2818
commit e09ac2e383
32 changed files with 350 additions and 616 deletions
+7 -5
View File
@@ -290,12 +290,15 @@
{
NSCalendarDate *newStartDate, *now;
int hour;
NSTimeZone *timeZone;
timeZone = [[context activeUser] timeZone];
newStartDate = [self selectedDate];
if ([[self queryParameterForKey: @"hm"] length] == 0)
{
now = [NSCalendarDate calendarDate];
[now setTimeZone: [[self clientObject] userTimeZone]];
[now setTimeZone: timeZone];
if ([now isDateOnSameDay: newStartDate])
{
hour = [now hourOfDay];
@@ -434,20 +437,19 @@
- (id) acceptOrDeclineAction: (BOOL) _accept
{
[[self clientObject] changeParticipationStatus:
_accept ? @"ACCEPTED" : @"DECLINED"
inContext: [self context]];
_accept ? @"ACCEPTED" : @"DECLINED"];
return self;
}
- (id) acceptAction
{
return [self acceptOrDeclineAction:YES];
return [self acceptOrDeclineAction: YES];
}
- (id) declineAction
{
return [self acceptOrDeclineAction:NO];
return [self acceptOrDeclineAction: NO];
}
- (id) changeStatusAction