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

svn: r13400
This commit is contained in:
Benny Malengier
2009-10-24 13:53:20 +00:00
parent d1fbb2bff9
commit ed619cfdd6
195 changed files with 4123 additions and 3371 deletions

View File

@ -39,7 +39,6 @@ from gettext import gettext as _
#
#------------------------------------------------------------------------
from PluginUtils import Tool
from gen.plug import PluginManager
import ManagedWindow
from glade import Glade
@ -105,24 +104,3 @@ class EvalOptions(Tool.ToolOptions):
def __init__(self, name,person_id=None):
Tool.ToolOptions.__init__(self, name,person_id)
#------------------------------------------------------------------------
#
#
#
#------------------------------------------------------------------------
if __debug__:
pmgr = PluginManager.get_instance()
pmgr.register_tool(
name = 'eval',
category = Tool.TOOL_DEBUG,
tool_class = Eval,
options_class = EvalOptions,
modes = PluginManager.TOOL_MODE_GUI,
translated_name = _("Python Evaluation Window"),
status = _("Stable"),
author_name = "Donald N. Allingham",
author_email = "don@gramps-project.org",
description = _("Provides a window that can evaluate python code")
)