summaryrefslogtreecommitdiffstats
path: root/configmgr/source/dconf.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Fix typosAndrea Gelmini2016-01-071-1/+1
| | | | | | | Change-Id: I90b04b8eda6fc3d530c9db72052720cbe9de0343 Reviewed-on: https://gerrit.libreoffice.org/21197 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* configmgr/dconf: Simplify Fleet Commander write-back modeStephan Bergmann2015-10-211-8/+6
| | | | | | | | | | | | | * Get rid of different dconf trees for reading and writing again; the one single tree is /org/libreoffice/registry/. * Trigger the special write-back mode when a file $SYSUSERCONFIG/libreoffice/dconfwrite is present; then, ignore the default user:!... entry in CONFIGURATION_LAYERS (i.e., don't use the UserInstallation's registrymodifications.xcu) and instead write changes back to the dconf tree. Change-Id: I6b4d7251851da3fe7abbc9dcb080d57b278de96b
* Avoid false -Werror=maybe-uninitializedStephan Bergmann2015-09-291-1/+1
| | | | Change-Id: I5493c49eb97c630e91cdc8368ad8b017557f1fa1
* Fix documentationStephan Bergmann2015-09-021-1/+2
| | | | Change-Id: I8fc081d3f445a362f5e1ee735ce8baeab1d6cc9b
* configmgr: Split dconf in two /org/libreoffice/registry/{system,user}/Stephan Bergmann2015-09-021-4/+8
| | | | | | | | | | | | | | | ...so that the lower-layer "dconf:*" reads from the .../system/ dconf tree while the final-layer "dconf:!" reads from and writes to the .../user/ dconf tree. Using a single tree would not really work: For one, a sysadmin will want to finalize a property so it cannot be changed by extensions; that means that property must be set and finalized in the lower-layer "dconf:*". But for another, a user will want to change a property for which an extension provides a value; that means that property must be set in the final-layer "dconf:!". So the two "dconf:*" and "dconf:!" must store their respective data in different places. Change-Id: I9029e7f779bcb86e8f26cfc22401e97e0cb3362b
* configmgr: support writing back to dconf (WIP)Stephan Bergmann2015-09-011-1/+583
| | | | | | | Needs to be enabled manually for now by changing CONFIGURATION_LAYERS's tail from " user:..." to " user:*... dconf:!". Change-Id: I31cd806f21d2ded376832faf98f49167b7243d1c
* dconf: Change the way set elements are encodedStephan Bergmann2015-09-011-96/+136
| | | | | | | | ...to avoid having multiple dconf paths for the same set element (with different template names or operations encoded into the dconf path segment), esp. when introducing write-back into dconf. Change-Id: Ieebad3b1024dd7607022abbfa963850b05c26d65
* Handle dconf_client_new failureStephan Bergmann2015-09-011-0/+4
| | | | Change-Id: Ib873ca03a2552dc0405236ed87040672ba359e5e
* dconf: fix check for matching templateStephan Bergmann2015-09-011-36/+36
| | | | Change-Id: I8319bf10310d55e2f29de8103d983e34a53f87df
* dconf: fix encoding of set element namesStephan Bergmann2015-09-011-10/+21
| | | | Change-Id: I6aba45a70a9ebee65be34af1036bb515fd2a22b7
* Rename stuff, in preparation of dconf::writeModificationsStephan Bergmann2015-09-011-0/+953
Change-Id: Icd472e91b222907e2cdcbdba1b78b33c44eff566