@matheusbsbs / matheus-bagliano / commits / f1e031bbeb
Fork 0

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 <spearce@spearce.org>

Shawn O. Pearce committed Jul 5, 2007 at 22:16 UTC f1e031bbebb8910ef11f1d5d566b357b50050c56
1 file changed +3 -3
git-gui.sh
+3 -3
@@ -2149,9 +2149,9 @@ if {[is_enabled branch]} {
2149 bind . <$M1B-Key-N> do_create_branch
2150 }
2151
2152 -bind all <Key-F5> do_rescan
2153 -bind all <$M1B-Key-r> do_rescan
2154 -bind all <$M1B-Key-R> do_rescan
2152 +bind . <Key-F5> do_rescan
2153 +bind . <$M1B-Key-r> do_rescan
2154 +bind . <$M1B-Key-R> do_rescan
2155 bind . <$M1B-Key-s> do_signoff
2156 bind . <$M1B-Key-S> do_signoff
2157 bind . <$M1B-Key-i> do_add_all