changed doc for can_shortcuts

This commit is contained in:
Andreas Preikschat 2013-02-20 07:45:00 +01:00
parent c2b5c65756
commit 4e3a4f1e59

View File

@ -250,9 +250,9 @@ def create_action(parent, name, **kwargs):
The action's data. The action's data.
``can_shortcuts`` ``can_shortcuts``
Boolean stating if this action has shortcuts or if it can have shortcuts. If ``True`` the action is added to Capability stating if this action can have shortcuts. If ``True`` the action is added to shortcut dialog
shortcut dialog. **Note**: Never set the shortcuts yourselt; use the :class:`~openlp.core.lib.Settings` class otherwise it it not. Define your shortcut in the :class:`~openlp.core.lib.Settings` class. *Note*: When *not*
to define the action's shortcuts. ``True`` you *must not* set a shortcuts at all.
``context`` ``context``
A context for the shortcut execution. A context for the shortcut execution.