Replace action-name with explicit accelerator properties so the keyboard shortcuts are displayed correctly in the dialog.
47 lines
1.9 KiB
XML
47 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<object class="GtkShortcutsWindow" id="shortcuts_dialog">
|
|
<property name="modal">1</property>
|
|
<child>
|
|
<object class="GtkShortcutsSection">
|
|
<property name="section-name">shortcuts</property>
|
|
<property name="max-height">10</property>
|
|
<child>
|
|
<object class="GtkShortcutsGroup">
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="title" translatable="yes" context="shortcut window">New Tab</property>
|
|
<property name="accelerator"><Control>t</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="title" translatable="yes" context="shortcut window">Close Tab</property>
|
|
<property name="accelerator"><Control>w</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="title" translatable="yes" context="shortcut window">Save Request</property>
|
|
<property name="accelerator"><Control>s</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="title" translatable="yes" context="shortcut window">Show Shortcuts</property>
|
|
<property name="accelerator"><Control>question</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="title" translatable="yes" context="shortcut window">Quit</property>
|
|
<property name="accelerator"><Control>q</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|