aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-04-12 23:15:45 +0800
committerXan Lopez <xan@igalia.com>2012-04-12 23:17:23 +0800
commit7e5bb20dfc1082d27e706fa1f0e898e2fca799b2 (patch)
treed3c350a11bb40a4e0779c32a48edd5c1ed8ea9a7 /data
parent9a0063cedde9bc02adc91c346a555ce1c0639c0c (diff)
downloadgsoc2013-epiphany-7e5bb20dfc1082d27e706fa1f0e898e2fca799b2.tar.gz
gsoc2013-epiphany-7e5bb20dfc1082d27e706fa1f0e898e2fca799b2.tar.zst
gsoc2013-epiphany-7e5bb20dfc1082d27e706fa1f0e898e2fca799b2.zip
Add a 'crashed' option to the session restore policy
With this policy the session will only be restored if the application has exited unexpectedly, but not if the user manually closes it. There are no code changes needed for this to work, having a (valid) different value than always/never in the setting makes things just work.
Diffstat (limited to 'data')
-rw-r--r--data/org.gnome.epiphany.gschema.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml
index d39fc3849..3ceee4047 100644
--- a/data/org.gnome.epiphany.gschema.xml
+++ b/data/org.gnome.epiphany.gschema.xml
@@ -62,7 +62,7 @@
<key name="restore-session-policy" enum="org.gnome.Epiphany.EphyPrefsRestoreSessionPolicy">
<default>'always'</default>
<summary>Whether to automatically restore the last session</summary>
- <description>Defines how the session will be restored during startup. Allowed values are 'always' (the previous state of the application is always restored) and 'never' (the homepage is always shown).</description>
+ <description>Defines how the session will be restored during startup. Allowed values are 'always' (the previous state of the application is always restored), 'crashed' (the session is only restored if the application crashes) and 'never' (the homepage is always shown).</description>
</key>
</schema>
<schema path="/org/gnome/epiphany/ui/" id="org.gnome.Epiphany.ui">