search-button: Use 'search-changed' signal

It uses a 150ms delay, which helps with reducing the number of
queries we do.
This commit is contained in:
Georges Basile Stavracas Neto
2023-03-16 09:28:30 -03:00
parent 485a6cf5a7
commit 4b15e7647c
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -52,7 +52,7 @@
<object class="GtkSearchEntry" id="entry">
<property name="max-width-chars">0</property>
<property name="width-chars">0</property>
<signal name="notify::text" handler="on_entry_text_changed_cb" object="GcalSearchButton" swapped="no" />
<signal name="search-changed" handler="on_entry_search_changed_cb" object="GcalSearchButton" swapped="no" />
<child>
<object class='GtkShortcutController'>