richtext widget does not support color assignement
Whe setting the color of some part of the text I receive the following error:
ERROR:tryton.common.common: File "/home/nicoe/projets/tryton/tryton-env/listbox/tryton/tryton/gui/window/view_form/view/form_gtk/richtextbox.py", line 340, in toggle_color
tag = register_foreground(text_buffer, color)
File "/home/nicoe/projets/tryton/tryton-env/listbox/tryton/tryton/common/htmltextbuffer.py", line 320, in register_foreground
tag = text_buffer.create_tag(name, foreground_rgba=color)
File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 752, in create_tag
tag = Gtk.TextTag(name=tag_name, **properties)
could not convert value for property `foreground_rgba' from Color to GdkRGBA