Mercurial > pidgin
diff libpurple/protocols/silc/ops.c @ 16442:a5176db228b7
Update SILC to match resent request API changes
| author | Stu Tomlinson <stu@nosnilmot.com> |
|---|---|
| date | Thu, 26 Apr 2007 13:10:57 +0000 |
| parents | 32c366eeeb99 |
| children | 5e47b3427b28 |
line wrap: on
line diff
--- a/libpurple/protocols/silc/ops.c Thu Apr 26 12:26:33 2007 +0000 +++ b/libpurple/protocols/silc/ops.c Thu Apr 26 13:10:57 2007 +0000 @@ -1295,7 +1295,7 @@ _("User Information"), buf, 1, client_entry, 2, _("OK"), G_CALLBACK(silcpurple_whois_more), - _("_More..."), G_CALLBACK(silcpurple_whois_more)); + _("_More..."), G_CALLBACK(silcpurple_whois_more), gc->account, NULL, NULL); else #endif purple_notify_userinfo(gc, client_entry->nickname, user_info, NULL, NULL); @@ -1900,17 +1900,18 @@ silc_ask_passphrase(SilcClient client, SilcClientConnection conn, SilcAskPassphrase completion, void *context) { + PurpleConnection *gc = client->application; SilcPurpleAskPassphrase internal = silc_calloc(1, sizeof(*internal)); if (!internal) return; internal->completion = completion; internal->context = context; - purple_request_input(client->application, _("Passphrase"), NULL, + purple_request_input(gc, _("Passphrase"), NULL, _("Passphrase required"), NULL, FALSE, TRUE, NULL, _("OK"), G_CALLBACK(silc_ask_passphrase_cb), _("Cancel"), G_CALLBACK(silc_ask_passphrase_cb), - internal); + purple_connection_get_account(gc), NULL, NULL, internal); }
