Hide unmanaged interfaces
Currently, nm-applet shows all network devices in the drop down list, whether managed or unmanaged. On most people's setups this is fine, but if your system regularly spawns a lot of virtual networks (which it will do if you use virtualbox, vmware or docker) the list can contain dozens of irrelevant entries to the point it can make the applet unusable. See below for screenshots.
This patch was developed by Campbell Vertesy and I got ahold of it on the discussion at https://bugs.launchpad.net/bugs/1458322
Only changes I made were spaces vs tabs re-formatting.
This patch removes any unmanaged interfaces from the drop down list. Specifically, virtualbox and docker virtual networks will no longer be shown.
Other nm clients do a similar thing, for instance:
Closes #39 (closed)