Mercurial > libervia-desktop-kivy
diff src/cagou/plugins/plugin_wid_chat.kv @ 31:4f9e701d76b4
core: expand now accepts extra arguments, which will be used in format
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 21 Aug 2016 17:47:23 +0200 |
parents | 8ea3f335307d |
children | 7819e9efa250 |
line wrap: on
line diff
--- a/src/cagou/plugins/plugin_wid_chat.kv Sun Aug 21 17:31:07 2016 +0200 +++ b/src/cagou/plugins/plugin_wid_chat.kv Sun Aug 21 17:47:23 2016 +0200 @@ -61,7 +61,7 @@ Color: rgba: 1, 1, 1, 1 BorderImage: - source: app.expand("{media}") + "/misc/borders/{}.jpg".format("blue" if root.mess_data.own_mess else "gray") + source: app.expand("{media}/misc/borders/{}.jpg", "blue" if root.mess_data.own_mess else "gray") pos: self.pos size: self.size id: mess_label