diff cagou/core/cagou_main.py @ 152:b9fd83292fc4

core: disabled Kivy's default behaviour of displaying settings on F1
author Goffi <goffi@goffi.org>
date Fri, 27 Apr 2018 16:35:53 +0200
parents 05d602be0120
children a5e8833184c6
line wrap: on
line diff
--- a/cagou/core/cagou_main.py	Sat Apr 14 20:10:19 2018 +0200
+++ b/cagou/core/cagou_main.py	Fri Apr 27 16:35:53 2018 +0200
@@ -226,6 +226,11 @@
 class CagouApp(App):
     """Kivy App for Cagou"""
 
+    def _install_settings_keys(self, window):
+        # we don't want default Kivy's behaviour of displaying
+        # a settings screen when pressing F1 or platform specific key
+        return
+
     def build(self):
         Window.bind(on_keyboard=self.key_input)
         return CagouRootWidget(Label(text=u"Loading please wait"))