Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoratorPreferencesPage.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoratorPreferencesPage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoratorPreferencesPage.java
index 2be569ac2..b57052f4d 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoratorPreferencesPage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoratorPreferencesPage.java
@@ -127,10 +127,12 @@ public class CVSDecoratorPreferencesPage extends PreferencePage implements IWork
} else if(element.equals("added.java")){ //$NON-NLS-1$
decoration.setResourceType(IResource.FILE);
decoration.setAdded(true);
+ decoration.setDirty(true);
decoration.setHasRemote(false);
} else if(element.equals("todo.txt")){ //$NON-NLS-1$
decoration.setResourceType(IResource.FILE);
decoration.setNewResource(true);
+ decoration.setDirty(true);
} else if(element.equals("bugs.txt")){ //$NON-NLS-1$
decoration.setResourceType(IResource.FILE);
decoration.setDirty(false);

Back to the top