Add explicit accelerators to shortcuts dialog
Replace action-name with explicit accelerator properties so the keyboard shortcuts are displayed correctly in the dialog.
This commit is contained in:
parent
d2682154c5
commit
66719a5d0c
@ -11,31 +11,31 @@
|
|||||||
<child>
|
<child>
|
||||||
<object class="GtkShortcutsShortcut">
|
<object class="GtkShortcutsShortcut">
|
||||||
<property name="title" translatable="yes" context="shortcut window">New Tab</property>
|
<property name="title" translatable="yes" context="shortcut window">New Tab</property>
|
||||||
<property name="action-name">win.new-tab</property>
|
<property name="accelerator"><Control>t</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkShortcutsShortcut">
|
<object class="GtkShortcutsShortcut">
|
||||||
<property name="title" translatable="yes" context="shortcut window">Close Tab</property>
|
<property name="title" translatable="yes" context="shortcut window">Close Tab</property>
|
||||||
<property name="action-name">win.close-tab</property>
|
<property name="accelerator"><Control>w</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkShortcutsShortcut">
|
<object class="GtkShortcutsShortcut">
|
||||||
<property name="title" translatable="yes" context="shortcut window">Save Request</property>
|
<property name="title" translatable="yes" context="shortcut window">Save Request</property>
|
||||||
<property name="action-name">win.save-request</property>
|
<property name="accelerator"><Control>s</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkShortcutsShortcut">
|
<object class="GtkShortcutsShortcut">
|
||||||
<property name="title" translatable="yes" context="shortcut window">Show Shortcuts</property>
|
<property name="title" translatable="yes" context="shortcut window">Show Shortcuts</property>
|
||||||
<property name="action-name">win.show-help-overlay</property>
|
<property name="accelerator"><Control>question</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkShortcutsShortcut">
|
<object class="GtkShortcutsShortcut">
|
||||||
<property name="title" translatable="yes" context="shortcut window">Quit</property>
|
<property name="title" translatable="yes" context="shortcut window">Quit</property>
|
||||||
<property name="action-name">app.quit</property>
|
<property name="accelerator"><Control>q</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user