From 9801a1a369481e69e360ffa76b3521daa8370b88 Mon Sep 17 00:00:00 2001 From: Gustavo Noronha Silva Date: Fri, 11 Mar 2011 23:05:04 -0300 Subject: 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 --- src/ephy-session.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3