Skip to content
Snippets Groups Projects
Commit 654b3ff0 authored by Brendan Taylor's avatar Brendan Taylor
Browse files

forgot to include this in last commit

parent 46bc373c
No related branches found
No related tags found
No related merge requests found
import gtkgui_helpers
import dataforms_widget
from common import dataforms
class FeatureNegotiationWindow:
'''FeatureNegotiotionWindow class'''
def __init__(self, account, jid, thread_id, form):
self.account = account
self.jid = jid
self.form = form
self.xml = gtkgui_helpers.get_glade('data_form_window.glade', 'data_form_window')
self.window = self.xml.get_widget('data_form_window')
config_vbox = self.xml.get_widget('config_vbox')
dataform = dataforms.ExtendForm(node = self.form)
self.data_form_widget = dataforms_widget.DataFormWidget(dataform)
self.data_form_widget.show()
config_vbox.pack_start(self.data_form_widget)
self.xml.signal_autoconnect(self)
self.window.show_all()
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