| Index: test/set-profile-property
|
| diff --git a/test/set-profile-property b/test/set-profile-property
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a557ac655aed65ad819e18fe5fa7dd063d408532
|
| --- /dev/null
|
| +++ b/test/set-profile-property
|
| @@ -0,0 +1,13 @@
|
| +#!/usr/bin/python
|
| +
|
| +import dbus, flimflam, string, sys
|
| +
|
| +if (len(sys.argv) < 4):
|
| + print "Usage: %s <profile-name> <property> <value>" % (sys.argv[0])
|
| + sys.exit(1)
|
| +
|
| +(_, name, property, value) = sys.argv
|
| +
|
| +flim = flimflam.FlimFlam()
|
| +profile = flim.FindElementByNameSubstring('Profile', name)
|
| +profile.SetProperty(property, value)
|
|
|