fractal/fractal-gtk/res/org.gnome.Fractal.gschema.xml
Robert Griesel b4b38868ad Save and restore window state
Size, position and window maximize state are saved in gsettings
when closing Fractal. They are then restored on startup.

Window position is not working on all windowing systems.

Fixes #123
2019-02-25 11:01:33 +00:00

54 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<schemalist>
<enum id="org.gnome.Fractal.PasswordStorage">
<value nick="Secret Service" value="0"/>
<value nick="Plain text" value="1"/>
</enum>
<schema path="/org/gnome/factal/" id="org.gnome.Fractal">
<key name="password-storage" enum="org.gnome.Fractal.PasswordStorage">
<default>'Secret Service'</default>
<summary>Type of password and token storage</summary>
<description>
Type of password and token storage, default value is: Secret Service
</description>
</key>
<key name="markdown-active" type="b">
<default>false</default>
<summary>If markdown sending is active</summary>
<description>
Whether support for sending markdown messages is on
</description>
</key>
<key name="main-window-state-x" type="i">
<default>-1</default>
<summary>X position of the main window on startup</summary>
</key>
<key name="main-window-state-y" type="i">
<default>-1</default>
<summary>Y position of the main window on startup</summary>
</key>
<key name="main-window-state-width" type="i">
<default>860</default>
<summary>Width of the main window on startup</summary>
</key>
<key name="main-window-state-height" type="i">
<default>640</default>
<summary>Height of the main window on startup</summary>
</key>
<key name="main-window-state-maximized" type="b">
<default>false</default>
<summary>Whether the main window is maximized on startup</summary>
</key>
</schema>
</schemalist>