Commit graph

5 commits

Author SHA1 Message Date
Ivailo Monev
66ad0076b1 plasma: do not attempt actions that require network when the KNetworkManager status is unknown
the previous network status implementation was lacking backends and
fallback thus the unknown status was used as as if the status is connected

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 23:26:53 +03:00
Ivailo Monev
cbe10de639 plasma: do not reset the source data on source update event for gelocation data engine
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 23:10:54 +03:00
Ivailo Monev
d28608da5b plasma: rework geolocation data engine to emit data for all providers
so that the weather location (see kde-extraapps/kdeplasma-addons/libs/plasmaweather/weatherlocation.h)
can check all providers from a single data update and try to match any of
the cities from the providers essentially extending the matching

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 09:30:24 +03:00
Ivailo Monev
1ffb4b1eb0 generic: port to the new knetworkmanager library and remove slid-networkstatus
also corrected folderview applet condition in olderView::setUrl()
(incorrect since before the fork, was displaying message that the
network is not reachable when the status is connected)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 08:42:27 +03:00
Ivailo Monev
efbde9e504 plasma: organize sub-directories
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-24 22:48:47 +02:00
Renamed from plasma/generic/dataengines/geolocation/geolocation.cpp (Browse further)