UrlShortenerPlugin. Fix deactivation

This commit is contained in:
Denis Fomin
2013-09-04 21:57:11 +04:00
parent f65f9d3bf1
commit e0902e8cd3
2 changed files with 3 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
[info]
name: Url Shortener
short_name: url_shortener
version: 0.3.3
version: 0.3.4
description: Plugin that allows users to shorten a long URL in messages.
For example, you can turn this link:
https://trac.gajim.org/timeline

View File

@@ -110,6 +110,8 @@ class Base(object):
self.chat_control.handlers[self.id_] = self.textview.tv
def print_special_text(self, special_text, other_tags, graphics=True):
if not self.plugin.active:
return
is_xhtml_link = None
text_is_valid_uri = False
buffer_ = self.textview.tv.get_buffer()