From 70aa93cb84f3145c68bc7571d224c9049ddd7c3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 7 Nov 2008 00:19:04 +0100 Subject: [PATCH] Don't force background color to white to let rules hint --- tryton/gui/window/view_form/view/list_gtk/parser.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tryton/gui/window/view_form/view/list_gtk/parser.py b/tryton/gui/window/view_form/view/list_gtk/parser.py index f4cbc57a80..91090606ff 100644 --- a/tryton/gui/window/view_form/view/list_gtk/parser.py +++ b/tryton/gui/window/view_form/view/list_gtk/parser.py @@ -265,8 +265,6 @@ class Char(object): elif bool(int(field.get_state_attrs(model).get('required', 0))): cell.set_property('background', COLORS.get('required', 'white')) - else: - cell.set_property('background', 'white') readonly = field.get_state_attrs(model).get('readonly', False) if isinstance(cell, gtk.CellRendererToggle): cell.set_property('activatable', not readonly)