After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666415 - Settings tools should allow specifying a schema directory
Settings tools should allow specifying a schema directory
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gsettings
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-12-17 19:15 UTC by Giovanni Campagna
Modified: 2011-12-19 15:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gsettings-tool: allow specifying custom schema dirs (10.30 KB, patch)
2011-12-17 19:16 UTC, Giovanni Campagna
none Details | Review
gsettings-tool: allow specifying custom schema dirs (13.36 KB, patch)
2011-12-18 02:18 UTC, Allison Karlitskaya (desrt)
committed Details | Review

Description Giovanni Campagna 2011-12-17 19:15:42 UTC
See patch.
Comment 1 Giovanni Campagna 2011-12-17 19:16:29 UTC
Created attachment 203743 [details] [review]
gsettings-tool: allow specifying custom schema dirs

It happens that one wants to customize settings for plugins or
shell extensions, that installing schemas in nonstandard locations.
This patch adds the --schemadir option to gsettings, and ensure
that the appropriate schema is found.
Comment 2 Allison Karlitskaya (desrt) 2011-12-18 02:18:30 UTC
Created attachment 203766 [details] [review]
gsettings-tool: allow specifying custom schema dirs

Cleaned up the indentation a bit, tweaked some minor implementation
details and added help.
Comment 3 Matthias Clasen 2011-12-19 13:12:09 UTC
Looks good to me
Comment 4 Allison Karlitskaya (desrt) 2011-12-19 15:34:08 UTC
Attachment 203766 [details] pushed as 4664328 - gsettings-tool: allow specifying custom schema dirs