display, widgets: Change Navigation/Selection editor UI...

...for dark mode.

The Navigation and Selection Editor
docks use GIMP_ICON_TEXTURE as their
default background when there's no
active image. On dark mode, this creates
large bright areas in the UI.
This patch removes the calls to
gimp_view_renderer_set_background ()
for these docks so the theme background
is used instead.
This commit is contained in:
Alx Sa 2026-01-19 17:47:11 +00:00
parent f1d9c1f825
commit cf41831a58
2 changed files with 0 additions and 5 deletions

View file

@ -485,9 +485,6 @@ gimp_navigation_editor_new_private (GimpMenuFactory *menu_factory,
gtk_widget_show (editor->zoom_label);
}
gimp_view_renderer_set_background (GIMP_VIEW (editor->view)->renderer,
GIMP_ICON_TEXTURE);
return GTK_WIDGET (editor);
}

View file

@ -121,8 +121,6 @@ gimp_selection_editor_init (GimpSelectionEditor *editor)
GIMP_TYPE_SELECTION,
GIMP_VIEW_SIZE_HUGE,
0, TRUE);
gimp_view_renderer_set_background (GIMP_VIEW (editor->view)->renderer,
GIMP_ICON_TEXTURE);
gtk_widget_set_size_request (editor->view,
GIMP_VIEW_SIZE_HUGE, GIMP_VIEW_SIZE_HUGE);
gimp_view_set_expand (GIMP_VIEW (editor->view), TRUE);