Remove from EXTRA_DIST files we'd already be distributing
[dbus-python-phuang.git] / examples / gconf-proxy-client.py
blob222c96e8b21d2c723188e08b16f1c8e3b0c27263
1 #!/usr/bin/env python
3 print "WARNING: this hasn't been updated to current API yet, and might not work"
5 import dbus
7 gconf_key = "/desktop/gnome/file_views/icon_theme"
9 bus = dbus.SessionBus()
10 gconf_service = bus.get_service("org.gnome.GConf")
11 gconf_key_object = gconf_service.get_object("/org/gnome/GConf" + gconf_key, "org.gnome.GConf")
13 value = gconf_key_object.getString()
15 print ("Value of GConf key %s is %s" % (gconf_key, value))