Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- mate-control-center-1.20.3/capplets/about-me/mate-about-me-password.c.1 2018-11-07 09:14:55.533893979 +0000
- +++ mate-control-center-1.20.3/capplets/about-me/mate-about-me-password.c 2018-11-07 09:17:36.697540566 +0000
- @@ -498,7 +498,7 @@
- switch (pdialog->backend_state) {
- case PASSWD_STATE_AUTH:
- /* Passwd is asking for our current password */
- -
- + g_warning("passwd_state = PASSWD_STATE_AUTH, str is %s", str->str);
- if (is_string_complete (str->str, "assword: ", "failure", "wrong", "error", NULL)) {
- /* Which response did we get? */
- passdlg_set_busy (pdialog, FALSE);
- @@ -533,6 +533,7 @@
- case PASSWD_STATE_NEW:
- /* Passwd is asking for our new password */
- + g_warning("passwd_state = PASSWD_STATE_NEW, str is %s", str->str);
- if (is_string_complete (str->str, "assword: ", NULL)) {
- /* Advance to next state */
- pdialog->backend_state = PASSWD_STATE_RETYPE;
- @@ -546,6 +547,7 @@
- case PASSWD_STATE_RETYPE:
- /* Passwd is asking for our retyped new password */
- + g_warning("passwd_state = PASSWD_STATE_RETYPE, str is %s", str->str);
- if (is_string_complete (str->str, "successfully",
- "short",
- "longer",
- @@ -628,6 +630,8 @@
- }
- break;
- case PASSWD_STATE_NONE:
- +
- + g_warning("passwd_state = PASSWD_STATE_NONE");
- /* Passwd is not asking for anything yet */
- if (is_string_complete (str->str, "assword: ", NULL)) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement