* src/GrampsDbBase.py: add "request_rebuild" to encapsulate rebuild

requests in the database instance
* src/ReadXML.py: use request_rebuild instead of directly emitting s
ignals
* src/ReadGedCom.py: use request_rebuild instead of directly emitting
signals


svn: r4292
This commit is contained in:
Don Allingham
2005-04-04 16:41:01 +00:00
parent 81b7affc66
commit 1504585907
4 changed files with 22 additions and 13 deletions

View File

@ -498,10 +498,7 @@ class GedcomParser:
if use_trans:
self.db.transaction_commit(self.trans,_("GEDCOM import"))
else:
self.db.emit('person-rebuild')
self.db.emit('family-rebuild')
self.db.emit('place-rebuild')
self.db.emit('source-rebuild')
self.db.request_rebuild()
if self.window:
self.infomsg("\n%s" % msg)