actions: Also allow mute with "M" key alone

For faster access
This commit is contained in:
Rafał Dzięgiel
2021-09-14 13:09:23 +02:00
parent 636098182b
commit 201cb6f64c
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ var actions = {
prev_track: ['<Ctrl>Left'], prev_track: ['<Ctrl>Left'],
volume_up: ['Up'], volume_up: ['Up'],
volume_down: ['Down'], volume_down: ['Down'],
mute: ['<Ctrl>M'], mute: ['<Ctrl>M', 'M'],
toggle_play: ['space'], toggle_play: ['space'],
change_repeat: ['<Ctrl>R'], change_repeat: ['<Ctrl>R'],
reveal_controls: ['Return'], reveal_controls: ['Return'],

View File

@@ -131,7 +131,7 @@
<child> <child>
<object class="GtkShortcutsShortcut"> <object class="GtkShortcutsShortcut">
<property name="title" translatable="yes">Toggle mute</property> <property name="title" translatable="yes">Toggle mute</property>
<property name="accelerator">&lt;Ctrl&gt;M</property> <property name="accelerator">&lt;Ctrl&gt;M M</property>
</object> </object>
</child> </child>
<child> <child>