diff cagou/core/cagou_main.py @ 377:b2a87239af25

android: platform specific menu to disconnect profile: This menu is platform specific because it also unset the autostart parameter (which is handler in a specific way on Android).
author Goffi <goffi@goffi.org>
date Mon, 27 Jan 2020 21:17:09 +0100
parents ae9059b791fe
children 4d660b252487
line wrap: on
line diff
--- a/cagou/core/cagou_main.py	Mon Jan 27 21:17:09 2020 +0100
+++ b/cagou/core/cagou_main.py	Mon Jan 27 21:17:09 2020 +0100
@@ -307,7 +307,7 @@
         local_platform.on_app_build(wid)
         return wid
 
-    def showWidget(self):
+    def showProfileManager(self):
         self._profile_manager = ProfileManager()
         self.root.changeWidget(self._profile_manager)
 
@@ -498,7 +498,7 @@
 
     def onBackendReady(self):
         super().onBackendReady()
-        self.app.showWidget()
+        self.app.showProfileManager()
         self.bridge.getVersion(callback=self._getVersionCb)
         self.app.initFrontendState()
         if local_platform.do_postInit():