Review Request: Switch tool actions on tool change
Sven Langkamp
sven.langkamp at gmail.com
Tue Feb 1 13:14:55 GMT 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100508/
-----------------------------------------------------------
Review request for Calligra.
Summary
-------
Currently there is a problem when you switch the input device to tablet. By default only the actions for the mouse input device are in the action collection. After switching the input device the tool is changed, but the new actions are not added to the action collection.
With the patch the actions of the old tool are taken form the action collection and the new added. Also copies the shortcuts as they might have changed.
Applications that want to use this have to provide an action collection in the canvas controller.
This addresses bug 258066.
http://bugs.kde.org/show_bug.cgi?id=258066
Diffs
-----
krita/ui/kis_view2.cpp 037a110
libs/flake/KoCanvasController.h 317548d
libs/flake/KoCanvasController.cpp 21d5f8a
libs/flake/KoToolManager.cpp 2db9bc1
libs/flake/KoToolManager_p.h 8ec6614
Diff: http://git.reviewboard.kde.org/r/100508/diff
Testing
-------
Fixes bug 258066.
Thanks,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20110201/9b9c0428/attachment.htm>
More information about the calligra-devel
mailing list