comparison frontends/src/quick_frontend/quick_app.py @ 266:c4b84a2d2ad1

bridge: constructor and template improved, documentation added
author Goffi <goffi@goffi.org>
date Mon, 24 Jan 2011 17:47:45 +0100
parents bfd01aed0a3a
children 1d2e0dfe7114
comparison
equal deleted inserted replaced
265:b5f1f3dc9ac6 266:c4b84a2d2ad1
186 debug(_("Disconnected")) 186 debug(_("Disconnected"))
187 self.CM.clear() 187 self.CM.clear()
188 self.contactList.clear_contacts() 188 self.contactList.clear_contacts()
189 self.setStatusOnline(False) 189 self.setStatusOnline(False)
190 190
191 def connection_error(self, profile, error_type): 191 def connection_error(self, error_type, profile):
192 """called when something goest wrong with the connection""" 192 """called when something goest wrong with the connection"""
193 if not self.check_profile(profile): 193 if not self.check_profile(profile):
194 return 194 return
195 debug(_("Connection Error")) 195 debug(_("Connection Error"))
196 self.disconnected(profile) 196 self.disconnected(profile)