From 5b49eaae1c79da66ac5be65a76292ea086450ab1 Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Sat, 18 Nov 2006 19:35:25 +0000 Subject: [PATCH] Fix import --- src/htmltextview.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/htmltextview.py b/src/htmltextview.py index c77824539..378a4e236 100644 --- a/src/htmltextview.py +++ b/src/htmltextview.py @@ -38,6 +38,7 @@ from cStringIO import StringIO import urllib2 import operator +from common import gajim #from common import i18n @@ -728,7 +729,7 @@ class HtmlHandler(xml.sax.handler.ContentHandler): #self._insert_text(u"\u2550"*40) self._jump_line() except Exception, e: - log.debug(str("Error in hr"+e)) + gajim.log.debug(str("Error in hr"+e)) elif name in LIST_ELEMS: self.list_counters.pop() elif name == 'li': @@ -773,11 +774,8 @@ class HtmlTextView(gtk.TextView): self.connect("enter-notify-event", self.__motion_notify_event) self.get_buffer().create_tag('eol', scale = pango.SCALE_XX_SMALL) self.tooltip = tooltips.BaseTooltip() - # needed to avoid bootstrapping problems - from common import gajim self.config = gajim.config self.interface = gajim.interface - self.log = gajim.log # end big hack build_patterns(self,gajim.config,gajim.interface)