update RelView with db changes
svn: r6533
This commit is contained in:
parent
3c29580307
commit
15c3aee386
@ -1,4 +1,5 @@
|
|||||||
2006-05-03 Don Allingham <don@gramps-project.org>
|
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/DataViews/_FamilyList.py: Move ColumnEdit local
|
||||||
* src/ViewManager.py: remove ColumnEdit, make local
|
* src/ViewManager.py: remove ColumnEdit, make local
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ class FamilyView(PageView.PersonNavView):
|
|||||||
self, _('Relationships'), dbstate, uistate)
|
self, _('Relationships'), dbstate, uistate)
|
||||||
|
|
||||||
dbstate.connect('database-changed', self.change_db)
|
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_siblings = Config.get(Config.FAMILY_SIBLINGS)
|
||||||
self.show_details = Config.get(Config.FAMILY_DETAILS)
|
self.show_details = Config.get(Config.FAMILY_DETAILS)
|
||||||
self.connect_to_db(dbstate.db)
|
self.connect_to_db(dbstate.db)
|
||||||
@ -248,6 +248,7 @@ class FamilyView(PageView.PersonNavView):
|
|||||||
self.bookmarks.update_bookmarks(db.get_bookmarks())
|
self.bookmarks.update_bookmarks(db.get_bookmarks())
|
||||||
if self.active:
|
if self.active:
|
||||||
self.bookmarks.redraw()
|
self.bookmarks.redraw()
|
||||||
|
self.redraw()
|
||||||
|
|
||||||
def get_name(self, handle, use_gender=False):
|
def get_name(self, handle, use_gender=False):
|
||||||
if handle:
|
if handle:
|
||||||
|
Loading…
Reference in New Issue
Block a user