summaryrefslogtreecommitdiff
path: root/plugins/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/exception.py')
-rw-r--r--plugins/exception.py2
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)