* src/filters/Complete.py: Add filter matching people with the

complete flag.
* src/GenericFilter.py (HasCompleteRecord): Add rule matching people
with the complete records.
* src/RelLib.py (Source.setAbbrev, Source.getAbbrev): Add functions.
* src/WriteXML.py (write_xml_data): Save abbreviation info for sources.
* src/GrampsParser.py (GrampsParser.stop_sabbrev): Parse abbreviation.
* src/gramps.glade (sourceEditor): Add widgets for Call Number and
Abbreviation.
* src/EditSource.py: Support Call Number and Abbreviation.
* src/plugins/ReadGedcom.py (parse_source): Parse abbreviation.
* src/plugins/WriteGedcom.py (write_sources): Export abbreviation.
* NEWS: Update.


svn: r2463
This commit is contained in:
Alex Roitman
2003-12-08 02:23:53 +00:00
parent 325efe438e
commit 5907d97571
11 changed files with 236 additions and 36 deletions

View File

@@ -470,11 +470,7 @@ class GedcomParser:
else:
note = "%s %s%s" % (matches[1],matches[2],d)
elif matches[1] == "ABBR":
d = self.parse_continue_data(level+1)
if note:
note = "%s\n%s %s%s" % (note,matches[1],matches[2],d)
else:
note = "%s %s%s" % (matches[1],matches[2],d)
self.source.setAbbrev(matches[2] + self.parse_continue_data(level+1))
else:
if note:
note = "%s\n%s %s" % (note,matches[1],matches[2])