[accounts-dialog] Fix a few typos
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [accounts-dialog] Fix a few typos
- Date: Thu, 4 Feb 2010 20:55:21 +0000 (UTC)
commit db31f645bd185b1a3b177062db1ac32942cf09fd
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 4 15:31:59 2010 -0500
Fix a few typos
src/run-passwd.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/run-passwd.c b/src/run-passwd.c
index 361a0a3..c702364 100644
--- a/src/run-passwd.c
+++ b/src/run-passwd.c
@@ -482,7 +482,7 @@ io_watch_stdout (GIOChannel *source, GIOCondition condition, PasswdHandler *pass
if (strstr (str->str, "successfully") != NULL) {
/* Hooray! */
- passswd_handler->backend_state = PASSWD_STATE_DONE;
+ passwd_handler->backend_state = PASSWD_STATE_DONE;
/* Trigger callback to update status */
if (passwd_handler->chpasswd_cb)
passwd_handler->chpasswd_cb (passwd_handler,
@@ -525,6 +525,7 @@ io_watch_stdout (GIOChannel *source, GIOCondition condition, PasswdHandler *pass
else if (strstr (str->str, "DIFFERENT")) {
error = g_error_new (PASSWD_ERROR, PASSWD_ERROR_REJECTED,
_("The new password does not contain enough different characters"));
+ }
else {
error = g_error_new (PASSWD_ERROR, PASSWD_ERROR_UNKNOWN,
_("Unknown error"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]