Move PluginUtils/_PluginMgr.py to gen/plug/_manager.py. Now, instead of "from PluginUtils import PluginManager", use "from gen.plug import PluginManager".

svn: r11100
This commit is contained in:
Brian Matherly
2008-10-02 04:02:10 +00:00
parent 5c3bffeb21
commit 9c364490ce
120 changed files with 304 additions and 255 deletions
src
ArgHandler.pyDbLoader.pyDisplayState.pyExportAssistant.py
GrampsDbUtils
PluginUtils
QuickReports.py
ReportBase
ViewManager.py
docgen
gen
plugins

@@ -34,10 +34,9 @@ from gettext import gettext as _
#
#------------------------------------------------------------------------
import BaseDoc
from PluginUtils import PluginManager
from gen.plug import PluginManager
from gen.plug.menu import EnumeratedListOption, NumberOption, PersonOption
from ReportBase import Report, ReportUtils, MenuReportOptions, CATEGORY_DRAW, \
MODE_GUI, MODE_BKI, MODE_CLI
from ReportBase import Report, ReportUtils, MenuReportOptions, CATEGORY_DRAW
from SubstKeywords import SubstKeywords
#------------------------------------------------------------------------
@@ -439,7 +438,9 @@ pmgr.register_report(
category = CATEGORY_DRAW,
report_class = FanChart,
options_class = FanChartOptions,
modes = MODE_GUI | MODE_BKI | MODE_CLI,
modes = PluginManager.REPORT_MODE_GUI | \
PluginManager.REPORT_MODE_BKI | \
PluginManager.REPORT_MODE_CLI,
translated_name = _("Fan Chart"),
status = _("Stable"),
author_name = "Donald N. Allingham",