summaryrefslogtreecommitdiffstats
path: root/Tools/pynche/StripViewer.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2006-01-01 21:48:54 (GMT)
committerBarry Warsaw <barry@python.org>2006-01-01 21:48:54 (GMT)
commit538561e4660eb2c15c5a2e71b7cb7e2584e09e4d (patch)
tree193567e16e827d52ccf2e844ad55893e303d02f1 /Tools/pynche/StripViewer.py
parent0f194234dc90b1b2a9949123f3faa974c3910bc7 (diff)
downloadcpython-538561e4660eb2c15c5a2e71b7cb7e2584e09e4d.zip
cpython-538561e4660eb2c15c5a2e71b7cb7e2584e09e4d.tar.gz
cpython-538561e4660eb2c15c5a2e71b7cb7e2584e09e4d.tar.bz2
Ported from 2.4 branch:
Patch by Ori Avtalion to fix a minor display glitch in the RightArrow.
Diffstat (limited to 'Tools/pynche/StripViewer.py')
-rw-r--r--Tools/pynche/StripViewer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/pynche/StripViewer.py b/Tools/pynche/StripViewer.py
index 8d17d55..01bcbf6 100644
--- a/Tools/pynche/StripViewer.py
+++ b/Tools/pynche/StripViewer.py
@@ -151,9 +151,9 @@ class RightArrow(LeftArrow):
return arrow, text
def _x(self):
- coords = self._canvas.bbox(self._TAG)
+ coords = self._canvas.coords(self._TAG)
assert coords
- return coords[2] - 6 # BAW: kludge
+ return coords[0] + self._ARROWWIDTH