3292: register plugins, load on need, not on start of GRAMPS - GEPS 014

Improvements: gen.plug only depends on gen, relationship default is moved
to Relationship.py, and config for hidden to a gui.pluginmanager


svn: r13405
This commit is contained in:
Benny Malengier
2009-10-25 13:52:29 +00:00
parent c10da3fec5
commit d25cdc3958
28 changed files with 161 additions and 181 deletions

View File

@@ -53,7 +53,7 @@ import gtk
import const
import config
from gen.plug import PluginManager
from gui.pluginmanager import GuiPluginManager
import Utils
import ManagedWindow
@@ -132,7 +132,7 @@ class ExportAssistant(gtk.Assistant, ManagedWindow.ManagedWindow) :
self.logo = gtk.gdk.pixbuf_new_from_file(_gramps_png)
self.splash = gtk.gdk.pixbuf_new_from_file(_splash_jpg)
pmgr = PluginManager.get_instance()
pmgr = GuiPluginManager.get_instance()
self.__exporters = pmgr.get_export_plugins()
self.__previous_page = -1