changeset 2160:13a1695a9ba8

[gaim-migrate @ 2170] forgot about this case too. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 23 Aug 2001 18:51:43 +0000
parents 510af3fee78b
children 757e10018950
files src/conversation.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Thu Aug 23 18:45:13 2001 +0000
+++ b/src/conversation.c	Thu Aug 23 18:51:43 2001 +0000
@@ -2334,11 +2334,15 @@
 
 			imhtml = c->text;
 			win = c->window;
+			if (c->gc && c->gc->prpl->remove_convo)
+				(*c->gc->prpl->remove_convo)(c->gc, c);
 			show_conv(c);
 			gtk_widget_destroy(c->text);
 			gtk_widget_reparent(imhtml, c->sw);
 			c->text = imhtml;
 			gtk_widget_destroy(win);
+			if (c->gc && c->gc->prpl->insert_convo)
+				(*c->gc->prpl->insert_convo)(c->gc, c);
 
 			x = x->next;
 		}
@@ -2351,10 +2355,14 @@
 			GtkWidget *imhtml;
 
 			imhtml = c->text;
+			if (c->gc && c->gc->prpl->remove_convo)
+				(*c->gc->prpl->remove_convo)(c->gc, c);
 			show_conv(c);
 			gtk_widget_destroy(c->text);
 			gtk_widget_reparent(imhtml, c->sw);
 			c->text = imhtml;
+			if (c->gc && c->gc->prpl->insert_convo)
+				(*c->gc->prpl->insert_convo)(c->gc, c);
 
 			x = x->next;
 		}