summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorKrzysztof Kazmierczyk2013-07-25 07:50:45 (EDT)
committer Dani Megert2013-07-29 09:01:16 (EDT)
commit71ef4cfd0652f6059411582138cfcc3086b6b4d5 (patch)
treefb1d53427856adbb56ce3a438a04fe939cee51ed
parent8f86a9b7ae60f3f3234c10be0de59e495f0dcd65 (diff)
downloadeclipse.platform.ui-71ef4cfd0652f6059411582138cfcc3086b6b4d5.zip
eclipse.platform.ui-71ef4cfd0652f6059411582138cfcc3086b6b4d5.tar.gz
eclipse.platform.ui-71ef4cfd0652f6059411582138cfcc3086b6b4d5.tar.bz2
Fixed bug 410900: Color preferences must be applied after each restart when using high contrast theme
Signed-off-by: Krzysztof Kazmierczyk <krzysztof.kazmierczyk@pl.ibm.com>
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
index c8f2473..06a1e3f 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
@@ -1516,9 +1516,8 @@ public final class Workbench extends EventManager implements IWorkbench {
public void runWithException() {
ColorDefinition[] colorDefinitions = WorkbenchPlugin.getDefault()
.getThemeRegistry().getColors();
- ThemeElementHelper.populateRegistry(getThemeManager().getTheme(
- IThemeManager.DEFAULT_THEME), colorDefinitions, PrefUtil
- .getInternalPreferenceStore());
+ ThemeElementHelper.populateRegistry(getThemeManager().getCurrentTheme(),
+ colorDefinitions, PrefUtil.getInternalPreferenceStore());
}
});
}