summaryrefslogtreecommitdiff
path: root/examples/python/gi/deactivate-all.py
Commit message (Collapse)AuthorAgeFilesLines
* docs: misc. typosluz.paz2018-09-151-1/+1
| | | | | | Found via `codespell -q 3 --skip="*.po"` https://github.com/NetworkManager/NetworkManager/pull/203
* python: make dbus, gi examples, and debug-helper.py python3 readyYifan J2017-12-041-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=791121
* python: use gi.require_version() in generate-setting-docs.py and examplesThomas Haller2015-11-111-0/+2
| | | | | | | | | | | | | | gi now emits a warning when not loading a specific library version [1]: ./generate-setting-docs.py:21: 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. from gi.repository import NM, GObject Seems require_version() is reasonably old to just always use it without breaking on older versions [2]. [1] Related: https://bugzilla.gnome.org/show_bug.cgi?id=727379 [2] https://git.gnome.org/browse/pygobject/commit/?id=76758efb6579752237a0dc4d56cf9518de6c6e55
* examples: python: print into stderrPetr Vorel2015-03-101-1/+1
| | | | | | https://mail.gnome.org/archives/networkmanager-list/2015-March/msg00024.html Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
* examples: add a Python example deactivating connections by type (bgo #732826)Jiří Klimeš2015-03-051-0/+81
https://bugzilla.gnome.org/show_bug.cgi?id=732826