* src/DataViews/_RelationView.py: add toolbar buttons, catch edit

button config value change
	* src/GrampsCfg.py: reorder options


svn: r7588
This commit is contained in:
Don Allingham
2006-11-09 04:55:51 +00:00
parent 76640d9433
commit 27e1475f55
3 changed files with 17 additions and 10 deletions

View File

@@ -122,6 +122,8 @@ class RelationshipView(PageView.PersonNavView):
self.child = None
Config.client.notify_add("/apps/gramps/preferences/relation-shade",
self.shade_update)
Config.client.notify_add("/apps/gramps/interface/editbutton",
self.config_update)
def set_active(self):
PageView.PersonNavView.set_active(self)
@@ -138,6 +140,9 @@ class RelationshipView(PageView.PersonNavView):
self.uistate.modify_statusbar(self.dbstate)
self.redraw()
def config_update(self, client, cnxn_id, entry, data):
self.redraw()
def build_tree(self):
self.redraw()