Converted gramps_main.py to a class, replace utils.py with Utils.py and

Config.py with GrampsCfg.py (for pychecker)


svn: r789
This commit is contained in:
Don Allingham
2002-02-22 03:55:32 +00:00
parent 8285071eee
commit d9c223deed
66 changed files with 2085 additions and 2513 deletions

View File

@@ -22,7 +22,7 @@
import libglade
from ReadXML import *
import utils
import Utils
import intl
_ = intl.gettext
@@ -53,7 +53,7 @@ def readData(database,active_person,cb):
glade_file = base + os.sep + "grampsimport.glade"
dic = {
"destroy_passed_object" : utils.destroy_passed_object,
"destroy_passed_object" : Utils.destroy_passed_object,
"on_ok_clicked" : on_ok_clicked
}
@@ -78,7 +78,7 @@ def on_ok_clicked(obj):
name = topDialog.get_widget("filename").get_text()
name = name + os.sep + const.indexFile
utils.destroy_passed_object(obj)
Utils.destroy_passed_object(obj)
importData(db,name,progress)
callback(1)