Mercurial > libervia-desktop-kivy
diff src/cagou/plugins/plugin_wid_chat.kv @ 122:dcd6fbb3f010
chat: handle new OTR state signal and change encryption icon consequently
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 01 Feb 2017 21:47:16 +0100 |
parents | f0291755b07c |
children |
line wrap: on
line diff
--- a/src/cagou/plugins/plugin_wid_chat.kv Tue Jan 31 23:11:49 2017 +0100 +++ b/src/cagou/plugins/plugin_wid_chat.kv Wed Feb 01 21:47:16 2017 +0100 @@ -116,12 +116,13 @@ <EncryptionButton>: size_hint: None, 1 width: dp(30) - source: app.expand("{media}/icons/muchoslava/png/cadenas_ouvert_30.png") + allow_stretch: True + source: self.getIconSource() <OtrButton@Button>: size_hint: None, None size: self.texture_size - padding: 5, 5 + padding: dp(5), dp(10) <OtrMenu>: size_hint_x: None