mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-08 01:45:08 +00:00
Monotone-Parent: f8c415bcf8ada7956979f50f9056a2e8ae867cdb
Monotone-Revision: d5c8f082c4cdd11904c2520fd1a85e71f588fa59 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-07-22T18:47:27 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -323,29 +323,29 @@ static NSArray *tasksFields = nil;
|
||||
{
|
||||
if (![component isEqualToString: @"vtodo"] || [currentFolder showCalendarTasks])
|
||||
{
|
||||
if ([currentFolder isActive])
|
||||
{
|
||||
currentInfos
|
||||
= [[currentFolder fetchCoreInfosFrom: startDate
|
||||
to: endDate
|
||||
title: title
|
||||
component: component] objectEnumerator];
|
||||
if ([currentFolder isActive])
|
||||
{
|
||||
currentInfos
|
||||
= [[currentFolder fetchCoreInfosFrom: startDate
|
||||
to: endDate
|
||||
title: title
|
||||
component: component] objectEnumerator];
|
||||
|
||||
while ((newInfo = [currentInfos nextObject]))
|
||||
{
|
||||
[newInfo setObject: [currentFolder nameInContainer]
|
||||
forKey: @"c_folder"];
|
||||
[newInfo setObject: [currentFolder ownerInContext: context]
|
||||
forKey: @"c_owner"];
|
||||
if (![[newInfo objectForKey: @"c_title"] length])
|
||||
while ((newInfo = [currentInfos nextObject]))
|
||||
{
|
||||
[newInfo setObject: [currentFolder nameInContainer]
|
||||
forKey: @"c_folder"];
|
||||
[newInfo setObject: [currentFolder ownerInContext: context]
|
||||
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];
|
||||
[infos addObject: [newInfo objectsForKeys: fields
|
||||
notFoundMarker: marker]];
|
||||
}
|
||||
}
|
||||
// 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]];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -234,7 +234,7 @@
|
||||
protectedBy = "ViewAllComponent";
|
||||
pageName = "UIxTaskEditor";
|
||||
};
|
||||
save = {
|
||||
save = {
|
||||
protectedBy = "ModifyComponent";
|
||||
pageName = "UIxTaskEditor";
|
||||
actionName = "save";
|
||||
|
||||
Reference in New Issue
Block a user