Update of /cvsroot/freevo/freevo/src/skins/main
In directory sc8-pr-cvs1:/tmp/cvs-serv26821
Modified Files:
main.py
Log Message:
use new vfs
Index: main.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/main.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** main.py 22 Nov 2003 12:02:11 -0000 1.18
--- main.py 22 Nov 2003 20:34:23 -0000 1.19
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.19 2003/11/22 20:34:23 dischi
+ # use new vfs
+ #
# Revision 1.18 2003/11/22 12:02:11 dischi
# make the skin blankscreen a real plugin area
***************
*** 429,436 ****
return an object with new skin settings
"""
! if dir and os.path.isfile(os.path.join(dir, 'folder.fxd')):
! file = os.path.join(dir, 'folder.fxd')
! elif dir and os.path.isfile(dir):
file = dir
else:
--- 432,439 ----
return an object with new skin settings
"""
! if dir and vfs.isfile(vfs.join(dir, 'folder.fxd')):
! file = vfs.join(dir, 'folder.fxd')
! elif dir and vfs.isfile(dir):
file = dir
else:
***************
*** 438,442 ****
if copy_content:
! cname = '%s%s%s' % (str(self.settings), file,
os.stat(file)[stat.ST_MTIME])
settings = self.xml_cache[cname]
if not settings:
--- 441,445 ----
if copy_content:
! cname = '%s%s%s' % (str(self.settings), file,
vfs.stat(file)[stat.ST_MTIME])
settings = self.xml_cache[cname]
if not settings:
***************
*** 446,450 ****
self.xml_cache[cname] = settings
else:
! cname = '%s%s' % (file, os.stat(file)[stat.ST_MTIME])
settings = self.xml_cache[cname]
if not settings:
--- 449,453 ----
self.xml_cache[cname] = settings
else:
! cname = '%s%s' % (file, vfs.stat(file)[stat.ST_MTIME])
settings = self.xml_cache[cname]
if not settings:
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog