Mercurial > libervia-desktop-kivy
diff cagou/plugins/plugin_wid_remote.py @ 322:e2b51663d8b8
core, android: new share widget + added Cagou to "share" menu:
- new intent filter to add Cagou to share menu for all media types
- minimum Kivy version is now 1.11.0
- new "Share" widget to display data to share via SàT and select the target
- new core.platform_ module (the suffix "_" avoid trouble with standard "platform"
module), for platform specific code.
- Android intent are now checked on startup and "on_new_intent" events
- if a android.intent.action.SEND action is received (i.e. some data is shared), the
"Share" widget is shown
- new Cagou.share method to share data using "Share" widget
- new Cagou.getAncestorWidget method to easily retrieve an instance of a specific class in
a widget's ancestors
- ContactList's Avatar and ContactItem widgets have been moved to core.common
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 06 Dec 2019 13:23:03 +0100 |
parents | 772c170b47a9 |
children | 33244f944bd8 |
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_remote.py Fri Dec 06 13:23:03 2019 +0100 +++ b/cagou/plugins/plugin_wid_remote.py Fri Dec 06 13:23:03 2019 +0100 @@ -19,7 +19,6 @@ from sat.core import log as logging -log = logging.getLogger(__name__) from sat.core.i18n import _ from sat_frontends.quick_frontend import quick_widgets from cagou.core import cagou_widget @@ -40,6 +39,8 @@ from functools import partial +log = logging.getLogger(__name__) + PLUGIN_INFO = { "name": _("remote control"), "main": "RemoteControl",