* src/gramps_main.py: reinitialize interface after preferences
has been clicked. svn: r2052
This commit is contained in:
parent
43c17667e6
commit
5d18912711
@ -149,7 +149,7 @@ class Gramps:
|
|||||||
self.db.set_pprefix(GrampsCfg.pprefix)
|
self.db.set_pprefix(GrampsCfg.pprefix)
|
||||||
self.clearing_tabs = 0
|
self.clearing_tabs = 0
|
||||||
|
|
||||||
GrampsCfg.loadConfig(self.update_display)
|
GrampsCfg.loadConfig(self.pref_callback)
|
||||||
self.relationship = Plugins.relationship_function()
|
self.relationship = Plugins.relationship_function()
|
||||||
self.init_interface()
|
self.init_interface()
|
||||||
|
|
||||||
@ -280,6 +280,10 @@ class Gramps:
|
|||||||
|
|
||||||
self.db.setResearcher(GrampsCfg.get_researcher())
|
self.db.setResearcher(GrampsCfg.get_researcher())
|
||||||
|
|
||||||
|
def pref_callback(self,val):
|
||||||
|
self.family_view.init_interface()
|
||||||
|
self.update_display(val)
|
||||||
|
|
||||||
def init_interface(self):
|
def init_interface(self):
|
||||||
"""Initializes the GLADE interface, and gets references to the
|
"""Initializes the GLADE interface, and gets references to the
|
||||||
widgets that it will need.
|
widgets that it will need.
|
||||||
|
Loading…
Reference in New Issue
Block a user