Changeset 2941
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/config.py
r2917 r2941 1343 1343 #if we need to register a new account 1344 1344 if new_account: 1345 gajim.events_for_ui[name] = [] 1345 1346 con.new_account(name, config) 1346 1347 return -
trunk/src/gajim.py
r2930 r2941 770 770 771 771 def handle_event_stanza_arrived(self, account, stanza): 772 if not self.windows.has_key(account): 773 return 772 774 if self.windows[account].has_key('xml_console'): 773 775 self.windows[account]['xml_console'].print_stanza(stanza, 'incoming') 774 776 775 777 def handle_event_stanza_sent(self, account, stanza): 778 if not self.windows.has_key(account): 779 return 776 780 if self.windows[account].has_key('xml_console'): 777 781 self.windows[account]['xml_console'].print_stanza(stanza, 'outgoing') … … 966 970 if gajim.socks5queue.connected: 967 971 gajim.socks5queue.process(0.01) 972 for account in gajim.events_for_ui: #when we create a new account we don't have gajim.connection 968 973 while len(gajim.events_for_ui[account]): 969 974 gajim.mutex_events_for_ui.lock(self.exec_event, account)
