[gnome-music/wip/mschraal/gtk4: 80/80] 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: 80/80] playlistcontextmenu: Replace relative-to with set_parent
- Date: Wed, 29 Apr 2020 11:45:00 +0000 (UTC)
commit 026625b896d7a9fdc093e32e06cae859bf4d4089
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]