Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2010-06-01 14:52:32 -0400
committerrelves2010-06-01 14:52:32 -0400
commit070f3cf4c133f4355e3d3f3df087717c53e1248b (patch)
treec15792a2c3ff8154f827e7dbe38c24b66b9e36aa /org.eclipse.mylyn.tasks.ui
parent1937c934f05edfce6e5fb3bdc094baa95a94d19b (diff)
downloadorg.eclipse.mylyn.tasks-070f3cf4c133f4355e3d3f3df087717c53e1248b.tar.gz
org.eclipse.mylyn.tasks-070f3cf4c133f4355e3d3f3df087717c53e1248b.tar.xz
org.eclipse.mylyn.tasks-070f3cf4c133f4355e3d3f3df087717c53e1248b.zip
NEW - bug 314166: fix the scheduled presentation bins and sort order
https://bugs.eclipse.org/bugs/show_bug.cgi?id=314166
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskScheduleContentProvider.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskScheduleContentProvider.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskScheduleContentProvider.java
index 211acf076..e660d116e 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskScheduleContentProvider.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskScheduleContentProvider.java
@@ -250,7 +250,8 @@ public class TaskScheduleContentProvider extends TaskListContentProvider impleme
public Collection<ITask> getChildren() {
Set<ITask> children = new HashSet<ITask>();
for (ITask task : TasksUiPlugin.getTaskList().getAllTasks()) {
- if (task.getSynchronizationState().equals(SynchronizationState.INCOMING)
+ if (task.getDueDate() == null && ((AbstractTask) task).getScheduledForDate() == null
+ && task.getSynchronizationState().equals(SynchronizationState.INCOMING)
|| task.getSynchronizationState().equals(SynchronizationState.INCOMING_NEW)) {
children.add(task);
}

Back to the top