Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Weinand2004-06-10 09:05:48 -0400
committerAndre Weinand2004-06-10 09:05:48 -0400
commit09c65507dd06a14d1fa9060f3f2b372673371bd9 (patch)
treea80f63a7a755928e5c6dccd7620c583a792bee9f /bundles/org.eclipse.compare/compare
parent3e8b5061574d7836bce5a0f4de7b82bc06d5de25 (diff)
downloadeclipse.platform.team-09c65507dd06a14d1fa9060f3f2b372673371bd9.tar.gz
eclipse.platform.team-09c65507dd06a14d1fa9060f3f2b372673371bd9.tar.xz
eclipse.platform.team-09c65507dd06a14d1fa9060f3f2b372673371bd9.zip
replaced two deprecated callsv20040610
Diffstat (limited to 'bundles/org.eclipse.compare/compare')
-rw-r--r--bundles/org.eclipse.compare/compare/org/eclipse/compare/contentmergeviewer/TextMergeViewer.java2
-rw-r--r--bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/CompareEditor.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/contentmergeviewer/TextMergeViewer.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/contentmergeviewer/TextMergeViewer.java
index 13e6053ab..496dddaf8 100644
--- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/contentmergeviewer/TextMergeViewer.java
+++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/contentmergeviewer/TextMergeViewer.java
@@ -287,7 +287,7 @@ public class TextMergeViewer extends ContentMergeViewer {
private Color fSeparatorColor;
public HeaderPainter() {
- fSeparatorColor= getColor(fSummaryHeader.getDisplay(), ViewForm.borderInsideRGB);
+ fSeparatorColor= fSummaryHeader.getDisplay().getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW);
}
/**
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/CompareEditor.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/CompareEditor.java
index d7caece31..dddb8a11e 100644
--- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/CompareEditor.java
+++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/CompareEditor.java
@@ -124,7 +124,7 @@ public class CompareEditor extends EditorPart implements IReusableEditor {
CompareEditorInput cei= (CompareEditorInput) input;
setTitleImage(cei.getTitleImage());
- setTitle(cei.getTitle());
+ setPartName(cei.getTitle()); // was setTitle(cei.getTitle());
if (input instanceof IPropertyChangeNotifier)
((IPropertyChangeNotifier)input).addPropertyChangeListener(fPropertyChangeListener);

Back to the top