summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorKrzysztof Kazmierczyk2013-07-25 07:50:45 (EDT)
committer Dani Megert2013-07-25 07:50:45 (EDT)
commit9e2a946cff3de73b5f49fad5d333a16437a69740 (patch)
treea2f509fbcc742db5f71a1fb1b2cbbdb2710c8d33
parent114030b27b19aa0d2dc0b918df39b72b5f377d09 (diff)
downloadeclipse.platform.ui-9e2a946cff3de73b5f49fad5d333a16437a69740.zip
eclipse.platform.ui-9e2a946cff3de73b5f49fad5d333a16437a69740.tar.gz
eclipse.platform.ui-9e2a946cff3de73b5f49fad5d333a16437a69740.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 83ef55d..00bb69b 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
@@ -1664,9 +1664,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());
}
});
}