changeset 993:eacd93d0089a

[gaim-migrate @ 1003] signing off should be reflected in the convo window. this will help prevent segfaults :-P committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 13 Oct 2000 22:32:20 +0000
parents 09dd5725945c
children fc1ca0d9c878
files src/conversation.c src/multi.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Fri Oct 13 21:36:46 2000 +0000
+++ b/src/conversation.c	Fri Oct 13 22:32:20 2000 +0000
@@ -1669,6 +1669,12 @@
 	while (c) {
 		C = (struct conversation *)c->data;
 		create_convo_menu(C);
+
+		if (connections)
+			C->gc = (struct gaim_connection *)connections->data;
+		else
+			C->gc = NULL;
+
 		c = c->next;
 	}
 }
--- a/src/multi.c	Fri Oct 13 21:36:46 2000 +0000
+++ b/src/multi.c	Fri Oct 13 22:32:20 2000 +0000
@@ -641,6 +641,7 @@
 	u = find_user(gc->username);
 	i = gtk_clist_find_row_from_data(GTK_CLIST(list), u);
 	gtk_clist_set_text(GTK_CLIST(list), i, 1, "No");
+	redo_convo_menus();
 }
 
 void auto_login()