diff frontends/src/wix/param.py @ 634:ca2cae6b2c6d

core: security attribute added to the parameters - getParams, getParamsUI and getParamsForCategory have a security_limit parameter to filter - parameters with security = 0 can be retrieved/modified from Libervia
author souliane <souliane@mailoo.org>
date Thu, 05 Sep 2013 20:28:44 +0200
parents 84a6e83157c2
children 49587e170f53
line wrap: on
line diff
--- a/frontends/src/wix/param.py	Sun Sep 08 18:05:19 2013 +0200
+++ b/frontends/src/wix/param.py	Thu Sep 05 20:28:44 2013 +0200
@@ -102,7 +102,11 @@
             self.notebook.AddPage(panel, category)
             cat_dom.unlink()
 
-        self.host.bridge.getParamsForCategory(category, profile_key = self.host.profile, callback = gotParams, errback = errorGettingParams)
+        self.host.bridge.getParamsForCategory(category,
+                                              security_limit=-1,
+                                              profile_key=self.host.profile,
+                                              callback=gotParams,
+                                              errback=errorGettingParams)
 
     def onTextChanged(self, event):
         """Called when a string paramater is modified"""