application: Use standard shortcut for help overlay

Ctrl+F1 never really worked - that was chosen based
on the mockups, but in reality it only opened Help.
Apps usually use Ctrl+?.
This commit is contained in:
Christopher Davis 2021-12-22 16:02:17 -08:00
parent 1ae7316b32
commit 5c25a6a270
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="title" translatable="yes" context="shortcut window">Show Keyboard Shortcuts</property>
<property name="accelerator">&lt;Primary&gt;F1</property>
<property name="accelerator">&lt;Primary&gt;question</property>
</object>
</child>
<child>

View file

@ -164,7 +164,7 @@ impl LpApplication {
self.set_accels_for_action("app.new-window", &["<Primary>N"]);
self.set_accels_for_action("win.open", &["<Primary>O"]);
self.set_accels_for_action("win.print", &["<Primary>P"]);
self.set_accels_for_action("win.show-help-overlay", &["<Primary>F1"]);
self.set_accels_for_action("win.show-help-overlay", &["<Primary>question"]);
self.set_accels_for_action("win.toggle-fullscreen", &["F11"]);
self.set_accels_for_action("window.close", &["<Primary>W"]);
}