aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Noronha Silva <gns@gnome.org>2011-03-12 10:05:04 +0800
committerGustavo Noronha Silva <gns@gnome.org>2011-03-12 22:15:23 +0800
commit9801a1a369481e69e360ffa76b3521daa8370b88 (patch)
tree6060ef13c4f5ee3dcebac1554b8cce7503d6455f
parent747284a96cffeec3b9a4738ad38a46c7f2dac585 (diff)
downloadgsoc2013-epiphany-9801a1a369481e69e360ffa76b3521daa8370b88.tar
gsoc2013-epiphany-9801a1a369481e69e360ffa76b3521daa8370b88.tar.gz
gsoc2013-epiphany-9801a1a369481e69e360ffa76b3521daa8370b88.tar.bz2
gsoc2013-epiphany-9801a1a369481e69e360ffa76b3521daa8370b88.tar.lz
gsoc2013-epiphany-9801a1a369481e69e360ffa76b3521daa8370b88.tar.xz
gsoc2013-epiphany-9801a1a369481e69e360ffa76b3521daa8370b88.tar.zst
gsoc2013-epiphany-9801a1a369481e69e360ffa76b3521daa8370b88.zip
Unset resume_window when the session has been resumed
The resume_window private variable is used to track whether a resume has already been done. This causes tabs to be reused after the session has been restored when new tabs should have been created. Bug #625116
-rw-r--r--src/ephy-session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 65ca3d228..183ef2d92 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -1620,6 +1620,7 @@ ephy_session_load (EphySession *session,
xmlFreeDoc (doc);
priv->dont_save = FALSE;
+ priv->resume_window = NULL;
ephy_session_save (session, SESSION_CRASHED);