on_address_comboboxentry_changed event and code
This commit is contained in:
parent
11c34f9e24
commit
45540743fd
|
@ -1677,10 +1677,14 @@ class Service_discovery_window:
|
|||
' '.join(self.latest_addresses)
|
||||
self.agents_treeview.get_model().clear()
|
||||
self.browse(jid)
|
||||
|
||||
def on_address_comboboxentry_changed(self, widget):
|
||||
print 'be'
|
||||
self.on_go_button_clicked(widget)
|
||||
|
||||
def __init__(self, plugin, account):
|
||||
if plugin.connected[account] < 2:
|
||||
Error_dialog(_("You must be connected to view Agents"))
|
||||
Error_dialog(_("You must be connected to browse services"))
|
||||
return
|
||||
xml = gtk.glade.XML(GTKGUI_GLADE, 'service_discovery_window', APP)
|
||||
self.window = xml.get_widget('service_discovery_window')
|
||||
|
|
|
@ -2441,6 +2441,7 @@
|
|||
<property name="add_tearoffs">False</property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="focus_on_click">True</property>
|
||||
<signal name="changed" handler="on_address_comboboxentry_changed" last_modification_time="Mon, 28 Mar 2005 00:02:21 GMT"/>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
|
|
Loading…
Reference in New Issue