summaryrefslogtreecommitdiff
path: root/src/org.gnome.Contacts.gschema.xml
diff options
context:
space:
mode:
authorFrank Zschage <frank@reissan.de>2018-02-18 15:07:38 +0100
committerFrank Zschage <frank@reissan.de>2018-02-18 15:07:38 +0100
commitb689eb8b96fe987d2539b83fe7b18a85682c24bc (patch)
tree66524563bd52aa3fbc4a1aa5117031795c57a89b /src/org.gnome.Contacts.gschema.xml
parent766368d106a5301801ce6183da59a95bdfedb9ad (diff)
downloadgnome-contacts-b689eb8b96fe987d2539b83fe7b18a85682c24bc.tar.gz
Contacts.Window: remember width and height of window
According to the change request in issue #9 the contacts application will now store any size changes to the window or if the window has got maximized to the underlaying settings store and will restore the changed dimensions after restarting the app. https://gitlab.gnome.org/GNOME/gnome-contacts/issues/9
Diffstat (limited to 'src/org.gnome.Contacts.gschema.xml')
-rw-r--r--src/org.gnome.Contacts.gschema.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/org.gnome.Contacts.gschema.xml b/src/org.gnome.Contacts.gschema.xml
index 98d2f4e..d069ee6 100644
--- a/src/org.gnome.Contacts.gschema.xml
+++ b/src/org.gnome.Contacts.gschema.xml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
<schema id="org.gnome.Contacts" path="/org/gnome/Contacts/" gettext-domain="gnome-contacts">
<key name="did-initial-setup" type="b">
@@ -13,5 +14,24 @@
Otherwise, it will be sorted on the first names of the contacts.
</description>
</key>
+ <key name="window-height" type="i">
+ <default>600</default>
+ <summary>The default height of the contacts window.</summary>
+ <description>
+ If the window size has not been changed by the user yet this will be used as the initial value for the height of the window.
+ </description>
+ </key>
+ <key name="window-width" type="i">
+ <default>800</default>
+ <summary>The default width of the contacts window.</summary>
+ <description>
+ If the window size has not been changed by the user yet this will be used as the initial value for the width of the window.
+ </description>
+ </key>
+ <key name="window-maximized" type="b">
+ <summary>Is the window maximized?</summary>
+ <description>Stores if the window is currently maximized.</description>
+ <default>false</default>
+ </key>
</schema>
</schemalist>