Mercurial > libervia-desktop-kivy
changeset 361:f20ec8462493
share widget: removed global keyboard binding
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 18 Jan 2020 23:12:52 +0100 |
parents | a77386b73e55 |
children | e1f56257cabc |
files | cagou/core/share_widget.py |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/cagou/core/share_widget.py Sat Jan 18 23:12:52 2020 +0100 +++ b/cagou/core/share_widget.py Sat Jan 18 23:12:52 2020 +0100 @@ -25,7 +25,6 @@ from sat_frontends.tools import jid from kivy.uix.boxlayout import BoxLayout from kivy.properties import StringProperty, DictProperty, ObjectProperty -from kivy.core.window import Window from kivy.metrics import dp from .constants import Const as C from cagou import G @@ -101,10 +100,6 @@ data = DictProperty() preview_box = ObjectProperty() - def __init__(self, **kwargs): - super().__init__(**kwargs) - Window.bind(on_keyboard=self.key_input) - def on_kv_post(self, wid): self.type, self.subtype = self.media_type.split('/') if self.type == 'text':