Make size eventref editor independant of language noplace text is in

svn: r12055
This commit is contained in:
Benny Malengier
2009-02-20 13:31:17 +00:00
parent 8236591a71
commit 7457c9f5f6
2 changed files with 121 additions and 118 deletions

View File

@@ -37,6 +37,7 @@ _LOG = logging.getLogger(".objectentries")
#
#-------------------------------------------------------------------------
import gtk
from pango import ELLIPSIZE_END
#-------------------------------------------------------------------------
#
@@ -129,6 +130,7 @@ class ObjEntry:
self.label.set_use_markup(True)
else:
self.label.set_text(name)
self.label.set_ellipsize(ELLIPSIZE_END)
def _init_dnd(self):
"""inheriting objects must set this