Mercurial > libervia-backend
diff frontends/src/primitivus/primitivus @ 1059:b2b9c184033f
core, frontends: remove bridge method "connect" (always use asyncConnect)
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 23 May 2014 10:40:54 +0200 |
parents | 0a9986452bba |
children | aa15453ec54d |
line wrap: on
line diff
--- a/frontends/src/primitivus/primitivus Thu May 29 14:34:01 2014 +0200 +++ b/frontends/src/primitivus/primitivus Fri May 23 10:40:54 2014 +0200 @@ -561,7 +561,7 @@ #MENU EVENTS# def onConnectRequest(self, menu): - self.bridge.connect(self.profile) + self.bridge.asyncConnect(self.profile, callback=lambda dummy: None) def onDisconnectRequest(self, menu): self.bridge.disconnect(self.profile)