* src/ChooseParents.py: use integers instead of strings for

relationship types
* src/PedView.py: use integers instead of strings for
relationship types
* src/ReadGedcom.py: use integers instead of strings for
relationship types
* src/ReadXML.py: use integers instead of strings for
relationship types
* src/RelLib.py: use integers instead of strings for
relationship types
* src/SelectChild.py: use integers instead of strings for
relationship types
* src/WriteXML.py: use integers instead of strings for
relationship types
* src/const.py.in: use integers instead of strings for
relationship types
* src/gramps_main.py: call database update function
* src/GrampsBSDDB.py: add database upgrade function
* src/GrampsDbBase.py: add database upgrade function


svn: r4113
This commit is contained in:
Don Allingham
2005-03-03 05:33:22 +00:00
parent 164cfe3983
commit 31f3958a1c
14 changed files with 152 additions and 171 deletions

View File

@ -1583,9 +1583,10 @@ class Gramps:
if res.get_name() == "" and owner.get_name():
self.db.set_researcher(owner)
if callback:
callback(_('Setting up bookmarks...'))
self.setup_bookmarks()
if callback and self.db.need_upgrade():
callback(_('Upgrading database...'))
self.db.upgrade()
GrampsKeys.save_last_file(name)
self.gtop.get_widget("filter").set_text("")