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.
This commit is contained in:
2011-06-10 18:18:58 +02:00
parent e1e9a6d319
commit b2223d6595
7 changed files with 80 additions and 3 deletions

View File

@@ -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>