[gnome-music/wip/mschraal/gtk4: 60/84] playlistcontextmenu: Replace relative-to with set_parent
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4: 60/84] playlistcontextmenu: Replace relative-to with set_parent
- Date: Tue, 9 Jun 2020 14:25:50 +0000 (UTC)
commit d3897fcaeed5953948d04999134e59aff51f9dc3
Author: Marinus Schraal <mschraal gnome org>
Date: Wed Apr 29 01:48:55 2020 +0200
playlistcontextmenu: Replace relative-to with set_parent
gnomemusic/widgets/playlistcontextmenu.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/widgets/playlistcontextmenu.py b/gnomemusic/widgets/playlistcontextmenu.py
index 0a17ad71..3744a15e 100644
--- a/gnomemusic/widgets/playlistcontextmenu.py
+++ b/gnomemusic/widgets/playlistcontextmenu.py
@@ -42,7 +42,7 @@ class PlaylistContextMenu(Gtk.Popover):
window = application.props.window
- self.props.relative_to = view
+ self.set_parent(view)
# self.bind_model(self._song_menu, None)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]