aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-prefs.h
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 /lib/ephy-prefs.h
parent9a0063cedde9bc02adc91c346a555ce1c0639c0c (diff)
downloadgsoc2013-epiphany-7e5bb20dfc1082d27e706fa1f0e898e2fca799b2.tar
gsoc2013-epiphany-7e5bb20dfc1082d27e706fa1f0e898e2fca799b2.tar.gz
gsoc2013-epiphany-7e5bb20dfc1082d27e706fa1f0e898e2fca799b2.tar.bz2
gsoc2013-epiphany-7e5bb20dfc1082d27e706fa1f0e898e2fca799b2.tar.lz
gsoc2013-epiphany-7e5bb20dfc1082d27e706fa1f0e898e2fca799b2.tar.xz
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 'lib/ephy-prefs.h')
-rw-r--r--lib/ephy-prefs.h3
1 files changed, 2 insertions, 1 deletions
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