diff cagou/kv/menu.kv @ 491:203755bbe0fe

massive refactoring from camelCase -> snake_case. See backend commit log for more details
author Goffi <goffi@goffi.org>
date Sat, 08 Apr 2023 13:44:32 +0200
parents 3c9ba4a694ef
children
line wrap: on
line diff
--- a/cagou/kv/menu.kv	Sat Apr 08 13:34:55 2023 +0200
+++ b/cagou/kv/menu.kv	Sat Apr 08 13:44:32 2023 +0200
@@ -35,7 +35,7 @@
     bg_color: 0.23, 0.23, 0.23, 1
     ExtraMenuItem:
         text: _("About")
-        on_press: root.onAbout()
+        on_press: root.on_about()
     Widget:
         # to push content to the top
 
@@ -48,7 +48,7 @@
     spacing: dp(5)
     transfer_info: transfer_info
     upload_btn: upload_btn
-    on_encrypted: self.updateTransferInfo()
+    on_encrypted: self.update_transfer_info()
     canvas.after:
         Color:
             rgba: app.c_prim_dark
@@ -66,7 +66,7 @@
             text: _(u"upload")
             group: "transfer"
             state: "down"
-            on_state: root.updateTransferInfo()
+            on_state: root.update_transfer_info()
         SymbolToggleLabel
             id: send_btn
             symbol: "loop-alt"