Changeset 8638 for branches/gajim_0.11.1/src/dialogs.py
- Timestamp:
- 08/30/07 22:52:39 (15 months ago)
- Files:
-
- 1 modified
-
branches/gajim_0.11.1/src/dialogs.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/gajim_0.11.1/src/dialogs.py
r8616 r8638 471 471 for acct in accounts: 472 472 for j in gajim.contacts.get_jid_list(acct): 473 contact = gajim.contacts.get_first_contact_from_jid(acct, j)474 473 if gajim.jid_is_transport(j): 475 type_ = gajim.get_transport_name_from_jid(j )474 type_ = gajim.get_transport_name_from_jid(j, False) 476 475 if self.agents.has_key(type_): 477 476 self.agents[type_].append(j) … … 480 479 # Now add the one to which we can register 481 480 for acct in accounts: 482 for type_ in gajim.connections[acc ount].available_transports:481 for type_ in gajim.connections[acct].available_transports: 483 482 if type_ in self.agents: 484 483 continue 485 484 self.agents[type_] = [] 486 for jid_ in gajim.connections[account].available_transports[type_]: 487 self.agents[type_].append(jid_) 485 for jid_ in gajim.connections[acct].available_transports[type_]: 486 if not jid_ in self.agents[type_]: 487 self.agents[type_].append(jid_) 488 488 self.available_types.append(type_) 489 489 liststore = gtk.ListStore(str)
