[gnome-music/wip/mschraal/core: 2/2] grlsearchwrapper: Limit result count
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core: 2/2] grlsearchwrapper: Limit result count
- Date: Sun, 14 Jul 2019 07:59:32 +0000 (UTC)
commit 1f9f49fdd203a20eea236e1aa066de38624493f7
Author: Marinus Schraal <mschraal gnome org>
Date: Sun Jul 14 01:27:36 2019 +0200
grlsearchwrapper: Limit result count
Release us from ListBox hell.
gnomemusic/grilowrappers/grlsearchwrapper.py | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gnomemusic/grilowrappers/grlsearchwrapper.py b/gnomemusic/grilowrappers/grlsearchwrapper.py
index 4ddf5326..971fdcc7 100644
--- a/gnomemusic/grilowrappers/grlsearchwrapper.py
+++ b/gnomemusic/grilowrappers/grlsearchwrapper.py
@@ -46,6 +46,7 @@ class GrlSearchWrapper(GObject.GObject):
self._song_search_proxy.append(self._song_search_model)
self._fast_options = Grl.OperationOptions()
+ self._fast_options.set_count(25)
self._fast_options.set_resolution_flags(
Grl.ResolutionFlags.FAST_ONLY | Grl.ResolutionFlags.IDLE_RELAY)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]