diff src/conversation.c @ 3013:47d0f8979fb1

[gaim-migrate @ 3026] ICQ buddies coming back from away will no longer appear to be unavailable. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 06 Mar 2002 05:26:58 +0000
parents 08327a2f25aa
children 18b567716d6f
line wrap: on
line diff
--- a/src/conversation.c	Wed Mar 06 00:18:02 2002 +0000
+++ b/src/conversation.c	Wed Mar 06 05:26:58 2002 +0000
@@ -3288,7 +3288,7 @@
 	gtk_container_add(GTK_CONTAINER(event), c->icon);
 	gtk_widget_show(c->icon);
 	if(im_options & OPT_IM_NO_ANIMATION)
-		stop_anim(c->icon, c);		
+		stop_anim(NULL, c);		
 	gdk_pixmap_unref(pm);
 	if (bm)
 		gdk_bitmap_unref(bm);
@@ -3311,6 +3311,18 @@
 	}
 }
 
+void set_anim()
+{
+	GList *c = conversations;
+	while (c) {
+		if(im_options & OPT_IM_NO_ANIMATION)
+			stop_anim(NULL, c->data);
+		else 
+			start_anim(NULL, c->data);
+		c = c->next;
+	}
+}
+
 static void remove_checkbox(struct conversation *c)
 {
 	if (c->check)