From 7159bbc26f797d8daa558c75fda2956750d1b87c Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sun, 22 Feb 2004 05:08:40 +0000 Subject: [PATCH] Update svn: r2889 --- gramps2/src/EditPerson.py | 2 +- gramps2/src/GrampsParser.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gramps2/src/EditPerson.py b/gramps2/src/EditPerson.py index 70ffe0bde..392e6157a 100644 --- a/gramps2/src/EditPerson.py +++ b/gramps2/src/EditPerson.py @@ -355,7 +355,7 @@ class EditPerson: "on_add_aka_clicked" : self.on_add_aka_clicked, "on_add_attr_clicked" : self.on_add_attr_clicked, "on_add_url_clicked" : self.on_add_url_clicked, - "on_addphoto_clicked" : self.gallery.on_add_media_object_clicked, + "on_addphoto_clicked" : self.gallery.on_add_photo_clicked, "on_selectphoto_clicked" : self.gallery.on_select_photo_clicked, "on_aka_delete_clicked" : self.on_aka_delete_clicked, "on_aka_update_clicked" : self.on_aka_update_clicked, diff --git a/gramps2/src/GrampsParser.py b/gramps2/src/GrampsParser.py index c1eef0b59..514875179 100644 --- a/gramps2/src/GrampsParser.py +++ b/gramps2/src/GrampsParser.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000-2003 Donald N. Allingham +# Copyright (C) 2000-2004 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 @@ -423,7 +423,7 @@ class GrampsParser: def start_last(self,attrs): if attrs.has_key('prefix'): - self.name.set_prefix(attrs['prefix']) + self.name.set_surname_prefix(attrs['prefix']) def start_note(self,attrs): self.in_note = 1