From: Gabriele Mazzotta Date: Sat, 15 Nov 2014 14:05:06 +0000 (+0100) Subject: gitk: Enable mouse horizontal scrolling in diff pane X-Git-Tag: v2.4.0-rc0~18^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=122b80799249be33e66a4f716fdca6d80635a05e;p=thirdparty%2Fgit.git gitk: Enable mouse horizontal scrolling in diff pane Currently it's required to hold Shift and scroll up and down to move horizontally. Listen to Button-6 and Button-7 events too to make horizontal scrolling handier with touchpads and some mice. Signed-off-by: Gabriele Mazzotta Signed-off-by: Paul Mackerras --- diff --git a/gitk b/gitk index 462f966948..d42f28340f 100755 --- a/gitk +++ b/gitk @@ -2516,6 +2516,13 @@ proc makewindow {} { } else { bindall "allcanvs yview scroll -5 units" bindall "allcanvs yview scroll 5 units" + bind $ctext