Refactor menu states and shortcuts in GMainWindow. (#7419)

Refactor menu states and shortcuts in GMainWindow.

- Removed "Start", since it was always disabled unless it was "Continue"
which has now been moved to "Pause".
- Allow hotkeys to be used while in fullscreen.
- Removed the load amiibo hotkey.
This commit is contained in:
Adam Heinermann 2021-11-24 18:27:25 -08:00 committed by GitHub
parent 08fb49f20a
commit 61c990726b
3 changed files with 173 additions and 235 deletions

View file

@ -66,7 +66,6 @@
<property name="title">
<string>&amp;Emulation</string>
</property>
<addaction name="action_Start"/>
<addaction name="action_Pause"/>
<addaction name="action_Stop"/>
<addaction name="action_Restart"/>
@ -180,14 +179,6 @@
<string>E&amp;xit</string>
</property>
</action>
<action name="action_Start">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&amp;Start</string>
</property>
</action>
<action name="action_Pause">
<property name="enabled">
<bool>false</bool>