comparison 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
comparison
equal deleted inserted replaced
121:c498178d8122 122:dcd6fbb3f010
114 on_release: TransferMenu(callback=root.onTransferOK).show(self) 114 on_release: TransferMenu(callback=root.onTransferOK).show(self)
115 115
116 <EncryptionButton>: 116 <EncryptionButton>:
117 size_hint: None, 1 117 size_hint: None, 1
118 width: dp(30) 118 width: dp(30)
119 source: app.expand("{media}/icons/muchoslava/png/cadenas_ouvert_30.png") 119 allow_stretch: True
120 source: self.getIconSource()
120 121
121 <OtrButton@Button>: 122 <OtrButton@Button>:
122 size_hint: None, None 123 size_hint: None, None
123 size: self.texture_size 124 size: self.texture_size
124 padding: 5, 5 125 padding: dp(5), dp(10)
125 126
126 <OtrMenu>: 127 <OtrMenu>:
127 size_hint_x: None 128 size_hint_x: None
128 width: start_btn.width 129 width: start_btn.width
129 auto_width: False 130 auto_width: False