update RelView with db changes

svn: r6533
This commit is contained in:
Don Allingham 2006-05-03 18:33:31 +00:00
parent 9ae72e2cdc
commit db2d3ec2c4
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2006-05-03 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyView.py: update on db change
* src/DataViews/_FamilyList.py: Move ColumnEdit local
* src/ViewManager.py: remove ColumnEdit, make local

View File

@ -84,7 +84,7 @@ class FamilyView(PageView.PersonNavView):
self, _('Relationships'), dbstate, uistate)
dbstate.connect('database-changed', self.change_db)
dbstate.connect('active-changed', self.change_person)
dbstate.connect('active-changed', self.redraw)
self.show_siblings = Config.get(Config.FAMILY_SIBLINGS)
self.show_details = Config.get(Config.FAMILY_DETAILS)
self.connect_to_db(dbstate.db)
@ -248,6 +248,7 @@ class FamilyView(PageView.PersonNavView):
self.bookmarks.update_bookmarks(db.get_bookmarks())
if self.active:
self.bookmarks.redraw()
self.redraw()
def get_name(self, handle, use_gender=False):
if handle: