comparison frontends/primitivus/primitivus @ 204:b2e1a13ed596

misc minors fixed before release
author Goffi <goffi@goffi.org>
date Fri, 20 Aug 2010 01:15:58 +0800
parents 879beacb8e16
children 783d6a61e0bd
comparison
equal deleted inserted replaced
203:c75e56ec054a 204:b2e1a13ed596
468 QuickApp.onExit(self) 468 QuickApp.onExit(self)
469 raise urwid.ExitMainLoop() 469 raise urwid.ExitMainLoop()
470 470
471 def onJoinRoomRequest(self, menu): 471 def onJoinRoomRequest(self, menu):
472 """User wants to join a MUC room""" 472 """User wants to join a MUC room"""
473 pop_up_widget = custom_widgets.InputDialog(_("Entering a MUC room"), _("Please enter MUC's JID"), default_txt = 'test@conference.necton2.int', cancel_cb=self.removePopUp, ok_cb=self.onJoinRoom) 473 pop_up_widget = custom_widgets.InputDialog(_("Entering a MUC room"), _("Please enter MUC's JID"), default_txt = 'room@muc_service.server.tld', cancel_cb=self.removePopUp, ok_cb=self.onJoinRoom)
474 self.showPopUp(pop_up_widget) 474 self.showPopUp(pop_up_widget)
475 475
476 def onFindGatewaysRequest(self, e): 476 def onFindGatewaysRequest(self, e):
477 debug(_("Find Gateways request")) 477 debug(_("Find Gateways request"))
478 id = self.bridge.findGateways(self.profiles[self.profile]['whoami'].domain, self.profile) 478 id = self.bridge.findGateways(self.profiles[self.profile]['whoami'].domain, self.profile)