# HG changeset patch # User Eric Warmenhoven # Date 1005855487 0 # Node ID abecab6004516d776f174399a1378848024fc4f7 # Parent 74d1bbae4adc6eb6f8e55212f4daba95309e7891 [gaim-migrate @ 2735] shit committer: Tailor Script diff -r 74d1bbae4adc -r abecab600451 src/conversation.c --- a/src/conversation.c Thu Nov 15 10:19:01 2001 +0000 +++ b/src/conversation.c Thu Nov 15 20:18:07 2001 +0000 @@ -2018,14 +2018,14 @@ void set_convo_gc(struct conversation *c, struct gaim_connection *gc) { + if (gc) + gtk_option_menu_set_history(GTK_OPTION_MENU(c->menu), g_slist_index(connections, gc)); + if (c->gc == gc) return; c->gc = gc; - if (gc) - gtk_option_menu_set_history(GTK_OPTION_MENU(c->menu), g_slist_index(connections, gc)); - update_buttons_by_protocol(c); update_icon(c);