gitk: moving all three panes if clicking on an arrow.
authorStefan-W. Hahn <stefan.hahn@s-hahn.de>
Sat, 5 Nov 2005 19:55:29 +0000 (20:55 +0100)
committerJunio C Hamano <junkio@cox.net>
Sat, 19 Nov 2005 08:24:40 +0000 (00:24 -0800)
Signed-off-by: Stefan-W. Hahn <stefan.hahn@s-hahn.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitk

diff --git a/gitk b/gitk
index 29220b1da24f1ca467bda6c43a80a416e07073ad..ab2d9b8adf177f685c10a64882b66bafb31119d2 100755 (executable)
--- 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} {