examples: update python examples
authorDan Winship <danw@gnome.org>
Thu, 13 Nov 2014 19:27:26 +0000 (14:27 -0500)
committerDan Winship <danw@gnome.org>
Sat, 15 Nov 2014 14:31:49 +0000 (09:31 -0500)
commit66936decfa411105191f4f2324745586440e8e80
tree53bad59fc76eb14a85e55879e9de627189e1f966
parent94157ce9009d6bbfaef78782b061162c00f9435e
examples: update python examples

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.
12 files changed:
examples/python/dbus/Makefile.am
examples/python/dbus/add-connection-compat.py [new file with mode: 0755]
examples/python/dbus/add-connection.py
examples/python/dbus/is-wwan-default.py
examples/python/dbus/update-ip4-method.py
examples/python/gi/add_connection.py
examples/python/gi/firewall-zone.py
examples/python/gi/get_ips.py
examples/python/gi/list-connections.py
examples/python/gi/show-wifi-networks.py
examples/python/gi/update-ip4-method.py
examples/ruby/add-connection.rb