[patch]: update createPatch action icon

This commit is contained in:
Nadya Zabrodina
2017-03-07 15:12:03 +03:00
parent dff570f45f
commit 8b1fb85772
5 changed files with 6 additions and 6 deletions
@@ -536,7 +536,7 @@ public abstract class HistoryDialog<T extends HistoryDialogModel> extends FrameW
private class CreatePatchAction extends MyAction {
public CreatePatchAction() {
super(message("action.create.patch"), null, AllIcons.Actions.CreatePatch);
super(message("action.create.patch"), null, AllIcons.Vcs.Patch);
}
@Override
@@ -63,7 +63,7 @@
<separator/>
<group id="Vcs.Specific" class="com.intellij.ide.actions.NonEmptyActionGroup"/>
<separator/>
<action id="ChangesView.CreatePatch" class="com.intellij.openapi.vcs.changes.actions.CreatePatchAction"/>
<action id="ChangesView.CreatePatch" class="com.intellij.openapi.vcs.changes.actions.CreatePatchAction" icon="AllIcons.Vcs.Patch"/>
<action id="ChangesView.ApplyPatch" class="com.intellij.openapi.vcs.changes.patch.ApplyPatchAction"/>
<action id="ChangesView.ApplyPatchFromClipboard" class="com.intellij.openapi.vcs.changes.patch.ApplyPatchFromClipboardAction"/>
<action id="ChangesView.Shelve" class="com.intellij.openapi.vcs.changes.shelf.ShelveChangesAction" icon="AllIcons.Vcs.Shelve"/>
@@ -149,7 +149,7 @@
<action id="ShelvedChanges.Diff" class="com.intellij.openapi.vcs.changes.shelf.DiffShelvedChangesAction"
icon="AllIcons.Actions.Diff" use-shortcut-of="Diff.ShowDiff"/>
<action id="ChangesView.CreatePatchFromChanges" class="com.intellij.openapi.vcs.changes.actions.CreatePatchFromChangesAction"
icon="AllIcons.Actions.CreatePatch"/>
icon="AllIcons.Vcs.Patch"/>
<action id="ShelvedChanges.ImportPatches" class="com.intellij.openapi.vcs.changes.shelf.ImportIntoShelfAction"/>
<separator/>
<action id="ShelvedChanges.Rename" class="com.intellij.openapi.vcs.changes.shelf.RenameShelvedChangeListAction"
@@ -44,7 +44,7 @@ import java.util.List;
public class CreatePatchFromChangesAction extends AnAction implements DumbAware {
public CreatePatchFromChangesAction() {
super(VcsBundle.message("action.name.create.patch.for.selected.revisions"),
VcsBundle.message("action.description.create.patch.for.selected.revisions"), AllIcons.Actions.CreatePatch);
VcsBundle.message("action.description.create.patch.for.selected.revisions"), AllIcons.Vcs.Patch);
}
public void actionPerformed(AnActionEvent e) {
@@ -1271,7 +1271,7 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme
public MyCreatePatch() {
super(VcsBundle.message("action.name.create.patch.for.selected.revisions"),
VcsBundle.message("action.description.create.patch.for.selected.revisions"), AllIcons.Actions.CreatePatch);
VcsBundle.message("action.description.create.patch.for.selected.revisions"), AllIcons.Vcs.Patch);
myUsualDelegate = new CreatePatchFromChangesAction();
}
@@ -88,7 +88,7 @@
icon="AllIcons.Actions.DiffWithCurrent"/>
<action class="com.intellij.vcs.log.ui.actions.history.CreatePatchFromHistoryAction" id="Vcs.Log.CreatePatchFromHistory"
use-shortcut-of="ChangesView.CreatePatch" text="Create Patch..." description="Create patch for selected changes"
icon="AllIcons.Actions.CreatePatch"/>
icon="AllIcons.Vcs.Patch"/>
<action class="com.intellij.vcs.log.ui.actions.history.GetVersionFromHistoryAction" id="Vcs.Log.GetVersion"
use-shortcut-of="Vcs.GetVersion"
text="Get" description="Get version from repository" icon="AllIcons.Actions.Get"/>