widgets: Hide move handle in Text Editor window

Since the Text Editor window uses the same
GimpTextStyleEditor widget as the on-canvas editor,
it also shows the Move handle (which doesn't work
in the Text Editor window). This patch simply hides it
so it doesn't confuse users.
This commit is contained in:
Alx Sa 2026-02-23 17:42:28 +00:00
parent 6755fa8b8d
commit bc02381f14

View file

@ -191,6 +191,8 @@ gimp_text_editor_new (const gchar *title,
style_editor = gimp_text_style_editor_new (gimp, text, text_buffer,
gimp_data_factory_get_container (gimp->font_factory),
xres, yres);
gtk_widget_set_visible (GIMP_TEXT_STYLE_EDITOR (style_editor)->dnd_handle,
FALSE);
gtk_box_pack_start (GTK_BOX (content_area), style_editor, FALSE, FALSE, 0);
gtk_widget_show (style_editor);