Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2010-06-04 11:22:22 -0400
committerrelves2010-06-04 11:22:22 -0400
commit6ed6fbd6d3c2e506ae3b70407476cb8f47abe00d (patch)
treef48c79e30a06f9c608c2b2b3cd1ee82445b28b58 /org.eclipse.mylyn.tasks.ui
parent9bf7f2b34de2e5a084668a100a61c99d0faa94d9 (diff)
downloadorg.eclipse.mylyn.tasks-6ed6fbd6d3c2e506ae3b70407476cb8f47abe00d.tar.gz
org.eclipse.mylyn.tasks-6ed6fbd6d3c2e506ae3b70407476cb8f47abe00d.tar.xz
org.eclipse.mylyn.tasks-6ed6fbd6d3c2e506ae3b70407476cb8f47abe00d.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.java10
1 files changed, 7 insertions, 3 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 4923159f0..897de2a29 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
@@ -271,10 +271,14 @@ public class TaskScheduleContentProvider extends TaskListContentProvider impleme
}
if (task.getDueDate() != null) {
- temp.setTime(task.getDueDate());
- if (TaskActivityUtil.isAfterCurrentWeek(temp)) {
+ if (taskActivityManager.isOwnedByUser(task)) {
+ temp.setTime(task.getDueDate());
+ if (TaskActivityUtil.isAfterCurrentWeek(temp)) {
+ children.add(task);
+ continue;
+ }
+ } else {
children.add(task);
- continue;
}
}

Back to the top