diff options
author | Milan Crha <mcrha@redhat.com> | 2023-05-10 08:42:43 +0200 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2023-05-10 08:42:43 +0200 |
commit | 3ed75e8b15416c6be258555aa10ffdddf030d5f4 (patch) | |
tree | bce8ae64fc00c48ce4d1772f0fcc076488052231 | |
parent | cab262ed078c86b267b30a9fb358beb207d63323 (diff) | |
download | evolution-3ed75e8b15416c6be258555aa10ffdddf030d5f4.tar.gz |
I#2355 - Search input field's clear button unclickable during first entry
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2355
-rw-r--r-- | src/shell/e-shell-searchbar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shell/e-shell-searchbar.c b/src/shell/e-shell-searchbar.c index 9bbc96ea4f..9aea082037 100644 --- a/src/shell/e-shell-searchbar.c +++ b/src/shell/e-shell-searchbar.c @@ -373,6 +373,9 @@ shell_searchbar_entry_changed_cb (EShellSearchbar *searchbar) action = E_SHELL_WINDOW_ACTION_SEARCH_QUICK (shell_window); gtk_action_set_sensitive (action, sensitive); + + action = E_SHELL_WINDOW_ACTION_SEARCH_CLEAR (shell_window); + gtk_action_set_sensitive (action, sensitive || e_shell_view_get_search_rule (shell_view) != NULL); } } |