diff --git a/gramps/src/SelectChild.py b/gramps/src/SelectChild.py index 88483d1c8..aa5c7cfd1 100644 --- a/gramps/src/SelectChild.py +++ b/gramps/src/SelectChild.py @@ -62,7 +62,6 @@ class SelectChild: self.xml = libglade.GladeXML(const.gladeFile,"selectChild") self.xml.signal_autoconnect({ - "on_combo_insert_text" : utils.combo_insert_text, "on_save_child_clicked" : self.on_save_child_clicked, "on_show_toggled" : self.on_show_toggled, "destroy_passed_object" : utils.destroy_passed_object @@ -222,7 +221,7 @@ class NewChild: self.xml = libglade.GladeXML(const.gladeFile,"addChild") self.xml.signal_autoconnect({ "on_addchild_ok_clicked" : self.on_addchild_ok_clicked, - "on_combo_insert_text" : self.combo_insert_text, + "on_edit_new_child" : self.on_edit_new_child, "on_male_toggled" : self.on_male_toggled, "on_female_toggled" : self.on_female_toggled, "on_gender_toggled" : self.on_gender_toggled, @@ -386,4 +385,12 @@ class NewChild: self.update(self.family,person) utils.modified() utils.destroy_passed_object(obj) + self.new_child = person + + def on_edit_new_child(self,obj): + import EditPerson + + self.on_addchild_ok_clicked(obj) + EditPerson.EditPerson(self.new_child,self.db) + diff --git a/gramps/src/const.py b/gramps/src/const.py index 4d2a04f26..b56c6281c 100644 --- a/gramps/src/const.py +++ b/gramps/src/const.py @@ -91,7 +91,7 @@ gtkrcFile = "%s/gtkrc" % rootDir # #------------------------------------------------------------------------- progName = "gramps" -version = "0.7.1pre-snap20020106" +version = "0.7.1pre-snap20020115" copyright = "© 2001 Donald N. Allingham" authors = ["Donald N. Allingham", "David Hampton"] comments = _("Gramps (Genealogical Research and Analysis Management Programming System) is a personal genealogy program.") diff --git a/gramps/src/gramps.glade b/gramps/src/gramps.glade index d3cc4adce..e16302e5b 100644 --- a/gramps/src/gramps.glade +++ b/gramps/src/gramps.glade @@ -6367,10 +6367,19 @@ Unknown True clicked - destroy_passed_object + on_edit_new_child addChild - Wed, 14 Feb 2001 02:53:18 GMT + Tue, 15 Jan 2002 14:31:28 GMT + + GNOME_STOCK_PIXMAP_PROPERTIES + + + + GtkButton + button147 + True + True GNOME_STOCK_BUTTON_CANCEL @@ -6389,6 +6398,7 @@ Unknown GtkLabel newTitle + 450 GTK_JUSTIFY_CENTER False @@ -6427,58 +6437,6 @@ Unknown True - - GtkLabel - label190 - - GTK_JUSTIFY_CENTER - False - 1 - 0.5 - 5 - 5 - - 0 - 1 - 1 - 2 - 5 - 5 - False - False - False - False - True - False - - - - - GtkLabel - label191 - - GTK_JUSTIFY_CENTER - False - 1 - 0.5 - 5 - 5 - - 0 - 1 - 2 - 3 - 5 - 5 - False - False - False - False - True - False - - - GtkLabel flabel @@ -6496,7 +6454,7 @@ Unknown 4 5 5 - False + True False False False @@ -6522,7 +6480,7 @@ Unknown 1 5 0 - True + False False False False @@ -6531,6 +6489,124 @@ Unknown + + GtkEntry + surname + True + True + True + 0 + + + 1 + 2 + 1 + 2 + 5 + 0 + False + False + False + False + True + False + + + + + GtkCombo + mcombo + True + False + True + True + False + Birth +Adopted +Stepchild +None +Unknown + + + 1 + 2 + 4 + 5 + 5 + 5 + False + False + False + False + True + False + + + + GtkEntry + GtkCombo:entry + frel + True + + insert_text + on_combo_insert_text + fcombo + Thu, 18 Oct 2001 01:59:26 GMT + + False + True + 0 + Birth + + + + + GtkCombo + fcombo + True + False + True + True + False + Birth +Adopted +Stepchild +None +Unknown + + + 1 + 2 + 3 + 4 + 5 + 5 + False + False + False + False + True + False + + + + GtkEntry + GtkCombo:entry + mrel + True + + insert_text + on_combo_insert_text + mcombo + Thu, 18 Oct 2001 01:59:11 GMT + + False + True + 0 + Birth + + + GtkHBox hbox18 @@ -6548,7 +6624,7 @@ Unknown False False True - True + False @@ -6612,65 +6688,6 @@ Unknown - - GtkHBox - hbox19 - True - 0 - - 1 - 2 - 3 - 4 - 5 - 0 - False - False - False - False - True - True - - - - GtkCombo - fcombo - True - False - True - True - False - Birth -Adopted -Stepchild -None -Unknown - - - 0 - False - True - - - - GtkEntry - GtkCombo:entry - mrel - True - - insert_text - on_combo_insert_text - mcombo - Thu, 18 Oct 2001 01:59:11 GMT - - False - True - 0 - Birth - - - - GtkLabel label189 @@ -6688,7 +6705,59 @@ Unknown 1 5 5 - False + True + False + False + False + True + False + + + + + GtkLabel + label190 + + GTK_JUSTIFY_CENTER + False + 1 + 0.5 + 5 + 5 + + 0 + 1 + 1 + 2 + 5 + 5 + True + False + False + False + True + False + + + + + GtkLabel + label191 + + GTK_JUSTIFY_CENTER + False + 1 + 0.5 + 5 + 5 + + 0 + 1 + 2 + 3 + 5 + 5 + True False False False @@ -6714,77 +6783,6 @@ Unknown 5 5 5 - False - False - False - False - True - False - - - - - GtkCombo - mcombo - True - False - True - True - False - Birth -Adopted -Stepchild -None -Unknown - - - 1 - 2 - 4 - 5 - 5 - 5 - True - False - False - False - True - False - - - - GtkEntry - GtkCombo:entry - frel - True - - insert_text - on_combo_insert_text - fcombo - Thu, 18 Oct 2001 01:59:26 GMT - - False - True - 0 - Birth - - - - - GtkEntry - surname - True - True - True - 0 - - - 1 - 2 - 1 - 2 - 5 - 0 True False False