Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/auth.c @ 21235:fba1f6c3df0b
Converted string literal UI hints to #define-ed constants and fixed two cast-warnings in gtkblist.c
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Sun, 14 Oct 2007 18:07:19 +0000 |
parents | cab348e39751 |
children | 73c5f5bfeb39 a20ef7180680 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth.c Sun Oct 14 03:14:43 2007 +0000 +++ b/libpurple/protocols/jabber/auth.c Sun Oct 14 18:07:19 2007 +0000 @@ -321,7 +321,7 @@ purple_request_yes_no_with_hint(js->gc, _("Plaintext Authentication"), _("Plaintext Authentication"), msg, - 2, js->gc->account, NULL, NULL, "account", js->gc->account, + 2, js->gc->account, NULL, NULL, PURPLE_REQUEST_HINT_ACCOUNT, js->gc->account, allow_cyrus_plaintext_auth, disallow_plaintext_auth); g_free(msg); @@ -512,7 +512,7 @@ msg, 2, purple_connection_get_account(js->gc), NULL, NULL, - "account", purple_connection_get_account(js->gc), + PURPLE_REQUEST_HINT_ACCOUNT, purple_connection_get_account(js->gc), allow_plaintext_auth, disallow_plaintext_auth); g_free(msg); return; @@ -600,7 +600,7 @@ _("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), + PURPLE_REQUEST_HINT_ACCOUNT, purple_connection_get_account(js->gc), allow_plaintext_auth, disallow_plaintext_auth); return; }