? tmp.patch
? src/glade-session.c
? src/glade-session.h
Index: src/Makefile.am
===================================================================
RCS file: /cvs/gnome/glade3/src/Makefile.am,v
retrieving revision 1.28
diff -u -p -r1.28 Makefile.am
--- src/Makefile.am	22 Apr 2004 22:17:19 -0000	1.28
+++ src/Makefile.am	9 May 2004 10:13:51 -0000
@@ -35,6 +35,7 @@ glade_3_SOURCES = \
 	glade-placeholder.c \
 	glade-project-view.c \
 	glade-project-window.c \
+	glade-session.c \
 	glade-widget-class.c \
 	glade-xml-utils.c \
 	glade-palette.c \
@@ -70,6 +71,7 @@ noinst_HEADERS = \
 	glade-palette.h \
 	glade-cursor.h \
 	glade-project-window.h \
+	glade-session.h \
 	glade-types.h \
 	glade-widget.h \
 	glade-widget-class.h \
Index: src/glade-project-window.c
===================================================================
RCS file: /cvs/gnome/glade3/src/glade-project-window.c,v
retrieving revision 1.77
diff -u -p -r1.77 glade-project-window.c
--- src/glade-project-window.c	8 May 2004 20:01:30 -0000	1.77
+++ src/glade-project-window.c	9 May 2004 10:13:53 -0000
@@ -41,6 +41,7 @@
 #include "glade-project-window.h"
 #include "glade-placeholder.h"
 #include "glade-command.h"
+#include "glade-session.h"
 #include "glade-debug.h"
 #include "glade-utils.h"
 #include <gdk/gdkkeysyms.h>
@@ -403,6 +404,8 @@ gpw_quit_cb (void)
 		}
 	}
 
+	glade_session_save ();
+
 	gtk_main_quit ();
 }
 
@@ -1256,6 +1259,8 @@ glade_project_window_new (GList *catalog
 	gpw_create_palette (gpw);
 	gpw_create_editor  (gpw);
 	gpw_create_clipboard (gpw);
+
+	glade_session_restore ();
 
 	return gpw;
 }
