[gnome-music/wip/mschraal/gtk4-v3: 102/192] searchview: Disable size-allocate signal (FIXME)




commit 1db00f10cfa6cbbc4a5bef359ae700f1a6b44e36
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]