diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-02-15 15:07:02 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-02-17 11:42:03 +0100 |
commit | f9ed7cc9630e45b87956070e3b08051e233240be (patch) | |
tree | 857374d47b41c63e841fa62cfe9f9df8226c0de4 /data/shortcuts.ui | |
parent | 68f692ec2557da1cba48bdbeb3e558f53a686b81 (diff) | |
download | totem-f9ed7cc9630e45b87956070e3b08051e233240be.tar.gz |
main: Add 'M' shortcut to toggle mute
'M' was already used for the (increasingly rare) "go to root menu of a
DVD", so mute is only toggled when not playing a DVD.
This is the same shortcut as YouTube uses:
https://support.google.com/youtube/answer/7631406?hl=en
Closes: #457
Diffstat (limited to 'data/shortcuts.ui')
-rw-r--r-- | data/shortcuts.ui | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/data/shortcuts.ui b/data/shortcuts.ui index 03022ced1..adaa4e302 100644 --- a/data/shortcuts.ui +++ b/data/shortcuts.ui @@ -62,6 +62,13 @@ <property name="title" translatable="yes" context="shortcut window">Decrease volume</property> </object> </child> + <child> + <object class="GtkShortcutsShortcut" id="toggle-volume"> + <property name="visible">1</property> + <property name="accelerator">M</property> + <property name="title" translatable="yes" context="shortcut window">Mute/unmute</property> + </object> + </child> </object> </child> <child> |