Add ellipsis to the RollbackAction name, because it shows the rollback dialog.

But don't add it to the GitRollbackEnvironment.getActionName(), because it is used in dialog titles and on the confirmation button.
This commit is contained in:
Kirill Likhodedov
2012-10-04 15:25:12 +04:00
parent 3e3447ad52
commit bf5f320353
2 changed files with 2 additions and 2 deletions
@@ -70,7 +70,7 @@ public class RollbackAction extends AnAction implements DumbAware {
hasReversibleFiles(e, project);
e.getPresentation().setEnabled(isEnabled);
String operationName = RollbackUtil.getRollbackOperationName(project);
e.getPresentation().setText(operationName);
e.getPresentation().setText(operationName + "...");
if (isEnabled) {
e.getPresentation().setDescription(UIUtil.removeMnemonic(operationName) + " selected changes");
}
@@ -358,7 +358,7 @@ reset.type=Reset &Type:
reset.validate.tooltip=Validate the commit pointer and check the content of referenced commit.
reset.validate=&Validate
resetting.title=Resetting HEAD...
revert.action.name=&Revert...
revert.action.name=&Revert
revert.reverting.mulitple=Reverting {0} files
revert.reverting=Reverting files...
revision.graph=RevisionGraph