Skip to content
Snippets Groups Projects
Commit e0c61a05 authored by Dicson's avatar Dicson
Browse files

url image preview.coding style

parent d7dc50da
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,8 @@ class Base(object):
mark = buffer_.create_mark(None, iter_, True)
# start downloading image
gajim.thread_interface(helpers.download_image, [
self.textview.account, {'src': special_text}],self._update_img, [mark])
self.textview.account, {'src': special_text}], self._update_img,
[mark])
def _update_img(self, (mem, alt), mark):
if mem:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment