Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2004-09-22 15:14:20 +0000
committerJean Michel-Lemieux2004-09-22 15:14:20 +0000
commita34e61a370c9f88fbe7a1ac13c342ed1e6871d57 (patch)
treeb399c5a3e8b1c980607585b248feee352f4ee31c
parent302bd128a74aa8830cdc1eb49e5d023288928750 (diff)
downloadeclipse.platform.team-a34e61a370c9f88fbe7a1ac13c342ed1e6871d57.tar.gz
eclipse.platform.team-a34e61a370c9f88fbe7a1ac13c342ed1e6871d57.tar.xz
eclipse.platform.team-a34e61a370c9f88fbe7a1ac13c342ed1e6871d57.zip
Fixed decorator preview page to include dirty indicator for new and added
-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