The source code looks like this (gnome-control-center 1:2.20.1-0ubuntu1)

                        if (is_string_complete (str->str, "successfully",
                                                                                
          "short",
                                                                                
          "panlindrome",
                                                                                
          "simple",
                                                                                
          "similar",
                                                                                
          "wrapped",
                                                                                
          "recovered",
                                                                                
          "unchanged",
                                                                                
          "match",
                                                                                
          "1 numeric or special",
                                                                                
          "failure",
                                                                                
          NULL)) {

                                /* What response did we get? */
                                passdlg_set_busy (pdialog, FALSE);

                                if (g_strrstr (str->str, "successfully") != 
NULL) {
                                        /* Hooray! */

                                        passdlg_clear (pdialog);
                                        passdlg_set_status (pdialog, _("Your 
password has been changed."));
                                } else {
                                        /* Ohnoes! */

                                        /* Focus new password */
                                        gtk_widget_grab_focus (GTK_WIDGET 
(pdialog->new_password));

                                        if (g_strrstr (str->str, "recovered") 
!= NULL) {
                                                /* What does this indicate?
                                                 * "Authentication information 
cannot be recovered?" from libpam? */
                                                msg = g_strdup_printf 
(_("System error: %s."), str->str);
                                        } else if (g_strrstr (str->str, 
"short") != NULL) {
                                                msg = g_strdup (_("The password 
is too short."));
                                        } else if (g_strrstr (str->str, 
"panlindrome") != NULL) {
                                                msg = g_strdup (_("The password 
is too simple."));
                                        } else if (g_strrstr (str->str, 
"simple") != NULL) {
                                                msg = g_strdup (_("The password 
is too simple."));
                                        } else if ((g_strrstr (str->str, 
"similar") != NULL) || (g_strrstr (str->str, "wrapped") != NULL)) {
          

** Changed in: gnome-control-center (Ubuntu)
       Status: New => Confirmed

-- 
Change password hangs on palindrome
https://bugs.launchpad.net/bugs/196386
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to