[pypy-svn] r7552 - pypy/trunk/src/pypy/translator/tool/pygame
mgedmin at codespeak.net
mgedmin at codespeak.net
Mon Nov 22 13:06:07 CET 2004
Author: mgedmin
Date: Mon Nov 22 13:06:06 2004
New Revision: 7552
Modified:
pypy/trunk/src/pypy/translator/tool/pygame/graphdisplay.py
Log:
Show the label of the highlighted edge in the status bar.
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 Mon Nov 22 13:06:06 2004
@@ -410,6 +410,8 @@
if edge:
info = '%s -> %s' % (shortlabel(edge.tail.label),
shortlabel(edge.head.label))
+ if edge.label:
+ info += '\n' + shortlabel(edge.label)
self.setstatusbar(info)
self.sethighlight(obj=edge)
return
More information about the Pypy-commit
mailing list