From: Stefan Haller Date: Sun, 14 Nov 2010 12:21:50 +0000 (+0100) Subject: gitk: Prevent the text pane from becoming editable X-Git-Url: http://privyetmir.co.uk/gitweb?a=commitdiff_plain;h=120ea892a001db97c9ee83272e0c666e9825637a;p=gitk gitk: Prevent the text pane from becoming editable When setting the "Patch/Tree" radio buttons to "Tree" and clicking on a file to display it, the text pane would accidentally become editable (because of the early return in getblobline). Signed-off-by: Stefan Haller Signed-off-by: Paul Mackerras --- diff --git a/gitk b/gitk index c5aa844..8f65900 100755 --- a/gitk +++ b/gitk @@ -7327,6 +7327,7 @@ proc getblobline {bf id} { [lindex [split $commentend .] 0]}] mark_ctext_line $lnum } + $ctext config -state disabled return 0 } $ctext config -state disabled