comparison frontends/wix/xmlui.py @ 135:7452ac3818e7

Core, wix: added profile management for RegisterNewAccount method, and LaunchAction
author Goffi <goffi@goffi.org>
date Fri, 16 Jul 2010 20:16:13 +0800
parents 5ae370c71803
children 3c3f70c01333
comparison
equal deleted inserted replaced
134:7201851d9aed 135:7452ac3818e7
197 if isinstance(ctrl['control'], wx.ListBox): 197 if isinstance(ctrl['control'], wx.ListBox):
198 data[field] = '\t'.join([ctrl['control'].GetString(idx) for idx in ctrl['control'].GetSelections()]) 198 data[field] = '\t'.join([ctrl['control'].GetString(idx) for idx in ctrl['control'].GetSelections()])
199 else: 199 else:
200 data[field] = ctrl['control'].GetValue() 200 data[field] = ctrl['control'].GetValue()
201 201
202 id = self.host.bridge.launchAction("button", data) 202 id = self.host.bridge.launchAction("button", data, profile_key = self.host.profile)
203 self.host.current_action_ids.add(id) 203 self.host.current_action_ids.add(id)
204 event.Skip() 204 event.Skip()
205 205
206 def onFormSubmitted(self, event): 206 def onFormSubmitted(self, event):
207 """Called when submit button is clicked""" 207 """Called when submit button is clicked"""