Mercurial > libervia-backend
diff frontends/src/quick_frontend/quick_app.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 | 0bb595eff25b |
children | 3eeb6c865e4d |
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_app.py Sun Nov 04 23:53:26 2012 +0100 +++ b/frontends/src/quick_frontend/quick_app.py Sat Nov 10 16:38:16 2012 +0100 @@ -114,7 +114,7 @@ self.options.profile = self.options.profile.decode('utf-8') return args - def _getParamError(self): + def _getParamError(self, ignore): error(_("Can't get profile parameter")) def plug_profile(self, profile_key='@DEFAULT@'): @@ -546,7 +546,7 @@ self.contact_list.setCache(jid, 'avatar', filename) self.contact_list.replace(jid) - def askConfirmation(self, type, id, data): + def askConfirmation(self, type, id, data, profile): raise NotImplementedError def actionResult(self, type, id, data):