comparison src/gaimrc.c @ 3473:0073a014e55b

[gaim-migrate @ 3524] Fixed font preferences, and removed the title from alert windows. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 30 Aug 2002 03:04:12 +0000
parents 222e23f91092
children 4b204c262376
comparison
equal deleted inserted replaced
3472:d33ec392a5e1 3473:0073a014e55b
746 } else if (!strcmp(p->option, "sound_options")) { 746 } else if (!strcmp(p->option, "sound_options")) {
747 sound_options = atoi(p->value[0]); 747 sound_options = atoi(p->value[0]);
748 } else if (!strcmp(p->option, "away_options")) { 748 } else if (!strcmp(p->option, "away_options")) {
749 away_options = atoi(p->value[0]); 749 away_options = atoi(p->value[0]);
750 away_resend = atoi(p->value[1]); 750 away_resend = atoi(p->value[1]);
751 } else if (!strcmp(p->option, "font_xfld")) {
752 g_snprintf(fontxfld, sizeof(fontxfld), "%s", p->value[0]);
753 } else if (!strcmp(p->option, "font_face")) { 751 } else if (!strcmp(p->option, "font_face")) {
754 g_snprintf(fontface, sizeof(fontface), "%s", p->value[0]); 752 g_snprintf(fontface, sizeof(fontface), "%s", p->value[0]);
755 } else if (!strcmp(p->option, "font_size")) { 753 } else if (!strcmp(p->option, "font_size")) {
756 fontsize = atoi(p->value[0]); 754 fontsize = atoi(p->value[0]);
757 } else if (!strcmp(p->option, "foreground")) { 755 } else if (!strcmp(p->option, "foreground")) {
849 fprintf(f, "\tchat_options { %u }\n", chat_options); 847 fprintf(f, "\tchat_options { %u }\n", chat_options);
850 fprintf(f, "\tfont_options { %u }\n", font_options); 848 fprintf(f, "\tfont_options { %u }\n", font_options);
851 fprintf(f, "\tsound_options { %u }\n", sound_options); 849 fprintf(f, "\tsound_options { %u }\n", sound_options);
852 fprintf(f, "\taway_options { %u } { %u }\n", away_options, away_resend); 850 fprintf(f, "\taway_options { %u } { %u }\n", away_options, away_resend);
853 851
854 fprintf(f, "\tfont_xfld { %s }\n", fontxfld);
855 fprintf(f, "\tfont_face { %s }\n", fontface); 852 fprintf(f, "\tfont_face { %s }\n", fontface);
856 fprintf(f, "\tfont_size { %d }\n", fontsize); 853 fprintf(f, "\tfont_size { %d }\n", fontsize);
857 fprintf(f, "\tforeground { %d } { %d } { %d }\n", fgcolor.red, fgcolor.green, fgcolor.blue); 854 fprintf(f, "\tforeground { %d } { %d } { %d }\n", fgcolor.red, fgcolor.green, fgcolor.blue);
858 fprintf(f, "\tbackground { %d } { %d } { %d }\n", bgcolor.red, bgcolor.green, bgcolor.blue); 855 fprintf(f, "\tbackground { %d } { %d } { %d }\n", bgcolor.red, bgcolor.green, bgcolor.blue);
859 fprintf(f, "\treport_idle { %d }\n", report_idle); 856 fprintf(f, "\treport_idle { %d }\n", report_idle);