[gnome-music/wip/mschraal/gtk4: 18/64] mediakeys: Fix controller
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4: 18/64] mediakeys: Fix controller
- Date: Wed, 29 Apr 2020 13:15:24 +0000 (UTC)
commit 4babeece2a7c1c7ce6ffca91333318d65a8a3fc9
Author: Marinus Schraal <mschraal gnome org>
Date: Thu Oct 31 14:25:41 2019 +0100
mediakeys: Fix controller
gnomemusic/mediakeys.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/mediakeys.py b/gnomemusic/mediakeys.py
index f0ba1623..a6576dfe 100644
--- a/gnomemusic/mediakeys.py
+++ b/gnomemusic/mediakeys.py
@@ -74,7 +74,7 @@ class MediaKeys(GObject.GObject):
self._media_keys_proxy.connect("g-signal", self._handle_media_keys)
- self._ctrlr = Gtk.EventControllerKey().new(self._window)
+ self._ctrlr = Gtk.EventControllerKey().new()
self._ctrlr.props.propagation_phase = Gtk.PropagationPhase.CAPTURE
self._ctrlr.connect("focus-in", self._grab_media_player_keys)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]