Mercurial > libervia-desktop-kivy
comparison cagou/core/cagou_main.py @ 189:a91abcd6d9a5
core: call QuickApp.onBridgeConnected (so ns_map is filled)
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 22 May 2018 19:25:23 +0200 |
parents | 0abd24ab81b1 |
children | 33ac2d2ce5d7 |
comparison
equal
deleted
inserted
replaced
188:0abd24ab81b1 | 189:a91abcd6d9a5 |
---|---|
370 for w_list in self._visible_widgets.itervalues(): | 370 for w_list in self._visible_widgets.itervalues(): |
371 for w in w_list: | 371 for w in w_list: |
372 yield w | 372 yield w |
373 | 373 |
374 def onBridgeConnected(self): | 374 def onBridgeConnected(self): |
375 super(Cagou, self).onBridgeConnected() | |
375 self.registerSignal("otrState", iface="plugin") | 376 self.registerSignal("otrState", iface="plugin") |
376 self.bridge.getReady(self.onBackendReady) | 377 self.bridge.getReady(self.onBackendReady) |
377 | 378 |
378 def _bridgeEb(self, failure): | 379 def _bridgeEb(self, failure): |
379 if bridge_name == "pb" and sys.platform == "android": | 380 if bridge_name == "pb" and sys.platform == "android": |