Skip to content

Commit

Permalink
git-gui: Focus into blame panels on Mac OS.
Browse files Browse the repository at this point in the history
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  • Loading branch information
Shawn O. Pearce committed Feb 9, 2007
1 parent 486ef52 commit d585e78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion git-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3339,7 +3339,7 @@ proc show_blame {commit path} {
$w.out.linenumber_t \\
$w.out.file_t \\
$i @%x,%y
break
focus $i
"
bind_button3 $i "
set cursorX %x
Expand All @@ -3349,6 +3349,7 @@ proc show_blame {commit path} {
"
}

bind $w.cm.t <Button-1> "focus $w.cm.t"
bind $tl <Visibility> "focus $tl"
bind $tl <Destroy> "
array unset blame_status {$w}
Expand Down Expand Up @@ -3428,6 +3429,7 @@ proc read_blame_incremental {fd w w_load w_cmit w_line w_file} {
$w_file tag conf g$cmit
$w_line tag raise in_sel
$w_file tag raise in_sel
$w_file tag raise sel
set blame_data($w,$cmit,order) $blame_data($w,commit_count)
incr blame_data($w,commit_count)
lappend blame_data($w,commit_list) $cmit
Expand Down

0 comments on commit d585e78

Please sign in to comment.