Ellipsize long file names, to limit the window width
commit9b6a2eae87c14919ab8e6eff6a23eeaeb679f6b6
authorUlrik Sverdrup <ulrik.sverdrup@gmail.com>
Fri, 14 Dec 2007 01:50:01 +0000 (14 02:50 +0100)
committerUlrik Sverdrup <ulrik.sverdrup@gmail.com>
Fri, 14 Dec 2007 18:39:50 +0000 (14 19:39 +0100)
treed1dd2defa7969e4bebe597962b1ec1822aaebd3d
parent5b0f5765f527a60a46356d58e5450c0c7fe3bed9
Ellipsize long file names, to limit the window width

This is now really rigid and is set to a fixed width, just like text
items.  This can probably only be mitigated by rewriting dragitem.py

Also, add some docstrings to the two internal methods -- better than
comments.  wrap_text was changed to take line length as parameter.
Dragbox/dragitem.py