[gnome-music] playlistview: Use GObject property syntax for the popover



commit e343355e484301407cfe95b8d5c58ac0cf5cc009
Author: Jean Felder <jfelder src gnome org>
Date:   Fri Jan 18 10:05:07 2019 +0100

    playlistview: Use GObject property syntax for the popover

 gnomemusic/views/playlistview.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/views/playlistview.py b/gnomemusic/views/playlistview.py
index 093cb320..e3992cec 100644
--- a/gnomemusic/views/playlistview.py
+++ b/gnomemusic/views/playlistview.py
@@ -370,8 +370,8 @@ class PlaylistView(BaseView):
         rect.x = x
         rect.y = y - cell_y + 0.5 * row_height
 
-        self._song_popover.set_relative_to(self._view)
-        self._song_popover.set_pointing_to(rect)
+        self._song_popover.props.relative_to = self._view
+        self._song_popover.props.pointing_to = rect
         self._song_popover.popup()
 
     @log


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]