gsettings-tool: Rewrite
authorRyan Lortie <desrt@desrt.ca>
Sun, 3 Oct 2010 06:40:48 +0000 (02:40 -0400)
committerRyan Lortie <desrt@desrt.ca>
Sun, 3 Oct 2010 06:48:07 +0000 (02:48 -0400)
commit2d6f8a8ea4a0c86c40da60db2d948306f4c2f5c9
tree7a233b81f5f8360919f7e5312e3e097cf5772463
parented9db23f9a056ae253be25c2262f19047a62fe76
gsettings-tool: Rewrite

Rewrite the GSettings tool.

Improvements/changes:

 - simplify the code by performing common actions (like creating a
   schema) in only one place instead of one per-command

 - new features (list schemas, list keys, monitor multiple, etc)

 - factor-out bash completion and implement in shellscript

 - input validation: should never abort due to invalid inputs

Still to do:

 - proper error checking for ranges/choices

 - support for querying range/choice information

 - bash completion support for enums

Closes bug #629289, possibly among others.
gio/gsettings-bash-completion.sh
gio/gsettings-tool.c