summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2013-09-24 12:35:19 +0200
committerJiří Klimeš <jklimes@redhat.com>2013-09-24 12:52:33 +0200
commit8a04ab9135e6905d376cdbe95cf4fc6910e337c1 (patch)
tree62bcf9b67cdce83f1a0a870aee6292f1884452fc /examples
parent217cb5fbca79bd21f5305ba8911be37c81fc4c8a (diff)
downloadNetworkManager-8a04ab9135e6905d376cdbe95cf4fc6910e337c1.tar.gz
examples: group python examples - dbus vs. gi
Move examples using dbus-python ('dbus' module) and GObject introspection into their own directories.
Diffstat (limited to 'examples')
-rw-r--r--examples/python/Makefile.am16
-rw-r--r--examples/python/dbus/Makefile.am11
-rwxr-xr-xexamples/python/dbus/add-connection.py (renamed from examples/python/add-connection.py)0
-rwxr-xr-xexamples/python/dbus/add-system-wifi-connection.py (renamed from examples/python/add-system-wifi-connection.py)0
-rwxr-xr-xexamples/python/dbus/disconnect-device.py (renamed from examples/python/disconnect-device.py)0
-rwxr-xr-xexamples/python/dbus/get-active-connection-uuids.py (renamed from examples/python/get-active-connection-uuids.py)0
-rwxr-xr-xexamples/python/dbus/list-connections.py (renamed from examples/python/list-connections.py)0
-rwxr-xr-xexamples/python/dbus/list-devices.py (renamed from examples/python/list-devices.py)0
-rwxr-xr-xexamples/python/dbus/nm-state.py (renamed from examples/python/nm-state.py)0
-rwxr-xr-xexamples/python/dbus/show-bssids.py (renamed from examples/python/show-bssids.py)0
-rwxr-xr-xexamples/python/dbus/update-secrets.py (renamed from examples/python/update-secrets.py)0
-rwxr-xr-xexamples/python/dbus/vpn.py (renamed from examples/python/vpn.py)0
-rw-r--r--examples/python/gi/Makefile.am4
-rwxr-xr-xexamples/python/gi/device-state-ip4config.py (renamed from examples/python/goi-device-state-ip4config.py)0
-rwxr-xr-xexamples/python/gi/firewall-zone.py (renamed from examples/python/goi-firewall-zone.py)0
-rwxr-xr-xexamples/python/gi/list-connections.py (renamed from examples/python/goi-list-connections.py)0
16 files changed, 17 insertions, 14 deletions
diff --git a/examples/python/Makefile.am b/examples/python/Makefile.am
index ade9497814..3b6a41f494 100644
--- a/examples/python/Makefile.am
+++ b/examples/python/Makefile.am
@@ -1,14 +1,2 @@
-EXTRA_DIST = \
- nm-state.py \
- add-connection.py \
- add-system-wifi-connection.py
- vpn.py \
- update-secrets.py \
- list-connections.py \
- show-bssids.py \
- disconnect-device.py \
- get-active-connection-uuids.py \
- list-devices.py \
- goi-list-connections.py \
- goi-device-state-ip4config.py \
- goi-firewall-zone.py
+SUBDIRS= dbus gi
+
diff --git a/examples/python/dbus/Makefile.am b/examples/python/dbus/Makefile.am
new file mode 100644
index 0000000000..a54997d75d
--- /dev/null
+++ b/examples/python/dbus/Makefile.am
@@ -0,0 +1,11 @@
+EXTRA_DIST = \
+ nm-state.py \
+ add-connection.py \
+ add-system-wifi-connection.py
+ vpn.py \
+ update-secrets.py \
+ list-connections.py \
+ show-bssids.py \
+ disconnect-device.py \
+ get-active-connection-uuids.py \
+ list-devices.py
diff --git a/examples/python/add-connection.py b/examples/python/dbus/add-connection.py
index 24b3f600d6..24b3f600d6 100755
--- a/examples/python/add-connection.py
+++ b/examples/python/dbus/add-connection.py
diff --git a/examples/python/add-system-wifi-connection.py b/examples/python/dbus/add-system-wifi-connection.py
index ff3908217d..ff3908217d 100755
--- a/examples/python/add-system-wifi-connection.py
+++ b/examples/python/dbus/add-system-wifi-connection.py
diff --git a/examples/python/disconnect-device.py b/examples/python/dbus/disconnect-device.py
index 85afa97ba6..85afa97ba6 100755
--- a/examples/python/disconnect-device.py
+++ b/examples/python/dbus/disconnect-device.py
diff --git a/examples/python/get-active-connection-uuids.py b/examples/python/dbus/get-active-connection-uuids.py
index 9eefac20b2..9eefac20b2 100755
--- a/examples/python/get-active-connection-uuids.py
+++ b/examples/python/dbus/get-active-connection-uuids.py
diff --git a/examples/python/list-connections.py b/examples/python/dbus/list-connections.py
index 120b744acc..120b744acc 100755
--- a/examples/python/list-connections.py
+++ b/examples/python/dbus/list-connections.py
diff --git a/examples/python/list-devices.py b/examples/python/dbus/list-devices.py
index 11985b1cf9..11985b1cf9 100755
--- a/examples/python/list-devices.py
+++ b/examples/python/dbus/list-devices.py
diff --git a/examples/python/nm-state.py b/examples/python/dbus/nm-state.py
index 94fa630999..94fa630999 100755
--- a/examples/python/nm-state.py
+++ b/examples/python/dbus/nm-state.py
diff --git a/examples/python/show-bssids.py b/examples/python/dbus/show-bssids.py
index 505e3d35c7..505e3d35c7 100755
--- a/examples/python/show-bssids.py
+++ b/examples/python/dbus/show-bssids.py
diff --git a/examples/python/update-secrets.py b/examples/python/dbus/update-secrets.py
index 13cac1b08c..13cac1b08c 100755
--- a/examples/python/update-secrets.py
+++ b/examples/python/dbus/update-secrets.py
diff --git a/examples/python/vpn.py b/examples/python/dbus/vpn.py
index 59773a61fb..59773a61fb 100755
--- a/examples/python/vpn.py
+++ b/examples/python/dbus/vpn.py
diff --git a/examples/python/gi/Makefile.am b/examples/python/gi/Makefile.am
new file mode 100644
index 0000000000..23152c3c13
--- /dev/null
+++ b/examples/python/gi/Makefile.am
@@ -0,0 +1,4 @@
+EXTRA_DIST = \
+ list-connections.py \
+ device-state-ip4config.py \
+ firewall-zone.py
diff --git a/examples/python/goi-device-state-ip4config.py b/examples/python/gi/device-state-ip4config.py
index 48116dc627..48116dc627 100755
--- a/examples/python/goi-device-state-ip4config.py
+++ b/examples/python/gi/device-state-ip4config.py
diff --git a/examples/python/goi-firewall-zone.py b/examples/python/gi/firewall-zone.py
index 9a9751d1e2..9a9751d1e2 100755
--- a/examples/python/goi-firewall-zone.py
+++ b/examples/python/gi/firewall-zone.py
diff --git a/examples/python/goi-list-connections.py b/examples/python/gi/list-connections.py
index 1b617ae7b7..1b617ae7b7 100755
--- a/examples/python/goi-list-connections.py
+++ b/examples/python/gi/list-connections.py