From c19b6dee71dac2e2f8ad131c510ea6a302bfeb96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Tue, 19 Dec 2017 23:21:11 +0100 Subject: [PATCH] [preview] Fix selecting images --- url_image_preview/url_image_preview.py | 1 + 1 file changed, 1 insertion(+) diff --git a/url_image_preview/url_image_preview.py b/url_image_preview/url_image_preview.py index 1f4808d..899d476 100644 --- a/url_image_preview/url_image_preview.py +++ b/url_image_preview/url_image_preview.py @@ -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)