comparison frontends/src/wix/main_window.py @ 641:49587e170f53

core: added the security_limit to setParam - params with a security greater than security_limit can not be modified - special value: security_limit < 0 disable the check (all params can be modified)
author souliane <souliane@mailoo.org>
date Sat, 07 Sep 2013 02:03:17 +0200
parents ca2cae6b2c6d
children e2eff3c7ad02
comparison
equal deleted inserted replaced
640:8211b462af6b 641:49587e170f53
361 debug(_("Status change request")) 361 debug(_("Status change request"))
362 self.__updateStatus() 362 self.__updateStatus()
363 363
364 def onParam(self, e): 364 def onParam(self, e):
365 debug(_("Param request")) 365 debug(_("Param request"))
366 #security_limit = -1 366 #xmlui = self.bridge.getParamsUI(profile_key=self.profile)
367 #xmlui = self.bridge.getParamsUI(security_limit, profile_key=self.profile)
368 #XMLUI(self, xml_data = xmlui) 367 #XMLUI(self, xml_data = xmlui)
369 param=Param(self) 368 param=Param(self)
370 369
371 def onAbout(self, e): 370 def onAbout(self, e):
372 about = wx.AboutDialogInfo() 371 about = wx.AboutDialogInfo()