Update of /cvsroot/freevo/freevo/skins/dischi1
In directory sc8-pr-cvs1:/tmp/cvs-serv23560
Modified Files:
xml_skin.py
Log Message:
Added text as content
Index: xml_skin.py
===================================================================
RCS file: /cvsroot/freevo/freevo/skins/dischi1/xml_skin.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** xml_skin.py 5 Mar 2003 21:57:15 -0000 1.19
--- xml_skin.py 6 Mar 2003 21:42:57 -0000 1.20
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.20 2003/03/06 21:42:57 dischi
+ # Added text as content
+ #
# Revision 1.19 2003/03/05 21:57:15 dischi
# Added audio player. The info area is empty right now, but this skin
***************
*** 367,373 ****
--- 370,378 ----
'height', 'font', 'align', 'valign', 'color'))
self.types = {}
+ self.cdata = ''
def parse(self, node, scale, current_dir):
XML_data.parse(self, node, scale, current_dir)
+ self.cdata = node.textof()
for subnode in node.children:
if subnode.name == u'item':
***************
*** 376,381 ****
--- 381,388 ----
self.types[type] = XML_data(('font', 'align', 'valign'))
self.types[type].rectangle = None
+ self.types[type].cdata = ''
if type:
self.types[type].parse(subnode, scale, current_dir)
+ self.types[type].cdata = subnode.textof()
for rnode in subnode.children:
if rnode.name == u'rectangle':
***************
*** 386,389 ****
--- 393,397 ----
self.types['default'] = XML_data(('font',))
self.types['default'].rectangle = None
+ self.types['default'].cdata = ''
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog