* src/GrampsDb/_GrampsDbBase.py: handle close/delete of active database

* src/DbManager.py: clean up
	* src/DbState.py: issue database-changed signal on db close
	* src/GrampsDbUtils/_GedcomParse.py: fix adding of notes
	* src/DbLoader.py: don't give undo warning if importing into empty db


svn: r8347
This commit is contained in:
Don Allingham
2007-04-02 03:56:30 +00:00
parent 30ce0c5291
commit 5580ad12d3
9 changed files with 251 additions and 114 deletions

View File

@@ -86,4 +86,4 @@ class DbState(GrampsDBCallback):
self.db = GrampsDbBase()
self.active = None
self.open = False
self.emit('no-database')
self.emit('database-changed', (self.db, ))