Save fullscreen state using glib settings

This commit is contained in:
2024-11-27 16:40:21 +01:00
parent ac261f0761
commit a7ea7bd6d7
4 changed files with 45 additions and 15 deletions

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- GTK settings schema / configuration. Deploy this e.g. to $HOME/.local/share/glib-2.0/schemas -->
<schemalist>
<schema id="de.frajul.music-reader" path="/de/frajul/music-reader/">
<key name="fullscreen" type="b">
<default>false</default>
<summary>Whether the application is in fullscreen mode</summary>
</key>
</schema>
</schemalist>