[gnome-music/wip/mschraal/gtk4: 79/84] albumsview: Disable on-demand cover loading
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4: 79/84] albumsview: Disable on-demand cover loading
- Date: Tue, 9 Jun 2020 14:27:27 +0000 (UTC)
commit 16999a7df0997e206d4dd56eb2d48086d79afcc6
Author: Marinus Schraal <mschraal gnome org>
Date: Mon Jun 8 01:53:34 2020 +0200
albumsview: Disable on-demand cover loading
Broken with container changes.
gnomemusic/views/albumsview.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gnomemusic/views/albumsview.py b/gnomemusic/views/albumsview.py
index 88d8a05d..26f6fca7 100644
--- a/gnomemusic/views/albumsview.py
+++ b/gnomemusic/views/albumsview.py
@@ -131,7 +131,8 @@ class AlbumsView(Gtk.Stack):
covers_col = math.ceil(viewport_size.width / cover_size.width)
covers_row = math.ceil(viewport_size.height / cover_size.height)
- children = self._flowbox.get_children()
+ # children = self._flowbox.get_children()
+ children = []
retrieve_list = []
for i, albumcover in enumerate(children):
if top_left_cover == albumcover:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]