* src/MarkupText.py (MarkupBuffer.set_text): convert unicode to byte
	string for parseString.
	* src/Editors/_EditAddress.py:
	* src/Editors/_EditLdsOrd.py:
	* src/Editors/_EditSourceRef.py:
	* src/Editors/_EditEventRef.py:
	* src/Editors/_EditMedia.py:
	* src/Editors/_EditName.py:
	* src/Editors/_EditEvent.py: attach ValidatableMaskedEntry into table
	with FILL=False yoption for having the validation error tip at right
	position.



svn: r8309
This commit is contained in:
Zsolt Foldvari
2007-03-21 22:11:52 +00:00
parent e92a5979a8
commit 8c6223ba1e
9 changed files with 33 additions and 20 deletions

View File

@@ -297,7 +297,7 @@ class MarkupBuffer(gtk.TextBuffer):
def set_text(self, xmltext):
"""Set the content of the buffer with markup tags."""
try:
parseString(xmltext, self.parser)
parseString(str(xmltext), self.parser)
text = self.parser.content
except:
# if parse fails remove all tags and use clear text instead