summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-09-14 00:52:34 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-09-14 00:52:47 (GMT)
commitbba060462c8732a5cb46ea00165198a9579517ae (patch)
tree01833ff3fcc6759f266640a309fed30a70496b43 /lib
parentc8c4854bec30b03b8e3a56a9b5e52ff358210140 (diff)
downloadgit-bba060462c8732a5cb46ea00165198a9579517ae.zip
git-bba060462c8732a5cb46ea00165198a9579517ae.tar.gz
git-bba060462c8732a5cb46ea00165198a9579517ae.tar.bz2
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/browser.tcl4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/browser.tcl b/lib/browser.tcl
index 9876229..3ba5c3a 100644
--- a/lib/browser.tcl
+++ b/lib/browser.tcl
@@ -47,9 +47,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]
+ $w_list tag conf in_sel -background lightgray
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