summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2011-06-10 18:18:58 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2011-06-12 10:05:16 +0200
commitb2223d65951c3ad706d76d35e15df8cf2e17535f (patch)
tree50f8b823c9a115483975f41b7cd2a75401430b22 /share
parente1e9a6d3198516e9924068b4fab0d4df070a76a5 (diff)
downloadlogdiag-b2223d65951c3ad706d76d35e15df8cf2e17535f.tar.gz
logdiag-b2223d65951c3ad706d76d35e15df8cf2e17535f.tar.xz
logdiag-b2223d65951c3ad706d76d35e15df8cf2e17535f.zip
Integrate GSettings, remember View settings.
The org.logdiag ID has been chosen as I haven't found any specific rules and com.github.logdiag seems not to be future-proof. This domain remains available so far, anyway. The schemas are compiled only when installed directly to CMAKE_INSTALL_PREFIX to the root filesystem. When invoking `make install` with DESTDIR, only the XML files are copied over as the schemas would have to be recompiled later anyway.
Diffstat (limited to 'share')
-rw-r--r--share/org.logdiag.gschema.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/share/org.logdiag.gschema.xml b/share/org.logdiag.gschema.xml
new file mode 100644
index 0000000..515e0b8
--- /dev/null
+++ b/share/org.logdiag.gschema.xml
@@ -0,0 +1,17 @@
+<schemalist>
+ <schema id="org.logdiag" path="/apps/logdiag/" gettext-domain="logdiag">
+ <key name="show-main-toolbar" type="b">
+ <default>true</default>
+ <summary>Whether to show the main toolbar</summary>
+ </key>
+ <key name="show-library-toolbar" type="b">
+ <default>true</default>
+ <summary>Whether to show the library toolbar</summary>
+ </key>
+ <key name="show-grid" type="b">
+ <default>true</default>
+ <summary>Whether to show the grid</summary>
+ </key>
+ </schema>
+</schemalist>
+