Services discovery bugfix:

Check the window's _travel callback matches what we are trying to browse.
(Prevent the window from creating two browsers)
This commit is contained in:
shteef 2005-11-20 12:35:01 +00:00
parent 82b06b9d60
commit 34db24a69a
1 changed files with 1 additions and 1 deletions

View File

@ -560,7 +560,7 @@ _('Without a connection, you can not browse available services')).get_response()
def _travel(self, jid, node, identities, features, data): def _travel(self, jid, node, identities, features, data):
'''Continuation of travel.''' '''Continuation of travel.'''
if self.dying: if self.dying or jid != self.jid or node != self.node:
return return
if not identities: if not identities:
if not self.address_comboboxentry: if not self.address_comboboxentry: