IDEA-190693: both openProject.png deprecated

This commit is contained in:
Sergey Malenkov
2018-04-26 21:55:47 +03:00
parent 956220a9b0
commit 219f4af2a1
11 changed files with 20 additions and 5 deletions
@@ -8,6 +8,7 @@ deprecated: ijLogo.png; to be removed in IDEA 2020
deprecated: importProject.png -> /toolbarDecorator/import.svg; to be removed in IDEA 2020 - use AllIcons.ToolbarDecorator.Import
deprecated: jdk.png; to be removed in IDEA 2020
deprecated: keymap.png; to be removed in IDEA 2020
deprecated: openProject.png -> /actions/menu-open.svg; to be removed in IDEA 2020 - use AllIcons.Actions.Menu_open
deprecated: packagesTab.png -> /nodes/copyOfFolder.svg; to be removed in IDEA 2020 - use AllIcons.Nodes.CopyOfFolder
deprecated: progress.png; to be removed in IDEA 2020
deprecated: projectSettings.png -> /general/gearPlain.svg; to be removed in IDEA 2020 - use AllIcons.General.GearPlain
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

@@ -1,2 +1,3 @@
deprecated: CreateNewProjectfromExistingFiles.png -> /toolbarDecorator/import.svg; to be removed in IDEA 2020 - use AllIcons.ToolbarDecorator.Import
deprecated: importProject.png -> /toolbarDecorator/import.svg; to be removed in IDEA 2020 - use AllIcons.ToolbarDecorator.Import
deprecated: openProject.png -> /actions/menu-open.svg; to be removed in IDEA 2020 - use AllIcons.Actions.Menu_open
Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 B

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 B

@@ -79,7 +79,7 @@ public class OpenFileAction extends AnAction implements DumbAware {
@Override
public void update(@NotNull AnActionEvent e) {
if (NewWelcomeScreen.isNewWelcomeScreen(e)) {
e.getPresentation().setIcon(AllIcons.Welcome.OpenProject);
e.getPresentation().setIcon(AllIcons.Actions.Menu_open);
}
}
@@ -755,7 +755,11 @@ public class AllIcons {
public static final Icon NotificationWarning = IconLoader.getIcon("/general/notificationWarning.png"); // 24x24
public static final Icon OpenDisk = IconLoader.getIcon("/general/openDisk.svg"); // 16x16
public static final Icon OpenDiskHover = IconLoader.getIcon("/general/openDiskHover.svg"); // 16x16
public static final Icon OpenProject = IconLoader.getIcon("/general/openProject.png"); // 32x32
/** @deprecated to be removed in IDEA 2020 - use AllIcons.Actions.Menu_open */
@SuppressWarnings("unused")
@Deprecated
public static final Icon OpenProject = IconLoader.getIcon("/actions/menu-open.svg"); // 16x16
public static final Icon OverridenMethod = IconLoader.getIcon("/general/overridenMethod.png"); // 10x14
public static final Icon OverridingMethod = IconLoader.getIcon("/general/overridingMethod.png"); // 10x14
@@ -1695,7 +1699,11 @@ public class AllIcons {
@SuppressWarnings("unused")
@Deprecated
public static final Icon ImportProject = IconLoader.getIcon("/toolbarDecorator/import.svg"); // 16x16
public static final Icon OpenProject = IconLoader.getIcon("/welcome/openProject.png"); // 16x16
/** @deprecated to be removed in IDEA 2020 - use AllIcons.Actions.Menu_open */
@SuppressWarnings("unused")
@Deprecated
public static final Icon OpenProject = IconLoader.getIcon("/actions/menu-open.svg"); // 16x16
public static class Project {
public static final Icon Remove_hover = IconLoader.getIcon("/welcome/project/remove-hover.png"); // 10x10
@@ -37,6 +37,11 @@ public class DeprecatedDuplicatesIconPathPatcher extends IconPathPatcher {
ourDeprecatedIconsReplacements.put("/debugger/readHelp.png", "AllIcons.Actions.Help");
ourDeprecatedIconsReplacements.put("/debugger/readHelp.svg", "AllIcons.Actions.Help");
ourDeprecatedIconsReplacements.put("/general/openProject.png", "AllIcons.Actions.Menu_open");
ourDeprecatedIconsReplacements.put("/general/openProject.svg", "AllIcons.Actions.Menu_open");
ourDeprecatedIconsReplacements.put("/welcome/openProject.png", "AllIcons.Actions.Menu_open");
ourDeprecatedIconsReplacements.put("/welcome/openProject.svg", "AllIcons.Actions.Menu_open");
ourDeprecatedIconsReplacements.put("/debugger/threadStates/io.png", "AllIcons.Actions.Menu_saveall");
ourDeprecatedIconsReplacements.put("/debugger/threadStates/io.svg", "AllIcons.Actions.Menu_saveall");
+1 -1
View File
@@ -112,7 +112,7 @@
<group id="WelcomeScreen.Platform.NewProject">
<action id="WelcomeScreen.CreateDirectoryProject" class="com.jetbrains.python.newProject.steps.PyCharmNewProjectStep"
icon="AllIcons.Welcome.CreateNewProject"/>
<action id="WelcomeScreen.OpenDirectoryProject" class="com.intellij.ide.actions.OpenFileAction" icon="AllIcons.General.OpenProject"/>
<action id="WelcomeScreen.OpenDirectoryProject" class="com.intellij.ide.actions.OpenFileAction" icon="AllIcons.Actions.Menu_open"/>
<add-to-group group-id="WelcomeScreen.QuickStart" anchor="first"/>
</group>
+1 -1
View File
@@ -373,7 +373,7 @@
<group id="WelcomeScreen.QuickStart.IDEA">
<action id="WelcomeScreen.CreateNewProject" class="com.intellij.ide.actions.NewProjectAction" icon="AllIcons.General.CreateNewProject"/>
<action id="WelcomeScreen.ImportProject" class="com.intellij.ide.actions.ImportProjectAction" icon="AllIcons.ToolbarDecorator.Import"/>
<action id="WelcomeScreen.OpenProject" class="com.intellij.ide.actions.OpenFileAction" icon="AllIcons.General.OpenProject"/>
<action id="WelcomeScreen.OpenProject" class="com.intellij.ide.actions.OpenFileAction" icon="AllIcons.Actions.Menu_open"/>
<add-to-group group-id="WelcomeScreen.QuickStart" anchor="first"/>
</group>