changeset 65:a7a85e85e0eb

Clip project entry in project list if it's to long
author Björn Ricks <bjoern.ricks@intevation.de>
date Wed, 25 May 2011 11:12:15 +0200
parents 94c2c3eeac9a
children 13e3ec26dc36
files getan/view.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/getan/view.py	Wed May 25 11:03:04 2011 +0200
+++ b/getan/view.py	Wed May 25 11:12:15 2011 +0200
@@ -136,7 +136,8 @@
     def update(self):
         logger.debug("Update ProjectNode '%s'" % self.item.desc)
         time_str    = self._get_formatted_time()
-        description = urwid.Text('%s %s' % (self.item.key, self.item.desc))
+        description = urwid.Text('%s %s' % (self.item.key, self.item.desc),
+                                 wrap='clip')
         time        = urwid.Text('%s (%s)' % (self.mode[1], time_str))
         self.widget = urwid.AttrWrap(urwid.Columns([description, time]),None)
         self._w     = self.widget
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)