[PATCH] git-gui: Fix selected text colors
- From
Serg Tereshchenko <serg.partizan@gmail.com>
- Date
- Nov 22, 2020, 13:32 UTC
- Message-ID
- <20201122133233.7077-1-serg.partizan@gmail.com>
- In-Reply-To
- <7553c99f-1dea-0c1d-e5b0-2103333a76b7@haller-berlin.de>
Stefan, please check if this fixes select colors for you.
--- 8< ---
Added selected state colors for text widget.
Same colors for active and inactive selection, to match previous behaviour.
Signed-off-by: Serg Tereshchenko <serg.partizan@gmail.com> --- lib/themed.tcl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/themed.tcl b/lib/themed.tcl index 83e3ac7..eda5f8c 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.29.2