Re-implement single key shortcuts as a preference
Add new `single-key-shortcuts` GSetting, Application.Configuration property and add UI for it in the Preferences window. When enabled, load in new `single-key-shortcuts.css` file that has the appropriate bindings. Update bindings to match Google's current set, and update shortcut help to match.
This commit is contained in:
parent
fb1439264a
commit
259ebe50fd
8 changed files with 166 additions and 18 deletions
|
|
@ -280,7 +280,7 @@
|
|||
<object class="GtkShortcutsShortcut">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes" context="shortcut window">Reply to all</property>
|
||||
<property name="accelerator"><Shift>R</property>
|
||||
<property name="accelerator">A</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
|
@ -301,21 +301,21 @@
|
|||
<object class="GtkShortcutsShortcut">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes" context="shortcut window">Mark/un-mark starred</property>
|
||||
<property name="accelerator">S D</property>
|
||||
<property name="accelerator">S</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkShortcutsShortcut">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes" context="shortcut window">Archive conversation</property>
|
||||
<property name="accelerator">A Y</property>
|
||||
<property name="accelerator">E</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkShortcutsShortcut">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes" context="shortcut window">Move conversation</property>
|
||||
<property name="accelerator">M</property>
|
||||
<property name="accelerator">V</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
|
@ -332,6 +332,34 @@
|
|||
<property name="accelerator">exclam</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkShortcutsShortcut">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes" context="shortcut window">Delete conversation</property>
|
||||
<property name="accelerator">numbersign</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkShortcutsShortcut">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes" context="shortcut window">Find in current conversation</property>
|
||||
<property name="accelerator">slash</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkShortcutsShortcut">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes" context="shortcut window">Select the conversation down</property>
|
||||
<property name="accelerator">J</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkShortcutsShortcut">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes" context="shortcut window">Select the conversation up</property>
|
||||
<property name="accelerator">K</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue