git-gui: Make the tree browser also use lightgray selection
In 9adccb05 Matthijs Melchior changed our selection colors in the main index/working directory file lists to use a lightgray as the background color as this made the UI easier to read on all platforms. When we did that change we missed doing also doing in the file browser UI. Doing so just makes the entire thing UI consistent. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce committed
Sep 13, 2007 at 20:52 UTC
bba060462c8732a5cb46ea00165198a9579517ae
1 file changed
+1
-3
lib/browser.tcl
+1
-3
@@ -47,9 +47,7 @@ constructor new {commit {path {}}} {
47
-width 70 \
48
-xscrollcommand [list $w.list.sbx set] \
49
-yscrollcommand [list $w.list.sby set]
50
- $w_list tag conf in_sel \
51
- -background [$w_list cget -foreground] \
52
- -foreground [$w_list cget -background]
50
+ $w_list tag conf in_sel -background lightgray
51
scrollbar $w.list.sbx -orient h -command [list $w_list xview]
52
scrollbar $w.list.sby -orient v -command [list $w_list yview]
53
pack $w.list.sbx -side bottom -fill x