comparison src/gaimrc.c @ 4288:a723d060620a

[gaim-migrate @ 4541] Here. Now you can like have lots of themes and like make your own and like switch them and stuff. It's kidna neat, I suppose. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 11 Jan 2003 04:48:10 +0000
parents a614423c648f
children 0c68d402f59f
comparison
equal deleted inserted replaced
4287:f98e27e2cb10 4288:a723d060620a
805 report_idle = atoi(p->value[0]); 805 report_idle = atoi(p->value[0]);
806 } else if (!strcmp(p->option, "web_browser")) { 806 } else if (!strcmp(p->option, "web_browser")) {
807 web_browser = atoi(p->value[0]); 807 web_browser = atoi(p->value[0]);
808 } else if (!strcmp(p->option, "web_command")) { 808 } else if (!strcmp(p->option, "web_command")) {
809 strcpy(web_command, p->value[0]); 809 strcpy(web_command, p->value[0]);
810 } else if (!strcmp(p->option, "smiley_theme")) {
811 load_smiley_theme(p->value[0], TRUE);
810 } else if (!strcmp(p->option, "conv_size")) { 812 } else if (!strcmp(p->option, "conv_size")) {
811 conv_size.width = atoi(p->value[0]); 813 conv_size.width = atoi(p->value[0]);
812 conv_size.height = atoi(p->value[1]); 814 conv_size.height = atoi(p->value[1]);
813 conv_size.entry_height = atoi(p->value[2]); 815 conv_size.entry_height = atoi(p->value[2]);
814 } else if (!strcmp(p->option, "buddy_chat_size")) { 816 } else if (!strcmp(p->option, "buddy_chat_size")) {
902 fprintf(f, "\tforeground { %d } { %d } { %d }\n", fgcolor.red, fgcolor.green, fgcolor.blue); 904 fprintf(f, "\tforeground { %d } { %d } { %d }\n", fgcolor.red, fgcolor.green, fgcolor.blue);
903 fprintf(f, "\tbackground { %d } { %d } { %d }\n", bgcolor.red, bgcolor.green, bgcolor.blue); 905 fprintf(f, "\tbackground { %d } { %d } { %d }\n", bgcolor.red, bgcolor.green, bgcolor.blue);
904 fprintf(f, "\treport_idle { %d }\n", report_idle); 906 fprintf(f, "\treport_idle { %d }\n", report_idle);
905 fprintf(f, "\tweb_browser { %d }\n", web_browser); 907 fprintf(f, "\tweb_browser { %d }\n", web_browser);
906 fprintf(f, "\tweb_command { %s }\n", web_command); 908 fprintf(f, "\tweb_command { %s }\n", web_command);
909 if (current_smiley_theme)
910 fprintf(f, "\tsmiley_theme { %s }\n", current_smiley_theme->path);
907 fprintf(f, "\tblist_pos { %d } { %d } { %d } { %d }\n", 911 fprintf(f, "\tblist_pos { %d } { %d } { %d } { %d }\n",
908 blist_pos.x, blist_pos.y, blist_pos.width, blist_pos.height); 912 blist_pos.x, blist_pos.y, blist_pos.width, blist_pos.height);
909 fprintf(f, "\tconv_size { %d } { %d } { %d }\n", 913 fprintf(f, "\tconv_size { %d } { %d } { %d }\n",
910 conv_size.width, conv_size.height, conv_size.entry_height); 914 conv_size.width, conv_size.height, conv_size.entry_height);
911 fprintf(f, "\tbuddy_chat_size { %d } { %d } { %d }\n", 915 fprintf(f, "\tbuddy_chat_size { %d } { %d } { %d }\n",