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:
src
ArgHandler.pyDbLoader.pyDisplayState.pyExportAssistant.py
GrampsDbUtils
PluginUtils
QuickReports.pyReportBase
_BookFormatComboBox.py_CommandLineReport.py_Constants.py_DrawFormatComboBox.py_TextFormatComboBox.py
ViewManager.pydocgen
gen
plugins
AgeOnDate.pyAncestorReport.pyAncestorTree.pyBookReport.pyCalculateEstimatedDates.pyCalendar.pyChangeNames.pyChangeTypes.pyCheck.pyCmdRef.pyCustomBookText.pyDateParserDisplayTest.pyDesbrowser.pyDescendReport.pyDescendTree.pyDetAncestralReport.pyDetDescendantReport.pyDumpGenderStats.pyEndOfLineReport.pyEval.pyEventCmp.pyEventNames.pyExportCSV.pyExportVCalendar.pyExportVCard.pyExtractCity.pyFamilyGroup.pyFanChart.pyFilterByName.pyFindDupes.pyGVFamilyLines.pyGVHourGlass.pyGVRelGraph.pyImportCSV.pyImportGeneWeb.pyImportProGen.pyImportvCard.pyIndivComplete.pyKinshipReport.pyLeak.pyMarkerReport.pyMediaManager.pyNarrativeWeb.pyNotRelated.pyNumberOfAncestorsReport.pyOnThisDay.pyOwnerEditor.pyPatchNames.pyPlaceReport.pyQuery.pyReadGrdb.pyReadPkg.pyRebuild.pyRebuildRefMap.pyReferences.pyRelCalc.pyRemoveUnused.pyReorderIds.pyReporef.pySameSurnames.pySimpleBookTitle.pySoundGen.pyStatisticsChart.pySummary.pyTestcaseGenerator.pyTimeLine.pyVerify.pyWebCal.pyWriteCD.pyWriteFtree.pyWriteGeneWeb.pyWritePkg.pyall_events.pyall_relations.pylineage.pyrel_cs.pyrel_da.pyrel_de.pyrel_es.pyrel_fi.pyrel_fr.pyrel_hu.pyrel_it.pyrel_nl.pyrel_no.pyrel_pl.pyrel_pt.pyrel_ru.pyrel_sk.pyrel_sv.pysiblings.py
@@ -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",
|
||||
|
Reference in New Issue
Block a user