summaryrefslogtreecommitdiff
path: root/examples/python/gi/add_connection.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-2/+2
| | | | 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: update python examplesDan Winship2014-11-151-12/+10
| | | | | | | | | | Update the raw D-Bus python examples to use newer APIs where appropriate (and split the add-connection example into 1.0-only and 0.9-compatible versions). Update the gi-based python examples for the various API changes since they were last updated. Also add a comment to the ruby add-connection example pointing out that it's still using the old settings APIs.
* examples: fix python GI examples to work after libnm changesJiří Klimeš2014-09-051-3/+5
|
* all: port everything to libnmDan Winship2014-08-011-17/+15
| | | | | | | | | | | Since the API has not changed at this point, this is mostly just a matter of updating Makefiles, and changing references to the library name in comments. NetworkManager cannot link to libnm due to the duplicated type/symbol names. So it links to libnm-core.la directly, which means that NetworkManager gets a separate copy of that code from libnm.so. Everything else links to libnm.
* examples: a Python GOI example for adding connections persistent vs. not savedJiří Klimeš2014-01-241-0/+101