aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-09-24 06:37:09 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-09-24 06:37:09 +0800
commit9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd (patch)
tree28e9809d4583d0aae6813075b0be6c249f2cb1b6
parentca341ca5a6b69c395850ae32b55d7550cf8e1a1d (diff)
downloadgsoc2013-epiphany-9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd.tar
gsoc2013-epiphany-9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd.tar.gz
gsoc2013-epiphany-9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd.tar.bz2
gsoc2013-epiphany-9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd.tar.lz
gsoc2013-epiphany-9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd.tar.xz
gsoc2013-epiphany-9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd.tar.zst
gsoc2013-epiphany-9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd.zip
Save session when windows are removed
2003-09-24 Marco Pesenti Gritti <marco@gnome.org> * src/session.c: (session_remove_window): Save session when windows are removed
-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)