summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/MainView.xaml
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-04-01 17:09:11 +0000
committersr55 <[email protected]>2012-04-01 17:09:11 +0000
commit649939589305d92e9d6edf3c28955dfa37774722 (patch)
treea34796100b099cd6e7ff70667bd470bfd9439675 /win/CS/HandBrakeWPF/Views/MainView.xaml
parentb07bb66a24127135b5b921db6486f1cad45f42cc (diff)
WinGui: (WPF) Cleanup and fixes to the main window and preferences screen.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4579 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/MainView.xaml')
-rw-r--r--win/CS/HandBrakeWPF/Views/MainView.xaml22
1 files changed, 2 insertions, 20 deletions
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml b/win/CS/HandBrakeWPF/Views/MainView.xaml
index 4f243237f..79cc340eb 100644
--- a/win/CS/HandBrakeWPF/Views/MainView.xaml
+++ b/win/CS/HandBrakeWPF/Views/MainView.xaml
@@ -113,32 +113,14 @@
<!-- ToolBar -->
<ToolBar Name="mainToolBar" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" SnapsToDevicePixels="False">
-
<Menu Background="Transparent" >
- <MenuItem>
+ <MenuItem ItemsSource="{Binding SourceToolbarMenu}">
<MenuItem.Header>
<StackPanel Orientation="Horizontal">
<Image Source="Images/Movies.png" Height="32" Width="32" />
<Label Content="Source" Margin="8,0,0,0" VerticalAlignment="Center" />
</StackPanel>
</MenuItem.Header>
-
- <MenuItem Micro:Message.Attach="[Event Click] = [Action FolderScan]">
- <MenuItem.Header>
- <StackPanel Orientation="Horizontal">
- <Image Source="Images/folder.png" Height="20" Width="20" />
- <Label Content="Open Folder" Margin="8,0,0,0" VerticalAlignment="Center" />
- </StackPanel>
- </MenuItem.Header>
- </MenuItem>
- <MenuItem Micro:Message.Attach="[Event Click] = [Action FileScan]">
- <MenuItem.Header>
- <StackPanel Orientation="Horizontal">
- <Image Source="Images/Movies.png" Height="20" Width="20" />
- <Label Content="Open File" Margin="8,0,0,0" VerticalAlignment="Center" />
- </StackPanel>
- </MenuItem.Header>
- </MenuItem>
</MenuItem>
</Menu>
@@ -239,7 +221,7 @@
<!-- Output Options -->
<StackPanel Margin="10,5,10,5" MaxWidth="725" Width="725" HorizontalAlignment="Left">
- <Label Content="Output Settings (Preset: None)" FontWeight="Bold" />
+ <Label Content="Output Settings" FontWeight="Bold" />
<StackPanel Orientation="Horizontal">
<Label Content="Container" Margin="8,0,0,0" />
<ComboBox Name="Container" Margin="8,0,0,0" MinWidth="100" ItemsSource="{Binding OutputFormats}" SelectedItem="{Binding SelectedOutputFormat}" />