[epiphany] Unset resume_window when the session has been resumed
- From: Gustavo Noronha Silva <gns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Unset resume_window when the session has been resumed
- Date: Sat, 12 Mar 2011 14:15:34 +0000 (UTC)
commit 9801a1a369481e69e360ffa76b3521daa8370b88
Author: Gustavo Noronha Silva <gns gnome org>
Date: Fri Mar 11 23:05:04 2011 -0300
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 65ca3d2..183ef2d 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]