* src/gramps_main.py: reinitialize interface after preferences

has been clicked.


svn: r2052
This commit is contained in:
Don Allingham 2003-08-27 03:46:27 +00:00
parent 43c17667e6
commit 5d18912711

View File

@ -149,7 +149,7 @@ class Gramps:
self.db.set_pprefix(GrampsCfg.pprefix)
self.clearing_tabs = 0
GrampsCfg.loadConfig(self.update_display)
GrampsCfg.loadConfig(self.pref_callback)
self.relationship = Plugins.relationship_function()
self.init_interface()
@ -280,6 +280,10 @@ class Gramps:
self.db.setResearcher(GrampsCfg.get_researcher())
def pref_callback(self,val):
self.family_view.init_interface()
self.update_display(val)
def init_interface(self):
"""Initializes the GLADE interface, and gets references to the
widgets that it will need.