Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2006-12-18 16:32:40 +0000
committerMichael Valenta2006-12-18 16:32:40 +0000
commit09a1c5873ccc857bebef316957eccd0d43bc2092 (patch)
tree59e1373bfe51fef238a9c1b50e74a2f97a4f4756 /bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs
parentfe33147be79b00383b052f2ac87d4fbd38cdbd04 (diff)
downloadeclipse.platform.team-09a1c5873ccc857bebef316957eccd0d43bc2092.tar.gz
eclipse.platform.team-09a1c5873ccc857bebef316957eccd0d43bc2092.tar.xz
eclipse.platform.team-09a1c5873ccc857bebef316957eccd0d43bc2092.zip
Bug 167722 Switch to using OverlayIcon from JFace
Diffstat (limited to 'bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs')
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoratorPreferencesPage.java2
1 files changed, 1 insertions, 1 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 dddc7b5ae..6eb85fe47 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
@@ -494,7 +494,7 @@ public class CVSDecoratorPreferencesPage extends PreferencePage implements IWork
if (overlay == null)
return baseImage;
try {
- return fImageCache.createImage(new DecorationOverlayIcon(baseImage, new ImageDescriptor[] {null, null, null, overlay, null}, new Point(baseImage.getBounds().width, baseImage.getBounds().height)));
+ return fImageCache.createImage(new DecorationOverlayIcon(baseImage, overlay, IDecoration.BOTTOM_RIGHT));
} catch (DeviceResourceException e) {
CVSUIPlugin.log(new Status(IStatus.ERROR, CVSUIPlugin.ID, 0, "Error creating decorator image", e)); //$NON-NLS-1$
}

Back to the top