From 2f587dd73a37b6b7f1cee8ca29cc85cbd2ac7a35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 27 Jul 2017 18:56:31 +0200 Subject: [PATCH] Use keyword argument model to instantiate ComboBoxEntry Gtk+-3 supports only keyword arguments issue6588 --- tryton/gui/window/revision.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/gui/window/revision.py b/tryton/gui/window/revision.py index 254b888b9c..fb3f111607 100644 --- a/tryton/gui/window/revision.py +++ b/tryton/gui/window/revision.py @@ -31,7 +31,7 @@ class Revision(object): hbox.pack_start(label, expand=True, fill=True) list_store = gtk.ListStore(str, str) # Set model on instantiation to get the default cellrenderer as text - combobox = gtk.ComboBoxEntry(list_store) + combobox = gtk.ComboBoxEntry(model=list_store) self.entry = combobox.get_child() self.entry.connect('focus-out-event', self.focus_out) self.entry.connect('activate', self.activate)