D11142: Add ConnectionCheck for Dash Cards
Aditya Mehra
noreply at phabricator.kde.org
Wed Mar 7 19:07:07 UTC 2018
Aiix created this revision.
Aiix added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
Aiix requested review of this revision.
REVISION SUMMARY
Check if there is an internet connection available before displaying information cards
- Ping example.com to check connection availability
- Wait for active internet connection to connect to plasma geolocation datasource
- Do not display information cards in not connected as they are dependent on GeoLocation data
REPOSITORY
R846 Mycroft Plasma integration
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D11142
AFFECTED FILES
CMakeLists.txt
plasmoid/contents/ui/main.qml
plugin/CMakeLists.txt
plugin/connectioncheck.cpp
plugin/connectioncheck.h
plugin/mycroftplasmoidplugin.cpp
To: Aiix, #plasma
Cc: plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180307/f7b3b95a/attachment-0001.html>
More information about the Plasma-devel
mailing list