mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
svn: Remove "Configure Branches..." action icon - action is not used in any toolbar
This commit is contained in:
@@ -15,7 +15,6 @@ public final class SvnIcons {
|
||||
}
|
||||
|
||||
public static final Icon Common = load("/icons/Common.png"); // 16x16
|
||||
public static final Icon ConfigureBranches = load("/icons/ConfigureBranches.png"); // 16x16
|
||||
public static final Icon Conflictc = load("/icons/conflictc.png"); // 16x16
|
||||
public static final Icon Conflictcp = load("/icons/conflictcp.png"); // 16x16
|
||||
public static final Icon Conflictct = load("/icons/conflictct.png"); // 16x16
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 170 B |
+5
-6
@@ -9,15 +9,18 @@ import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.vcs.VcsDataKeys;
|
||||
import com.intellij.openapi.vcs.changes.ChangeList;
|
||||
import com.intellij.openapi.vcs.versionBrowser.CommittedChangeList;
|
||||
import icons.SvnIcons;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.idea.svn.SvnBundle;
|
||||
import org.jetbrains.idea.svn.SvnVcs;
|
||||
import org.jetbrains.idea.svn.history.SvnChangeList;
|
||||
|
||||
import static com.intellij.util.ArrayUtil.isEmpty;
|
||||
import static org.jetbrains.idea.svn.SvnBundle.message;
|
||||
|
||||
public class ConfigureBranchesAction extends DumbAwareAction {
|
||||
public ConfigureBranchesAction() {
|
||||
super(message("configure.branches.item"), message("configure.branches.item"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update(@NotNull AnActionEvent e) {
|
||||
Project project = e.getProject();
|
||||
@@ -28,10 +31,6 @@ public class ConfigureBranchesAction extends DumbAwareAction {
|
||||
return;
|
||||
}
|
||||
|
||||
presentation.setText(SvnBundle.message("configure.branches.item"));
|
||||
presentation.setDescription(SvnBundle.message("configure.branches.item"));
|
||||
presentation.setIcon(SvnIcons.ConfigureBranches);
|
||||
|
||||
presentation.setVisible(true);
|
||||
|
||||
ChangeList[] changeLists = e.getData(VcsDataKeys.CHANGE_LISTS);
|
||||
|
||||
Reference in New Issue
Block a user