]> granicus.if.org Git - handbrake/commitdiff
WinGui: Restore the options dropdown on the legacy queue design.
authorsr55 <sr55.hb@outlook.com>
Fri, 28 Dec 2018 21:11:33 +0000 (21:11 +0000)
committersr55 <sr55.hb@outlook.com>
Fri, 28 Dec 2018 21:11:33 +0000 (21:11 +0000)
win/CS/HandBrakeWPF/Views/QueueView.xaml

index 931c16ebaf28318c021fb1043ef922aa5576759f..ecf123105d1074028265b29d30b0df4a20543d5f 100644 (file)
                                   Header="{x:Static Properties:Resources.QueueView_QuitHandBrake}"/>\r
                             </MenuItem>\r
                         </Menu>\r
+\r
+                        <Menu HorizontalAlignment="Right" Background="Transparent" VerticalAlignment="Center">\r
+                            <MenuItem>\r
+                                <MenuItem.Header>\r
+                                    <StackPanel Height="32" Orientation="Horizontal">\r
+                                        <Image Source="Images\Advanced.png" Width="20" Height="20" VerticalAlignment="Center" />\r
+                                        <TextBlock VerticalAlignment="Center"\r
+                                           Text="{x:Static Properties:Resources.QueueView_Options}" Margin="5,0,0,0" />\r
+                                        <Path Height="5"\r
+                                      Margin="2,2,2,0"\r
+                                      Data="M 0 0 L 4 4 L 8 0 Z"\r
+                                      Fill="{DynamicResource GlyphBrush}" />\r
+                                    </StackPanel>\r
+                                </MenuItem.Header>\r
+                                <MenuItem cal:Message.Attach="[Event Click] = [Action ResetFailed]" Header="{x:Static Properties:Resources.QueueView_ResetFailed}" />\r
+                                <MenuItem cal:Message.Attach="[Event Click] = [Action ResetAllJobs]" Header="{x:Static Properties:Resources.QueueView_ResetAllJobs}" />\r
+                                <Separator />\r
+                                <MenuItem cal:Message.Attach="[Event Click] = [Action ClearCompleted]" Header="{x:Static Properties:Resources.QueueView_ClearCompleted}" />\r
+                                <MenuItem cal:Message.Attach="[Event Click] = [Action Clear]" Header="{x:Static Properties:Resources.QueueView_ClearQueue}" />\r
+                                <Separator />\r
+                                <MenuItem cal:Message.Attach="[Event Click] = [Action Export]" Header="{x:Static Properties:Resources.QueueView_Export}" />\r
+                            </MenuItem>\r
+                        </Menu>\r
                     </StackPanel>\r
 \r
                 </DockPanel>\r