changeset 2546:d392e9b867e9

[gaim-migrate @ 2559] hi. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 19 Oct 2001 08:01:41 +0000
parents ac6f0a173055
children ab55ac6234b8
files src/conversation.c src/server.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Fri Oct 19 05:54:16 2001 +0000
+++ b/src/conversation.c	Fri Oct 19 08:01:41 2001 +0000
@@ -2028,6 +2028,11 @@
 		gtk_widget_set_sensitive(c->block, FALSE);
 		gtk_widget_set_sensitive(c->add, FALSE);
 
+		if (c->whisper)
+			gtk_widget_set_sensitive(c->whisper, FALSE);
+		if (c->invite)
+			gtk_widget_set_sensitive(c->invite, FALSE);
+
 		return;
 	}
 
--- a/src/server.c	Fri Oct 19 05:54:16 2001 +0000
+++ b/src/server.c	Fri Oct 19 08:01:41 2001 +0000
@@ -89,6 +89,7 @@
 		struct conversation *b = gc->buddy_chats->data;
 		gc->buddy_chats = g_slist_remove(gc->buddy_chats, b);
 		b->gc = NULL;
+		update_buttons_by_protocol(b);
 	}
 
 	if (gc->idle_timer > 0)