# HG changeset patch # User Goffi # Date 1579385572 -3600 # Node ID f20ec84624936b86397e3e0affd8a14836416a83 # Parent a77386b73e55cb6fffb8c8cb21636ee8cd0fb482 share widget: removed global keyboard binding diff -r a77386b73e55 -r f20ec8462493 cagou/core/share_widget.py --- 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':