def update_single_information(self, nick, message, account): # emesene's """This method is called from the core (e3 or base class or whatever to update the contacts infos""" # account is a string containing the email # does this have to update the picture too? log.debug("UPSingInfo Start") status = self._session.contacts.get(account).status log.debug("UpSingInfo: [%s], [%s], [%s], [%s]" % (status, nick, message, account)) self._widget_d["info_panel"].set_all(status, Utils.unescape(nick), Utils.unescape(message), account) log.debug("UPSingInfo Stop")
def update_single_information(self, nick, message, account): # emesene's '''This method is called from the core (e3 or base class or whatever to update the contacts infos''' # account is a string containing the email # does this have to update the picture too? log.debug('UPSingInfo Start') status = self.session.contacts.get(account).status log.debug('UpSingInfo: [%s], [%s], [%s], [%s]' % (status, nick, message, account)) self._widget_d['info_panel'].set_all(Utils.unescape(message), account) log.debug('UPSingInfo Stop')
def handle_entityref(self, name): self._data += Utils.unescape(u'&%s;' % name)
def handle_charref(self, name): self._data += Utils.unescape(u"&%s;" % name)