diff frontends/src/wix/param.py @ 759:93bd868b8fb6

backend, frontends: callbacks refactoring: - launchAction is now async, and return a dictionary for its result - no more action_id, actionResult* are deprecated - callback system is about to be unified
author Goffi <goffi@goffi.org>
date Tue, 24 Dec 2013 15:19:08 +0100
parents 49587e170f53
children bfabeedbf32e
line wrap: on
line diff
--- a/frontends/src/wix/param.py	Tue Dec 24 15:19:08 2013 +0100
+++ b/frontends/src/wix/param.py	Tue Dec 24 15:19:08 2013 +0100
@@ -129,9 +129,7 @@
         self.__save_parameters()
         name, category = event.GetEventObject().param_id
         callback_id = event.GetEventObject().callback_id
-        data = {"name":name, "category":category, "callback_id":callback_id}
-        id = self.host.bridge.launchAction("button", data, profile_key = self.host.profile)
-        self.host.current_action_ids.add(id)
+        self.host.launchAction(callback_id, None, profile_key = self.host.profile)
         event.Skip()
 
     def __save_parameters(self):