Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/usr/bin/python | |
| 2 | |
| 3 import dbus, flimflam, string, sys | |
| 4 | |
| 5 if (len(sys.argv) < 4): | |
| 6 print "Usage: %s <profile-name> <property> <value>" % (sys.argv[0]) | |
| 7 sys.exit(1) | |
| 8 | |
| 9 (_, name, property, value) = sys.argv | |
| 10 | |
| 11 flim = flimflam.FlimFlam() | |
| 12 profile = flim.FindElementByNameSubstring('Profile', name) | |
| 13 profile.SetProperty(property, value) | |
| OLD | NEW |