From: Shawn O. Pearce Date: Fri, 6 Jul 2007 02:16:38 +0000 (-0400) Subject: git-gui: Don't bind F5/M1-R in all windows X-Git-Tag: gitgui-0.7.5~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f1e031bbebb8910ef11f1d5d566b357b50050c56;p=git.git git-gui: Don't bind F5/M1-R in all windows We actually only want our F5/M1-R keystroke bound in the main window. Within a browser/blame/console window pressing these keys should not execute the rescan action. Signed-off-by: Shawn O. Pearce --- diff --git a/git-gui.sh b/git-gui.sh index 6b7321bb0..a1cf873e3 100755 --- a/git-gui.sh +++ b/git-gui.sh @@ -2149,9 +2149,9 @@ if {[is_enabled branch]} { bind . <$M1B-Key-N> do_create_branch } -bind all do_rescan -bind all <$M1B-Key-r> do_rescan -bind all <$M1B-Key-R> do_rescan +bind . do_rescan +bind . <$M1B-Key-r> do_rescan +bind . <$M1B-Key-R> do_rescan bind . <$M1B-Key-s> do_signoff bind . <$M1B-Key-S> do_signoff bind . <$M1B-Key-i> do_add_all