mirror of
https://github.com/git/git.git
synced 2024-11-01 06:47:52 +01:00
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>
This commit is contained in:
parent
c9e6bfd8a9
commit
37ebc93f6d
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,8 @@ variable group_colors {
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor new {i_commit i_path} {
|
constructor new {i_commit i_path} {
|
||||||
|
global cursor_ptr
|
||||||
|
|
||||||
set commit $i_commit
|
set commit $i_commit
|
||||||
set path $i_path
|
set path $i_path
|
||||||
|
|
||||||
|
@ -149,6 +151,7 @@ constructor new {i_commit i_path} {
|
||||||
$w_load \
|
$w_load \
|
||||||
$w_line \
|
$w_line \
|
||||||
$w_file] {
|
$w_file] {
|
||||||
|
$i conf -cursor $cursor_ptr
|
||||||
$i conf -yscrollcommand \
|
$i conf -yscrollcommand \
|
||||||
[list many2scrollbar [list \
|
[list many2scrollbar [list \
|
||||||
$w_cgrp \
|
$w_cgrp \
|
||||||
|
|
Loading…
Reference in a new issue