[libdazzle] suggestions: increase cached row count
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] suggestions: increase cached row count
- Date: Sun, 17 Dec 2017 11:19:36 +0000 (UTC)
commit f9d2ac12dac727ea22997c90e340bb090e7fb142
Author: Christian Hergert <chergert redhat com>
Date: Sun Dec 17 03:17:56 2017 -0800
suggestions: increase cached row count
We don't have a good place to set this yet, and increasing this
value increases search performance in Builder quite a bit. So
until we get a proper API for this, just cheat.
src/suggestions/dzl-suggestion-popover.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/suggestions/dzl-suggestion-popover.c b/src/suggestions/dzl-suggestion-popover.c
index a4fb521..3020e9d 100644
--- a/src/suggestions/dzl-suggestion-popover.c
+++ b/src/suggestions/dzl-suggestion-popover.c
@@ -568,6 +568,8 @@ dzl_suggestion_popover_init (DzlSuggestionPopover *self)
G_CALLBACK (dzl_suggestion_popover_list_box_row_selected),
self,
G_CONNECT_SWAPPED);
+
+ dzl_list_box_set_recycle_max (self->list_box, 50);
}
GtkWidget *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]