@matheusbsbs / matheus-bagliano / commits / 37ebc93f6d
Fork 0

git-gui: Use arror cursor in blame viewer file data

Since we don't allow the user to select text from the file viewer right now I'm disabling the normal text cursor and putting in a plain arror instead. This way users don't think they can select and copy text, because they can't. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

Shawn O. Pearce committed Jun 1, 2007 at 02:59 UTC 37ebc93f6dddb6d73034f027873266eef1e3e774
1 file changed +3
lib/blame.tcl
+3
@@ -38,6 +38,8 @@ variable group_colors {
38 }
39
40 constructor new {i_commit i_path} {
41 + global cursor_ptr
42 +
43 set commit $i_commit
44 set path $i_path
45
@@ -149,6 +151,7 @@ constructor new {i_commit i_path} {
151 $w_load \
152 $w_line \
153 $w_file] {
154 + $i conf -cursor $cursor_ptr
155 $i conf -yscrollcommand \
156 [list many2scrollbar [list \
157 $w_cgrp \