From 5d18912711c9d504b74e83d6b2e832e3fd0b4a76 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 27 Aug 2003 03:46:27 +0000 Subject: [PATCH] * src/gramps_main.py: reinitialize interface after preferences has been clicked. svn: r2052 --- src/gramps_main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gramps_main.py b/src/gramps_main.py index 1b41ed450..e3a0b8369 100755 --- a/src/gramps_main.py +++ b/src/gramps_main.py @@ -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.