summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/OptionsView.xaml
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-06-06 19:55:02 +0100
committersr55 <[email protected]>2019-06-06 19:55:02 +0100
commitb0fce31fb6da40a98ef9af26845f67d81819f5b4 (patch)
tree9c7092ba897f205121fe41ff45cf9908e4344b0e /win/CS/HandBrakeWPF/Views/OptionsView.xaml
parent0835cd60e3ecba9cad213109c80d64c42448367d (diff)
WinGui: Add a "Test" button to the When Done Audio options. Also log the "MediaFailed" event to the log otherwise we get silent failures. #2130
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/OptionsView.xaml')
-rw-r--r--win/CS/HandBrakeWPF/Views/OptionsView.xaml12
1 files changed, 10 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Views/OptionsView.xaml b/win/CS/HandBrakeWPF/Views/OptionsView.xaml
index c5cfa5eba..244929800 100644
--- a/win/CS/HandBrakeWPF/Views/OptionsView.xaml
+++ b/win/CS/HandBrakeWPF/Views/OptionsView.xaml
@@ -277,12 +277,20 @@
VerticalAlignment="Center" VerticalContentAlignment="Center" IsChecked="{Binding PlaySoundWhenQueueDone}" Margin="0,5,0,0" />
<StackPanel Orientation="Horizontal" Margin="25,2,0,0">
<TextBlock Text="{Binding WhenDoneAudioFile}" VerticalAlignment="Center" Margin="5,2,5,0" />
- <Button Content="Browse" cal:Message.Attach="[Event Click] = [Action BrowseWhenDoneAudioFile]" />
+ <Button Content="{x:Static Properties:Resources.Browse}" cal:Message.Attach="[Event Click] = [Action BrowseWhenDoneAudioFile]" />
+
+ <Button Margin="5,0,0,0" cal:Message.Attach="[Event Click] = [Action PlayWhenDoneFile]" Background="Transparent" BorderThickness="0" >
+ <Button.Content>
+ <StackPanel Orientation="Horizontal">
+ <Image Source="Images/Play_small.png" VerticalAlignment="Center" />
+ <TextBlock Text="{x:Static Properties:Resources.OptionsView_Play}" Margin="2,0,2,0" />
+ </StackPanel>
+ </Button.Content>
+ </Button>
</StackPanel>
</StackPanel>
</StackPanel>
</StackPanel>
-
</StackPanel>
<StackPanel Name="Hardware" Orientation="Vertical" Margin="10,5,0,0"