@@ -627,12 +627,9 @@ private ContextMenu CreateContextMenuForSingleCommit(ViewModels.Repository repo,
627
627
628
628
if ( commit . IsMerged && commit . Parents . Count > 0 )
629
629
{
630
- var interactiveRebase = new MenuItem ( ) ;
631
- interactiveRebase . Header = App . Text ( "CommitCM.InteractiveRebase" ) ;
632
- interactiveRebase . Icon = App . CreateMenuIcon ( "Icons.InteractiveRebase" ) ;
633
-
634
630
var manually = new MenuItem ( ) ;
635
631
manually . Header = App . Text ( "CommitCM.InteractiveRebase.Manually" , current . Name , target ) ;
632
+ manually . Icon = App . CreateMenuIcon ( "Icons.InteractiveRebase" ) ;
636
633
manually . Click += async ( _ , e ) =>
637
634
{
638
635
await App . ShowDialog ( new ViewModels . InteractiveRebase ( repo , commit ) ) ;
@@ -641,6 +638,7 @@ private ContextMenu CreateContextMenuForSingleCommit(ViewModels.Repository repo,
641
638
642
639
var reword = new MenuItem ( ) ;
643
640
reword . Header = App . Text ( "CommitCM.InteractiveRebase.Reword" ) ;
641
+ reword . Icon = App . CreateMenuIcon ( "Icons.Rename" ) ;
644
642
reword . Click += async ( _ , e ) =>
645
643
{
646
644
await vm . InteractiveRebaseAsync ( commit , Models . InteractiveRebaseAction . Reword ) ;
@@ -649,6 +647,7 @@ private ContextMenu CreateContextMenuForSingleCommit(ViewModels.Repository repo,
649
647
650
648
var edit = new MenuItem ( ) ;
651
649
edit . Header = App . Text ( "CommitCM.InteractiveRebase.Edit" ) ;
650
+ edit . Icon = App . CreateMenuIcon ( "Icons.Edit" ) ;
652
651
edit . Click += async ( _ , e ) =>
653
652
{
654
653
await vm . InteractiveRebaseAsync ( commit , Models . InteractiveRebaseAction . Edit ) ;
@@ -657,6 +656,7 @@ private ContextMenu CreateContextMenuForSingleCommit(ViewModels.Repository repo,
657
656
658
657
var squash = new MenuItem ( ) ;
659
658
squash . Header = App . Text ( "CommitCM.InteractiveRebase.Squash" ) ;
659
+ squash . Icon = App . CreateMenuIcon ( "Icons.SquashIntoParent" ) ;
660
660
squash . Click += async ( _ , e ) =>
661
661
{
662
662
await vm . InteractiveRebaseAsync ( commit , Models . InteractiveRebaseAction . Squash ) ;
@@ -665,6 +665,7 @@ private ContextMenu CreateContextMenuForSingleCommit(ViewModels.Repository repo,
665
665
666
666
var fixup = new MenuItem ( ) ;
667
667
fixup . Header = App . Text ( "CommitCM.InteractiveRebase.Fixup" ) ;
668
+ fixup . Icon = App . CreateMenuIcon ( "Icons.Fix" ) ;
668
669
fixup . Click += async ( _ , e ) =>
669
670
{
670
671
await vm . InteractiveRebaseAsync ( commit , Models . InteractiveRebaseAction . Fixup ) ;
@@ -673,12 +674,16 @@ private ContextMenu CreateContextMenuForSingleCommit(ViewModels.Repository repo,
673
674
674
675
var drop = new MenuItem ( ) ;
675
676
drop . Header = App . Text ( "CommitCM.InteractiveRebase.Drop" ) ;
677
+ drop . Icon = App . CreateMenuIcon ( "Icons.Clear" ) ;
676
678
drop . Click += async ( _ , e ) =>
677
679
{
678
680
await vm . InteractiveRebaseAsync ( commit , Models . InteractiveRebaseAction . Drop ) ;
679
681
e . Handled = true ;
680
682
} ;
681
683
684
+ var interactiveRebase = new MenuItem ( ) ;
685
+ interactiveRebase . Header = App . Text ( "CommitCM.InteractiveRebase" ) ;
686
+ interactiveRebase . Icon = App . CreateMenuIcon ( "Icons.InteractiveRebase" ) ;
682
687
interactiveRebase . Items . Add ( manually ) ;
683
688
interactiveRebase . Items . Add ( new MenuItem ( ) { Header = "-" } ) ;
684
689
interactiveRebase . Items . Add ( reword ) ;
0 commit comments