From 52adfda63e78b2f4a572276874beb72c7d06f997 Mon Sep 17 00:00:00 2001 From: David Harper Date: Sat, 22 Aug 2015 08:47:32 +0200 Subject: [PATCH] TreeStore of import and export does not need colour anymore changeset 37b76806c878 removed the colour on the trees. issue4927 review20361002 --- tryton/gui/window/win_export.py | 3 +-- tryton/gui/window/win_import.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tryton/gui/window/win_export.py b/tryton/gui/window/win_export.py index 92f592ce80..295927d6e9 100644 --- a/tryton/gui/window/win_export.py +++ b/tryton/gui/window/win_export.py @@ -180,8 +180,7 @@ class WinExport(NoModal): column = gtk.TreeViewColumn('Field name', cell, text=0) self.view2.append_column(column) - self.model1 = gtk.TreeStore(gobject.TYPE_STRING, gobject.TYPE_STRING, - gobject.TYPE_STRING) + self.model1 = gtk.TreeStore(gobject.TYPE_STRING, gobject.TYPE_STRING) self.model2 = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING) self.fields = {} diff --git a/tryton/gui/window/win_import.py b/tryton/gui/window/win_import.py index 0f68f3015c..b7ddf26fa7 100644 --- a/tryton/gui/window/win_import.py +++ b/tryton/gui/window/win_import.py @@ -192,8 +192,7 @@ class WinImport(NoModal): column = gtk.TreeViewColumn(_('Field name'), cell, text=0) self.view2.append_column(column) - self.model1 = gtk.TreeStore(gobject.TYPE_STRING, gobject.TYPE_STRING, - gobject.TYPE_STRING) + self.model1 = gtk.TreeStore(gobject.TYPE_STRING, gobject.TYPE_STRING) self.model2 = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING) self.fields = {}