* src/Marriage.py (on_add_clicked,on_event_update_clicked): Typos.

* src/AddSpouse.py (select_spouse_clicked): Typo.


svn: r4138
This commit is contained in:
Alex Roitman
2005-03-08 22:02:49 +00:00
parent c22dae3716
commit cff7c00db4
3 changed files with 13 additions and 7 deletions

View File

@ -1,7 +1,7 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000-2004 Donald N. Allingham
# Copyright (C) 2000-2005 Donald N. Allingham
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -264,7 +264,7 @@ class AddSpouse:
if self.person.get_gender() == RelLib.Person.MALE:
self.active_family.set_mother_handle(spouse.get_handle())
self.active_family.set_father_handle(self.person.get_handle())
else:
else:
self.active_family.set_father_handle(spouse.get_handle())
self.active_family.set_mother_handle(self.person.get_handle())
@ -277,7 +277,8 @@ class AddSpouse:
self.update(self.active_family)
m = Marriage.Marriage(self.parent, self.active_family,
self.parent.db, self.parent.new_after_edit,
self.parent.family_view.load_family)
self.parent.family_view.load_family,
self.parent.source_view.build_tree)
m.on_add_clicked()
def relation_type_changed(self,obj):