diff cagou/kv/profile_manager.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/profile_manager.kv	Sat Apr 08 13:34:55 2023 +0200
+++ b/cagou/kv/profile_manager.kv	Sat Apr 08 13:44:32 2023 +0200
@@ -134,7 +134,7 @@
             cols: 2
             PMButton:
                 text: "Delete"
-                on_press: root.doDelete()
+                on_press: root.do_delete()
 
             PMButton:
                 text: "Cancel"
@@ -181,7 +181,7 @@
             size_hint: 1, None
             height: dp(40)
             disabled: not root.pm.selected
-            on_press: root.pm._onConnectProfiles()
+            on_press: root.pm._on_connect_profiles()
 
 
 <ProfileItem>:
@@ -193,5 +193,5 @@
     selected: self.state == 'down'
     color: 0,0,0,1
     background_color: self.selected_color if self.selected else self.deselected_color
-    on_press: self.ps.pm.selectProfile(self)
+    on_press: self.ps.pm.select_profile(self)
     height: dp(30)