@@ -925,12 +925,9 @@ private ContextMenu CreateContextMenuForSingleCommit(ViewModels.Repository repo,
925
925
926
926
if ( commit . IsMerged && commit . Parents . Count > 0 )
927
927
{
928
- var interactiveRebase = new MenuItem ( ) ;
929
- interactiveRebase . Header = App . Text ( "CommitCM.InteractiveRebase" ) ;
930
- interactiveRebase . Icon = App . CreateMenuIcon ( "Icons.InteractiveRebase" ) ;
931
-
932
928
var manually = new MenuItem ( ) ;
933
929
manually . Header = App . Text ( "CommitCM.InteractiveRebase.Manually" , current . Name , target ) ;
930
+ manually . Icon = App . CreateMenuIcon ( "Icons.InteractiveRebase" ) ;
934
931
manually . Click += async ( _ , e ) =>
935
932
{
936
933
await App . ShowDialog ( new ViewModels . InteractiveRebase ( repo , commit ) ) ;
@@ -939,6 +936,7 @@ private ContextMenu CreateContextMenuForSingleCommit(ViewModels.Repository repo,
939
936
940
937
var reword = new MenuItem ( ) ;
941
938
reword . Header = App . Text ( "CommitCM.InteractiveRebase.Reword" ) ;
939
+ reword . Icon = App . CreateMenuIcon ( "Icons.Rename" ) ;
942
940
reword . Click += async ( _ , e ) =>
943
941
{
944
942
await vm . InteractiveRebaseAsync ( commit , Models . InteractiveRebaseAction . Reword ) ;
@@ -947,6 +945,7 @@ private ContextMenu CreateContextMenuForSingleCommit(ViewModels.Repository repo,
947
945
948
946
var edit = new MenuItem ( ) ;
949
947
edit . Header = App . Text ( "CommitCM.InteractiveRebase.Edit" ) ;
948
+ edit . Icon = App . CreateMenuIcon ( "Icons.Edit" ) ;
950
949
edit . Click += async ( _ , e ) =>
951
950
{
952
951
await vm . InteractiveRebaseAsync ( commit , Models . InteractiveRebaseAction . Edit ) ;
@@ -955,6 +954,7 @@ private ContextMenu CreateContextMenuForSingleCommit(ViewModels.Repository repo,
955
954
956
955
var squash = new MenuItem ( ) ;
957
956
squash . Header = App . Text ( "CommitCM.InteractiveRebase.Squash" ) ;
957
+ squash . Icon = App . CreateMenuIcon ( "Icons.SquashIntoParent" ) ;
958
958
squash . Click += async ( _ , e ) =>
959
959
{
960
960
await vm . InteractiveRebaseAsync ( commit , Models . InteractiveRebaseAction . Squash ) ;
@@ -963,6 +963,7 @@ private ContextMenu CreateContextMenuForSingleCommit(ViewModels.Repository repo,
963
963
964
964
var fixup = new MenuItem ( ) ;
965
965
fixup . Header = App . Text ( "CommitCM.InteractiveRebase.Fixup" ) ;
966
+ fixup . Icon = App . CreateMenuIcon ( "Icons.Fix" ) ;
966
967
fixup . Click += async ( _ , e ) =>
967
968
{
968
969
await vm . InteractiveRebaseAsync ( commit , Models . InteractiveRebaseAction . Fixup ) ;
@@ -971,12 +972,16 @@ private ContextMenu CreateContextMenuForSingleCommit(ViewModels.Repository repo,
971
972
972
973
var drop = new MenuItem ( ) ;
973
974
drop . Header = App . Text ( "CommitCM.InteractiveRebase.Drop" ) ;
975
+ drop . Icon = App . CreateMenuIcon ( "Icons.Clear" ) ;
974
976
drop . Click += async ( _ , e ) =>
975
977
{
976
978
await vm . InteractiveRebaseAsync ( commit , Models . InteractiveRebaseAction . Drop ) ;
977
979
e . Handled = true ;
978
980
} ;
979
981
982
+ var interactiveRebase = new MenuItem ( ) ;
983
+ interactiveRebase . Header = App . Text ( "CommitCM.InteractiveRebase" ) ;
984
+ interactiveRebase . Icon = App . CreateMenuIcon ( "Icons.InteractiveRebase" ) ;
980
985
interactiveRebase . Items . Add ( manually ) ;
981
986
interactiveRebase . Items . Add ( new MenuItem ( ) { Header = "-" } ) ;
982
987
interactiveRebase . Items . Add ( reword ) ;
0 commit comments