[gnome-music/wip/jfelder/gtk4-v3: 43/110] searchview: Disable size-allocate signal (FIXME)




commit c29354d9aa0a30703e0731dc21a50506289cf536
Author: Jean Felder <jfelder src gnome org>
Date:   Wed Feb 2 13:00:36 2022 +0100

    searchview: Disable size-allocate signal (FIXME)

 gnomemusic/views/searchview.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnomemusic/views/searchview.py b/gnomemusic/views/searchview.py
index 4283da91f..2eeea6be7 100644
--- a/gnomemusic/views/searchview.py
+++ b/gnomemusic/views/searchview.py
@@ -113,16 +113,16 @@ class SearchView(Gtk.Stack):
             "items-changed", self._on_album_model_items_changed)
         self._album_flowbox.bind_model(
             self._album_filter, self._create_album_cover)
-        self._album_flowbox.connect(
-            "size-allocate", self._on_album_flowbox_size_allocate)
+        # self._album_flowbox.connect(
+        #     "size-allocate", self._on_album_flowbox_size_allocate)
         self._on_album_model_items_changed(self._album_filter, 0, 0, 0)
 
         self._artist_filter.connect_after(
             "items-changed", self._on_artist_model_items_changed)
         self._artist_flowbox.bind_model(
             self._artist_filter, self._create_artist_widget)
-        self._artist_flowbox.connect(
-            "size-allocate", self._on_artist_flowbox_size_allocate)
+        # self._artist_flowbox.connect(
+        #     "size-allocate", self._on_artist_flowbox_size_allocate)
         self._on_artist_model_items_changed(self._artist_filter, 0, 0, 0)
 
         self._player = self._application.props.player


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