Mercurial > libervia-backend
diff frontends/wix/param.py @ 89:23caf1051099
multi-profile/subscription misc fixes
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 13 May 2010 16:27:48 +0930 |
parents | 8f2ed279784b |
children | 7452ac3818e7 |
line wrap: on
line diff
--- a/frontends/wix/param.py Wed May 12 11:55:18 2010 +0930 +++ b/frontends/wix/param.py Thu May 13 16:27:48 2010 +0930 @@ -57,7 +57,7 @@ panel=wx.Panel(self.notebook) panel.sizer = wx.BoxSizer(wx.VERTICAL) - cat_dom = minidom.parseString(self.host.bridge.getParamsForCategory(category).encode('utf-8')) + cat_dom = minidom.parseString(self.host.bridge.getParamsForCategory(category, profile_key = self.host.profile).encode('utf-8')) for param in cat_dom.documentElement.getElementsByTagName("param"): name = param.getAttribute("name") @@ -115,7 +115,7 @@ def __save_parameters(self): for param in self.modified: - self.host.bridge.setParam(param[0], self.modified[param], param[1]) + self.host.bridge.setParam(param[0], self.modified[param], param[1], profile_key = self.host.profile) self.modified.clear() def onClose(self, event):