gitk: moving all three panes if clicking on an arrow.

Signed-off-by: Stefan-W. Hahn <stefan.hahn@s-hahn.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Stefan-W. Hahn 2005-11-05 20:55:29 +01:00 committed by Junio C Hamano
parent fd913b3910
commit e3fe532ddc

4
gitk
View File

@ -3158,7 +3158,7 @@ proc clickisonarrow {id y} {
} }
proc arrowjump {id dirn y} { proc arrowjump {id dirn y} {
global mainline sidelines canv global mainline sidelines canv canv2 canv3
set yt {} set yt {}
if {$dirn eq "down"} { if {$dirn eq "down"} {
@ -3196,6 +3196,8 @@ proc arrowjump {id dirn y} {
set yfrac 0 set yfrac 0
} }
$canv yview moveto $yfrac $canv yview moveto $yfrac
$canv2 yview moveto $yfrac
$canv3 yview moveto $yfrac
} }
proc lineclick {x y id isnew} { proc lineclick {x y id isnew} {