diff options
author | Srinivasa Ragavan <sragavan@gnome.org> | 2010-05-07 16:25:33 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@gnome.org> | 2010-05-07 16:25:33 +0800 |
commit | 4aa2552cb46f0daa67e135231f82f7d5403e2d19 (patch) | |
tree | 318c1441aa401d19010cd2d2e1acfe90b9fea6e8 | |
parent | cab50ae5116499b9ec40c8a0311c10c62f54f073 (diff) | |
download | gsoc2013-evolution-4aa2552cb46f0daa67e135231f82f7d5403e2d19.tar.gz gsoc2013-evolution-4aa2552cb46f0daa67e135231f82f7d5403e2d19.tar.zst gsoc2013-evolution-4aa2552cb46f0daa67e135231f82f7d5403e2d19.zip |
Don't ask for password while editing accounts.
-rw-r--r-- | capplet/settings/mail-account-view.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/capplet/settings/mail-account-view.c b/capplet/settings/mail-account-view.c index 1446923c5a..a6751b9a1b 100644 --- a/capplet/settings/mail-account-view.c +++ b/capplet/settings/mail-account-view.c @@ -166,6 +166,8 @@ validate_identity (MailAccountView *view) return ERROR_NO_FULLNAME; if (!email || !*email) return ERROR_NO_EMAIL; + if (view->original) /* We don't query/store pwd on edit. */ + return 0; if (!pwd || !*pwd) return ERROR_NO_PASSWORD; |