Fix wrong import

This commit is contained in:
Denis Fomin 2013-11-11 14:27:30 +04:00
parent 0789b47646
commit 755c04270f
1 changed files with 1 additions and 1 deletions

View File

@ -833,7 +833,6 @@ class HtmlHandler(xml.sax.handler.ContentHandler):
class HtmlTextView(Gtk.TextView):
def __init__(self):
from gtkgui_helpers import get_gtk_builder
GObject.GObject.__init__(self)
self.set_wrap_mode(Gtk.WrapMode.CHAR)
self.set_editable(False)
@ -950,6 +949,7 @@ class HtmlTextView(Gtk.TextView):
dialogs.AddNewContactWindow(self.account, jid)
def make_link_menu(self, event, kind, text):
from gtkgui_helpers import get_gtk_builder
xml = get_gtk_builder('chat_context_menu.ui')
menu = xml.get_object('chat_context_menu')
childs = menu.get_children()