[gnome-music/wip/mschraal/gtk4: 79/90] albumsview: add -> add_named



commit 0a0f4e4eb0c2b2dc03077db7970cde1ca31bf72c
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]