diff --git a/docs/reference/gio/migrating.xml b/docs/reference/gio/migrating.xml index 93ec963fd..c11982a00 100644 --- a/docs/reference/gio/migrating.xml +++ b/docs/reference/gio/migrating.xml @@ -273,6 +273,19 @@ start_monitoring_trash (void) ]]> + + GSettings schemas have more stringent restrictions on key names + than GConf. Key names in GSettings are restricted to at most 32 + characters, and must only consist of lowercase characters, numbers + and dashes, with no consecutive dashes. The first character must + not be a number or dash, and the last character cannot be '-'. + The gschema-compile schema + compiler has a that lets you + ignore these restrictions. Note that this option is only meant + to facilitate the migration from GConf, and you should make your + key names follow the more stringent GSettings rules when you + migrate your data from GConf to dconf. + GIO comes with a commandline tool gsettings-schema-convert