Mercurial > pidgin
diff libpurple/protocols/yahoo/yahoo.c @ 21560:665e04562de0
This merge has the effect of reverting the hinting code from trunk.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 17 Nov 2007 00:12:30 +0000 |
parents | 9dbf38f270da fcb848b2d669 |
children | 3265e4619117 |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.c Fri Nov 16 03:39:04 2007 +0000 +++ b/libpurple/protocols/yahoo/yahoo.c Sat Nov 17 00:12:30 2007 +0000 @@ -1027,12 +1027,12 @@ static void yahoo_buddy_add_deny_reason_cb(gpointer data) { struct yahoo_add_request *add_req = data; - purple_request_input_with_hint(add_req->gc, NULL, _("Authorization denied message:"), + purple_request_input(add_req->gc, NULL, _("Authorization denied message:"), NULL, _("No reason given."), TRUE, FALSE, NULL, _("OK"), G_CALLBACK(yahoo_buddy_add_deny_cb), _("Cancel"), G_CALLBACK(yahoo_buddy_add_deny_noreason_cb), purple_connection_get_account(add_req->gc), add_req->who, NULL, - PURPLE_REQUEST_UI_HINT_BLIST, add_req); + add_req); } static void yahoo_buddy_denied_our_add(PurpleConnection *gc, const char *who, const char *reason) @@ -2064,9 +2064,9 @@ g_snprintf(buf, sizeof(buf), _("You have tried to ignore %s, but the " "user is on your buddy list. Clicking \"Yes\" " "will remove and ignore the buddy."), who); - purple_request_yes_no_with_hint(gc, NULL, _("Ignore buddy?"), buf, 0, + purple_request_yes_no(gc, NULL, _("Ignore buddy?"), buf, 0, gc->account, who, NULL, - PURPLE_REQUEST_UI_HINT_BLIST, b, + b, G_CALLBACK(ignore_buddy), G_CALLBACK(keep_buddy)); break; @@ -3502,23 +3502,23 @@ static void yahoo_show_act_id(PurplePluginAction *action) { PurpleConnection *gc = (PurpleConnection *) action->context; - purple_request_input_with_hint(gc, NULL, _("Activate which ID?"), NULL, + purple_request_input(gc, NULL, _("Activate which ID?"), NULL, purple_connection_get_display_name(gc), FALSE, FALSE, NULL, _("OK"), G_CALLBACK(yahoo_act_id), _("Cancel"), NULL, purple_connection_get_account(gc), NULL, NULL, - PURPLE_REQUEST_UI_HINT_ACCOUNT, gc); + gc); } static void yahoo_show_chat_goto(PurplePluginAction *action) { PurpleConnection *gc = (PurpleConnection *) action->context; - purple_request_input_with_hint(gc, NULL, _("Join who in chat?"), NULL, + purple_request_input(gc, NULL, _("Join whom in chat?"), NULL, "", FALSE, FALSE, NULL, _("OK"), G_CALLBACK(yahoo_chat_goto), _("Cancel"), NULL, purple_connection_get_account(gc), NULL, NULL, - PURPLE_REQUEST_UI_HINT_CONV, gc); + gc); } static GList *yahoo_actions(PurplePlugin *plugin, gpointer context) {