summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-06-01 06:59:21 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-06-06 05:26:45 (GMT)
commit37ebc93f6dddb6d73034f027873266eef1e3e774 (patch)
tree5eb71b8db38c3b3712a2b31f0e4c4d8790f9921a /lib
parentc9e6bfd8a9a18c12d01e0d96c74ca0a7f64a2846 (diff)
downloadgit-37ebc93f6dddb6d73034f027873266eef1e3e774.zip
git-37ebc93f6dddb6d73034f027873266eef1e3e774.tar.gz
git-37ebc93f6dddb6d73034f027873266eef1e3e774.tar.bz2
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/blame.tcl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/blame.tcl b/lib/blame.tcl
index 8616009..33596cd 100644
--- a/lib/blame.tcl
+++ b/lib/blame.tcl
@@ -38,6 +38,8 @@ variable group_colors {
}
constructor new {i_commit i_path} {
+ global cursor_ptr
+
set commit $i_commit
set path $i_path
@@ -149,6 +151,7 @@ constructor new {i_commit i_path} {
$w_load \
$w_line \
$w_file] {
+ $i conf -cursor $cursor_ptr
$i conf -yscrollcommand \
[list many2scrollbar [list \
$w_cgrp \