Mercurial > libervia-desktop-kivy
diff cagou/plugins/plugin_wid_chat.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/plugins/plugin_wid_chat.kv Sat Apr 08 13:34:55 2023 +0200 +++ b/cagou/plugins/plugin_wid_chat.kv Sat Apr 08 13:44:32 2023 +0200 @@ -114,7 +114,7 @@ MessAvatar: id: avatar source: root.mess_data.avatar['path'] if root.mess_data and root.mess_data.avatar else app.default_avatar - on_press: root.chat.addNick(root.nick) + on_press: root.chat.add_nick(root.nick) Widget: # use to push the avatar on the top size_hint: 1, 1 @@ -228,7 +228,7 @@ ScrollView: id: history_scroll scroll_y: 0 - on_scroll_y: root.onScroll(*args) + on_scroll_y: root.on_scroll(*args) do_scroll_x: False scroll_type: ['bars', 'content'] bar_width: dp(10) @@ -254,7 +254,7 @@ height: min(self.minimum_height, dp(250)) multiline: True hint_text: _(u"Enter your message here") - on_text_validate: root.onSend(args[0]) + on_text_validate: root.on_send(args[0]) SymbolButton: # "send" button, permanent visibility depends on platform symbol: "forward" @@ -299,8 +299,8 @@ <EncryptionMainButton>: size_hint: None, 1 width: dp(30) - color: self.getColor() - symbol: self.getSymbol() + color: self.get_color() + symbol: self.get_symbol() <TrustManagementButton>: symbol: "shield"