diff libpurple/protocols/jabber/auth.c @ 21086:8c9aad9479c0

Removed request stuff - now on pidgin-request-ui-hint
author Gabriel Schulhof <nix@go-nix.ca>
date Wed, 10 Oct 2007 22:57:51 +0000
parents 285bb637a2b7
children cab348e39751
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth.c	Tue Oct 09 18:01:51 2007 +0000
+++ b/libpurple/protocols/jabber/auth.c	Wed Oct 10 22:57:51 2007 +0000
@@ -318,10 +318,10 @@
 				} else if (!plaintext) {
 					char *msg = g_strdup_printf(_("%s requires plaintext authentication over an unencrypted connection.  Allow this and continue authentication?"),
 							js->gc->account->username);
-					purple_request_yes_no_with_hint(js->gc, _("Plaintext Authentication"),
+					purple_request_yes_no(js->gc, _("Plaintext Authentication"),
 							_("Plaintext Authentication"),
 							msg,
-							2, js->gc->account, NULL, NULL, "account", js->gc->account,
+							2, js->gc->account, NULL, NULL, js->gc->account,
 							allow_cyrus_plaintext_auth,
 							disallow_plaintext_auth);
 					g_free(msg);
@@ -507,13 +507,13 @@
 		if(js->gsc == NULL && !purple_account_get_bool(js->gc->account, "auth_plain_in_clear", FALSE)) {
 			char *msg = g_strdup_printf(_("%s requires plaintext authentication over an unencrypted connection.  Allow this and continue authentication?"),
 					js->gc->account->username);
-			purple_request_yes_no_with_hint(js->gc, _("Plaintext Authentication"),
+			purple_request_yes_no(js->gc, _("Plaintext Authentication"),
 					_("Plaintext Authentication"),
 					msg,
 					2,
 					purple_connection_get_account(js->gc), NULL, NULL,
-					"account", purple_connection_get_account(js->gc),
-					allow_plaintext_auth, disallow_plaintext_auth);
+					purple_connection_get_account(js->gc), allow_plaintext_auth,
+					disallow_plaintext_auth);
 			g_free(msg);
 			return;
 		}
@@ -595,13 +595,13 @@
 		} else if(xmlnode_get_child(query, "password")) {
 			if(js->gsc == NULL && !purple_account_get_bool(js->gc->account,
 						"auth_plain_in_clear", FALSE)) {
-				purple_request_yes_no_with_hint(js->gc, _("Plaintext Authentication"),
+				purple_request_yes_no(js->gc, _("Plaintext Authentication"),
 						_("Plaintext Authentication"),
 						_("This server requires plaintext authentication over an unencrypted connection.  Allow this and continue authentication?"),
 						2,
 						purple_connection_get_account(js->gc), NULL, NULL,
-						"account", purple_connection_get_account(js->gc),
-						allow_plaintext_auth, disallow_plaintext_auth);
+						purple_connection_get_account(js->gc), allow_plaintext_auth,
+						disallow_plaintext_auth);
 				return;
 			}
 			finish_plaintext_authentication(js);