changeset 8192:36f8dcea9648

[gaim-migrate @ 8913] Luke pointed out that chat's don't have icons. I pointed out that I'm dumb. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 31 Jan 2004 20:33:05 +0000
parents 90a1fbd2493d
children e0a70b763872
files src/gtkconv.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Sat Jan 31 04:40:24 2004 +0000
+++ b/src/gtkconv.c	Sat Jan 31 20:33:05 2004 +0000
@@ -2568,6 +2568,9 @@
 
 	g_return_if_fail(conv != NULL);
 
+	if (gaim_conversation_get_type(conv) != GAIM_CONV_IM)
+		return;
+
 	gtkconv = GAIM_GTK_CONVERSATION(conv);
 
 	stop_anim(NULL, conv);
@@ -2611,7 +2614,8 @@
 	 * We pause icons when they are not visible.  If this icon should 
 	 * be animated then start it back up again.lll
 	 */
-	if (gtkconv->u.im->animate)
+	if ((gaim_conversation_get_type(conv) == GAIM_CONV_IM) &&
+		(gtkconv->u.im->animate))
 		start_anim(NULL, conv);
 
 	gtk_widget_grab_focus(gtkconv->entry);