comparison frontends/wix/main_window.py @ 33:b9bb5d8e0cc7

In-band-registration: data form 2 xml conversion
author Goffi <goffi@goffi.org>
date Tue, 08 Dec 2009 09:54:44 +0100
parents c2b131e4e262
children c45deebb40a5
comparison
equal deleted inserted replaced
32:c4badbf3dd97 33:b9bb5d8e0cc7
325 'Error', 325 'Error',
326 wx.OK | wx.ICON_ERROR 326 wx.OK | wx.ICON_ERROR
327 ) 327 )
328 dlg.ShowModal() 328 dlg.ShowModal()
329 dlg.Destroy() 329 dlg.Destroy()
330 elif type == "FORM":
331 self.current_action_ids.remove(id)
332 info ("Form received !")
330 elif type == "DICT_DICT": 333 elif type == "DICT_DICT":
331 self.current_action_ids.remove(id) 334 self.current_action_ids.remove(id)
332 if self.current_action_ids_cb.has_key(id): 335 if self.current_action_ids_cb.has_key(id):
333 callback = self.current_action_ids_cb[id] 336 callback = self.current_action_ids_cb[id]
334 del self.current_action_ids_cb[id] 337 del self.current_action_ids_cb[id]