Update of /cvsroot/freevo/freevo/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv647

Modified Files:
        theme_engine.py 
Log Message:
remove some vfs calls were they are not needed

Index: theme_engine.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/gui/theme_engine.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** theme_engine.py     8 Jan 2005 15:40:52 -0000       1.18
--- theme_engine.py     1 May 2005 17:39:00 -0000       1.19
***************
*** 94,98 ****
          log.info('loading new theme %s', new)
          filename = new
!         if new and vfs.isfile(vfs.join(new, 'folder.fxd')):
              new = vfs.abspath(os.path.join(new, 'folder.fxd'))
          elif new and vfs.isfile(new):
--- 94,98 ----
          log.info('loading new theme %s', new)
          filename = new
!         if new and vfs.isfile(os.path.join(new, 'folder.fxd')):
              new = vfs.abspath(os.path.join(new, 'folder.fxd'))
          elif new and vfs.isfile(new):
***************
*** 1327,1336 ****
                  file += ".fxd"
  
!             elif vfs.isfile(vfs.join(config.SKIN_DIR, '%s/%s.fxd' % \
                                       (file, file))):
!                 file = vfs.join(config.SKIN_DIR, '%s/%s.fxd' % (file, file))
  
              else:
!                 file = vfs.join(config.SKIN_DIR, 'main/%s' % file)
                  if vfs.isfile(file+".fxd"):
                      file += ".fxd"
--- 1327,1336 ----
                  file += ".fxd"
  
!             elif vfs.isfile(os.path.join(config.SKIN_DIR, '%s/%s.fxd' % \
                                       (file, file))):
!                 file = os.path.join(config.SKIN_DIR, '%s/%s.fxd' % (file, 
file))
  
              else:
!                 file = os.path.join(config.SKIN_DIR, 'main/%s' % file)
                  if vfs.isfile(file+".fxd"):
                      file += ".fxd"



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to