[gq-commit] gq/src mainwin.c,1.36,1.37
Status: Beta
Brought to you by:
sur5r
From: <sta...@us...> - 2003-10-05 22:21:41
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1:/tmp/cvs-serv7662 Modified Files: mainwin.c Log Message: * Made the main window state persistent Index: mainwin.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/mainwin.c,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** mainwin.c 5 Oct 2003 13:44:21 -0000 1.36 --- mainwin.c 5 Oct 2003 22:21:37 -0000 1.37 *************** *** 44,47 **** --- 44,48 ---- #include "debug.h" #include "input.h" + #include "state.h" #include "../icons/logo.xpm" *************** *** 171,176 **** struct gq_filter *filter; ! mainwin = gtk_window_new(GTK_WINDOW_TOPLEVEL); ! gtk_window_set_default_size(GTK_WINDOW(mainwin), 770, 478); gtk_container_border_width(GTK_CONTAINER(mainwin), 0); gtk_signal_connect(GTK_OBJECT(mainwin), "destroy", --- 172,181 ---- struct gq_filter *filter; ! /* mainwin = gtk_window_new(GTK_WINDOW_TOPLEVEL); */ ! /* gtk_window_set_default_size(GTK_WINDOW(mainwin), 770, 478); */ ! ! mainwin = stateful_gtk_window_new(GTK_WINDOW_TOPLEVEL, ! "mainwin", 770, 478); ! gtk_container_border_width(GTK_CONTAINER(mainwin), 0); gtk_signal_connect(GTK_OBJECT(mainwin), "destroy", |