# HG changeset patch # User Richard Laager # Date 1192329786 0 # Node ID 75c97543b92a500904859e77a0764ddab097d26f # Parent 0b67d509a305f437f11c24b1a28bf3167f03b566 Fix up some broken changes in the request API UI hint changes. diff -r 0b67d509a305 -r 75c97543b92a libpurple/protocols/qq/sys_msg.c --- a/libpurple/protocols/qq/sys_msg.c Sun Oct 14 02:41:00 2007 +0000 +++ b/libpurple/protocols/qq/sys_msg.c Sun Oct 14 02:43:06 2007 +0000 @@ -83,7 +83,7 @@ qq_send_packet_get_info(gc, uid, TRUE); /* we want to see window */ nombre = uid_to_purple_name(uid); - purple_request_action + purple_request_action_with_hint (gc, NULL, _("Do you want to approve the request?"), "", 2, purple_connection_get_account(gc), nombre, NULL, "chat", g, 2, @@ -106,11 +106,11 @@ qq_send_packet_get_info(gc, uid, TRUE); /* we want to see window */ nombre = uid_to_purple_name(uid); - purple_request_action + purple_request_action_with_hint (gc, NULL, _("Do you want to add this buddy?"), "", 2, purple_connection_get_account(gc), nombre, NULL, "buddy", g, 2, - _("Cancel"), NULL, + _("Cancel"), NULL, _("Add"), G_CALLBACK(qq_add_buddy_with_gc_and_uid)); g_free(nombre); } @@ -239,7 +239,7 @@ reason = g_strdup_printf(_("Message: %s"), msg_utf8); _qq_sys_msg_log_write(gc, message, from); - purple_request_action + purple_request_action_with_hint (gc, NULL, message, reason, 2, purple_connection_get_account(gc), name, NULL, "buddy", g, 3, diff -r 0b67d509a305 -r 75c97543b92a libpurple/protocols/silc/chat.c --- a/libpurple/protocols/silc/chat.c Sun Oct 14 02:41:00 2007 +0000 +++ b/libpurple/protocols/silc/chat.c Sun Oct 14 02:43:06 2007 +0000 @@ -301,7 +301,7 @@ f = purple_request_fields_get_field(fields, "list"); if (!purple_request_field_list_get_selected(f)) { /* Add new public key */ - purple_request_file)with_hint(sg->gc, _("Open Public Key..."), NULL, FALSE, + purple_request_file_with_hint(sg->gc, _("Open Public Key..."), NULL, FALSE, G_CALLBACK(silcpurple_chat_chpk_add), G_CALLBACK(silcpurple_chat_chpk_cancel), purple_connection_get_account(sg->gc), NULL, NULL, "conversation", sgc);