aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/session.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d195669b8..dbdac2e42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-09-24 Marco Pesenti Gritti <marco@gnome.org>
+
+ * src/session.c: (session_remove_window):
+
+ Save session when windows are removed
+
2003-09-24 Christian Persch <chpe@cvs.gnome.org>
* src/window-commands.c: (window_cmd_view_reload):
diff --git a/src/session.c b/src/session.c
index 647d9f939..40daf1b66 100644
--- a/src/session.c
+++ b/src/session.c
@@ -688,6 +688,8 @@ session_remove_window (Session *session,
g_object_unref (window);
+ session_save (session, SESSION_CRASHED);
+
/* autodestroy of the session, necessay to avoid
* conflicts with the nautilus view */
if (session->priv->windows == NULL)