Mercurial > libervia-backend
diff frontends/src/jp/base.py @ 1623:ec48b35309dc
jp: use the new actionsGet method
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 17 Nov 2015 21:29:03 +0100 |
parents | de785fcf9a7b |
children | 5a641e7b858a |
line wrap: on
line diff
--- a/frontends/src/jp/base.py Tue Nov 17 21:28:58 2015 +0100 +++ b/frontends/src/jp/base.py Tue Nov 17 21:29:03 2015 +0100 @@ -577,3 +577,6 @@ self.need_loop = True super(CommandAnswering, self).connected() self.host.bridge.register("actionNew", self.onActionNew) + actions = self.host.bridge.actionsGet(self.profile) + for action_data, action_id, security_limit in actions: + self.onActionNew(action_data, action_id, security_limit, self.profile)