Mercurial > pidgin
comparison src/gaimrc.c @ 1441:5c67b8794991
[gaim-migrate @ 1451]
patch from decklin to have default font size. yum.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 29 Jan 2001 01:19:24 +0000 |
parents | 9be6790092dc |
children | 6650776468b3 |
comparison
equal
deleted
inserted
replaced
1440:6330d0bb309f | 1441:5c67b8794991 |
---|---|
631 } else if (!strcmp(p->option, "font_options")) { | 631 } else if (!strcmp(p->option, "font_options")) { |
632 font_options = atoi(p->value[0]); | 632 font_options = atoi(p->value[0]); |
633 } else if (!strcmp(p->option, "font_face")) { | 633 } else if (!strcmp(p->option, "font_face")) { |
634 if (p->value[0] != NULL) | 634 if (p->value[0] != NULL) |
635 g_snprintf(fontface, sizeof(fontface), "%s", p->value[0]); | 635 g_snprintf(fontface, sizeof(fontface), "%s", p->value[0]); |
636 } else if (!strcmp(p->option, "font_size")) { | |
637 fontsize = atoi(p->value[0]); | |
636 } else if (!strcmp(p->option, "foreground")) { | 638 } else if (!strcmp(p->option, "foreground")) { |
637 fgcolor.red = atoi(p->value[0]); | 639 fgcolor.red = atoi(p->value[0]); |
638 fgcolor.green = atoi(p->value[1]); | 640 fgcolor.green = atoi(p->value[1]); |
639 fgcolor.blue = atoi(p->value[2]); | 641 fgcolor.blue = atoi(p->value[2]); |
640 } else if (!strcmp(p->option, "background")) { | 642 } else if (!strcmp(p->option, "background")) { |
668 fprintf(f, "\tdisplay_options { %d }\n", display_options); | 670 fprintf(f, "\tdisplay_options { %d }\n", display_options); |
669 fprintf(f, "\tsound_options { %d }\n", sound_options); | 671 fprintf(f, "\tsound_options { %d }\n", sound_options); |
670 fprintf(f, "\tfont_options { %d }\n", font_options); | 672 fprintf(f, "\tfont_options { %d }\n", font_options); |
671 if (fontface) | 673 if (fontface) |
672 fprintf(f, "\tfont_face { %s }\n", fontface); | 674 fprintf(f, "\tfont_face { %s }\n", fontface); |
675 fprintf(f, "\tfont_size { %d }\n", fontsize); | |
673 fprintf(f, "\tforeground { %d } { %d } { %d }\n", fgcolor.red, fgcolor.green, fgcolor.blue); | 676 fprintf(f, "\tforeground { %d } { %d } { %d }\n", fgcolor.red, fgcolor.green, fgcolor.blue); |
674 fprintf(f, "\tbackground { %d } { %d } { %d }\n", bgcolor.red, bgcolor.green, bgcolor.blue); | 677 fprintf(f, "\tbackground { %d } { %d } { %d }\n", bgcolor.red, bgcolor.green, bgcolor.blue); |
675 fprintf(f, "\treport_idle { %d }\n", report_idle); | 678 fprintf(f, "\treport_idle { %d }\n", report_idle); |
676 fprintf(f, "\tweb_browser { %d }\n", web_browser); | 679 fprintf(f, "\tweb_browser { %d }\n", web_browser); |
677 fprintf(f, "\tweb_command { %s }\n", web_command); | 680 fprintf(f, "\tweb_command { %s }\n", web_command); |