changeset 1342:84aef77f0add

[gaim-migrate @ 1352] Umm, I forgot this :-). committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Thu, 21 Dec 2000 02:11:56 +0000
parents 6ec45c45157c
children a0d89bdc733e
files src/conversation.c src/gaim.h
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Thu Dec 21 02:05:53 2000 +0000
+++ b/src/conversation.c	Thu Dec 21 02:11:56 2000 +0000
@@ -1644,10 +1644,7 @@
 	struct conversation *cnv = gtk_object_get_user_data(m);
 	cnv->gc = c;
 
-	if (cnv->gc->prpl->set_info == NULL)
-		gtk_widget_set_sensitive(cnv->info, FALSE);
-	else
-		gtk_widget_set_sensitive(cnv->info, TRUE);
+	update_buttons_by_protocol(cnv);
 }
 
 void update_convo_add_button(struct conversation *c)
--- a/src/gaim.h	Thu Dec 21 02:05:53 2000 +0000
+++ b/src/gaim.h	Thu Dec 21 02:11:56 2000 +0000
@@ -643,6 +643,7 @@
 extern void set_font_face(char *, struct conversation *);
 extern void redo_convo_menus();
 extern void toggle_spellchk();
+extern void update_buttons_by_protocol(struct conversation *);
 
 /* Functions in toc.c */
 extern void parse_toc_buddy_list(struct gaim_connection *, char *, int);