Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2007-06-26 19:41:37 -0400
committerrelves2007-06-26 19:41:37 -0400
commit4df3d471f3f1c5ddc51d8ec299aebdc941a72d21 (patch)
tree85064c7e0964e9e0886c75df665a6754d5f8f388
parentd3362ff27afa0fadf5b43ea0ae18af47eba531e2 (diff)
downloadorg.eclipse.mylyn.tasks-4df3d471f3f1c5ddc51d8ec299aebdc941a72d21.tar.gz
org.eclipse.mylyn.tasks-4df3d471f3f1c5ddc51d8ec299aebdc941a72d21.tar.xz
org.eclipse.mylyn.tasks-4df3d471f3f1c5ddc51d8ec299aebdc941a72d21.zip
NEW - bug 189170: Mylar test suite is failing
https://bugs.eclipse.org/bugs/show_bug.cgi?id=189170
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java
index 57d66521b..5e73d8466 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java
@@ -829,7 +829,10 @@ public class TasksUiPlugin extends AbstractUIPlugin implements IStartup {
RepositoryTaskData oldTaskData = getTaskDataManager().getOldTaskData(task.getRepositoryUrl(), task.getTaskId());
try {
- if (newTaskData != null && oldTaskData != null) {
+ if (task.getSynchronizationState().equals(RepositoryTaskSyncState.INCOMING)
+ && task.getLastReadTimeStamp() == null) {
+ notification.setDescription("New unread task");
+ } else if (newTaskData != null && oldTaskData != null) {
notification.setDescription(getChangedDescription(newTaskData, oldTaskData));
notification.setDetails(getChangedAttributes(newTaskData, oldTaskData));

Back to the top