I'm trying to use GConf ChangeSet to set a list in GConf.
This is how I'm using it:
import gconfThis doesn't work. '/apps/test/qwerty' is not set, and no error is given. Does anyone know how to do this?
client = gconf.client_get_default( ) changeSet = gconf. ChangeSet()
v1 = gconf.Value(gconf .VALUE_STRING)
v2 = gconf.Value(gconf. VALUE_STRING)
v1. set_string("a")
v2.set_string("b")
changeSet.set_list( "/apps/test/qwerty", gconf.VALUE_STRING, [v1,v2])
client. commit_change_set(changeSet, True )
Best Regards
Peter Moberg
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
