Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv13540

Modified Files:
        menu.py 
Log Message:
free image viewer cache on menuw.show()

Index: menu.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/menu.py,v
retrieving revision 1.79
retrieving revision 1.80
diff -C2 -d -r1.79 -r1.80
*** menu.py     10 Jan 2004 13:15:25 -0000      1.79
--- menu.py     19 Jan 2004 20:26:41 -0000      1.80
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.80  2004/01/19 20:26:41  dischi
+ # free image viewer cache on menuw.show()
+ #
  # Revision 1.79  2004/01/10 13:15:25  dischi
  # use new skin_fxd attribute in item to load skin updates
***************
*** 22,58 ****
  # MENU_CALL_ITEM_ACTION also checks the item itself
  #
- # Revision 1.75  2004/01/03 17:43:14  dischi
- # OVERLAY_DIR is always used
- #
- # Revision 1.74  2003/12/29 22:07:14  dischi
- # renamed xml_file to fxd_file
- #
- # Revision 1.73  2003/12/14 17:13:15  dischi
- # call actions() only once
- #
- # Revision 1.72  2003/12/06 13:46:11  dischi
- # changes to the new draw function in skin
- #
- # Revision 1.71  2003/12/04 21:48:10  dischi
- # also add the plugin area
- #
- # Revision 1.70  2003/12/03 21:51:31  dischi
- # register to the skin and rename some skin function calls
- #
- # Revision 1.69  2003/12/01 19:09:10  dischi
- # accept all items in submenus
- #
- # Revision 1.68  2003/11/30 14:35:02  dischi
- # but the skin parsing (e.g. outicon) in Item to avoid duplicate code
- #
- # Revision 1.67  2003/11/29 11:40:24  dischi
- # remove singleton(), menuw is passed to all objects
- #
- # Revision 1.66  2003/10/12 11:01:19  dischi
- # Don't show black screen between selecting and playing an audio file
- #
- # Revision 1.65  2003/10/12 09:49:46  dischi
- # make option how much "one menu" is and go back 2 for configure directory
- #
  # -----------------------------------------------------------------------
  # Freevo - A Home Theater PC framework
--- 25,28 ----
***************
*** 78,81 ****
--- 48,53 ----
  
  
+ import copy
+ 
  import config
  import plugin
***************
*** 108,118 ****
  
              
-     def setImage(self, image):
-         self.type  = image[0]
-         self.image = image[1]
- 
      def actions(self):
          return [ ( self.select, self.name ) ]
  
      def select(self, arg=None, menuw=None):
          if self.function:
--- 80,87 ----
  
              
      def actions(self):
          return [ ( self.select, self.name ) ]
  
+ 
      def select(self, arg=None, menuw=None):
          if self.function:
***************
*** 207,212 ****
          self.visible = 1
          self.eventhandler_plugins = None
!         self.event_context = 'menu'
! 
          
      def show(self):
--- 176,181 ----
          self.visible = 1
          self.eventhandler_plugins = None
!         self.event_context  = 'menu'
!         self.show_callbacks = []
          
      def show(self):
***************
*** 214,218 ****
              self.visible = 1
              self.refresh(reload=1)
!             
      def hide(self, clear=True):
          if self.visible:
--- 183,189 ----
              self.visible = 1
              self.refresh(reload=1)
!             for callback in copy.copy(self.show_callbacks):
!                 callback()
!                 
      def hide(self, clear=True):
          if self.visible:




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to