X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=lib%2Fbrowser.tcl;h=ab470d12648c1dd3560b411e70ea210cc4381e3e;hb=0c87a951c2970ec5fe204c3743b467819ee42a64;hp=987622933cc1aacc3156a8ddbe9a122c2245a940;hpb=c8dd7f62e8b335681099cdcec2b01aeaad646813;p=git.git diff --git a/lib/browser.tcl b/lib/browser.tcl index 987622933..ab470d126 100644 --- a/lib/browser.tcl +++ b/lib/browser.tcl @@ -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,9 +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 [$w_list cget -foreground] \ - -foreground [$w_list cget -background] + 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