[pypy-svn] r18172 - pypy/dist/pypy/translator/tool/pygame

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Oct 4 22:57:06 CEST 2005


Author: cfbolz
Date: Tue Oct  4 22:57:05 2005
New Revision: 18172

Modified:
   pypy/dist/pypy/translator/tool/pygame/graphdisplay.py
Log:
revert this. the redraw is to show the status line "reloading..."
armin told me that the layout should issue a reload itself, if it wants one
(thanks)


Modified: pypy/dist/pypy/translator/tool/pygame/graphdisplay.py
==============================================================================
--- pypy/dist/pypy/translator/tool/pygame/graphdisplay.py	(original)
+++ pypy/dist/pypy/translator/tool/pygame/graphdisplay.py	Tue Oct  4 22:57:05 2005
@@ -420,8 +420,8 @@
 
     def reload(self):
         self.setstatusbar('reloading...')
-        self.layout.request_reload()
         self.redraw_now()
+        self.layout.request_reload()
 
     def setstatusbar(self, text, fgcolor=None, bgcolor=None):
         info = (text, fgcolor or self.STATUSBAR_FGCOLOR, bgcolor or self.STATUSBAR_BGCOLOR)



More information about the Pypy-commit mailing list