Mercurial > libervia-backend
diff sat_frontends/quick_frontend/quick_app.py @ 2669:bdb8276fd2da
frontends (xmlui): class_map is now an arg of create function:
class_map was so far used as a global value, but in some cases, several XMLUI managers may be used (it's the case in Cagou's remote controllers plugins, template_xmlui is used to manage remotes).
This patch set class_map as a create argument, this way it can be set with partial, and several XMLUI managers can be instanced at the same time.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 31 Aug 2018 16:03:12 +0200 |
parents | e35a265ec174 |
children | eb69ec549d05 |
line wrap: on
line diff
--- a/sat_frontends/quick_frontend/quick_app.py Fri Aug 31 15:57:11 2018 +0200 +++ b/sat_frontends/quick_frontend/quick_app.py Fri Aug 31 16:03:12 2018 +0200 @@ -1121,14 +1121,8 @@ if value and entity in self.contact_lists[profile]: self.getAvatar(entity, ignore_cache=True, profile=profile) - def actionManager( - self, - action_data, - callback=None, - ui_show_cb=None, - user_action=True, - profile=C.PROF_KEY_NONE, - ): + def actionManager(self, action_data, callback=None, ui_show_cb=None, user_action=True, + profile=C.PROF_KEY_NONE): """Handle backend action @param action_data(dict): action dict as sent by launchAction or returned by an