diff 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
line wrap: on
line diff
--- a/src/gaimrc.c	Sat Jan 11 00:38:22 2003 +0000
+++ b/src/gaimrc.c	Sat Jan 11 04:48:10 2003 +0000
@@ -807,6 +807,8 @@
 			web_browser = atoi(p->value[0]);
 		} else if (!strcmp(p->option, "web_command")) {
 			strcpy(web_command, p->value[0]);
+		} else if (!strcmp(p->option, "smiley_theme")) {
+			load_smiley_theme(p->value[0], TRUE);
 		} else if (!strcmp(p->option, "conv_size")) {
 			conv_size.width = atoi(p->value[0]);
 			conv_size.height = atoi(p->value[1]);
@@ -904,6 +906,8 @@
 	fprintf(f, "\treport_idle { %d }\n", report_idle);
 	fprintf(f, "\tweb_browser { %d }\n", web_browser);
 	fprintf(f, "\tweb_command { %s }\n", web_command);
+	if (current_smiley_theme)
+		fprintf(f, "\tsmiley_theme { %s }\n", current_smiley_theme->path);
 	fprintf(f, "\tblist_pos { %d } { %d } { %d } { %d }\n",
 		blist_pos.x, blist_pos.y, blist_pos.width, blist_pos.height);
 	fprintf(f, "\tconv_size { %d } { %d } { %d }\n",