svn: r5736
This commit is contained in:
Alex Roitman 2006-01-13 02:38:25 +00:00
parent d0e57b2653
commit a8da33590b

View File

@ -180,9 +180,9 @@ def importData(database, filename, cb=None, use_trans=True):
def import2(database, filename, cb, codeset, use_trans): def import2(database, filename, cb, codeset, use_trans):
# add some checking here # add some checking here
glade_file = "%s/../gedcomimport.glade" % os.path.dirname(__file__) glade_file = "%s/gedcomimport.glade" % os.path.dirname(__file__)
if not os.path.isfile(glade_file): if not os.path.isfile(glade_file):
glade_file = "../gedcomimport.glade" glade_file = "gedcomimport.glade"
statusTop = gtk.glade.XML(glade_file,"status","gramps") statusTop = gtk.glade.XML(glade_file,"status","gramps")
status_window = statusTop.get_widget("status") status_window = statusTop.get_widget("status")