diff cagou/core/platform_/android.py @ 373:5d994be1161b

core: removed root menus (i.e. global menu on top of window): root menus were not really useful as most actions doable there are doable through others widgets in Cagou. For actions without equivalent in widgets (like about screen), a new menu, more discreet, will be added soon. Kivy Garden's ContextMenu is not used anymore, so it has been removed from dependencies
author Goffi <goffi@goffi.org>
date Mon, 27 Jan 2020 21:17:09 +0100
parents 1481f09c9175
children b2a87239af25
line wrap: on
line diff
--- a/cagou/core/platform_/android.py	Mon Jan 27 21:17:08 2020 +0100
+++ b/cagou/core/platform_/android.py	Mon Jan 27 21:17:09 2020 +0100
@@ -64,10 +64,6 @@
         sys.platform = "android"
         C.PLUGIN_EXT = 'pyc'
 
-    def on_app_build(self, wid):
-        # we don't want menu on Android
-        wid.root_menus.height = 0
-
     def on_host_init(self, host):
         argument = ''
         service.start(mActivity, argument)