Split Utils in a non GUI and GUI part

move GrampsCfg utils to Utils
improve import strategy


svn: r12680
This commit is contained in:
Benny Malengier
2009-06-19 15:23:58 +00:00
parent 0ac67e8a59
commit 9d417e2cd6
40 changed files with 327 additions and 405 deletions

View File

@ -48,6 +48,7 @@ log = logging.getLogger('.ImportProGen')
#
#-------------------------------------------------------------------------
import Utils
from gui.utils import ProgressMeter
import gen.lib
from QuestionDialog import ErrorDialog
from gen.plug import PluginManager, ImportPlugin
@ -488,7 +489,7 @@ class ProgenParser(object):
self.skeys = {} # Caching source handles
def parse_progen_file(self):
self.progress = Utils.ProgressMeter(_("Import from Pro-Gen"), '')
self.progress = ProgressMeter(_("Import from Pro-Gen"), '')
self.def_ = PG30_Def(self.fname)
#print self.def_.diag()