Mercurial > libervia-desktop-kivy
comparison cagou/core/platform_/base.py @ 413:c466678c57b2
chat: control send button visibility in core.platform_, and show it when there are attachments
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 23 Feb 2020 15:39:06 +0100 |
parents | 355326a3501c |
children | ddca5a837029 |
comparison
equal
deleted
inserted
replaced
412:7c6149c249c1 | 413:c466678c57b2 |
---|---|
32 log = getLogger(__name__) | 32 log = getLogger(__name__) |
33 | 33 |
34 | 34 |
35 class Platform: | 35 class Platform: |
36 """Base class to handle platform specific behaviours""" | 36 """Base class to handle platform specific behaviours""" |
37 # set to True to always show the send button in chat | |
38 send_button_visible = False | |
37 | 39 |
38 def init_platform(self): | 40 def init_platform(self): |
39 # we don't want multi-touch emulation with mouse | 41 # we don't want multi-touch emulation with mouse |
40 | 42 |
41 # this option doesn't make sense on Android and cause troubles, so we only | 43 # this option doesn't make sense on Android and cause troubles, so we only |