changeset bde54bde9bdf in /home/hg/repos/gajim-plugins
author: tmolitor <thilo(a)eightysoft.de>
branches: gtk3
details:gajim-plugins?cmd=changeset;node=bde54bde9bdf
description: Fix API change for print_special_text (added additional_data={})
diffstat:
juick/plugin.py | 5 +++--
url_image_preview/url_image_preview.py | 2 +-
url_shortener/url_shortener.py | 5 +++--
3 files changed, 7 insertions(+), 5 deletions(-)
diffs (54 lines):
diff -r 362fab6a454d -r bde54bde9bdf juick/plugin.py
--- a/juick/plugin.py Tue Oct 11 12:07:42 2016 +0200
+++ b/juick/plugin.py Wed Oct 12 02:55:32 2016 +0200
@@ -83,14 +83,15 @@
if self.conn:
self.conn.close()
- 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
control.print_special_text(special_text, other_tags, graphics=True)
def print_special_text1(self, chat_control, special_text, other_tags=None,
- graphics=True):
+ graphics=True, additional_data={}):
for control in self.controls:
if control.chat_control == chat_control:
control.disconnect_from_chat_control()
diff -r 362fab6a454d -r bde54bde9bdf url_image_preview/url_image_preview.py
--- a/url_image_preview/url_image_preview.py Tue Oct 11 12:07:42 2016 +0200
+++ b/url_image_preview/url_image_preview.py Wed Oct 12 02:55:32 2016 +0200
@@ -53,7 +53,7 @@
control.print_special_text(special_text, other_tags, graphics=True)
def print_special_text1(self, chat_control, special_text, other_tags=None,
- graphics=True):
+ graphics=True, additional_data={}):
for control in self.controls:
if control.chat_control == chat_control:
control.disconnect_from_chat_control()
diff -r 362fab6a454d -r bde54bde9bdf url_shortener/url_shortener.py
--- a/url_shortener/url_shortener.py Tue Oct 11 12:07:42 2016 +0200
+++ b/url_shortener/url_shortener.py Wed Oct 12 02:55:32 2016 +0200
@@ -85,14 +85,15 @@
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
control.print_special_text(special_text, other_tags, graphics=True)
def print_special_text1(self, chat_control, special_text, other_tags=None,
- graphics=True):
+ graphics=True, additional_data={}):
for control in self.controls:
if control.chat_control == chat_control:
control.disconnect_from_chat_control()