Update of /cvsroot/freevo/freevo/src/util
In directory sc8-pr-cvs1:/tmp/cvs-serv9948
Modified Files:
fxdparser.py
Log Message:
o always check if fxd file contains <skin>
o add filename to fxd object
o also include info with 'name' when in map
Index: fxdparser.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/util/fxdparser.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** fxdparser.py 3 Jan 2004 17:43:15 -0000 1.6
--- fxdparser.py 10 Jan 2004 13:17:43 -0000 1.7
***************
*** 10,13 ****
--- 10,18 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.7 2004/01/10 13:17:43 dischi
+ # o always check if fxd file contains <skin>
+ # o add filename to fxd object
+ # o also include info with 'name' when in map
+ #
# Revision 1.6 2004/01/03 17:43:15 dischi
# OVERLAY_DIR is always used
***************
*** 185,189 ****
self.write_callback = {}
self.user_data = {}
!
def set_handler(self, name, callback, mode='r', force=False):
--- 190,196 ----
self.write_callback = {}
self.user_data = {}
! self.is_skin_fxd = False
! self.filename = filename
!
def set_handler(self, name, callback, mode='r', force=False):
***************
*** 211,214 ****
--- 218,225 ----
return
for node in self.tree.tree.children:
+ if node.name == 'skin':
+ self.is_skin_fxd = True
+ break
+ for node in self.tree.tree.children:
if node.name in self.read_callback:
callback = self.read_callback[node.name](self, node)
***************
*** 335,340 ****
if child.name in map:
object.info[map[child.name]] = util.format_text(txt)
! else:
! object.info[child.name] = util.format_text(txt)
--- 346,350 ----
if child.name in map:
object.info[map[child.name]] = util.format_text(txt)
! object.info[child.name] = util.format_text(txt)
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog