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

Modified Files:
        menu.py 
Log Message:
refresh fix

Index: menu.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/menu.py,v
retrieving revision 1.88
retrieving revision 1.89
diff -C2 -d -r1.88 -r1.89
*** menu.py     22 Feb 2004 20:33:47 -0000      1.88
--- menu.py     23 Feb 2004 21:45:09 -0000      1.89
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.89  2004/02/23 21:45:09  dischi
+ # refresh fix
+ #
  # Revision 1.88  2004/02/22 20:33:47  dischi
  # some unicode fixes
***************
*** 326,329 ****
--- 329,336 ----
  
          if not isinstance(menu, Menu):
+             # Do not draw if there are any children
+             if self.children:
+                 return False
+             
              return skin.draw(menu.type, menu)
  
***************
*** 340,347 ****
          skin.draw('menu', self, self.menustack[-1])
  
-         # Draw any child UI objects
-         for child in self.children:
-             child.draw()
- 
  
      def make_submenu(self, menu_name, actions, item):
--- 347,350 ----



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to