From 6e25bfa15cfe51c6a9cc8ea0a7954e8227ecac6c Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Mon, 10 Oct 2016 14:28:41 +0100 Subject: [PATCH] Fix url_image_preview for gtk3 --- url_image_preview/manifest.ini | 2 +- url_image_preview/url_image_preview.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/url_image_preview/manifest.ini b/url_image_preview/manifest.ini index bb7e692..c6a6ce7 100644 --- a/url_image_preview/manifest.ini +++ b/url_image_preview/manifest.ini @@ -1,7 +1,7 @@ [info] name: Url image preview short_name: url_image_preview -version: 0.5.3 +version: 0.5.4 description: Url image preview in chatbox. authors = Denis Fomin Yann Leboulanger diff --git a/url_image_preview/url_image_preview.py b/url_image_preview/url_image_preview.py index c82af8a..1b6a044 100644 --- a/url_image_preview/url_image_preview.py +++ b/url_image_preview/url_image_preview.py @@ -45,7 +45,8 @@ class UrlImagePreviewPlugin(GajimPlugin): control.disconnect_from_chat_control() self.controls = [] - def print_special_text(self, tv, special_text, other_tags, graphics=True): + def print_special_text(self, tv, special_text, other_tags, graphics=True, + additional_data): for control in self.controls: if control.chat_control.conv_textview != tv: continue