diff src/gtkconv.c @ 8170:9d1a984681fe

[gaim-migrate @ 8883] Gary Kramlich is probably getting sick of the prefs system, but at least he made a nice interface for protocol prefs. Thanks Gary! committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 25 Jan 2004 22:15:42 +0000
parents e1e871897a4b
children e68b1486c7ad
line wrap: on
line diff
--- a/src/gtkconv.c	Sun Jan 25 22:01:34 2004 +0000
+++ b/src/gtkconv.c	Sun Jan 25 22:15:42 2004 +0000
@@ -1168,7 +1168,7 @@
 	gtk_menu_shell_append(GTK_MENU_SHELL(menu), button);
 	gtk_widget_show(button);
 
-	if (gc && prpl_info->get_info) {
+	if (gc && (prpl_info->get_info || prpl_info->get_cb_info)) {
 		button = gtk_menu_item_new_with_label(_("Info"));
 		g_signal_connect(G_OBJECT(button), "activate",
 							 G_CALLBACK(menu_chat_info_cb), conv);
@@ -1186,6 +1186,7 @@
 		gtk_widget_show(button);
 	}
 
+	/* XXX: jabber can only add buddies from here in certain circumstances */
 	/* Added by Jonas <jonas@birme.se> */
 	if (gc) {
 		if (gaim_find_buddy(gc->account, who))