diff src/conversation.c @ 1759:e0f936b4c91a

[gaim-migrate @ 1769] i'm so tired i can't sleep sit and drink penny royal tea committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 27 Apr 2001 07:55:01 +0000
parents 3dfe4aefd366
children 1e0613d9526b
line wrap: on
line diff
--- a/src/conversation.c	Fri Apr 27 07:34:21 2001 +0000
+++ b/src/conversation.c	Fri Apr 27 07:55:01 2001 +0000
@@ -2351,3 +2351,34 @@
 		}
 	}
 }
+
+void update_convo_color(gboolean fg)
+{
+	GList *c = conversations;
+	struct conversation *b;
+
+	while (c) {
+		b = c->data;
+		c = c->next;
+		if (fg) {
+			if (b->hasfg) continue;
+			b->fgcol = fgcolor;
+		} else {
+			if (b->hasbg) continue;
+			b->bgcol = bgcolor;
+		}
+	}
+}
+
+void update_convo_font()
+{
+	GList *c = conversations;
+	struct conversation *b;
+
+	while (c) {
+		b = c->data;
+		c = c->next;
+		if (b->hasfont) continue;
+		sprintf(b->fontface, "%s", fontface);
+	}
+}