* src/GrampsDb/_WriteGedcom.py: export QUAY
svn: r6901
This commit is contained in:
parent
a49d39d698
commit
e76143f428
@ -3,6 +3,7 @@
|
|||||||
to EditFamily windows. This prevents the EditPerson window from
|
to EditFamily windows. This prevents the EditPerson window from
|
||||||
trying to trying to access a non-existent window and causing a
|
trying to trying to access a non-existent window and causing a
|
||||||
segfault
|
segfault
|
||||||
|
* src/GrampsDb/_WriteGedcom.py: export QUAY
|
||||||
|
|
||||||
2006-06-15 Don Allingham <don@gramps-project.org>
|
2006-06-15 Don Allingham <don@gramps-project.org>
|
||||||
* src/GrampsDb/_GrampsDbBase.py: prevent null event types and
|
* src/GrampsDb/_GrampsDbBase.py: prevent null event types and
|
||||||
|
@ -154,6 +154,14 @@ mime2ged = {
|
|||||||
"image/tiff" : "tiff",
|
"image/tiff" : "tiff",
|
||||||
"audio/x-wav" : "wav"
|
"audio/x-wav" : "wav"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
quay_map = {
|
||||||
|
RelLib.SourceRef.CONF_VERY_HIGH : 3,
|
||||||
|
RelLib.SourceRef.CONF_HIGH : 2,
|
||||||
|
RelLib.SourceRef.CONF_LOW : 1,
|
||||||
|
RelLib.SourceRef.CONF_VERY_LOW : 0,
|
||||||
|
}
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
@ -1334,7 +1342,11 @@ class GedcomWriter(UpdateCallback):
|
|||||||
if ref.get_page() != "":
|
if ref.get_page() != "":
|
||||||
self.write_long_text("PAGE",level+1,
|
self.write_long_text("PAGE",level+1,
|
||||||
self.cnvtxt(ref.get_page()))
|
self.cnvtxt(ref.get_page()))
|
||||||
|
|
||||||
|
conf = ref.get_confidence_level()
|
||||||
|
if conf != RelLib.SourceRef.CONF_NORMAL:
|
||||||
|
self.write_long_text("QUAY",level+1, str(quay_map[conf]))
|
||||||
|
|
||||||
ref_text = ref.get_text()
|
ref_text = ref.get_text()
|
||||||
if ref_text != "" or not ref.get_date_object().is_empty():
|
if ref_text != "" or not ref.get_date_object().is_empty():
|
||||||
self.writeln('%d DATA' % (level+1))
|
self.writeln('%d DATA' % (level+1))
|
||||||
|
Loading…
Reference in New Issue
Block a user