@matheusbsbs / matheus-bagliano / commits / 49b86f010c
Fork 0

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

Shawn O. Pearce committed Nov 11, 2006 at 15:16 UTC 49b86f010c3f2d6576a8fba45c5c6b9a23f76fa0
1 file changed +6 -3
git-gui
+6 -3
@@ -1560,7 +1560,7 @@ lappend disable_on_lock \
1560 [list .mbar.commit entryconf [.mbar.commit index last] -state]
1561 .mbar.commit add command -label {Include All Files} \
1562 -command do_include_all \
1563 - -accelerator $M1T-U \
1563 + -accelerator $M1T-I \
1564 -font $mainfont
1565 lappend disable_on_lock \
1566 [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]
1779
1780 # -- Key Bindings
1781 bind $ui_comm <$M1B-Key-Return> {do_commit;break}
1782 +bind $ui_comm <$M1B-Key-i> {do_include_all;break}
1783 +bind $ui_comm <$M1B-Key-I> {do_include_all;break}
1784 +
1785 bind . <Destroy> do_quit
1786 bind all <Key-F5> do_rescan
1787 bind all <$M1B-Key-r> do_rescan
1788 bind all <$M1B-Key-R> do_rescan
1789 bind . <$M1B-Key-s> do_signoff
1790 bind . <$M1B-Key-S> do_signoff
1788 -bind . <$M1B-Key-u> do_include_all
1789 -bind . <$M1B-Key-U> do_include_all
1791 +bind . <$M1B-Key-i> do_include_all
1792 +bind . <$M1B-Key-I> do_include_all
1793 bind . <$M1B-Key-Return> do_commit
1794 bind all <$M1B-Key-q> do_quit
1795 bind all <$M1B-Key-Q> do_quit