summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-06-20 23:27:08 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-06-20 23:27:08 -0400
commitfe813d4e80426971ce17f6ea03f97bc1e26383a1 (patch)
treee40d9ae21a315f3b7b8785856e10b15d848e02f9 /lib
parentgit-gui: Quiet our installation process (diff)
parentgit-gui: Bind Tab/Shift-Tab to cycle between panes in blame (diff)
downloadtgif-fe813d4e80426971ce17f6ea03f97bc1e26383a1.tar.xz
Merge branch 'maint'
* maint: git-gui: Bind Tab/Shift-Tab to cycle between panes in blame git-gui: Correctly install to /usr/bin on Cygwin
Diffstat (limited to 'lib')
-rw-r--r--lib/blame.tcl6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/blame.tcl b/lib/blame.tcl
index 139171d39e..076233c3c3 100644
--- a/lib/blame.tcl
+++ b/lib/blame.tcl
@@ -272,6 +272,8 @@ constructor new {i_commit i_path} {
set cursorW %W
tk_popup $w.ctxm %X %Y
"
+ bind $i <Shift-Tab> "[list focus $w_cviewer];break"
+ bind $i <Tab> "[list focus $w_cviewer];break"
}
foreach i [concat $w_columns $w_cviewer] {
@@ -287,8 +289,10 @@ constructor new {i_commit i_path} {
bind $i <Control-Key-f> {catch {%W yview scroll 1 pages};break}
}
+ bind $w_cviewer <Shift-Tab> "[list focus $w_file];break"
+ bind $w_cviewer <Tab> "[list focus $w_file];break"
bind $w_cviewer <Button-1> [list focus $w_cviewer]
- bind $top <Visibility> [list focus $top]
+ bind $w_file <Visibility> [list focus $w_file]
grid configure $w.header -sticky ew
grid configure $w.file_pane -sticky nsew