Commit 00c129f8 authored by Philip Withnall's avatar Philip Withnall

Merge branch 'fix-network-available-check' into 'master'

Handle an UNKNOWN NetworkManager connectivity as NONE

See merge request !719
parents 3c44026d 2932a58c
Pipeline #68353 passed with stages
in 14 minutes and 39 seconds
......@@ -167,7 +167,8 @@ sync_properties (GNetworkMonitorNM *nm,
nm_connectivity = g_variant_get_uint32 (v);
g_variant_unref (v);
if (nm_connectivity == NM_CONNECTIVITY_NONE)
if (nm_connectivity == NM_CONNECTIVITY_UNKNOWN ||
nm_connectivity == NM_CONNECTIVITY_NONE)
{
new_network_available = FALSE;
new_network_metered = FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment