[gq-commit] gq/src configfile.c,1.37,1.38 configfile.h,1.26,1.27
Status: Beta
Brought to you by:
sur5r
|
From: <sta...@us...> - 2003-10-10 06:59:28
|
Update of /cvsroot/gqclient/gq/src
In directory sc8-pr-cvs1:/tmp/cvs-serv8851
Modified Files:
configfile.c configfile.h
Log Message:
* Added defaults for the GUI preferences
Index: configfile.c
===================================================================
RCS file: /cvsroot/gqclient/gq/src/configfile.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** configfile.c 8 Oct 2003 22:51:53 -0000 1.37
--- configfile.c 10 Oct 2003 06:59:24 -0000 1.38
***************
*** 599,602 ****
--- 599,606 ----
cfg->changed = 0;
+ cfg->restore_window_sizes = DEFAULT_RESTORE_SIZES;
+ cfg->restore_window_positions = DEFAULT_RESTORE_POSITIONS;
+ cfg->restore_search_history = DEFAULT_RESTORE_SEARCHES;
+
return cfg;
}
Index: configfile.h
===================================================================
RCS file: /cvsroot/gqclient/gq/src/configfile.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** configfile.h 8 Oct 2003 22:51:53 -0000 1.26
--- configfile.h 10 Oct 2003 06:59:25 -0000 1.27
***************
*** 62,65 ****
--- 62,69 ----
#define DEFAULT_SHOW_REF 0
+ #define DEFAULT_RESTORE_SIZES 1
+ #define DEFAULT_RESTORE_POSITIONS 0
+ #define DEFAULT_RESTORE_SEARCHES 1
+
/* The following do not _really_ belong in here right now... */
/* LDAP Timeout in seconds */
|