From 8b01f1ec0946965f5f5ee21b683930bd182832a2 Mon Sep 17 00:00:00 2001 From: "Vassiliy.Kudryashov" Date: Wed, 25 Jan 2017 22:50:57 +0300 Subject: [PATCH] IDEA-162119 Configuration wizard UI theme IntelliJ is not corresponding with IDE theme Default on Mac --- .../com/intellij/ide/customize/CustomizeUIThemeStepPanel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/ide/customize/CustomizeUIThemeStepPanel.java b/platform/platform-impl/src/com/intellij/ide/customize/CustomizeUIThemeStepPanel.java index c2ee521352a5..648050558d32 100644 --- a/platform/platform-impl/src/com/intellij/ide/customize/CustomizeUIThemeStepPanel.java +++ b/platform/platform-impl/src/com/intellij/ide/customize/CustomizeUIThemeStepPanel.java @@ -74,7 +74,8 @@ public class CustomizeUIThemeStepPanel extends AbstractCustomizeWizardStep { protected static final ThemeInfo AQUA = new ThemeInfo("Default", "Aqua", "com.apple.laf.AquaLookAndFeel"); protected static final ThemeInfo DARCULA = new ThemeInfo("Darcula", "Darcula", DarculaLaf.class.getName()); - protected static final ThemeInfo INTELLIJ = new ThemeInfo("IntelliJ", "IntelliJ", IntelliJLaf.class.getName()); + protected static final ThemeInfo INTELLIJ = new ThemeInfo( + LafManagerImpl.useIntelliJInsteadOfAqua() ? "Default" : "IntelliJ", "IntelliJ", IntelliJLaf.class.getName()); protected static final ThemeInfo ALLOY = new ThemeInfo("Alloy. IDEA Theme", "Alloy", "com.incors.plaf.alloy.AlloyIdea"); protected static final ThemeInfo GTK = new ThemeInfo("GTK+", "GTK", "com.sun.java.swing.plaf.gtk.GTKLookAndFeel");