From 7d817dcb9b36526bfa9db26c93bc19fc8bea9efe Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Thu, 19 Mar 2009 16:49:36 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: b11b40d1a73231b76eb4bb1ce04046646f40d52f Monotone-Revision: dd31e8f881d1c923d951b3c5ddf9a90c986c2165 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-03-19T16:49:36 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 6 ++++++ UI/Scheduler/UIxCalListingActions.m | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) 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]; }