From 64cf55da7059e2a93b84e19f7fcb47a96faf6ddc Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Tue, 17 Feb 2026 12:37:18 +0000 Subject: [PATCH] themes: Define NDE popover theme colors When we switched the NDE popover to use GimpRow instead of GtkTreeView, it inherited the `list row` style which is inverted in comparison. This resulted in the "selected" filter looking like an unselected row and vice versa. This patch adds a more specific version of the theme to GimpRow when it exists in the NDE popover widget, to prevent this confusion. --- themes/Default/common.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/themes/Default/common.css b/themes/Default/common.css index e0deacc736..91d3c8e98a 100644 --- a/themes/Default/common.css +++ b/themes/Default/common.css @@ -614,8 +614,9 @@ GimpSpinScale button:nth-child(odd) { /* Checkboxes */ checkbutton, checkbutton.text-button, radiobutton, radiobutton.text-button, checkbutton label { - color: @fg-color; + color: @fg-color; background-color: @bg-color; + outline-style: none; } checkbutton:hover, checkbutton.text-button:hover, checkbutton:hover label, radiobutton:hover, checkbutton label:hover { @@ -872,6 +873,7 @@ statusbar progressbar progress { list, list row { background-color: @widget-bg-color; + outline-style: none; } list row:selected { @@ -882,6 +884,16 @@ list row:hover { background-color: @hover-color; } +/* NDE Popover */ +popover scrolledwindow list, popover list row { + background-color: @extreme-bg-color; + color: @fg-color; +} + +popover list row:selected { + background-color: @extreme-selected-color; +} + /* GtkSwitch buttons */ switch {