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:
@@ -34,7 +34,7 @@ import gobject
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.plug import PluginManager
|
||||
from gui.pluginmanager import GuiPluginManager
|
||||
from _Constants import CATEGORY_TEXT
|
||||
from _DocReportDialog import DocReportDialog
|
||||
|
||||
@@ -52,7 +52,7 @@ class _TextFormatComboBox(gtk.ComboBox):
|
||||
|
||||
gtk.ComboBox.__init__(self)
|
||||
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr = GuiPluginManager.get_instance()
|
||||
self.__textdoc_plugins = []
|
||||
for plugin in pmgr.get_docgen_plugins():
|
||||
if plugin.get_text_support():
|
||||
|
||||
Reference in New Issue
Block a user