mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[patch]: update createPatch action icon
This commit is contained in:
@@ -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"
|
||||
|
||||
+1
-1
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user