diff src/buddy.c @ 1340:1526caa87138

[gaim-migrate @ 1350] Grey's out the info button on conversation windows if the protocol doesnt support it. Probably should add support for the other buttons to. For example: Warn, Block, add/remove, send :-) committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Thu, 21 Dec 2000 02:01:20 +0000
parents b332d8f46b84
children 2e8213567278
line wrap: on
line diff
--- a/src/buddy.c	Thu Dec 21 01:07:18 2000 +0000
+++ b/src/buddy.c	Thu Dec 21 02:01:20 2000 +0000
@@ -359,8 +359,11 @@
 		c = new_conversation(b->name);
 
 		c->gc = b->connlist->data;
+		
 		gtk_option_menu_set_history(GTK_OPTION_MENU(c->menu),
 				g_slist_index(connections, b->connlist->data));
+
+		update_buttons_by_protocol(c);
 	}
 }
 
@@ -398,6 +401,8 @@
 			c->gc = b->connlist->data;
 			gtk_option_menu_set_history(GTK_OPTION_MENU(c->menu),
 					g_slist_index(connections, b->connlist->data));
+		
+			update_buttons_by_protocol(c);
                 }
 	} else if (event->type == GDK_BUTTON_PRESS && event->button == 3) {
 		GtkWidget *menu;