diff options
author | Xan Lopez <xan@igalia.com> | 2012-04-12 23:15:45 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-04-12 23:17:23 +0800 |
commit | 7e5bb20dfc1082d27e706fa1f0e898e2fca799b2 (patch) | |
tree | d3c350a11bb40a4e0779c32a48edd5c1ed8ea9a7 /lib/ephy-prefs.h | |
parent | 9a0063cedde9bc02adc91c346a555ce1c0639c0c (diff) | |
download | gsoc2013-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 'lib/ephy-prefs.h')
-rw-r--r-- | lib/ephy-prefs.h | 3 |
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 |