From eb56fb0bd36b90ede037364f338b423b31c778d5 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 7 Aug 2001 05:08:52 +0000 Subject: [PATCH] Added Foster and None to the valid child/parent relationships svn: r301 --- gramps/src/const.py | 1 + gramps/src/gramps.glade | 5 +++-- gramps/src/gramps_main.py | 6 ++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gramps/src/const.py b/gramps/src/const.py index 005af7868..99fad21c1 100644 --- a/gramps/src/const.py +++ b/gramps/src/const.py @@ -111,6 +111,7 @@ childRelations = { _("Adopted") : "Adopted", _("Stepchild") : "Stepchild", _("Foster") : "Foster", + _("None") : "None", _("Unknown") : "Unknown", _("Other") : "Other", } diff --git a/gramps/src/gramps.glade b/gramps/src/gramps.glade index 440519ba6..48bd41367 100644 --- a/gramps/src/gramps.glade +++ b/gramps/src/gramps.glade @@ -707,7 +707,7 @@ Thu, 07 Dec 2000 14:37:54 GMT 8 - 250,60,70,150,100,1,1,1 + 250,60,70,150,100,5,5,5 GTK_SELECTION_SINGLE True GTK_SHADOW_IN @@ -946,7 +946,6 @@ 0 0 - @@ -3316,6 +3315,7 @@ Birth Adopted Stepchild +Foster None Unknown @@ -3490,6 +3490,7 @@ Unknown Birth Adopted Stepchild +Foster None Unknown diff --git a/gramps/src/gramps_main.py b/gramps/src/gramps_main.py index df8266f10..6bf916a9f 100755 --- a/gramps/src/gramps_main.py +++ b/gramps/src/gramps_main.py @@ -856,7 +856,7 @@ def on_edit_source_clicked(obj): #------------------------------------------------------------------------- def new_source_after_edit(source): database.addSource(source) - update_display(1) + update_display(0) #------------------------------------------------------------------------- # @@ -864,7 +864,7 @@ def new_source_after_edit(source): # #------------------------------------------------------------------------- def update_source_after_edit(source): - update_display(1) + update_display(0) #------------------------------------------------------------------------- # @@ -1891,8 +1891,6 @@ def new_after_edit(person): sort.build_sort_birth(bday), sort.build_sort_death(dday)]) person_list.set_row_data(0,pos) sort_person_list() - -# update_display(1) #------------------------------------------------------------------------- #