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

@@ -44,7 +44,7 @@ import gobject
#
#-------------------------------------------------------------------------
import const
import Utils
from gui.utils import ProgressMeter
from PluginUtils import Tool
from gen.plug import PluginManager
from QuestionDialog import OkDialog
@@ -117,7 +117,7 @@ class PatchNames(Tool.BatchTool, ManagedWindow.ManagedWindow):
self.prefix1_list = []
self.prefix2_list = []
self.progress = Utils.ProgressMeter(
self.progress = ProgressMeter(
_('Extracting Information from Names'), '')
self.progress.set_pass(_('Analyzing names'),
self.db.get_number_of_people())