Commit 00bbfc24 authored by Yann Leboulanger's avatar Yann Leboulanger

make completion listore correctly filled with text cellrenderer

parent 499bbd9f
......@@ -113,6 +113,9 @@ def get_completion_liststore(entry):
completion.pack_start(render_pixbuf, False)
completion.add_attribute(render_pixbuf, 'pixbuf', 0)
render_text = Gtk.CellRendererText()
completion.pack_start(render_text, True)
completion.add_attribute(render_text, 'text', 1)
completion.set_property('text_column', 1)
completion.set_model(liststore)
entry.set_completion(completion)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment