From 159c151dd5c79a425b6b3270f2867bde767cbe2a Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 3 Dec 2004 15:56:48 +0000 Subject: Don't offer to resume if there are open windows. Fixes bug #160345. 2004-12-03 Christian Persch * src/ephy-session.c: (ephy_session_autoresume): Don't offer to resume if there are open windows. Fixes bug #160345. --- ChangeLog | 7 +++++++ src/ephy-session.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index da35cc9f7..5fbec2c1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-12-03 Christian Persch + + * src/ephy-session.c: (ephy_session_autoresume): + + Don't offer to resume if there are open windows. + Fixes bug #160345. + 2004-12-03 Christian Persch * src/ephy-history-window.c: diff --git a/src/ephy-session.c b/src/ephy-session.c index 8da52d255..31346004b 100644 --- a/src/ephy-session.c +++ b/src/ephy-session.c @@ -413,7 +413,7 @@ ephy_session_autoresume (EphySession *session) LOG ("ephy_session_autoresume") - if (session->priv->windows != NULL) return FALSE; + if (session->priv->windows != NULL || session->priv->tool_windows != NULL) return FALSE; if (session->priv->resume_dialog) { -- cgit v1.2.3