[gnome-music/wip/mschraal/file-exists-async: 5/12] albumsview: Bump the GLib priority
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/file-exists-async: 5/12] albumsview: Bump the GLib priority
- Date: Sat, 4 Sep 2021 22:20:28 +0000 (UTC)
commit 0c06c746ff4f8bfa2770aeb4c39de9fbe1d95263
Author: Marinus Schraal <mschraal gnome org>
Date: Sun Aug 29 17:18:58 2021 +0200
albumsview: Bump the GLib priority
Make the priority a little higher, as it is the default view on startup.
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 dff833e2c..36978a8ef 100644
--- a/gnomemusic/views/albumsview.py
+++ b/gnomemusic/views/albumsview.py
@@ -106,7 +106,7 @@ class AlbumsView(Gtk.Stack):
self._adjustment_timeout_id = GLib.timeout_add(
200, self._retrieve_covers, adjustment.props.value,
- priority=GLib.PRIORITY_LOW)
+ priority=GLib.PRIORITY_DEFAULT - 10)
def _retrieve_covers(self, old_adjustment):
adjustment = self._scrolled_window.props.vadjustment.props.value
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]