General clean up

svn: r923
This commit is contained in:
Don Allingham
2002-04-14 14:49:02 +00:00
parent 46a61ad114
commit f5354e9a18
21 changed files with 1838 additions and 1790 deletions

View File

@@ -47,6 +47,11 @@ import sort
import Utils
import GrampsCfg
#-------------------------------------------------------------------------
#
# AddSpouse
#
#-------------------------------------------------------------------------
class AddSpouse:
"""
Displays the AddSpouse dialog, allowing the user to create a new
@@ -189,7 +194,11 @@ class AddSpouse:
index = index + 1
self.spouse_list.thaw()
#-------------------------------------------------------------------------
#
# SetSpouse
#
#-------------------------------------------------------------------------
class SetSpouse:
"""
Displays the AddSpouse dialog, allowing the user to create a new
@@ -284,7 +293,8 @@ class SetSpouse:
spouse.addFamily(self.family)
self.family.setRelationship(const.save_frel(self.relation_type.get_text()))
reltype = self.relation_type.get_text()
self.family.setRelationship(const.save_frel(reltype))
Utils.destroy_passed_object(obj)
self.update(self.family)
@@ -317,4 +327,3 @@ class SetSpouse:
self.spouse_list.set_row_data(index,person)
index = index + 1
self.spouse_list.thaw()