summaryrefslogtreecommitdiff
path: root/engine/dconf-engine-profile.c
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2013-12-01 21:56:25 -0500
committerRyan Lortie <desrt@desrt.ca>2014-01-13 16:23:30 -0500
commit690821a22313982497f41b25940fa58a1c33e91b (patch)
tree93614ac7fbd922aa016da224b260463a6db3675d /engine/dconf-engine-profile.c
parent67f739bda92bd3c0fd512ff3a4a663ae8e160b9e (diff)
downloaddconf-690821a22313982497f41b25940fa58a1c33e91b.tar.gz
engine: add support for 'file-db'
This is a new database type that is simply an absolute path to a gvdb anywhere on the filesystem. Change notification is not supported. This is intended to be used by things like gdm that wish to install databases (somewhere in /usr) as part of the software.
Diffstat (limited to 'engine/dconf-engine-profile.c')
-rw-r--r--engine/dconf-engine-profile.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/dconf-engine-profile.c b/engine/dconf-engine-profile.c
index 6f2208d..1fbafc3 100644
--- a/engine/dconf-engine-profile.c
+++ b/engine/dconf-engine-profile.c
@@ -69,14 +69,14 @@
* Once a profile file is opened, each line is treated as a possible
* source. Comments and empty lines are ignored.
*
- * All valid source specification lines need to start with 'user-db:' or
- * 'system-db:'. If a line doesn't start with one of these then it gets
- * ignored. If all the lines in the file get ignored then the result is
- * effectively the null profile.
+ * All valid source specification lines need to start with 'user-db:',
+ * 'system-db:', 'service-db:' or 'file-db:'. If a line doesn't start
+ * with one of these then it gets ignored. If all the lines in the file
+ * get ignored then the result is effectively the null profile.
*
- * If the first source is a "user-db:" then the resulting profile will
- * be writable. No profile starting with a "system-db:" source can ever
- * be writable.
+ * If the first source is a "user-db:" or "service-db:" then the
+ * resulting profile will be writable. No profile starting with a
+ * "system-db:" or "file-db:" source can ever be writable.
*
* Note: even if the source fails to initialise (due to a missing file,
* for example) it will remain in the source list. This could have a