# HG changeset patch # User Mark Doliner # Date 1081091306 0 # Node ID ddbcef747dc7f37485f7b80c6954dc4194ae0f4a # Parent be805ad5f9c7a7964b9f95850565e243454e5d87 [gaim-migrate @ 9325] Another patch from Ambrose C. Li: This is a very small patch. The only thing it does is to add a "Set User Info (URL)..." protocol action for ICQ that loads a static web page. committer: Tailor Script diff -r be805ad5f9c7 -r ddbcef747dc7 src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Sun Apr 04 14:57:54 2004 +0000 +++ b/src/protocols/oscar/oscar.c Sun Apr 04 15:08:26 2004 +0000 @@ -6712,6 +6712,11 @@ gaim_account_request_change_user_info(gaim_connection_get_account(gc)); } +static void oscar_show_set_info_icqurl(GaimConnection *gc) +{ + gaim_notify_uri(gc, "http://web.icq.com/whitepages/login/1,,,00.html"); +} + static void oscar_change_pass(GaimConnection *gc) { gaim_account_request_change_password(gaim_connection_get_account(gc)); @@ -6775,6 +6780,14 @@ pam->gc = gc; m = g_list_append(m, pam); + if (od->icq) { + pam = g_new0(struct proto_actions_menu, 1); + pam->label = _("Set User Info (URL)..."); + pam->callback = oscar_show_set_info_icqurl; + pam->gc = gc; + m = g_list_append(m, pam); + } + #if 0 pam = g_new0(struct proto_actions_menu, 1); pam->label = _("Set Available Message...");