widgets: Turn off default search in ComponentEditor

Resolves #9324
In GTK3, a default "Search" is enabled by default in GtkTreeView.
While in most places we override this with our own search feature,
it was not explicitly set for the GtkTreeView in the GimpComponentEditor
in the Channel dockable. So, it defaulted to TRUE and created an
unnecessary pop-up whenever you typed after clicking a channel.

This patch calls gtk_tree_view_set_enable_search () and turns off
this default feature.
This commit is contained in:
Alx Sa 2025-10-27 13:27:45 +00:00
parent fe4924a0f2
commit cb552d3dc0

View file

@ -132,6 +132,7 @@ gimp_component_editor_init (GimpComponentEditor *editor)
g_object_unref (list);
gtk_tree_view_set_headers_visible (editor->view, FALSE);
gtk_tree_view_set_enable_search (editor->view, FALSE);
editor->eye_column = gtk_tree_view_column_new ();
gtk_tree_view_append_column (editor->view, editor->eye_column);