Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2010-06-04 11:27:40 -0400
committerrelves2010-06-04 11:27:40 -0400
commit8f1fcedc73a39538e5cfc3baf737ed9ea2c5c3a5 (patch)
treee5c49aad4d84b43a77c98bad5de54ac00490d9fe /org.eclipse.mylyn.tasks.ui
parent6ed6fbd6d3c2e506ae3b70407476cb8f47abe00d (diff)
downloadorg.eclipse.mylyn.tasks-8f1fcedc73a39538e5cfc3baf737ed9ea2c5c3a5.tar.gz
org.eclipse.mylyn.tasks-8f1fcedc73a39538e5cfc3baf737ed9ea2c5c3a5.tar.xz
org.eclipse.mylyn.tasks-8f1fcedc73a39538e5cfc3baf737ed9ea2c5c3a5.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.java7
1 files changed, 5 insertions, 2 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 897de2a29..dda7ce9f2 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
@@ -284,8 +284,11 @@ public class TaskScheduleContentProvider extends TaskListContentProvider impleme
}
- if (task.getDueDate() == null && ((AbstractTask) task).getScheduledForDate() == null) {
- // Task list is not focused. Show all incoming tasks in the Incoming bin
+ // Task list is not focused. Show all incoming tasks in the Incoming bin
+ if (((AbstractTask) task).getScheduledForDate() == null && task.getDueDate() != null
+ && !taskActivityManager.isOwnedByUser(task)) {
+ children.add(task);
+ } else if (task.getDueDate() == null && ((AbstractTask) task).getScheduledForDate() == null) {
children.add(task);
}
}

Back to the top