* src/GrampsDb/_GrampsBSDDB.py (update_empty,update_real): Add

functions for updating the display;
	(gramps_upgrade): Set up display updaters;
	(gramps_upgrade_9): Reflect progess of db upgrade.
	(low_level_9): Return status and length of the db.
	(_table_low_level_9): Return table length if successful.
	* src/ViewManager.py (post_load): Remove database upgrade, since
	db.load takes care of upgrade.


svn: r6143
This commit is contained in:
Alex Roitman
2006-03-14 19:49:34 +00:00
parent 9159ead0ad
commit 87b930dbae
3 changed files with 53 additions and 17 deletions

View File

@ -801,11 +801,6 @@ class ViewManager:
self.setup_bookmarks()
if self.state.db.need_upgrade():
if callback:
callback(_('Upgrading database...'))
self.state.db.gramps_upgrade()
self.state.db.request_rebuild()
Config.save_last_file(name)