2006-12-22 Alex Roitman <shura@phy.ucsf.edu>

* src/GrampsDb/_WriteGedcom.py (write_source_ref): Write PAGE as a
	single line.
	* src/Editors/_EditFamily.py (build_interface): Remove extra
	show() call.
	* src/Editors/_EditMedia.py (_local_init): Remove extra show() call.
	* src/Editors/_EditEvent.py (_local_init): Remove extra show() call.
	* src/Editors/_EditRepository.py (_local_init): Remove extra
	show() call.
	* src/Editors/_EditSecondary.py (_set_size): Remove extra show() call.
	* src/Editors/_EditReference.py (_set_size): Remove extra show() call.
	* src/Editors/_EditSource.py (_local_init): Remove extra show() call.



svn: r7839
This commit is contained in:
Alex Roitman
2006-12-22 23:48:13 +00:00
parent 13260778f1
commit cb9ba78177
10 changed files with 16 additions and 11 deletions

View File

@@ -1385,9 +1385,9 @@ class GedcomWriter(UpdateCallback):
# Reference to the source
self.writeln("%d SOUR @%s@" % (level,src.get_gramps_id()))
if ref.get_page() != "":
self.write_long_text("PAGE",level+1,
self.cnvtxt(ref.get_page()))
page_text = self.cnvtxt(ref.get_page())
self.writeln('%d PAGE %s',
(level+1,page_text))
conf = ref.get_confidence_level()
# Cap the maximum level
conf = min(conf,RelLib.SourceRef.CONF_VERY_HIGH)