From 785e1f2cb2fcd32426931d47fbca72c23ccc06ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Fri, 24 Apr 2009 19:11:04 +0200 Subject: Make the new widget structure work. At least for the Plugin Menu --- plugins/exception.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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) -- cgit v1.2.3