diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/exception.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/exception.py b/plugins/exception.py index 0dc6105..23065e6 100644 --- a/plugins/exception.py +++ b/plugins/exception.py @@ -16,5 +16,5 @@ def throw (*args, **kwargs): p = Plugin() p.__name__ = "ExceptionThrower" p.__author__ = "René 'Necoro' Neumann" -p.add_menu("Throw exception", throw) +p.create_widget("Plugin Menu", "Throw exception", activate = throw) register(p) |