diff cagou/core/cagou_main.py @ 323:5bd583d00594

backport: added a new "backport" module for using unreleased code from Kivy: Carousel has been backported from Kivy 2.0, because a couple of bugs hitting Cagou are fixed there (notably https://github.com/kivy/kivy/issues/6370). The issue was specially visible when sliding chat widgets. If a version >= 2.0 of kivy is used, a warning will be displayed to indicated that the backport can be removed.
author Goffi <goffi@goffi.org>
date Fri, 06 Dec 2019 13:23:03 +0100
parents e2b51663d8b8
children d36040493434
line wrap: on
line diff
--- a/cagou/core/cagou_main.py	Fri Dec 06 13:23:03 2019 +0100
+++ b/cagou/core/cagou_main.py	Fri Dec 06 13:23:03 2019 +0100
@@ -23,6 +23,8 @@
 from sat.core.i18n import _
 from . import kivy_hack
 kivy_hack.do_hack()
+from cagou.backport import do_backport
+do_backport()
 from .constants import Const as C
 from sat.core import log as logging
 from sat.core import exceptions