diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-10-23 10:11:08 +0200 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2012-10-23 10:19:32 +0200 |
commit | 324df561617b777848b149416f0f6c0c3801b2d8 (patch) | |
tree | cf03127a19de5ace0f6d0976975bbe055455a36f /bin | |
parent | 004f135e50164dc409bd6de74bc9ee3fe61da3e9 (diff) | |
download | dconf-324df561617b777848b149416f0f6c0c3801b2d8.tar.gz |
service: rewrite
Rewrite the dconf-service using gdbus-codegen and generally cleaning
things up a lot. The DConfWriter class can now be reasonably subclassed
to create more complex types of dconf databases (such as ones that
are stored in the local runtime dir and synced up with an NFS home
directory).
Keep a cache of the keys in the database (instead of re-reading it every
time we try to make a change).
Drop support for the old D-Bus interface (now that we are two stable
releases since it was used).
Modify the commandline tool for 'dconf blame' to call the new interface.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/dconf.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dconf.vala b/bin/dconf.vala index 646b275..f07bce3 100644 --- a/bin/dconf.vala +++ b/bin/dconf.vala @@ -228,7 +228,7 @@ void dconf_watch (string?[] args) throws Error { void dconf_blame (string?[] args) throws Error { var connection = Bus.get_sync (BusType.SESSION, null); - var reply = connection.call_sync ("ca.desrt.dconf", "/ca/desrt/dconf/Writer", "ca.desrt.dconf.WriterInfo", "Blame", + var reply = connection.call_sync ("ca.desrt.dconf", "/ca/desrt/dconf", "ca.desrt.dconf.ServiceInfo", "Blame", null, new VariantType ("(s)"), DBusCallFlags.NONE, -1, null); print ("%s", reply.get_child_value (0).get_string (null)); } |