summaryrefslogtreecommitdiff
path: root/examples/python/gi/get-devices.py
Commit message (Collapse)AuthorAgeFilesLines
* examples/python: fix "import gi" in exampleThomas Haller2016-11-161-0/+2
| | | | | | | Otherwise there is a warning: from gi.repository import GLib, NM __main__:1: PyGIWarning: NM was imported without specifying a version first. Use gi.require_version(NM, 1.0) before import to ensure that the right version gets loaded.
* libnm/libnm-glib: add NMClient.get_all_devices() method and AllDevices propertyDan Williams2015-12-041-0/+41
Mirror new NetworkManager API to return both real devices and device placeholders.