Mercurial > libervia-backend
comparison frontends/wix/main_window.py @ 204:b2e1a13ed596
misc minors fixed before release
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 20 Aug 2010 01:15:58 +0800 |
parents | 1438a1337732 |
children | 782319a64ac6 |
comparison
equal
deleted
inserted
replaced
203:c75e56ec054a | 204:b2e1a13ed596 |
---|---|
457 def onJoinRoom(self, e): | 457 def onJoinRoom(self, e): |
458 warning('FIXME: temporary menu, must be improved') | 458 warning('FIXME: temporary menu, must be improved') |
459 #TODO: a proper MUC room joining dialog with nickname etc | 459 #TODO: a proper MUC room joining dialog with nickname etc |
460 dlg = wx.TextEntryDialog( | 460 dlg = wx.TextEntryDialog( |
461 self, _("Please enter MUC's JID"), | 461 self, _("Please enter MUC's JID"), |
462 _('Entering a MUC room'), 'test@conference.necton2.int') | 462 #_('Entering a MUC room'), 'test@conference.necton2.int') |
463 #_('Entering a MUC room'), _('room@muc_service.server.tld')) | 463 _('Entering a MUC room'), 'room@muc_service.server.tld') |
464 if dlg.ShowModal() == wx.ID_OK: | 464 if dlg.ShowModal() == wx.ID_OK: |
465 room_jid=JID(dlg.GetValue()) | 465 room_jid=JID(dlg.GetValue()) |
466 if room_jid.is_valid(): | 466 if room_jid.is_valid(): |
467 self.bridge.joinMUC(room_jid.domain, room_jid.node, self.profiles[self.profile]['whoami'].node, self.profile) | 467 self.bridge.joinMUC(room_jid.domain, room_jid.node, self.profiles[self.profile]['whoami'].node, self.profile) |
468 else: | 468 else: |