Mercurial > libervia-desktop-kivy
comparison cagou/core/common.py @ 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 | 1cca97e27a69 |
children | 654b00fa3fdc |
comparison
equal
deleted
inserted
replaced
134:1cca97e27a69 | 135:091e288838e1 |
---|---|
73 code = self.symbol_map[symbol] | 73 code = self.symbol_map[symbol] |
74 except KeyError: | 74 except KeyError: |
75 log.warning(_(u"Invalid symbol {symbol}").format(symbol=symbol)) | 75 log.warning(_(u"Invalid symbol {symbol}").format(symbol=symbol)) |
76 else: | 76 else: |
77 self.text = unichr(code) | 77 self.text = unichr(code) |
78 | |
79 | |
80 class SymbolButton(ButtonBehavior, Symbol): | |
81 pass |