Code

gitk: Add accelerators to frequently used menu commands
authorAlexander Gavrilov <angavrilov@gmail.com>
Sun, 9 Nov 2008 10:00:45 +0000 (13:00 +0300)
committerPaul Mackerras <paulus@samba.org>
Thu, 13 Nov 2008 10:40:39 +0000 (21:40 +1100)
commitcea07cf8dc9b3677e0c50433c0d72bce83adbdc7
treeaa676ce493048e8b300d1bfa0c8387491d1a8b7a
parentdbc4941facba9f43f1b95af254d667425d383d45
gitk: Add accelerators to frequently used menu commands

This commit documents keyboard accelerators used for menu
commands in the menu, as it is usually done, and adds some
more, e.g. F4 to invoke Edit View (or New View if the current
view is the un-editable "All files" view).

The changes include a workaround for handling Shift-F4 on
systems where XKB binds special XF86_Switch_VT_* symbols
to Ctrl-Alt-F* combinations.  Tk often receives these codes
when Shift-F* is pressed, so it is necessary to bind the
relevant actions to them as well.

Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk