Mercurial > libervia-desktop-kivy
diff cagou/plugins/plugin_wid_contact_list.kv @ 459:72290ebfaa8b
core (common), contact_list: new `data` property:
when this property is set, the `source` is automatically set from avatar data.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 19 Apr 2020 17:06:45 +0200 |
parents | 3e2333a11f61 |
children | 3c9ba4a694ef |
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_contact_list.kv Tue Apr 14 21:14:44 2020 +0200 +++ b/cagou/plugins/plugin_wid_contact_list.kv Sun Apr 19 17:06:45 2020 +0200 @@ -48,7 +48,7 @@ id: avatar size_hint: 1, None height: dp(60) - source: root.contact_item.data.get('avatar', app.default_avatar) + data: root.contact_item.data.get('avatar') allow_stretch: True Label: size_hint: 1, None