#3991 HIGH Untriag: Working GConf and python bindings

Zarro Boogs per Child bugtracker at laptop.org
Thu Oct 11 11:41:19 EDT 2007


#3991: Working GConf and python bindings
--------------------------+-------------------------------------------------
  Reporter:  marco        |       Owner:  jg       
      Type:  enhancement  |      Status:  new      
  Priority:  high         |   Milestone:  Untriaged
 Component:  distro       |     Version:           
Resolution:               |    Keywords:           
  Verified:  0            |  
--------------------------+-------------------------------------------------
Changes (by sayamindu):

 * cc: sayamindu (added)


Comment:

 I'm not sure what I understand the issue here is. GConf-Dbus seems to be
 there in build 616, and it seemed to work fine via gconftool-2 (I did a
 --dump and a --set).
 The only part missing seems to the python bindings. I built the python
 bindings in my own system, and linked them against gconf-dbus and they
 seemed to work fine. I ran the following code from a python shell:

 {{{
 import gconf
 c = gconf.client_get_default()
 c.get_value('/apps/aisleriot/height')
 c.set_value('/apps/aisleriot/height', 500)
 }}}

 I had dbus-monitor running, and it gave me

 {{{
 method call sender=:1.34 -> dest=org.gnome.GConf
 path=/org/gnome/GConf/Database/0; interface=org.gnome.GConf.Database;
 member=LookupExtended
    string "/apps/aisleriot/height"
    string "C"
    boolean true
 method call sender=:1.34 -> dest=org.gnome.GConf
 path=/org/gnome/GConf/Database/0; interface=org.gnome.GConf.Database;
 member=Set
    string "/apps/aisleriot/height"
    struct {
       int32 2
       int32 500
    }
 }}}

 So things seem to running fine (I'm running Fedora 7, btw).
 The only step that needs to be done is to add the python gconf bindings to
 the build. Is there any documentation on the wiki for that ? I can try to
 do that.

-- 
Ticket URL: <https://dev.laptop.org/ticket/3991#comment:2>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list