Skip to content
Snippets Groups Projects
Commit 755c0427 authored by Dicson's avatar Dicson
Browse files

Fix wrong import

parent 0789b476
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment