comparison cagou/plugins/plugin_wid_chat.kv @ 135:091e288838e1

plugin chat: use new Symbol widget to display encryption button
author Goffi <goffi@goffi.org>
date Fri, 06 Apr 2018 16:13:08 +0200
parents c3aa71daceb8
children 84b18c131a81
comparison
equal deleted inserted replaced
134:1cca97e27a69 135:091e288838e1
124 on_release: TransferMenu(callback=root.onTransferOK).show(self) 124 on_release: TransferMenu(callback=root.onTransferOK).show(self)
125 125
126 <EncryptionButton>: 126 <EncryptionButton>:
127 size_hint: None, 1 127 size_hint: None, 1
128 width: dp(30) 128 width: dp(30)
129 allow_stretch: True 129 color: self.getColor()
130 source: self.getIconSource() 130 symbol: self.getSymbol()
131 131
132 <OtrButton@Button>: 132 <OtrButton@Button>:
133 size_hint: None, None 133 size_hint: None, None
134 size: self.texture_size 134 size: self.texture_size
135 padding: dp(5), dp(10) 135 padding: dp(5), dp(10)