From 1cf00e2a8afd18fd118083a4829cd38448863105 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 21 May 2003 20:15:50 +0000 Subject: [PATCH] Don't connect models until loaded svn: r1565 --- gramps2/src/ChooseParents.py | 6 ++++++ gramps2/src/gramps.glade | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gramps2/src/ChooseParents.py b/gramps2/src/ChooseParents.py index 6327fac9c..229928c32 100644 --- a/gramps2/src/ChooseParents.py +++ b/gramps2/src/ChooseParents.py @@ -149,6 +149,9 @@ class ChooseParents: self.fmodel.clear() self.mmodel.clear() + self.fmodel.new_model() + self.mmodel.new_model() + pkey = self.person.getId() gender = self.person.getGender() if self.father: @@ -194,6 +197,9 @@ class ChooseParents: self.mlabel.set_label("%s" % _("Mother")) self.flabel.set_label("%s" % _("Father")) + self.fmodel.connect_model() + self.mmodel.connect_model() + def not_likely(self,person): """ Rough attempt to eliminate a few non-realistic relationships. If the person diff --git a/gramps2/src/gramps.glade b/gramps2/src/gramps.glade index fb26779f4..22019063b 100644 --- a/gramps2/src/gramps.glade +++ b/gramps2/src/gramps.glade @@ -3037,7 +3037,7 @@ GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False - 550 + 650 500 True False