GEPS008: Fix update_constants call in preferences

svn: r19818
This commit is contained in:
Nick Hall 2012-06-10 13:28:10 +00:00
parent 29e96820d9
commit 58d7914312

View File

@ -52,6 +52,7 @@ import gen.datehandler
from gen.display.name import displayer as _nd from gen.display.name import displayer as _nd
from gen.display.name import NameDisplayError from gen.display.name import NameDisplayError
import Utils import Utils
from gen.utils.alive import update_constants
import gen.lib import gen.lib
from gen.lib import Name, Surname, NameOriginType from gen.lib import Name, Surname, NameOriginType
from gui.managedwindow import ManagedWindow from gui.managedwindow import ManagedWindow
@ -445,7 +446,7 @@ class GrampsPreferences(ConfigureDialog):
) )
ConfigureDialog.__init__(self, uistate, dbstate, page_funcs, ConfigureDialog.__init__(self, uistate, dbstate, page_funcs,
GrampsPreferences, config, GrampsPreferences, config,
on_close=Utils.update_constants) on_close=update_constants)
def add_researcher_panel(self, configdialog): def add_researcher_panel(self, configdialog):
table = gtk.Table(3, 8) table = gtk.Table(3, 8)