Menu- and icon-specific button configurations#2
Menu- and icon-specific button configurations#2jgehring wants to merge 8 commits intomarkusfisch:masterfrom
Conversation
This centralizes the duplicate mouse button parsing code in Settings::load() and Settings:readMenu().
This ensures that button configurations in menus will be assigned to the correct menu or menu item.
The previous method missed menu changes (a menu item opens another menu).
The description is more verbose now, and two examples have been added.
|
Merged manually with a few little changes. Thanks for contributing! |
|
Hi Jonas, your changes are merged! New version number is 1.4.0. Thanks a lot for contributing! Did a little clean up before the merge. Updating version number, minor Also I hope, you're okay with being mentioned in AUTHORS and PieDock -h. Regards, PS: On Sat, 23 Jul 2011 19:11:32 +0200, jgehring
O ,- Markus Fisch |
|
Hi Markus, Thanks for merging! I'm fine with being mentioned in the AUTHORS file, of course :) You're right about the context flag. On a first attempt, I used it to store the last token inside the parsing loop, and didn't think about using an enumeration later. Regards, |
Hi Markus,
As already discussed, here's an implementation for defining mouse button actions for individual menus and icons.
Regards,
Jonas