From: Luke S. <lsc...@us...> - 2002-09-14 03:08:44
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv28662/src Modified Files: prefs.c Log Message: a couple prefs fixes. prefs should now save things when you change them (thanks faceprint) Index: prefs.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/prefs.c,v retrieving revision 1.247 retrieving revision 1.248 diff -u -d -r1.247 -r1.248 --- prefs.c 31 Aug 2002 02:49:25 -0000 1.247 +++ prefs.c 14 Sep 2002 03:08:39 -0000 1.248 @@ -87,6 +87,7 @@ static GtkWidget *show_color_pref(GtkWidget *, gboolean); static void delete_prefs(GtkWidget *, void *); void set_default_away(GtkWidget *, gpointer); +static void apply_prefs(); struct debug_window *dw = NULL; static GtkWidget *prefs = NULL; @@ -94,7 +95,7 @@ void delete_prefs(GtkWidget *asdf, void *gdsa) { int v; [...967 lines suppressed...] - +} + static GtkWidget *show_color_pref(GtkWidget *box, gboolean fgc) { /* more stuff stolen from X-Chat */ @@ -1923,7 +1935,7 @@ fontname = g_strdup(gtk_font_selection_dialog_get_font_name(GTK_FONT_SELECTION_DIALOG(f))); destroy_fontsel(0, 0); - while(fontname[i] && !isdigit(fontname[i]) && i < sizeof(fontface_new)) { + while(fontname[i] && !isdigit(fontname[i]) && i < sizeof(fontface_new)) { fontface_new[i] = fontname[i]; i++; } @@ -1931,3 +1943,4 @@ debug_printf("fontface_new: %s\n", fontface_new); g_free(fontname); } + |