comparison 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
comparison
equal deleted inserted replaced
322:e2b51663d8b8 323:5bd583d00594
21 import glob 21 import glob
22 import sys 22 import sys
23 from sat.core.i18n import _ 23 from sat.core.i18n import _
24 from . import kivy_hack 24 from . import kivy_hack
25 kivy_hack.do_hack() 25 kivy_hack.do_hack()
26 from cagou.backport import do_backport
27 do_backport()
26 from .constants import Const as C 28 from .constants import Const as C
27 from sat.core import log as logging 29 from sat.core import log as logging
28 from sat.core import exceptions 30 from sat.core import exceptions
29 from sat_frontends.quick_frontend.quick_app import QuickApp 31 from sat_frontends.quick_frontend.quick_app import QuickApp
30 from sat_frontends.quick_frontend import quick_widgets 32 from sat_frontends.quick_frontend import quick_widgets