gschem: Use action positions instead of -hotkey action variants.
commitea048063d8d2820a2b771ba4615b0e6227922668
authorPeter TB Brett <peter@peter-b.co.uk>
Sun, 1 Sep 2013 21:19:01 +0000 (1 22:19 +0100)
committerPeter TB Brett <peter@peter-b.co.uk>
Sun, 1 Sep 2013 21:19:01 +0000 (1 22:19 +0100)
tree71d1e01aaa447c2552612c3fae41a001eac23886
parentc2487dcd059a3443ebfaca69906e6c1024289175
gschem: Use action positions instead of -hotkey action variants.

Many gschem actions have "-hotkey" variants that are used for
keybindings so that they begin the editing action immediately rather
than waiting for the user to specify a starting point by clicking.

By checking for an action position, both variants can easily be
implemented in a single function.

Although this means that people can no longer hack their gschemrc
files to require the extra clicks, this is not a widely-exploited
capability.  Being able to make each action a single function makes
this change worthwhile.
gschem/include/prototype.h
gschem/lib/system-gschemrc.scm
gschem/src/g_keys.c
gschem/src/g_register.c
gschem/src/i_callbacks.c