aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--data/org.gnome.epiphany.gschema.xml2
-rw-r--r--lib/ephy-prefs.h3
2 files changed, 3 insertions, 2 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">
diff --git a/lib/ephy-prefs.h b/lib/ephy-prefs.h
index bc95b3564..9c74deb39 100644
--- a/lib/ephy-prefs.h
+++ b/lib/ephy-prefs.h
@@ -39,7 +39,8 @@ typedef enum
typedef enum
{
EPHY_PREFS_RESTORE_SESSION_POLICY_ALWAYS,
- EPHY_PREFS_RESTORE_SESSION_POLICY_NEVER
+ EPHY_PREFS_RESTORE_SESSION_POLICY_NEVER,
+ EPHY_PREFS_RESTORE_SESSION_POLICY_CRASHED
} EphyPrefsRestoreSessionPolicy;
typedef enum