Yes but those will change only in response to configuration, correct? You can just have the plugin ask the user to restart calibre to have the config changes take effect.
Otherwise, if you really want to continue with adding/removing actions dynamically, the only additional wrinkle is that now you have to do
self.gui.removeAction(action_to_be_removed)
in addition to unregistering the shortcut from the keyboard manager.
|