[gnome-text-editor] openpopover: incremental updating of filter model



commit 79e412db03e91d2534000f38afbcee56f3807db5
Author: Christian Hergert <chergert redhat com>
Date:   Thu Oct 28 20:55:02 2021 -0700

    openpopover: incremental updating of filter model

 src/editor-open-popover.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/editor-open-popover.c b/src/editor-open-popover.c
index 3040ca9..e7705cc 100644
--- a/src/editor-open-popover.c
+++ b/src/editor-open-popover.c
@@ -154,6 +154,7 @@ on_search_entry_changed_cb (EditorOpenPopover *self,
                                       g_free);
       filter = gtk_filter_list_model_new (g_object_ref (G_LIST_MODEL (self->model)),
                                           g_object_ref (GTK_FILTER (custom)));
+      gtk_filter_list_model_set_incremental (filter, TRUE);
       model = G_LIST_MODEL (filter);
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]