fix wrong var name. Fixes #2073
This commit is contained in:
parent
b28f22ac05
commit
a4b4323e38
|
@ -92,7 +92,7 @@ Agent JID - node</property>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkTable" id="table1">
|
<widget class="GtkTable" id="address_table">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="n_rows">3</property>
|
<property name="n_rows">3</property>
|
||||||
<property name="n_columns">3</property>
|
<property name="n_columns">3</property>
|
||||||
|
|
|
@ -442,7 +442,7 @@ _('Without a connection, you can not browse available services'))
|
||||||
|
|
||||||
# Address combobox
|
# Address combobox
|
||||||
self.address_comboboxentry = None
|
self.address_comboboxentry = None
|
||||||
address_hbox = self.xml.get_widget('address_hbox')
|
address_table = self.xml.get_widget('address_table')
|
||||||
if address_entry:
|
if address_entry:
|
||||||
self.address_comboboxentry = self.xml.get_widget(
|
self.address_comboboxentry = self.xml.get_widget(
|
||||||
'address_comboboxentry')
|
'address_comboboxentry')
|
||||||
|
@ -465,8 +465,8 @@ _('Without a connection, you can not browse available services'))
|
||||||
self.address_comboboxentry.child.set_text(jid)
|
self.address_comboboxentry.child.set_text(jid)
|
||||||
else:
|
else:
|
||||||
# Don't show it at all if we didn't ask for it
|
# Don't show it at all if we didn't ask for it
|
||||||
address_hbox.set_no_show_all(True)
|
address_table.set_no_show_all(True)
|
||||||
address_hbox.hide()
|
address_table.hide()
|
||||||
|
|
||||||
self._initial_state()
|
self._initial_state()
|
||||||
self.xml.signal_autoconnect(self)
|
self.xml.signal_autoconnect(self)
|
||||||
|
|
Loading…
Reference in New Issue