* src/Plugins.py: Use doc lists from PluginMgr.

* src/Exporter.py: Use exports list from PluginMgr.
* src/plugins/BookReport.py: Import Plugins module.
* src/NameEdit.py (NameEditor.__init__): Typos.


svn: r3881
This commit is contained in:
Alex Roitman
2005-01-08 00:20:42 +00:00
parent c47db9780f
commit bad8f0ba76
5 changed files with 30 additions and 23 deletions

View File

@@ -49,7 +49,7 @@ import gnome.ui
#-------------------------------------------------------------------------
import const
import Utils
import Plugins
import PluginMgr
import QuestionDialog
import GrampsKeys
@@ -376,7 +376,7 @@ class Exporter:
def build_exports(self):
"""
This method builds its own list of available exports.
The list is built from the Plugins._exports list
The list is built from the PluginMgr.export_list list
and from the locally defined exports (i.e. native export defined here).
"""
native_title = _('GRAMPS _GRDB database')
@@ -390,4 +390,4 @@ class Exporter:
self.exports = [ (native_export,native_title,native_description,
native_config,native_ext) ]
self.exports = self.exports + [ item for item in Plugins._exports ]
self.exports = self.exports + [ item for item in PluginMgr.export_list ]