# HG changeset patch # User Eric Warmenhoven # Date 978646858 0 # Node ID 1136f7896eebe5690da81a552d312cc95a3f6906 # Parent 776bb4c6c0b88ac34f88c9232d9370f93ee26d23 [gaim-migrate @ 1381] this should fix the ICQ non-alias bug committer: Tailor Script diff -r 776bb4c6c0b8 -r 1136f7896eeb src/server.c --- a/src/server.c Thu Jan 04 21:59:35 2001 +0000 +++ b/src/server.c Thu Jan 04 22:20:58 2001 +0000 @@ -331,6 +331,11 @@ } cnv = find_conversation(name); + if (cnv) { + cnv->gc = gc; + gtk_option_menu_set_history(GTK_OPTION_MENU(cnv->menu), g_slist_index(connections, gc)); + update_buttons_by_protocol(cnv); + } if (general_options & OPT_GEN_SEND_LINKS) { linkify_text(message); @@ -344,9 +349,12 @@ if (cnv == NULL) { new_conv = 1; cnv = new_conversation(name); + cnv->gc = gc; + gtk_option_menu_set_history(GTK_OPTION_MENU(cnv->menu), + g_slist_index(connections, gc)); + update_buttons_by_protocol(cnv); } - } - else { + } else { return; } if (cnv != NULL) { @@ -358,6 +366,10 @@ if (cnv == NULL) { new_conv = 1; cnv = new_conversation(name); + cnv->gc = gc; + gtk_option_menu_set_history(GTK_OPTION_MENU(cnv->menu), + g_slist_index(connections, gc)); + update_buttons_by_protocol(cnv); } if (new_conv && (sound_options & OPT_SOUND_FIRST_RCV)) { play_sound(FIRST_RECEIVE); @@ -369,9 +381,6 @@ } - cnv->gc = gc; - gtk_option_menu_set_history(GTK_OPTION_MENU(cnv->menu), g_slist_index(connections, gc)); - update_buttons_by_protocol(cnv); if (awaymessage != NULL) {