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>
Stefan-W. Hahn committed
Nov 5, 2005 at 20:55 UTC
e3fe532ddce7311cfbbdc98d2e157d33f6275231
1 file changed
+3
-1
gitk
+3
-1
@@ -3158,7 +3158,7 @@ proc clickisonarrow {id y} {
3158
}
3159
3160
proc arrowjump {id dirn y} {
3161
- global mainline sidelines canv
3161
+ global mainline sidelines canv canv2 canv3
3162
3163
set yt {}
3164
if {$dirn eq "down"} {
@@ -3196,6 +3196,8 @@ proc arrowjump {id dirn y} {
3196
set yfrac 0
3197
}
3198
$canv yview moveto $yfrac
3199
+ $canv2 yview moveto $yfrac
3200
+ $canv3 yview moveto $yfrac
3201
}
3202
3203
proc lineclick {x y id isnew} {