diff options
author | sr55 <[email protected]> | 2017-01-08 10:43:47 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2017-01-08 10:43:47 +0000 |
commit | 3e3218dfb1e09f7f2aa851d03c0dfedbf1b53a68 (patch) | |
tree | 1e7491cd47c2d6836c5cc07e5248439ba59ce9b2 /win/CS/HandBrakeWPF/Views | |
parent | 0c34c5f8a2a368b894f3f671c582557ea45dc62d (diff) |
WinGui: Correctly synchronise the WhenDone dropdowns in the Queue, MainWindow and Preferences
Diffstat (limited to 'win/CS/HandBrakeWPF/Views')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/MainView.xaml | 32 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/QueueView.xaml | 28 |
2 files changed, 16 insertions, 44 deletions
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml b/win/CS/HandBrakeWPF/Views/MainView.xaml index e257a4ea8..e0e1156fd 100644 --- a/win/CS/HandBrakeWPF/Views/MainView.xaml +++ b/win/CS/HandBrakeWPF/Views/MainView.xaml @@ -737,39 +737,25 @@ <MenuItem x:Name="doNothing"
cal:Message.Attach="[Event Click] = [Action WhenDone(doNothing.Header)]"
- Header="{x:Static Properties:ResourcesUI.QueueView_DoNothing}"
- IsCheckable="True"
- attachedProperties:MenuItemExtensions.GroupName="whenDone" />
- <MenuItem x:Name="shutdown"
- cal:Message.Attach="[Event Click] = [Action WhenDone(shutdown.Header)]"
- Header="{x:Static Properties:ResourcesUI.QueueView_Shutdown}"
- IsCheckable="True"
- attachedProperties:MenuItemExtensions.GroupName="whenDone" />
+ Header="{x:Static Properties:ResourcesUI.QueueView_DoNothing}" />
+ <MenuItem x:Name="shutdownSystem"
+ cal:Message.Attach="[Event Click] = [Action WhenDone(shutdownSystem.Header)]"
+ Header="{x:Static Properties:ResourcesUI.QueueView_Shutdown}" />
<MenuItem x:Name="suspend"
cal:Message.Attach="[Event Click] = [Action WhenDone(suspend.Header)]"
- Header="{x:Static Properties:ResourcesUI.QueueView_Suspend}"
- IsCheckable="True"
- attachedProperties:MenuItemExtensions.GroupName="whenDone" />
+ Header="{x:Static Properties:ResourcesUI.QueueView_Suspend}"/>
<MenuItem x:Name="hibernate"
cal:Message.Attach="[Event Click] = [Action WhenDone(hibernate.Header)]"
- Header="{x:Static Properties:ResourcesUI.QueueView_Hibernate}"
- IsCheckable="True"
- attachedProperties:MenuItemExtensions.GroupName="whenDone" />
+ Header="{x:Static Properties:ResourcesUI.QueueView_Hibernate}" />
<MenuItem x:Name="lock"
cal:Message.Attach="[Event Click] = [Action WhenDone(lock.Header)]"
- Header="{x:Static Properties:ResourcesUI.QueueView_LockSystem}"
- IsCheckable="True"
- attachedProperties:MenuItemExtensions.GroupName="whenDone" />
+ Header="{x:Static Properties:ResourcesUI.QueueView_LockSystem}" />
<MenuItem x:Name="logoff"
cal:Message.Attach="[Event Click] = [Action WhenDone(logoff.Header)]"
- Header="{x:Static Properties:ResourcesUI.QueueView_Logoff}"
- IsCheckable="True"
- attachedProperties:MenuItemExtensions.GroupName="whenDone" />
+ Header="{x:Static Properties:ResourcesUI.QueueView_Logoff}"/>
<MenuItem x:Name="quit"
cal:Message.Attach="[Event Click] = [Action WhenDone(quit.Header)]"
- Header="{x:Static Properties:ResourcesUI.QueueView_QuitHandBrake}"
- IsCheckable="True"
- attachedProperties:MenuItemExtensions.GroupName="whenDone" />
+ Header="{x:Static Properties:ResourcesUI.QueueView_QuitHandBrake}" />
</MenuItem>
</Menu>
</StatusBarItem>
diff --git a/win/CS/HandBrakeWPF/Views/QueueView.xaml b/win/CS/HandBrakeWPF/Views/QueueView.xaml index 414c29e30..127a25133 100644 --- a/win/CS/HandBrakeWPF/Views/QueueView.xaml +++ b/win/CS/HandBrakeWPF/Views/QueueView.xaml @@ -115,39 +115,25 @@ <MenuItem x:Name="doNothing"
cal:Message.Attach="[Event Click] = [Action WhenDone(doNothing.Header)]"
- Header="{x:Static Properties:ResourcesUI.QueueView_DoNothing}"
- IsCheckable="True"
- AttachedProperties:MenuItemExtensions.GroupName="whenDone" />
+ Header="{x:Static Properties:ResourcesUI.QueueView_DoNothing}" />
<MenuItem x:Name="shutdown"
cal:Message.Attach="[Event Click] = [Action WhenDone(shutdown.Header)]"
- Header="{x:Static Properties:ResourcesUI.QueueView_Shutdown}"
- IsCheckable="True"
- AttachedProperties:MenuItemExtensions.GroupName="whenDone" />
+ Header="{x:Static Properties:ResourcesUI.QueueView_Shutdown}" />
<MenuItem x:Name="suspend"
cal:Message.Attach="[Event Click] = [Action WhenDone(suspend.Header)]"
- Header="{x:Static Properties:ResourcesUI.QueueView_Suspend}"
- IsCheckable="True"
- AttachedProperties:MenuItemExtensions.GroupName="whenDone" />
+ Header="{x:Static Properties:ResourcesUI.QueueView_Suspend}" />
<MenuItem x:Name="hibernate"
cal:Message.Attach="[Event Click] = [Action WhenDone(hibernate.Header)]"
- Header="{x:Static Properties:ResourcesUI.QueueView_Hibernate}"
- IsCheckable="True"
- AttachedProperties:MenuItemExtensions.GroupName="whenDone" />
+ Header="{x:Static Properties:ResourcesUI.QueueView_Hibernate}"/>
<MenuItem x:Name="lock"
cal:Message.Attach="[Event Click] = [Action WhenDone(lock.Header)]"
- Header="{x:Static Properties:ResourcesUI.QueueView_LockSystem}"
- IsCheckable="True"
- AttachedProperties:MenuItemExtensions.GroupName="whenDone" />
+ Header="{x:Static Properties:ResourcesUI.QueueView_LockSystem}" />
<MenuItem x:Name="logoff"
cal:Message.Attach="[Event Click] = [Action WhenDone(logoff.Header)]"
- Header="{x:Static Properties:ResourcesUI.QueueView_Logoff}"
- IsCheckable="True"
- AttachedProperties:MenuItemExtensions.GroupName="whenDone" />
+ Header="{x:Static Properties:ResourcesUI.QueueView_Logoff}"/>
<MenuItem x:Name="quit"
cal:Message.Attach="[Event Click] = [Action WhenDone(quit.Header)]"
- Header="{x:Static Properties:ResourcesUI.QueueView_QuitHandBrake}"
- IsCheckable="True"
- AttachedProperties:MenuItemExtensions.GroupName="whenDone" />
+ Header="{x:Static Properties:ResourcesUI.QueueView_QuitHandBrake}"/>
</MenuItem>
</Menu>
|