[Geany-devel] keybinding order issues

Enrico Tröger enrico.troeger at xxxxx
Sun Jul 6 18:07:09 UTC 2008


On Fri, 4 Jul 2008 15:08:27 +0100, Nick Treleaven
<nick.treleaven at btinternet.com> wrote:

> Hi,
> I'm thinking about changing the keybindings_send_command() /
> keybinding enums code, for two reasons:
> [...]
> 
> To solve this, we could have the GEANY_KEYS_ commands share a single
> enum, but unsorted so we can append items as needed. All the group
> enums could be moved into keybindings.c, renaming them so all the
> existing code works without changes. The only function that would need
> updating would be keybindings_send_command(), plus storing the
> GEANY_KEYS_ enum value in each keybinding struct, so that function can
> find the callback.

Yes, sounds fine and sounds like another bunch of much code to
rewrite :D.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20080706/90e8c74c/attachment.pgp>


More information about the Devel mailing list