Update of /cvsroot/freevo/freevo/skins/main1
In directory sc8-pr-cvs1:/tmp/cvs-serv31507

Modified Files:
        area.py skin_main1.py 
Log Message:
Fixed PluginArea when calling the plugins draw() function


Index: area.py
===================================================================
RCS file: /cvsroot/freevo/freevo/skins/main1/area.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** area.py     19 Jul 2003 19:14:26 -0000      1.20
--- area.py     22 Jul 2003 11:07:52 -0000      1.21
***************
*** 28,31 ****
--- 28,34 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.21  2003/07/22 11:07:52  dischi
+ # Fixed PluginArea when calling the plugins draw() function
+ #
  # Revision 1.20  2003/07/19 19:14:26  dischi
  # new menu type: default no image
***************
*** 297,302 ****
  
          self.display_style = display_style
!         self.xml_settings = settings
!         
          if widget_type == 'menu':
              self.menuw = obj
--- 300,306 ----
  
          self.display_style = display_style
!         self.xml_settings  = settings
!         self.widget_type   = widget_type
! 
          if widget_type == 'menu':
              self.menuw = obj

Index: skin_main1.py
===================================================================
RCS file: /cvsroot/freevo/freevo/skins/main1/skin_main1.py,v
retrieving revision 1.107
retrieving revision 1.108
diff -C2 -d -r1.107 -r1.108
*** skin_main1.py       12 Jul 2003 17:29:33 -0000      1.107
--- skin_main1.py       22 Jul 2003 11:07:52 -0000      1.108
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.108  2003/07/22 11:07:52  dischi
+ # Fixed PluginArea when calling the plugins draw() function
+ #
  # Revision 1.107  2003/07/12 17:29:33  dischi
  # added redraw() to force a redraw (plugins may need this)
***************
*** 252,257 ****
              self.plugins = plugin.get('daemon_draw')
  
          for p in self.plugins:
!             p.draw((type, object), self)
  
  
--- 255,265 ----
              self.plugins = plugin.get('daemon_draw')
  
+         if self.widget_type == 'player':
+             object = self.infoitem
+         else:
+             object = self.menuw
+             
          for p in self.plugins:
!             p.draw((self.widget_type, object), self)
  
  




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to