diff --git a/ChangeLog b/ChangeLog index e0cf2a9e1..5f21d811f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-03-19 Francis Lachapelle + + * UI/Scheduler/UIxCalListingActions.m ([UIxCalListingActions + -_fetchFields:forComponentOfType:]): the _fixDates method doesn't + have to be called for the month view. + 2009-03-19 Wolfgang Sourdeau * SoObjects/SOGo/SOGoUser.m ([SOGoUser diff --git a/UI/Scheduler/UIxCalListingActions.m b/UI/Scheduler/UIxCalListingActions.m index f7b364c4e..85ed4e5d3 100644 --- a/UI/Scheduler/UIxCalListingActions.m +++ b/UI/Scheduler/UIxCalListingActions.m @@ -327,9 +327,10 @@ static NSArray *tasksFields = nil; forKey: @"c_owner"]; if (![[newInfo objectForKey: @"c_title"] length]) [self _fixComponentTitle: newInfo withType: component]; - // Possible improvement: only call _fixDates if event is recurrent - // or the view range span a daylight saving time change - [self _fixDates: newInfo]; + if (dayBasedView) + // Possible improvement: only call _fixDates if event is recurrent + // or the view range span a daylight saving time change + [self _fixDates: newInfo]; [infos addObject: [newInfo objectsForKeys: fields notFoundMarker: marker]]; } @@ -800,8 +801,7 @@ _computeBlocksPosition (NSArray *blocks) event = [events objectAtIndex: count]; eventNbr = [NSNumber numberWithUnsignedInt: count]; if (dayBasedView && [[event objectAtIndex: 7] boolValue]) - [self _fillBlocks: allDayBlocks - withEvent: event withNumber: eventNbr]; + [self _fillBlocks: allDayBlocks withEvent: event withNumber: eventNbr]; else [self _fillBlocks: blocks withEvent: event withNumber: eventNbr]; }