search-button: React to 'stop-search' signal
Quit the search entry state when the search entry emits stop-search, usually that's when Escape is pressed when the search entry is focused. Closes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/830
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
<property name="max-width-chars">0</property>
|
||||
<property name="width-chars">0</property>
|
||||
<signal name="search-changed" handler="on_entry_search_changed_cb" object="GcalSearchButton" swapped="no" />
|
||||
<signal name="stop-search" handler="on_entry_stop_search_cb" object="GcalSearchButton" swapped="no" />
|
||||
|
||||
<child>
|
||||
<object class='GtkShortcutController'>
|
||||
|
||||
Reference in New Issue
Block a user