[gnome-music/wip/mschraal/gtk4: 76/84] albumsview: add -> add_named



commit 9f6271f87fc6602b41c3a690f332d02a5d5bd646
Author: Marinus Schraal <mschraal gnome org>
Date:   Mon Jun 8 01:29:24 2020 +0200

    albumsview: add -> add_named

 gnomemusic/views/albumsview.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/views/albumsview.py b/gnomemusic/views/albumsview.py
index 11aa3caa..88d8a05d 100644
--- a/gnomemusic/views/albumsview.py
+++ b/gnomemusic/views/albumsview.py
@@ -85,7 +85,7 @@ class AlbumsView(Gtk.Stack):
             "selection-mode", self, "selection-mode",
             GObject.BindingFlags.BIDIRECTIONAL)
 
-        self.add(self._album_widget)
+        self.add_named(self._album_widget, "album widget")
 
         self.connect(
             "notify::search-mode-active", self._on_search_mode_changed)


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