[pypy-svn] r7386 - pypy/trunk/src/pypy/translator/tool/pygame
mgedmin at codespeak.net
mgedmin at codespeak.net
Thu Nov 18 16:31:09 CET 2004
Author: mgedmin
Date: Thu Nov 18 16:31:09 2004
New Revision: 7386
Modified:
pypy/trunk/src/pypy/translator/tool/pygame/graphdisplay.py
Log:
Show the label of the highlighted node in the status bar. It is useful when
the graph is very big and node labels do not fit.
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 Thu Nov 18 16:31:09 2004
@@ -382,6 +382,7 @@
return
node = self.viewer.node_at_position(pos)
if node:
+ self.setstatusbar(shortlabel(node.label))
self.sethighlight(obj=node)
return
edge = self.viewer.edge_at_position(pos)
More information about the Pypy-commit
mailing list