summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2017-01-31 10:13:00 +0100
committerCarlos Garcia Campos <carlosgc@gnome.org>2017-01-31 17:08:18 +0100
commitfedcde29c79954e028dcd2283c66cf3c87ea5304 (patch)
treed97739ad8a4d38d5fd5d68befbd6da0db84dd134 /data
parent2ad08ce0664bed0b666491055f639b716ff178aa (diff)
downloadepiphany-fedcde29c79954e028dcd2283c66cf3c87ea5304.tar.gz
Move window position setting from ui to state schema
And use a tuple instead of two settings.
Diffstat (limited to 'data')
-rw-r--r--data/org.gnome.epiphany.gschema.xml25
1 files changed, 10 insertions, 15 deletions
diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml
index f47d8b1ff..b99017e1d 100644
--- a/data/org.gnome.epiphany.gschema.xml
+++ b/data/org.gnome.epiphany.gschema.xml
@@ -105,21 +105,6 @@
<summary>The visibility policy for the tabs bar.</summary>
<description>Controls when the tabs bar is shown. Possible values are “always” (the tabs bar is always shown), “more-than-one” (the tabs bar is only shown if there’s two or more tabs) and “never” (the tabs bar is never shown).</description>
</key>
- <key type="i" name="width">
- <default>-1</default>
- <summary>Window width</summary>
- <description>The width to use for a new window that is not restored from a previous session.</description>
- </key>
- <key type="i" name="height">
- <default>-1</default>
- <summary>Window height</summary>
- <description>The height to use for a new window that is not restored from a previous session.</description>
- </key>
- <key type="b" name="is-maximized">
- <default>false</default>
- <summary>Is maximized</summary>
- <description>Whether a new window that is not restored from a previous session should be initially maximized.</description>
- </key>
</schema>
<schema path="/org/gnome/epiphany/web/" id="org.gnome.Epiphany.web">
<key type="i" name="min-font-size">
@@ -215,6 +200,16 @@
<key type="as" name="recent-encodings">
<default>['' ]</default>
</key>
+ <key type="(ii)" name="window-size">
+ <default>(-1, -1)</default>
+ <summary>Window size</summary>
+ <description>The size to use for a new window that is not restored from a previous session.</description>
+ </key>
+ <key type="b" name="is-maximized">
+ <default>false</default>
+ <summary>Is maximized</summary>
+ <description>Whether a new window that is not restored from a previous session should be initially maximized.</description>
+ </key>
</schema>
<schema path="/org/gnome/epiphany/lockdown/" id="org.gnome.Epiphany.lockdown">
<key type="b" name="disable-fullscreen">