Specified the root element of glade file in config.DataFormWindow, so that

it doesn't load new dataforms ui.
This commit is contained in:
Tomasz Melcer 2006-11-18 22:01:02 +00:00
parent 8744030d9c
commit 03fdd6d3a6
1 changed files with 1 additions and 1 deletions

View File

@ -2068,7 +2068,7 @@ class DataFormWindow:
def __init__(self, account, config):
self.account = account
self.config = config
self.xml = gtkgui_helpers.get_glade('data_form_window.glade')
self.xml = gtkgui_helpers.get_glade('data_form_window.glade', 'data_form_window')
self.window = self.xml.get_widget('data_form_window')
self.window.set_transient_for(gajim.interface.roster.window)
self.config_vbox = self.xml.get_widget('config_vbox')