I#2355 - Search input field's clear button unclickable during first entry

Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2355
This commit is contained in:
Milan Crha
2023-05-10 08:42:43 +02:00
parent cab262ed07
commit 3ed75e8b15

View File

@ -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);
}
}