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

@@ -37,7 +37,7 @@ import gtk
#
#-------------------------------------------------------------------------
import const
import Utils
from gui.utils import ProgressMeter
import GrampsDisplay
import ManagedWindow
@@ -81,7 +81,7 @@ class ChangeNames(Tool.BatchTool, ManagedWindow.ManagedWindow):
if self.fail:
return
self.progress = Utils.ProgressMeter(_('Checking Family Names'),'')
self.progress = ProgressMeter(_('Checking Family Names'),'')
self.progress.set_pass(_('Searching family names'),
len(self.db.get_surname_list()))
self.name_list = []