Fix url_image_preview for gtk3
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Url image preview
|
name: Url image preview
|
||||||
short_name: url_image_preview
|
short_name: url_image_preview
|
||||||
version: 0.5.3
|
version: 0.5.4
|
||||||
description: Url image preview in chatbox.
|
description: Url image preview in chatbox.
|
||||||
authors = Denis Fomin <fominde@gmail.com>
|
authors = Denis Fomin <fominde@gmail.com>
|
||||||
Yann Leboulanger <asterix@lagaule.org>
|
Yann Leboulanger <asterix@lagaule.org>
|
||||||
|
|||||||
@@ -45,7 +45,8 @@ class UrlImagePreviewPlugin(GajimPlugin):
|
|||||||
control.disconnect_from_chat_control()
|
control.disconnect_from_chat_control()
|
||||||
self.controls = []
|
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:
|
for control in self.controls:
|
||||||
if control.chat_control.conv_textview != tv:
|
if control.chat_control.conv_textview != tv:
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user