git-gui: Disable native platform text selection in "lists"
[gitweb.git] / lib / browser.tcl
index 888db3c889fabbeb221aa9d8c6aab044105f039b..31349009aebcd769472fa4b912d1068b27b770af 100644 (file)
@@ -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]
+       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