Comment 3 for bug 1384776

Revision history for this message
Allison Karlitskaya (desrt) wrote :

The patch already went upstream in NetworkManager and now we have an Ubuntu package landing soon.

The upshot is that we now have a simple DBus property:

  system
  org.freedesktop.NetworkManager
  /org/freedesktop/NetworkManager
  org.freedesktop.NetworkManager.PrimaryConnectionType

which is a string like '802-11-wireless' or 'bluetooth'. If there is no connection then it is an empty string.

We don't have normal D-Bus property change notification here but rather a custom-rolled signal from NetworkManager itself (PropertiesChanged).