no need to make protocol combobox unsensitive
This commit is contained in:
parent
f0ef95b4e1
commit
967bcae933
|
@ -351,10 +351,6 @@ class Add_new_contact_window:
|
||||||
|
|
||||||
def on_uid_entry_changed(self, widget):
|
def on_uid_entry_changed(self, widget):
|
||||||
uid = self.uid_entry.get_text()
|
uid = self.uid_entry.get_text()
|
||||||
if len(uid) == 0:
|
|
||||||
self.protocol_combobox.set_sensitive(False)
|
|
||||||
else:
|
|
||||||
self.protocol_combobox.set_sensitive(True)
|
|
||||||
self.guess_agent()
|
self.guess_agent()
|
||||||
self.set_nickname()
|
self.set_nickname()
|
||||||
self.fill_jid()
|
self.fill_jid()
|
||||||
|
|
|
@ -1898,7 +1898,6 @@
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkComboBox" id="protocol_combobox">
|
<widget class="GtkComboBox" id="protocol_combobox">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="sensitive">False</property>
|
|
||||||
<property name="items" translatable="yes"></property>
|
<property name="items" translatable="yes"></property>
|
||||||
<signal name="changed" handler="on_protocol_combobox_changed" last_modification_time="Wed, 23 Mar 2005 13:13:12 GMT"/>
|
<signal name="changed" handler="on_protocol_combobox_changed" last_modification_time="Wed, 23 Mar 2005 13:13:12 GMT"/>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
Loading…
Reference in New Issue