Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2011-03-10 02:21:31 +0000
committerspingel2011-03-10 02:21:31 +0000
commit1fbb17ac96d19b845b554543d383dbba9d2de19d (patch)
treeeb92f2c73c96f8383ce2f15c3934f5d2ce7eaa46 /org.eclipse.mylyn.tasks.core
parenta3749dc02e20f87cdcb562e4b126f5985e7304bc (diff)
downloadorg.eclipse.mylyn.tasks-1fbb17ac96d19b845b554543d383dbba9d2de19d.tar.gz
org.eclipse.mylyn.tasks-1fbb17ac96d19b845b554543d383dbba9d2de19d.tar.xz
org.eclipse.mylyn.tasks-1fbb17ac96d19b845b554543d383dbba9d2de19d.zip
RESOLVED - bug 286963: [api] add support for ignoring incoming notification on specified fields
https://bugs.eclipse.org/bugs/show_bug.cgi?id=286963
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/data/TaskDataManager.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/data/TaskDataManager.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/data/TaskDataManager.java
index a96fadcc4..72d46ea83 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/data/TaskDataManager.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/data/TaskDataManager.java
@@ -230,13 +230,14 @@ public class TaskDataManager implements ITaskDataManager {
switch (task.getSynchronizationState()) {
case OUTGOING:
task.setSynchronizationState(SynchronizationState.CONFLICT);
- task.setAttribute(ITasksCoreConstants.ATTRIBUTE_TASK_SUPPRESS_INCOMING, suppressIncoming);
break;
case SYNCHRONIZED:
task.setSynchronizationState(SynchronizationState.INCOMING);
- task.setAttribute(ITasksCoreConstants.ATTRIBUTE_TASK_SUPPRESS_INCOMING, suppressIncoming);
break;
}
+
+ // if an incoming was previously suppressed it may need to show now
+ task.setAttribute(ITasksCoreConstants.ATTRIBUTE_TASK_SUPPRESS_INCOMING, suppressIncoming);
}
if (task.isSynchronizing()) {
task.setSynchronizing(false);

Back to the top