on_address_comboboxentry_changed event and code
This commit is contained in:
parent
11c34f9e24
commit
45540743fd
2 changed files with 6 additions and 1 deletions
|
@ -1677,10 +1677,14 @@ class Service_discovery_window:
|
||||||
' '.join(self.latest_addresses)
|
' '.join(self.latest_addresses)
|
||||||
self.agents_treeview.get_model().clear()
|
self.agents_treeview.get_model().clear()
|
||||||
self.browse(jid)
|
self.browse(jid)
|
||||||
|
|
||||||
|
def on_address_comboboxentry_changed(self, widget):
|
||||||
|
print 'be'
|
||||||
|
self.on_go_button_clicked(widget)
|
||||||
|
|
||||||
def __init__(self, plugin, account):
|
def __init__(self, plugin, account):
|
||||||
if plugin.connected[account] < 2:
|
if plugin.connected[account] < 2:
|
||||||
Error_dialog(_("You must be connected to view Agents"))
|
Error_dialog(_("You must be connected to browse services"))
|
||||||
return
|
return
|
||||||
xml = gtk.glade.XML(GTKGUI_GLADE, 'service_discovery_window', APP)
|
xml = gtk.glade.XML(GTKGUI_GLADE, 'service_discovery_window', APP)
|
||||||
self.window = xml.get_widget('service_discovery_window')
|
self.window = xml.get_widget('service_discovery_window')
|
||||||
|
|
|
@ -2441,6 +2441,7 @@
|
||||||
<property name="add_tearoffs">False</property>
|
<property name="add_tearoffs">False</property>
|
||||||
<property name="has_frame">True</property>
|
<property name="has_frame">True</property>
|
||||||
<property name="focus_on_click">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>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="padding">0</property>
|
<property name="padding">0</property>
|
||||||
|
|
Loading…
Add table
Reference in a new issue