2021-04-29 05:05:55 -07:00
|
|
|
<controls:PopupWidget x:Class="SourceGit.Views.Popups.Fetch"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:converters="clr-namespace:SourceGit.Views.Converters"
|
|
|
|
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
|
|
|
|
mc:Ignorable="d"
|
2021-05-12 20:02:50 -07:00
|
|
|
d:DesignWidth="500">
|
2021-04-29 05:05:55 -07:00
|
|
|
<Grid>
|
|
|
|
<Grid.Resources>
|
|
|
|
<converters:InverseBool x:Key="InverseBool"/>
|
|
|
|
</Grid.Resources>
|
|
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="32"/>
|
|
|
|
<RowDefinition Height="32"/>
|
|
|
|
<RowDefinition Height="32"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="150"/>
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<TextBlock
|
|
|
|
Grid.Row="0" Grid.Column="0"
|
|
|
|
Margin="0,0,8,0"
|
2021-07-20 01:26:10 -07:00
|
|
|
Text="{DynamicResource Text.Fetch.Remote}"
|
2021-04-29 05:05:55 -07:00
|
|
|
HorizontalAlignment="Right"/>
|
|
|
|
<ComboBox
|
|
|
|
Grid.Row="0" Grid.Column="1"
|
|
|
|
x:Name="remotes"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
IsEnabled="{Binding ElementName=chkFetchAll, Path=IsChecked, Converter={StaticResource InverseBool}}">
|
|
|
|
<ComboBox.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<StackPanel Orientation="Horizontal" Height="20">
|
|
|
|
<Path Margin="4,0,0,0" Width="14" Height="14" Data="{StaticResource Icon.Remote}"/>
|
|
|
|
<TextBlock Text="{Binding Name}" Margin="8,0,0,0"/>
|
|
|
|
</StackPanel>
|
|
|
|
</DataTemplate>
|
|
|
|
</ComboBox.ItemTemplate>
|
|
|
|
</ComboBox>
|
|
|
|
|
|
|
|
<CheckBox Grid.Row="1" Grid.Column="1"
|
|
|
|
Margin="0,4,0,0"
|
|
|
|
x:Name="chkFetchAll"
|
|
|
|
IsChecked="True"
|
2021-07-20 01:26:10 -07:00
|
|
|
Content="{DynamicResource Text.Fetch.AllRemotes}"/>
|
2021-04-29 05:05:55 -07:00
|
|
|
|
|
|
|
<CheckBox Grid.Row="2" Grid.Column="1"
|
|
|
|
x:Name="chkPrune"
|
|
|
|
IsChecked="True"
|
2021-07-20 01:26:10 -07:00
|
|
|
Content="{DynamicResource Text.Fetch.Prune}"/>
|
2021-04-29 05:05:55 -07:00
|
|
|
</Grid>
|
|
|
|
</controls:PopupWidget>
|