[pypy-svn] r7318 - pypy/trunk/src/pypy/translator/tool/pygame

mgedmin at codespeak.net mgedmin at codespeak.net
Wed Nov 17 13:15:14 CET 2004


Author: mgedmin
Date: Wed Nov 17 13:15:14 2004
New Revision: 7318

Modified:
   pypy/trunk/src/pypy/translator/tool/pygame/graphdisplay.py
Log:
Show the endpoints of an edge in the status bar when it is highlighted.



Modified: pypy/trunk/src/pypy/translator/tool/pygame/graphdisplay.py
==============================================================================
--- pypy/trunk/src/pypy/translator/tool/pygame/graphdisplay.py	(original)
+++ pypy/trunk/src/pypy/translator/tool/pygame/graphdisplay.py	Wed Nov 17 13:15:14 2004
@@ -257,6 +257,8 @@
             return
         edge = self.viewer.edge_at_position(pos)
         if edge:
+            info = '%s -> %s' % (edge.tail.label, edge.head.label)
+            self.setstatusbar(info)
             self.sethighlight(obj=edge)
             return
         self.sethighlight()



More information about the Pypy-commit mailing list