* src/ReadXML.py: read the patronymic portion of a name properly.

svn: r5178
This commit is contained in:
Don Allingham 2005-09-04 22:37:24 +00:00
parent cb81a1a9f9
commit 1bf7432260
4 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,6 @@
2005-09-04 Don Allingham <don@gramps-project.org>
* src/ReadXML.py: read the patronymic portion of a name properly.
2005-09-04 Eero Tamminen <eerot@sf> 2005-09-04 Eero Tamminen <eerot@sf>
* src/DateParser.py: Added support for modifiers being both * src/DateParser.py: Added support for modifiers being both
before and after a date before and after a date

View File

@ -98,7 +98,7 @@
<screenshot> <screenshot>
<mediaobject> <mediaobject>
<imageobject> <imageobject>
<imagedata fileref="figures/researcher.png" format="PNG" width="510" depth="369"/> <imagedata fileref="figures/researcher.png" format="PNG" width="510px" depth="369px"/>
</imageobject> </imageobject>
<textobject> <textobject>
<phrase>Shows Researcher Information Window. </phrase> <phrase>Shows Researcher Information Window. </phrase>
@ -140,7 +140,7 @@
<screenshot> <screenshot>
<mediaobject> <mediaobject>
<imageobject> <imageobject>
<imagedata fileref="figures/first-open.png" format="PNG"/> <imagedata fileref="figures/first-open.png" format="PNG" width="311px" depth="199px"/>
</imageobject> </imageobject>
<textobject> <textobject>
<phrase>Shows Open Database Window.</phrase> <phrase>Shows Open Database Window.</phrase>

View File

@ -36,7 +36,7 @@
<screenshot> <screenshot>
<mediaobject> <mediaobject>
<imageobject> <imageobject>
<imagedata fileref="figures/mainwin.png" format="PNG"/> <imagedata fileref="figures/mainwin.png" format="PNG" width="500" depth="352"/>
</imageobject> </imageobject>
<textobject> <textobject>
<phrase> <phrase>

View File

@ -327,6 +327,7 @@ class GrampsParser:
"status" : (self.start_status, None), "status" : (self.start_status, None),
"sealed_to" : (self.start_sealed_to, None), "sealed_to" : (self.start_sealed_to, None),
"coord" : (self.start_coord,None), "coord" : (self.start_coord,None),
"patronymic" : (None, self.stop_patronymic),
"pos" : (self.start_pos, None), "pos" : (self.start_pos, None),
"postal" : (None, self.stop_postal), "postal" : (None, self.stop_postal),
"researcher" : (None, self.stop_research), "researcher" : (None, self.stop_research),
@ -1249,6 +1250,10 @@ class GrampsParser:
if self.name: if self.name:
self.name.set_suffix(tag) self.name.set_suffix(tag)
def stop_patronymic(self,tag):
if self.name:
self.name.set_patronymic(tag)
def stop_title(self,tag): def stop_title(self,tag):
if self.name: if self.name:
self.name.set_title(tag) self.name.set_title(tag)