Commit c19b6dee authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[preview] Fix selecting images

parent 9af98892
......@@ -362,6 +362,7 @@ class Base(object):
iter_ = buffer_.get_iter_at_mark(repl_start)
buffer_.insert(iter_, "\n")
anchor = buffer_.create_child_anchor(iter_)
anchor.plaintext = url
if isinstance(pixbuf, GdkPixbuf.PixbufAnimation):
image = Gtk.Image.new_from_animation(pixbuf)
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