From 3ed75e8b15416c6be258555aa10ffdddf030d5f4 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 10 May 2023 08:42:43 +0200 Subject: [PATCH] I#2355 - Search input field's clear button unclickable during first entry Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2355 --- src/shell/e-shell-searchbar.c | 3 +++ 1 file changed, 3 insertions(+) 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); } }