From 3aa13afdfd6450534d2ff62b68b4b17050bd67fe Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Mon, 19 Jan 2026 17:47:11 +0000 Subject: [PATCH] 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. (cherry picked from commit cf41831a58a8dc432a30d0ca321cfbe54f0374b1) --- app/display/gimpnavigationeditor.c | 3 --- app/widgets/gimpselectioneditor.c | 2 -- 2 files changed, 5 deletions(-) diff --git a/app/display/gimpnavigationeditor.c b/app/display/gimpnavigationeditor.c index 18950aa174..77f5d53ac1 100644 --- a/app/display/gimpnavigationeditor.c +++ b/app/display/gimpnavigationeditor.c @@ -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); } diff --git a/app/widgets/gimpselectioneditor.c b/app/widgets/gimpselectioneditor.c index 5320b35ae0..a8245623ed 100644 --- a/app/widgets/gimpselectioneditor.c +++ b/app/widgets/gimpselectioneditor.c @@ -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);