diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-04-24 19:11:04 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-04-24 19:11:04 +0200 |
commit | 785e1f2cb2fcd32426931d47fbca72c23ccc06ea (patch) | |
tree | fef77b8af7ceda731f35244914db78a58dcfea00 /plugins/exception.py | |
parent | 4c1d61cb71a396f09969ed264c91ebfff29145c1 (diff) | |
download | portato-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 '')
-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) |