Author: dmeyer
Date: Mon Jan 22 15:02:54 2007
New Revision: 9039

Modified:
   trunk/ui/src/application/menuw.py

Log:
use signal for show updates

Modified: trunk/ui/src/application/menuw.py
==============================================================================
--- trunk/ui/src/application/menuw.py   (original)
+++ trunk/ui/src/application/menuw.py   Mon Jan 22 15:02:54 2007
@@ -48,16 +48,8 @@
         MenuStack.__init__(self)
         self.pushmenu(menu)
         self.status = STATUS_RUNNING
-
-
-    def show_app(self):
-        """
-        Show the menu on the screen
-        """
-        self.refresh(True)
-        Application.show_app(self)
-        self.engine.update(self.menustack[-1])
-
+        self.signals['show'].connect_weak(self.refresh, True)
+        
 
     def refresh(self, reload=False):
         MenuStack.refresh(self, reload)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to