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:
17
share/org.logdiag.gschema.xml
Normal file
17
share/org.logdiag.gschema.xml
Normal 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>
|
||||
|
||||
Reference in New Issue
Block a user