projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b17c948
)
* Fixes NB#97314, show proper error banner when the password is incorrect
author
Sergio Villar Senin
<svillar@igalia.com>
Fri, 13 Feb 2009 10:37:11 +0000
(10:37 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Fri, 13 Feb 2009 10:37:11 +0000
(10:37 +0000)
pmo-trunk-r7484
src/modest-tny-account-store.c
patch
|
blob
|
history
diff --git
a/src/modest-tny-account-store.c
b/src/modest-tny-account-store.c
index
47e6b81
..
7f198db
100644
(file)
--- a/
src/modest-tny-account-store.c
+++ b/
src/modest-tny-account-store.c
@@
-633,7
+633,10
@@
get_password (TnyAccount *account, const gchar * prompt_not_used, gboolean *canc
gchar *password;
password = modest_account_mgr_get_server_account_password (priv->account_mgr,
server_account_name);
- if (!password || strlen(password) == 0)
+
+ if (already_asked)
+ msg = g_strdup (_("mcen_ib_username_pw_incorrect"));
+ else if (!password || strlen(password) == 0)
msg = g_strdup_printf (_("emev_ni_ui_smtp_passwd_invalid"),
tny_account_get_name (account),
tny_account_get_hostname (account));