Update of /cvsroot/freevo/freevo/src/skins/main
In directory sc8-pr-cvs1:/tmp/cvs-serv1037/skins/main

Modified Files:
        area.py main.py skin_utils.py 
Log Message:
move objectcache to util

Index: area.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/area.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** area.py     28 Nov 2003 20:08:58 -0000      1.14
--- area.py     29 Nov 2003 11:27:41 -0000      1.15
***************
*** 28,31 ****
--- 28,34 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.15  2003/11/29 11:27:41  dischi
+ # move objectcache to util
+ #
  # Revision 1.14  2003/11/28 20:08:58  dischi
  # renamed some config variables
***************
*** 95,99 ****
  import osd
  import config
! import objectcache
  
  import xml_skin
--- 98,102 ----
  import osd
  import config
! import util
  
  import xml_skin
***************
*** 285,290 ****
          self.objects   = SkinObjects()
          
!         self.imagecache = objectcache.ObjectCache(imagecachesize,
!                                                   desc='%s_image' % self.name)
  
  
--- 288,293 ----
          self.objects   = SkinObjects()
          
!         self.imagecache = util.objectcache.ObjectCache(imagecachesize,
!                                                        desc='%s_image' % self.name)
  
  

Index: main.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/main.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** main.py     28 Nov 2003 20:08:58 -0000      1.20
--- main.py     29 Nov 2003 11:27:41 -0000      1.21
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.21  2003/11/29 11:27:41  dischi
+ # move objectcache to util
+ #
  # Revision 1.20  2003/11/28 20:08:58  dischi
  # renamed some config variables
***************
*** 84,88 ****
  
  import stat
- import objectcache
  
  # XML parser for skin informations
--- 87,90 ----
***************
*** 396,400 ****
          self.last_draw = None, None
          self.screen = Screen()
!         self.xml_cache = objectcache.ObjectCache(3, desc='xmlskin')
  
          self.normal_areas = []
--- 398,402 ----
          self.last_draw = None, None
          self.screen = Screen()
!         self.xml_cache = util.objectcache.ObjectCache(3, desc='xmlskin')
  
          self.normal_areas = []

Index: skin_utils.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/skin_utils.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** skin_utils.py       22 Oct 2003 18:45:12 -0000      1.8
--- skin_utils.py       29 Nov 2003 11:27:41 -0000      1.9
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.9  2003/11/29 11:27:41  dischi
+ # move objectcache to util
+ #
  # Revision 1.8  2003/10/22 18:45:12  dischi
  # scan for the images without fxd info
***************
*** 65,74 ****
  import osd
  import os
! import objectcache
  
  osd = osd.get_singleton()
  
! format_imagecache = objectcache.ObjectCache(30, desc='format_image')
! load_imagecache   = objectcache.ObjectCache(20, desc='load_image')
  
  
--- 68,77 ----
  import osd
  import os
! import util
  
  osd = osd.get_singleton()
  
! format_imagecache = util.objectcache.ObjectCache(30, desc='format_image')
! load_imagecache   = util.objectcache.ObjectCache(20, desc='load_image')
  
  




-------------------------------------------------------
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

Reply via email to