[gnome-music/wip/mschraal/gtk4: 32/70] mediakeys: Fix controller
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4: 32/70] mediakeys: Fix controller
- Date: Mon, 25 Nov 2019 19:37:33 +0000 (UTC)
commit d357946d140ed366db0c5414a1370437a202459a
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 cf89438e..a5ee82f4 100644
--- a/gnomemusic/mediakeys.py
+++ b/gnomemusic/mediakeys.py
@@ -81,7 +81,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]