2007-10-03 Benny Malengier <benny.malengier@gramps-project.org>

* src/DataViews/_PedigreeView.py: correctly load bookmarks, issue 1271
	* src/DataViews/_RelationView.py: correctly load bookmarks, issue 1271



svn: r9062
This commit is contained in:
Benny Malengier 2007-10-03 08:31:27 +00:00
parent d46255b577
commit 900e70e199
3 changed files with 17 additions and 12 deletions

View File

@ -1,3 +1,7 @@
2007-10-03 Benny Malengier <benny.malengier@gramps-project.org>
* src/DataViews/_PedigreeView.py: correctly load bookmarks, issue 1271
* src/DataViews/_RelationView.py: correctly load bookmarks, issue 1271
2007-10-01 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDb/_DbUtils.py: do deep copy of bookmarks from old to new db
* src/GrampsDb/_GrampsXMLDB.py: in load_from: load correct bookmarks

View File

@ -637,7 +637,7 @@ class PedigreeView(PageView.PersonNavView):
db.connect('family-delete', self.person_rebuild)
db.connect('family-rebuild', self.person_rebuild)
self.bookmarks.update_bookmarks(self.dbstate.db.get_bookmarks())
if self.dbstate.active:
if self.active:
self.bookmarks.redraw()
self.build_tree()

View File

@ -360,6 +360,7 @@ class RelationshipView(PageView.PersonNavView):
self.dbstate.db.connect('person-add', self.redraw)
self.dbstate.db.connect('person-delete', self.redraw)
self.bookmarks.update_bookmarks(db.get_bookmarks())
if self.active:
self.bookmarks.redraw()
self.redraw()