* 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:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user