Update of /cvsroot/freevo/freevo/skins/dischi1
In directory sc8-pr-cvs1:/tmp/cvs-serv3087

Modified Files:
        skin_dischi1.py 
Log Message:
give correct skin information to the gui object

Index: skin_dischi1.py
===================================================================
RCS file: /cvsroot/freevo/freevo/skins/dischi1/skin_dischi1.py,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** skin_dischi1.py     30 Mar 2003 17:42:03 -0000      1.45
--- skin_dischi1.py     30 Mar 2003 18:05:25 -0000      1.46
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.46  2003/03/30 18:05:25  dischi
+ # give correct skin information to the gui object
+ #
  # Revision 1.45  2003/03/30 17:42:03  dischi
  # image.fxd is no real skin
***************
*** 415,419 ****
  
  
!     def GetPopupBoxStyle(self, menu=None):
          """
          This function returns style information for drawing a popup box.
--- 418,429 ----
  
  
!     def FindCurrentMenu(self, widget):
!         if not widget:
!             return None
!         if not hasattr(widget, 'menustack'):
!             return self.FindCurrentMenu(widget.parent)
!         return widget.menustack[-1]
!         
!     def GetPopupBoxStyle(self, widget=None):
          """
          This function returns style information for drawing a popup box.
***************
*** 435,438 ****
--- 445,450 ----
          shadow attributes: visible, color, x, y
          """
+ 
+         menu = self.FindCurrentMenu(widget)
  
          if menu and menu.skin_settings:




-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to