aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kazmierczyk2013-07-25 07:50:45 (EDT)
committerDani Megert2013-07-25 07:53:13 (EDT)
commit5074f720b023e156cc00da0d4034faab0c6388cc (patch)
tree5180c9bd5c99c2b045d040a7cc2812f250773578
parentac7f0321510ae207ef2b22576566397cfbf00bdc (diff)
downloadeclipse.platform.ui-5074f720b023e156cc00da0d4034faab0c6388cc.zip
eclipse.platform.ui-5074f720b023e156cc00da0d4034faab0c6388cc.tar.gz
eclipse.platform.ui-5074f720b023e156cc00da0d4034faab0c6388cc.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 db2b144..b0c47c7 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
@@ -1661,9 +1661,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());
}
});
}