From: Shawn O. Pearce Date: Sat, 11 Nov 2006 20:16:01 +0000 (-0500) Subject: git-gui: Change accelerator for "Include All" to M1-I. X-Git-Tag: gitgui-0.6.0~266 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=49b86f010c3f2d6576a8fba45c5c6b9a23f76fa0;p=git.git git-gui: Change accelerator for "Include All" to M1-I. Now that we call the update-index all files action "Include All" it makes more sense to make this M1-I (so Control-I or Command-I depending on platform) than M1-U, which stood for update but is somewhat confusing to users. Signed-off-by: Shawn O. Pearce --- diff --git a/git-gui b/git-gui index aa73aa3de..20c36c2d2 100755 --- a/git-gui +++ b/git-gui @@ -1560,7 +1560,7 @@ lappend disable_on_lock \ [list .mbar.commit entryconf [.mbar.commit index last] -state] .mbar.commit add command -label {Include All Files} \ -command do_include_all \ - -accelerator $M1T-U \ + -accelerator $M1T-I \ -font $mainfont lappend disable_on_lock \ [list .mbar.commit entryconf [.mbar.commit index last] -state] @@ -1779,14 +1779,17 @@ eval .vpane.files sash place 0 [lindex $repo_config(gui.geometry) 0 2] # -- Key Bindings bind $ui_comm <$M1B-Key-Return> {do_commit;break} +bind $ui_comm <$M1B-Key-i> {do_include_all;break} +bind $ui_comm <$M1B-Key-I> {do_include_all;break} + bind . do_quit bind all do_rescan bind all <$M1B-Key-r> do_rescan bind all <$M1B-Key-R> do_rescan bind . <$M1B-Key-s> do_signoff bind . <$M1B-Key-S> do_signoff -bind . <$M1B-Key-u> do_include_all -bind . <$M1B-Key-U> do_include_all +bind . <$M1B-Key-i> do_include_all +bind . <$M1B-Key-I> do_include_all bind . <$M1B-Key-Return> do_commit bind all <$M1B-Key-q> do_quit bind all <$M1B-Key-Q> do_quit