mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
IDEA-193982: Problem toolbar menu item's icon seems disabled when enabled
This commit is contained in:
@@ -13,7 +13,6 @@ import com.intellij.openapi.Disposable;
|
||||
import com.intellij.openapi.compiler.CompileScope;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.util.Disposer;
|
||||
import com.intellij.openapi.util.IconLoader;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.openapi.wm.ToolWindow;
|
||||
import com.intellij.openapi.wm.ToolWindowAnchor;
|
||||
@@ -36,12 +35,11 @@ import java.util.concurrent.ExecutorService;
|
||||
*/
|
||||
public class ProblemsViewImpl extends ProblemsView{
|
||||
private static final String PROBLEMS_TOOLWINDOW_ID = "Problems";
|
||||
private static final EnumSet<ErrorTreeElementKind> ALL_MESSAGE_KINDS = EnumSet.allOf(ErrorTreeElementKind.class);
|
||||
|
||||
private final ProblemsViewPanel myPanel;
|
||||
private final ExecutorService myViewUpdater = SequentialTaskExecutor.createSequentialApplicationPoolExecutor("ProblemsView Pool");
|
||||
private final Icon myActiveIcon = AllIcons.Toolwindows.Problems;
|
||||
private final Icon myPassiveIcon = IconLoader.getDisabledIcon(myActiveIcon);
|
||||
private final Icon myPassiveIcon = AllIcons.Toolwindows.ProblemsEmpty;
|
||||
|
||||
public ProblemsViewImpl(final Project project, final ToolWindowManager wm) {
|
||||
super(project);
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13">
|
||||
<path fill="#6E6E6E" fill-rule="evenodd" d="M6.5,1 L12.5,11 L0.5,11 L6.5,1 Z M7.20000017,9.99999964 L7.20000017,8.39999962 L5.80000019,8.39999962 L5.80000019,9.99999964 L7.20000017,9.99999964 Z M7.20000017,7.69999981 L7.20000017,4.19999981 L5.80000019,4.19999981 L5.80000019,7.69999981 L7.20000017,7.69999981 Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 407 B |
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13">
|
||||
<path fill="#AFB1B3" fill-rule="evenodd" d="M6.5,1 L12.5,11 L0.5,11 L6.5,1 Z M7.20000017,9.99999964 L7.20000017,8.39999962 L5.80000019,8.39999962 L5.80000019,9.99999964 L7.20000017,9.99999964 Z M7.20000017,7.69999981 L7.20000017,4.19999981 L5.80000019,4.19999981 L5.80000019,7.69999981 L7.20000017,7.69999981 Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 407 B |
@@ -0,0 +1,8 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13">
|
||||
<g fill="none" fill-rule="evenodd">
|
||||
<path fill="#6E6E6E" d="M10.3618201,4.56666667 L9.12283684,4.56666667 C8.81986328,2.67272049 7.1785532,1.22557823 5.19924493,1.22557823 C3.00464941,1.22557823 1.22557823,3.00464941 1.22557823,5.19924493 C1.22557823,7.32702752 2.89797319,9.06420133 5,9.16800328 L5,10.3962246 C2.22080564,10.2911247 0,8.0049108 0,5.2 C0,2.3281193 2.3281193,0 5.2,0 C7.85749189,0 10.0493768,1.99350045 10.3618201,4.56666667 Z"/>
|
||||
<rect width="1" height="2.724" x="4.992" y="2.77" fill="#6E6E6E"/>
|
||||
<polygon fill="#6E6E6E" points="5.284 4.787 5.99 5.494 4.066 7.42 3.36 6.712"/>
|
||||
<polygon fill="#6E6E6E" points="7 4.767 13 8.767 7 12.767"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 770 B |
@@ -0,0 +1,8 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13">
|
||||
<g fill="none" fill-rule="evenodd">
|
||||
<path fill="#AFB1B3" d="M10.3618201,4.56666667 L9.12283684,4.56666667 C8.81986328,2.67272049 7.1785532,1.22557823 5.19924493,1.22557823 C3.00464941,1.22557823 1.22557823,3.00464941 1.22557823,5.19924493 C1.22557823,7.32702752 2.89797319,9.06420133 5,9.16800328 L5,10.3962246 C2.22080564,10.2911247 0,8.0049108 0,5.2 C0,2.3281193 2.3281193,0 5.2,0 C7.85749189,0 10.0493768,1.99350045 10.3618201,4.56666667 Z"/>
|
||||
<rect width="1" height="2.724" x="4.992" y="2.77" fill="#AFB1B3"/>
|
||||
<polygon fill="#AFB1B3" points="5.284 4.787 5.99 5.494 4.066 7.42 3.36 6.712"/>
|
||||
<polygon fill="#AFB1B3" points="7 4.767 13 8.767 7 12.767"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 770 B |
@@ -1742,6 +1742,7 @@ public class AllIcons {
|
||||
public static class Toolwindows {
|
||||
public static final Icon Documentation = IconLoader.getIcon("/toolwindows/documentation.svg"); // 13x13
|
||||
public static final Icon Problems = IconLoader.getIcon("/toolwindows/problems.svg"); // 13x13
|
||||
public static final Icon ProblemsEmpty = IconLoader.getIcon("/toolwindows/problemsEmpty.svg"); // 13x13
|
||||
public static final Icon ToolWindowAnt = IconLoader.getIcon("/toolwindows/toolWindowAnt.svg"); // 13x13
|
||||
public static final Icon ToolWindowBuild = IconLoader.getIcon("/toolwindows/toolWindowBuild.svg"); // 13x13
|
||||
public static final Icon ToolWindowChanges = IconLoader.getIcon("/toolwindows/toolWindowChanges.svg"); // 13x13
|
||||
@@ -1757,6 +1758,7 @@ public class AllIcons {
|
||||
public static final Icon ToolWindowModuleDependencies = IconLoader.getIcon("/toolwindows/toolWindowModuleDependencies.svg"); // 13x13
|
||||
public static final Icon ToolWindowPalette = IconLoader.getIcon("/toolwindows/toolWindowPalette.svg"); // 13x13
|
||||
public static final Icon ToolWindowPreview = IconLoader.getIcon("/toolwindows/toolWindowPreview.png"); // 13x13
|
||||
public static final Icon ToolWindowProfiler = IconLoader.getIcon("/toolwindows/toolWindowProfiler.svg"); // 13x13
|
||||
public static final Icon ToolWindowProject = IconLoader.getIcon("/toolwindows/toolWindowProject.svg"); // 13x13
|
||||
public static final Icon ToolWindowRun = IconLoader.getIcon("/toolwindows/toolWindowRun.svg"); // 13x13
|
||||
public static final Icon ToolWindowStructure = IconLoader.getIcon("/toolwindows/toolWindowStructure.svg"); // 13x13
|
||||
|
||||
Reference in New Issue
Block a user