aboutsummaryrefslogtreecommitdiff
path: root/gitk
diff options
context:
space:
mode:
authorStefan-W. Hahn <stefan.hahn@s-hahn.de>2005-11-05 20:55:29 +0100
committerJunio C Hamano <junkio@cox.net>2005-11-19 00:24:40 -0800
commite3fe532ddce7311cfbbdc98d2e157d33f6275231 (patch)
treef2941f4801810c082f5851425d4c02101bc3c936 /gitk
parentfd913b39101c6ff185e76e459479621c9b475fa1 (diff)
downloadgit-e3fe532ddce7311cfbbdc98d2e157d33f6275231.tar.gz
git-e3fe532ddce7311cfbbdc98d2e157d33f6275231.tar.xz
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>
Diffstat (limited to 'gitk')
-rwxr-xr-xgitk4
1 files changed, 3 insertions, 1 deletions
diff --git a/gitk b/gitk
index 29220b1da..ab2d9b8ad 100755
--- a/gitk
+++ b/gitk
@@ -3158,7 +3158,7 @@ proc clickisonarrow {id y} {
}
proc arrowjump {id dirn y} {
- global mainline sidelines canv
+ global mainline sidelines canv canv2 canv3
set yt {}
if {$dirn eq "down"} {
@@ -3196,6 +3196,8 @@ proc arrowjump {id dirn y} {
set yfrac 0
}
$canv yview moveto $yfrac
+ $canv2 yview moveto $yfrac
+ $canv3 yview moveto $yfrac
}
proc lineclick {x y id isnew} {