comparison 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
comparison
equal deleted inserted replaced
1622:5b24d6bf5d15 1623:ec48b35309dc
575 def connected(self): 575 def connected(self):
576 """Auto reply to confirmations requests""" 576 """Auto reply to confirmations requests"""
577 self.need_loop = True 577 self.need_loop = True
578 super(CommandAnswering, self).connected() 578 super(CommandAnswering, self).connected()
579 self.host.bridge.register("actionNew", self.onActionNew) 579 self.host.bridge.register("actionNew", self.onActionNew)
580 actions = self.host.bridge.actionsGet(self.profile)
581 for action_data, action_id, security_limit in actions:
582 self.onActionNew(action_data, action_id, security_limit, self.profile)