comparison frontends/wix/main_window.py @ 38:3e24753b9e0b

Fixed parameters loading/saving - removed unused "parent" argument in importParams - changed "ext" for "tld" in wix jid example
author Goffi <goffi@goffi.org>
date Thu, 17 Dec 2009 13:13:13 +1100
parents 6491b7956c80
children 874de3020e1c
comparison
equal deleted inserted replaced
37:a61beb21d16d 38:3e24753b9e0b
402 402
403 def onAddContact(self, e): 403 def onAddContact(self, e):
404 debug("Add contact request") 404 debug("Add contact request")
405 dlg = wx.TextEntryDialog( 405 dlg = wx.TextEntryDialog(
406 self, 'Please enter new contact JID', 406 self, 'Please enter new contact JID',
407 'Adding a contact', 'name@server.ext') 407 'Adding a contact', 'name@server.tld')
408 408
409 if dlg.ShowModal() == wx.ID_OK: 409 if dlg.ShowModal() == wx.ID_OK:
410 jid=JID(dlg.GetValue()) 410 jid=JID(dlg.GetValue())
411 if jid.is_valid(): 411 if jid.is_valid():
412 self.bridge.addContact(jid.short) 412 self.bridge.addContact(jid.short)