Mercurial > pidgin
changeset 21230:75c97543b92a
Fix up some broken changes in the request API UI hint changes.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 14 Oct 2007 02:43:06 +0000 |
parents | 0b67d509a305 |
children | 002c2495cae3 b9680933c2c6 |
files | libpurple/protocols/qq/sys_msg.c libpurple/protocols/silc/chat.c |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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,
--- 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);