* src/GrampsBSDDB.py: go back to a single load function;

finish gramps_upgrade_9.
* src/ViewManager: Go back to the old way of load/upgrade.


svn: r5558
This commit is contained in:
Alex Roitman
2005-12-15 21:26:55 +00:00
parent 9a6ddb1b73
commit 04e8f39991
3 changed files with 151 additions and 62 deletions

View File

@@ -682,14 +682,10 @@ class ViewManager:
#self.state.db.set_undo_callback(self.undo_callback)
#self.state.db.set_redo_callback(self.redo_callback)
#if self.state.db.need_upgrade():
# print "start callback"
# if callback:
# callback(_('Upgrading database...'))
# print "done callback"
# print "start upgrade"
# self.state.db.gramps_upgrade()
# print "done upgrade"
if self.state.db.need_upgrade():
if callback:
callback(_('Upgrading database...'))
self.state.db.gramps_upgrade()
GrampsKeys.save_last_file(name)