# HG changeset patch # User Mark Doliner # Date 1188812686 0 # Node ID fe51c6de1a7fd27767f9abdffa03820dcc2617ef # Parent 979d1b4fbe35382c16deed0a520bf3b3af0dec2c I can't get this code to trigger. I think the conversion from prpl-oscar to prpl-aim or prpl-icq happens earlier in the pipeline. diff -r 979d1b4fbe35 -r fe51c6de1a7f pidgin/gtkmain.c --- a/pidgin/gtkmain.c Mon Sep 03 09:02:23 2007 +0000 +++ b/pidgin/gtkmain.c Mon Sep 03 09:44:46 2007 +0000 @@ -774,21 +774,6 @@ /* TODO: Move pounces loading into purple_pounces_init() */ purple_pounces_load(); - /* HACK BY SEANEGAN: - * We've renamed prpl-oscar to prpl-aim and prpl-icq, accordingly. - * Let's do that change right here... after everything's loaded, but - * before anything has happened - */ - for (accounts = purple_accounts_get_all(); accounts != NULL; accounts = accounts->next) { - PurpleAccount *account = accounts->data; - if (!strcmp(purple_account_get_protocol_id(account), "prpl-oscar")) { - if (isdigit(*purple_account_get_username(account))) - purple_account_set_protocol_id(account, "prpl-icq"); - else - purple_account_set_protocol_id(account, "prpl-aim"); - } - } - ui_main(); #ifdef USE_SM