pidgin: bceb2e82: Display an error message when we receive...
rekkanoryo at pidgin.im
rekkanoryo at pidgin.im
Thu Jul 16 22:45:42 EDT 2009
-----------------------------------------------------------------
Revision: bceb2e82690de2be4ff9fba2485dbacba0325a98
Ancestor: 3cb6dd057bf70c662dacb908e8d7d65f2145c2af
Author: rekkanoryo at pidgin.im
Date: 2009-07-17T00:37:59
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/bceb2e82690de2be4ff9fba2485dbacba0325a98
Modified files:
libpurple/protocols/yahoo/libymsg.c
ChangeLog:
Display an error message when we receive error code 1013 from the Yahoo! logon
process. I borrowed this string from MSN and intend to change it after the
release.
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/libymsg.c cfd0904270f16a706057325c0a6f5ae0f797c05b
+++ libpurple/protocols/yahoo/libymsg.c 361983f686856c948c79894565269ea32ff84026
@@ -2087,6 +2087,10 @@ static void yahoo_process_authresp(Purpl
msg = g_strdup(_("Your account is locked, please log in to the Yahoo! website."));
reason = PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED;
break;
+ case 1013:
+ msg = g_strdup(_("Invalid username"));
+ reason = PURPLE_CONNECTION_ERROR_INVALID_USERNAME;
+ break;
default:
msg = g_strdup_printf(_("Unknown error number %d. Logging into the Yahoo! website may fix this."), err);
}
More information about the Commits
mailing list