mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
github: remove "Rebase GitHub fork" action from VCS Operations popup
This commit is contained in:
@@ -5,10 +5,8 @@ import com.intellij.dvcs.actions.DvcsQuickListContentProvider;
|
||||
import com.intellij.openapi.actionSystem.ActionManager;
|
||||
import com.intellij.openapi.actionSystem.AnAction;
|
||||
import com.intellij.openapi.actionSystem.DataContext;
|
||||
import com.intellij.openapi.actionSystem.Separator;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import git4idea.GitVcs;
|
||||
import git4idea.i18n.GitBundle;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -31,14 +29,6 @@ public class GitQuickListContentProvider extends DvcsQuickListContentProvider {
|
||||
|
||||
add("ChangesView.AddUnversioned", manager, actions);
|
||||
add("Git.ResolveConflicts", manager, actions);
|
||||
|
||||
// Github
|
||||
addSeparator(actions);
|
||||
final AnAction githubRebase = manager.getAction("Github.Rebase");
|
||||
if (githubRebase != null) {
|
||||
actions.add(new Separator(GitBundle.message("vcs.popup.git.github.section")));
|
||||
actions.add(githubRebase);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -488,8 +488,6 @@ git.unstash.clear.confirmation.title=Remove All Stashes?
|
||||
git.unstash.drop.confirmation.message=<html>Do you want to remove {0}?<br/>"{1}"</html>
|
||||
git.unstash.drop.confirmation.title=Remove Stash {0}?
|
||||
|
||||
vcs.popup.git.github.section=GitHub
|
||||
|
||||
vcs.history.action.gitlog=Select in Git Log
|
||||
vcs.history.action.gitlog.error=Git Log is not Ready
|
||||
|
||||
|
||||
Reference in New Issue
Block a user