From 0c82f8635b027cb0e06cf241865e7c456b143aae Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Tue, 2 Apr 2013 00:34:51 +0400 Subject: [PATCH] IDEA-97323 Changes list toolwindow: "Add new change list" and "Add file to VCS" have the same icon (cherry picked from commit 7093bdd) --- platform/platform-resources/src/idea/VcsActions.xml | 3 +-- .../vcs/changes/actions/ScheduleForAdditionAction.java | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/platform/platform-resources/src/idea/VcsActions.xml b/platform/platform-resources/src/idea/VcsActions.xml index 576f56a3ce84..4802bd589d17 100644 --- a/platform/platform-resources/src/idea/VcsActions.xml +++ b/platform/platform-resources/src/idea/VcsActions.xml @@ -102,8 +102,7 @@ - + diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/ScheduleForAdditionAction.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/ScheduleForAdditionAction.java index 9b2c2875fd4b..5c6a181eeb8d 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/ScheduleForAdditionAction.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/ScheduleForAdditionAction.java @@ -35,16 +35,12 @@ import com.intellij.openapi.vcs.ProjectLevelVcsManager; import com.intellij.openapi.vcs.changes.ChangeListManagerImpl; import com.intellij.openapi.vcs.changes.ui.ChangesListView; import com.intellij.openapi.vfs.VirtualFile; -import com.intellij.util.IconUtil; import org.jetbrains.annotations.NotNull; import java.util.ArrayList; import java.util.List; public class ScheduleForAdditionAction extends AnAction implements DumbAware { - public ScheduleForAdditionAction() { - super("Add to VCS", "Add to VCS", IconUtil.getAddIcon()); - } public void update(AnActionEvent e) { final boolean enabled = e.getData(PlatformDataKeys.PROJECT) != null && thereAreUnversionedFiles(e);