comparison frontends/src/wix/chat.py @ 538:2c4016921403

core, frontends, bridgen plugins: fixed methods which were unproperly managing multi-profiles - added profile argument to askConfirmation, actionResult, actionResultExt, entityDataUpdated, confirmationAnswer, getProgress - core, frontends: fixed calls/signals according to new bridge API - user of proper profile namespace for progression indicators and dialogs - memory: getParam* now return bool when param type is bool - memory: added getStringParam* to return string instead of typed value - core, memory, storage, quick_frontend: getHistory now manage properly multi-profiles - plugins XEP-0047, XEP-0054, XEP-0065, XEP-0077, XEP-0096; multi-profiles proper handling
author Goffi <goffi@goffi.org>
date Sat, 10 Nov 2012 16:38:16 +0100
parents 886754295efe
children ca13633d3b6b
comparison
equal deleted inserted replaced
537:28cddc96c4ed 538:2c4016921403
263 if last_resource: 263 if last_resource:
264 full_jid = JID("%s/%s" % (self.target.short, last_resource)) 264 full_jid = JID("%s/%s" % (self.target.short, last_resource))
265 else: 265 else:
266 full_jid = self.target 266 full_jid = self.target
267 id = self.host.bridge.sendFile(full_jid, filename, {}, self.host.profile) 267 id = self.host.bridge.sendFile(full_jid, filename, {}, self.host.profile)
268 self.host.waitProgress(id, _("File Transfer"), _("Copying %s") % os.path.basename(filename)) 268 self.host.waitProgress(id, _("File Transfer"), _("Copying %s") % os.path.basename(filename), self.host.profile)
269 269
270 def onStartTarot(self, e): 270 def onStartTarot(self, e):
271 debug (_("Starting Tarot game")) 271 debug (_("Starting Tarot game"))
272 warning (_("FIXME: temporary menu, must be changed")) 272 warning (_("FIXME: temporary menu, must be changed"))
273 if len(self.occupants) != 4: 273 if len(self.occupants) != 4: