|
42 | 42 | <Path Width="14" Height="14" Data="{StaticResource Icons.Fetch}"/> |
43 | 43 | </Button> |
44 | 44 |
|
45 | | - <Button Classes="icon_button" Width="32" Margin="16,0,0,0" Click="Pull" HotKey="{OnPlatform Ctrl+Shift+Down, macOS=⌘+Shift+Down}"> |
| 45 | + <Button Classes="icon_button" Width="32" Margin="16,0,0,0" Click="Pull" IsVisible="{Binding !IsBare}" IsEnabled="{Binding !IsBare}" HotKey="{OnPlatform Ctrl+Shift+Down, macOS=⌘+Shift+Down}"> |
46 | 46 | <ToolTip.Tip> |
47 | 47 | <StackPanel Orientation="Vertical"> |
48 | 48 | <TextBlock Text="{DynamicResource Text.Pull}"/> |
|
64 | 64 | <Path Width="14" Height="14" Data="{StaticResource Icons.Push}"/> |
65 | 65 | </Button> |
66 | 66 |
|
67 | | - <Button Classes="icon_button" Width="32" Margin="16,0,0,0" Click="StashAll"> |
| 67 | + <Button Classes="icon_button" Width="32" Margin="16,0,0,0" Click="StashAll" IsVisible="{Binding !IsBare}"> |
68 | 68 | <ToolTip.Tip> |
69 | 69 | <StackPanel Orientation="Vertical"> |
70 | 70 | <TextBlock Text="{DynamicResource Text.Stash}"/> |
|
75 | 75 | <Path Width="14" Height="14" Data="{StaticResource Icons.Stashes.Add}"/> |
76 | 76 | </Button> |
77 | 77 |
|
78 | | - <Button Classes="icon_button" Width="32" Margin="16,0,0,0" Command="{Binding ApplyPatch}" ToolTip.Tip="{DynamicResource Text.Apply}"> |
| 78 | + <Button Classes="icon_button" Width="32" Margin="16,0,0,0" Command="{Binding ApplyPatch}" IsVisible="{Binding !IsBare}" ToolTip.Tip="{DynamicResource Text.Apply}"> |
79 | 79 | <Path Width="14" Height="14" Data="{StaticResource Icons.Diff}"/> |
80 | 80 | </Button> |
81 | 81 |
|
|
88 | 88 | <Path Width="14" Height="14" Data="{StaticResource Icons.Branch.Add}"/> |
89 | 89 | </Button> |
90 | 90 |
|
91 | | - <Button Classes="icon_button" Width="32" Margin="8,0,0,0" Click="OpenGitFlowMenu" ToolTip.Tip="{DynamicResource Text.GitFlow}"> |
| 91 | + <Button Classes="icon_button" Width="32" Margin="8,0,0,0" Click="OpenGitFlowMenu" IsVisible="{Binding !IsBare}" ToolTip.Tip="{DynamicResource Text.GitFlow}"> |
92 | 92 | <Path Width="14" Height="14" Data="{StaticResource Icons.GitFlow}"/> |
93 | 93 | </Button> |
94 | 94 |
|
95 | | - <Button Classes="icon_button" Width="32" Margin="8,0,0,0" Click="OpenGitLFSMenu" ToolTip.Tip="{DynamicResource Text.GitLFS}"> |
| 95 | + <Button Classes="icon_button" Width="32" Margin="8,0,0,0" Click="OpenGitLFSMenu" IsVisible="{Binding !IsBare}" ToolTip.Tip="{DynamicResource Text.GitLFS}"> |
96 | 96 | <Path Width="14" Height="14" Data="{StaticResource Icons.LFS}"/> |
97 | 97 | </Button> |
98 | 98 |
|
|
0 commit comments