]> asedeno.scripts.mit.edu Git - git.git/blobdiff - lib/browser.tcl
git-gui: if a background colour is set, set foreground colour as well
[git.git] / lib / browser.tcl
index 3ba5c3a1fa41970b039b0f9d1cc5234a889a139a..ab470d12648c1dd3560b411e70ea210cc4381e3e 100644 (file)
@@ -39,7 +39,8 @@ constructor new {commit {path {}}} {
 
        frame $w.list
        set w_list $w.list.l
-       text $w_list -background white -borderwidth 0 \
+       text $w_list -background white -foreground black \
+               -borderwidth 0 \
                -cursor $cursor_ptr \
                -state disabled \
                -wrap none \
@@ -47,7 +48,7 @@ constructor new {commit {path {}}} {
                -width 70 \
                -xscrollcommand [list $w.list.sbx set] \
                -yscrollcommand [list $w.list.sby set]
-       $w_list tag conf in_sel -background lightgray
+       rmsel_tag $w_list
        scrollbar $w.list.sbx -orient h -command [list $w_list xview]
        scrollbar $w.list.sby -orient v -command [list $w_list yview]
        pack $w.list.sbx -side bottom -fill x