2007-04-11 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_WriteGedcom.py (GedcomWriter.write_source_ref): replace newlines with semicolons on output. svn: r8378
This commit is contained in:
parent
553477b1d5
commit
3cade5e550
@ -1,3 +1,7 @@
|
||||
2007-04-11 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsDb/_WriteGedcom.py (GedcomWriter.write_source_ref): replace
|
||||
newlines with semicolons on output.
|
||||
|
||||
2007-04-10 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsDb/_ReadGedcom.py: add hack to force illegal "BET ABT" to be read
|
||||
as "EST BET"
|
||||
|
@ -1388,7 +1388,7 @@ class GedcomWriter(UpdateCallback):
|
||||
# Reference to the source
|
||||
self.writeln("%d SOUR @%s@" % (level,src.get_gramps_id()))
|
||||
if ref.get_page() != "":
|
||||
page_text = self.cnvtxt(ref.get_page())
|
||||
page_text = self.cnvtxt(ref.get_page().replace('\n',' ; '))
|
||||
self.writeln('%d PAGE %s' % (level+1,page_text))
|
||||
conf = ref.get_confidence_level()
|
||||
# Cap the maximum level
|
||||
|
@ -26,6 +26,7 @@
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from cStringIO import StringIO
|
||||
from xml.sax.saxutils import escape
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -395,7 +396,6 @@ class ManagedWindow:
|
||||
#-------------------------------------------------------------------------
|
||||
def set_titles(window,title,t,msg=None):
|
||||
if title:
|
||||
print escape(t)
|
||||
title.set_text('<span weight="bold" size="larger">%s</span>' % escape(t))
|
||||
title.set_use_markup(True)
|
||||
if msg:
|
||||
|
Loading…
Reference in New Issue
Block a user