From f32e99b748d152b3c01c5acbbf114e0dd7920c42 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 5 Nov 2016 15:30:34 +0000 Subject: [PATCH] Fix unknown variables in htmltextview. --- src/htmltextview.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/htmltextview.py b/src/htmltextview.py index dff16e7a4..d18c34673 100644 --- a/src/htmltextview.py +++ b/src/htmltextview.py @@ -55,6 +55,8 @@ if __name__ == '__main__': from common import gajim from gtkgui_helpers import get_icon_pixmap from common import helpers +from common.exceptions import GajimGeneralException +import dialogs import tooltips import logging @@ -735,7 +737,7 @@ class HtmlHandler(xml.sax.handler.ContentHandler): cite = attrs.get('cite', None) if cite: tag = self.textbuf.create_tag(id_) - tag.title = title + tag.title = attrs.get('title', None) tag.is_anchor = True elif name in LIST_ELEMS: style += ';margin-left: 2em'