]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-gui: Fix selected text colors
authorSerg Tereshchenko <serg.partizan@gmail.com>
Sun, 22 Nov 2020 13:32:33 +0000 (15:32 +0200)
committerPratyush Yadav <me@yadavpratyush.com>
Thu, 17 Dec 2020 20:19:18 +0000 (01:49 +0530)
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>
Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>
lib/themed.tcl

index 02aae90144a9f5fee864ff4295c61fc9641ed953..244c061391520ebbb72cb6807b047ce222051136 100644 (file)
@@ -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
        }
 }