1. 31 May, 2019 1 commit
  2. 29 Apr, 2019 1 commit
    • Fabrice Bellet's avatar
      gnetworkmonitornm: Fix network available detection · 719133e8
      Fabrice Bellet authored
      The network-available property can be asserted by querying the NMState
      describing the current overval network state, instead of the
      NMConnectivityState. The advantage of the NMState is that is reflects
      immediately the network state modification, while the connectivity
      state is tested at a fixed frequency.
      719133e8
  3. 12 Mar, 2019 1 commit
    • Antonio Larrosa's avatar
      Handle an UNKNOWN NetworkManager connectivity as NONE · 2932a58c
      Antonio Larrosa authored
      nm_conn_to_g_conn already handles UNKNOWN like NONE (returning
      G_NETWORK_CONNECTIVITY_LOCAL in both cases). So in sync_properties
      we should also set new_connectivity to G_NETWORK_CONNECTIVITY_LOCAL
      for both NM_CONNECTIVITY_UNKNOWN and NM_CONNECTIVITY_NONE.
      
      This has the added benefit that when NetworkManager returns the network
      connectivity is UNKNOWN, we set network_available to FALSE as it should
      be. Previously, there were cases in a laptop with no network access,
      that g_network_monitor_get_network_available returned true, which was
      wrong and is also fixed with this commit.
      2932a58c
  4. 13 Sep, 2018 1 commit
  5. 28 Feb, 2018 2 commits
  6. 29 May, 2017 1 commit
  7. 03 Apr, 2017 1 commit
  8. 29 Jul, 2015 1 commit
  9. 27 Jul, 2015 1 commit
  10. 13 Jan, 2015 1 commit
  11. 05 Jan, 2015 1 commit
    • Timm Bäder's avatar
      gnetworkmonitornm: Prevent crash · 327d35ed
      Timm Bäder authored
      g_dbus_proxy_get_cached_property_names can return NULL if there are no
      cached properties, so don't try to access them in that case.
      327d35ed
  12. 05 Dec, 2014 1 commit