summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-04-24 19:11:04 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-04-24 19:11:04 +0200
commit785e1f2cb2fcd32426931d47fbca72c23ccc06ea (patch)
treefef77b8af7ceda731f35244914db78a58dcfea00 /plugins
parent4c1d61cb71a396f09969ed264c91ebfff29145c1 (diff)
downloadportato-785e1f2cb2fcd32426931d47fbca72c23ccc06ea.tar.gz
portato-785e1f2cb2fcd32426931d47fbca72c23ccc06ea.tar.bz2
portato-785e1f2cb2fcd32426931d47fbca72c23ccc06ea.zip
Make the new widget structure work. At least for the Plugin Menu
Diffstat (limited to 'plugins')
-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)