GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 715d4824 authored by Yash Singh's avatar Yash Singh Committed by Marinus Schraal

shortcuts: Remove ctrl+p for Play/Pause

Ctrl+P conflicts with move-cursor signal for TreeView.
This patch removes ctrl+p as a shortcut for toggling play/pause.
parent 9ad0163f
......@@ -49,7 +49,7 @@
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Play/Pause</property>
<property name="accelerator">&lt;Ctrl&gt;space &lt;Primary&gt;P</property>
<property name="accelerator">&lt;Ctrl&gt;space</property>
......@@ -377,9 +377,8 @@ class Window(Gtk.ApplicationWindow):
if (event.keyval == Gdk.KEY_f and
event_and_modifiers == Gdk.ModifierType.CONTROL_MASK):
# Play / Pause on Ctrl + P
if (event.keyval == Gdk.KEY_p
or event.keyval == Gdk.KEY_space
# Play / Pause on Ctrl + SPACE
if (event.keyval == Gdk.KEY_space
and event_and_modifiers == Gdk.ModifierType.CONTROL_MASK):
# Play previous on Ctrl + B
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment