[gnome-music/wip/mschraal/core] grlsearchwrapper: Limit result count
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-music/wip/mschraal/core] grlsearchwrapper: Limit result count
- Date: Sat, 13 Jul 2019 23:28:32 +0000 (UTC)
commit 95d392846a84b2aaef231b046346658e84185a9c
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]