* src/gramps_main.py: reinitialize interface after preferences
has been clicked. svn: r2052
This commit is contained in:
parent
ba34fb283d
commit
b06bb6251d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user