diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-09-24 06:37:09 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-09-24 06:37:09 +0800 |
commit | 9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd (patch) | |
tree | 28e9809d4583d0aae6813075b0be6c249f2cb1b6 | |
parent | ca341ca5a6b69c395850ae32b55d7550cf8e1a1d (diff) | |
download | gsoc2013-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-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/session.c | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -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) |