Fix for Bug 389129 - Progress view background incorrect on 4.2
Signed-off-by: Piotr Aniola <piotr.aniola@pl.ibm.com>
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/DetailedProgressViewer.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/DetailedProgressViewer.java
index f934187..291ac0c 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/DetailedProgressViewer.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/DetailedProgressViewer.java
@@ -123,11 +123,13 @@
noEntryArea = new Composite(scrolled, SWT.NONE);
noEntryArea.setLayout(new GridLayout());
+ noEntryArea.setBackground(noEntryArea.getDisplay()
+ .getSystemColor(SWT.COLOR_LIST_BACKGROUND));
Text noEntryLabel = new Text(noEntryArea, SWT.SINGLE);
noEntryLabel.setText(ProgressMessages.ProgressView_NoOperations);
noEntryLabel.setBackground(noEntryArea.getDisplay().getSystemColor(
- SWT.COLOR_WIDGET_BACKGROUND));
+ SWT.COLOR_LIST_BACKGROUND));
GridData textData = new GridData(GridData.VERTICAL_ALIGN_BEGINNING);
noEntryLabel.setLayoutData(textData);
noEntryLabel.setEditable(false);