-
Committer:
Lionel Dricot
-
Date:
2009-11-21 15:58:30 UTC
-
mfrom:
(365.1.6 gtg)
-
mto:
This revision was merged to the branch mainline in
revision
369.
-
Revision ID:
ploum@ploum.net-20091121155830-qsephx8jcqmie099
Plugins are now instantly applied. ( bug #475877 )
This introduced a change in the plugin API and a refacorization on how plugins work. Now, on deactivate, eache plugin should also clean the task editor. This has been done for all the plugins currently in Trunk.
It should also be noted that plugins should follow more closely PEP8 for important rules (like declaring all the global variables in the constructor)
4 new functions are now availables in the plugin API :
is_editor
is_browser
remove_item_from_task_toolbar
remove_widget_from_taskeditor
Each window (browser or editor) has now its own PluginAPI object.