Add standard shortcut for preferences

This commit is contained in:
cadenmitchell
2023-09-06 12:53:01 -06:00
parent b4aaea1940
commit 058844c010
2 changed files with 7 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ var actions = {
open_local: ['<Ctrl>O'], open_local: ['<Ctrl>O'],
export_playlist: ['<Ctrl>E'], export_playlist: ['<Ctrl>E'],
open_uri: ['<Ctrl>U'], open_uri: ['<Ctrl>U'],
prefs: null, prefs: ['<Ctrl>comma'],
shortcuts: ['F1', '<Ctrl>question'], shortcuts: ['F1', '<Ctrl>question'],
about: null, about: null,
progress_forward: ['Right'], progress_forward: ['Right'],

View File

@@ -14,6 +14,12 @@
<property name="accelerator">F1 &lt;Ctrl&gt;question</property> <property name="accelerator">F1 &lt;Ctrl&gt;question</property>
</object> </object>
</child> </child>
<child>
<object class="GtkShortcutsShortcut">
<property name="title" translatable="yes">Open preferences</property>
<property name="accelerator">&lt;Ctrl&gt;comma</property>
</object>
</child>
<child> <child>
<object class="GtkShortcutsShortcut"> <object class="GtkShortcutsShortcut">
<property name="title" translatable="yes">Toggle fullscreen</property> <property name="title" translatable="yes">Toggle fullscreen</property>