don't display weird image in chat window when latex fails
This commit is contained in:
parent
a72b1ced91
commit
b03483868b
|
@ -1150,8 +1150,8 @@ class ConversationTextview:
|
||||||
'', None)
|
'', None)
|
||||||
imagepath = None
|
imagepath = None
|
||||||
end_iter = buffer_.get_end_iter()
|
end_iter = buffer_.get_end_iter()
|
||||||
anchor = buffer_.create_child_anchor(end_iter)
|
|
||||||
if imagepath is not None:
|
if imagepath is not None:
|
||||||
|
anchor = buffer_.create_child_anchor(end_iter)
|
||||||
img = gtk.Image()
|
img = gtk.Image()
|
||||||
img.set_from_file(imagepath)
|
img.set_from_file(imagepath)
|
||||||
img.show()
|
img.show()
|
||||||
|
|
Loading…
Reference in New Issue