mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-30 22:01:10 +08:00
ux: add a new icon Icons.Stashes.Add
This commit is contained in:
@@ -491,7 +491,7 @@ namespace SourceGit.ViewModels
|
||||
|
||||
var stash = new MenuItem();
|
||||
stash.Header = App.Text("FileCM.Stash");
|
||||
stash.Icon = App.CreateMenuIcon("Icons.Stashes");
|
||||
stash.Icon = App.CreateMenuIcon("Icons.Stashes.Add");
|
||||
stash.Click += (_, e) =>
|
||||
{
|
||||
if (PopupHost.CanCreatePopup())
|
||||
@@ -815,7 +815,7 @@ namespace SourceGit.ViewModels
|
||||
|
||||
var stash = new MenuItem();
|
||||
stash.Header = App.Text("FileCM.StashMulti", _selectedUnstaged.Count);
|
||||
stash.Icon = App.CreateMenuIcon("Icons.Stashes");
|
||||
stash.Icon = App.CreateMenuIcon("Icons.Stashes.Add");
|
||||
stash.Click += (_, e) =>
|
||||
{
|
||||
if (PopupHost.CanCreatePopup())
|
||||
@@ -900,7 +900,7 @@ namespace SourceGit.ViewModels
|
||||
|
||||
var stash = new MenuItem();
|
||||
stash.Header = App.Text("FileCM.Stash");
|
||||
stash.Icon = App.CreateMenuIcon("Icons.Stashes");
|
||||
stash.Icon = App.CreateMenuIcon("Icons.Stashes.Add");
|
||||
stash.Click += (_, e) =>
|
||||
{
|
||||
if (PopupHost.CanCreatePopup())
|
||||
@@ -1057,7 +1057,7 @@ namespace SourceGit.ViewModels
|
||||
|
||||
var stash = new MenuItem();
|
||||
stash.Header = App.Text("FileCM.StashMulti", _selectedStaged.Count);
|
||||
stash.Icon = App.CreateMenuIcon("Icons.Stashes");
|
||||
stash.Icon = App.CreateMenuIcon("Icons.Stashes.Add");
|
||||
stash.Click += (_, e) =>
|
||||
{
|
||||
if (PopupHost.CanCreatePopup())
|
||||
|
||||
Reference in New Issue
Block a user