[gnome-music/wip/mschraal/gtk4: 63/90] 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: 63/90] playlistcontextmenu: Replace relative-to with set_parent
- Date: Sat, 27 Jun 2020 11:57:54 +0000 (UTC)
commit 12a7766c3cfeee728b231e153965880e5d88abed
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]