Mercurial > libervia-desktop-kivy
diff cagou/core/share_widget.py @ 361:f20ec8462493
share widget: removed global keyboard binding
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 18 Jan 2020 23:12:52 +0100 |
parents | 4d3a0c4f2430 |
children | 4d660b252487 |
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':