From 45540743fd474f22f0e846650b8c711e93b48306 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Mon, 28 Mar 2005 00:10:47 +0000 Subject: [PATCH] on_address_comboboxentry_changed event and code --- plugins/gtkgui/config.py | 6 +++++- plugins/gtkgui/gtkgui.glade | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/gtkgui/config.py b/plugins/gtkgui/config.py index e44795e24..0b330f003 100644 --- a/plugins/gtkgui/config.py +++ b/plugins/gtkgui/config.py @@ -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') diff --git a/plugins/gtkgui/gtkgui.glade b/plugins/gtkgui/gtkgui.glade index 7e2b6b5c2..8b2bfd2a8 100644 --- a/plugins/gtkgui/gtkgui.glade +++ b/plugins/gtkgui/gtkgui.glade @@ -2441,6 +2441,7 @@ False True True + 0