Mercurial > libervia-backend
comparison frontends/src/primitivus/primitivus @ 2142:be96beb7ca14
core, bridge, frontends: renamed asyncConnect to connect, and added options parameters (not used yet)
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 06 Feb 2017 22:54:43 +0100 |
parents | f45250052846 |
children |
comparison
equal
deleted
inserted
replaced
2141:35762e9ce8b9 | 2142:be96beb7ca14 |
---|---|
785 room_jid = jid.JID(edit.get_edit_text()) | 785 room_jid = jid.JID(edit.get_edit_text()) |
786 self.bridge.mucJoin(room_jid, self.profiles[self.current_profile].whoami.node, {}, self.current_profile, callback=lambda dummy: None, errback=self.dialogFailure) | 786 self.bridge.mucJoin(room_jid, self.profiles[self.current_profile].whoami.node, {}, self.current_profile, callback=lambda dummy: None, errback=self.dialogFailure) |
787 | 787 |
788 #MENU EVENTS# | 788 #MENU EVENTS# |
789 def onConnectRequest(self, menu): | 789 def onConnectRequest(self, menu): |
790 QuickApp.asyncConnect(self, self.current_profile) | 790 QuickApp.connect(self, self.current_profile) |
791 | 791 |
792 def onDisconnectRequest(self, menu): | 792 def onDisconnectRequest(self, menu): |
793 self.disconnect(self.current_profile) | 793 self.disconnect(self.current_profile) |
794 | 794 |
795 def onParam(self, menu): | 795 def onParam(self, menu): |