Align left for float_time widget in list view

This commit is contained in:
Cédric Krier committed 2008-06-08 16:00:19 +02:00
1 parent 402452582c
commit 9801ef89b4
1 file changed
+2 -1
@@ -197,7 +197,8 @@ class Char(object):
cell.set_property('text', text)
color = self.get_color(model)
cell.set_property('foreground', str(color))
if self.attrs['type'] in ('float', 'integer', 'boolean', 'numeric'):
if self.attrs['type'] in ('float', 'integer', 'boolean', 'numeric',
'float_time'):
align = 1
else:
align = 0