From 4d22c0505f85b83f73c580049c74c5a7c7e0a5d4 Mon Sep 17 00:00:00 2001 From: Serg Tereshchenko Date: Sun, 22 Nov 2020 15:32:33 +0200 Subject: [PATCH] git-gui: Fix selected text colors Added selected state colors for text widget. Same colors for active and inactive selection, to match previous behaviour. Signed-off-by: Serg Tereshchenko Signed-off-by: Pratyush Yadav --- lib/themed.tcl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/themed.tcl b/lib/themed.tcl index 02aae90144..244c061391 100644 --- a/lib/themed.tcl +++ b/lib/themed.tcl @@ -34,8 +34,10 @@ namespace eval color { } add_option *Text.Background $text_bg add_option *Text.Foreground $text_fg - add_option *Text.HighlightBackground $base_bg - add_option *Text.HighlightColor $select_bg + add_option *Text.selectBackground $select_bg + add_option *Text.selectForeground $select_fg + add_option *Text.inactiveSelectBackground $select_bg + add_option *Text.inactiveSelectForeground $select_fg } } -- 2.39.5