projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
14c7495
)
* Fixes NB#84952, show the account dialog if the password is entered thrice wrongly
author
Sergio Villar Senin
<svillar@igalia.com>
Mon, 19 May 2008 17:06:22 +0000
(17:06 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Mon, 19 May 2008 17:06:22 +0000
(17:06 +0000)
pmo-trunk-r4547
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
a0fd3de
..
5c8ee35
100644
(file)
--- a/
src/modest-tny-account-store.c
+++ b/
src/modest-tny-account-store.c
@@
-1154,8
+1154,17
@@
modest_tny_account_store_alert (TnyAccountStore *self,
if (error->code == TNY_SERVICE_ERROR_CERTIFICATE)
retval = modest_platform_run_certificate_confirmation_dialog (server_name,
error->message);
if (error->code == TNY_SERVICE_ERROR_CERTIFICATE)
retval = modest_platform_run_certificate_confirmation_dialog (server_name,
error->message);
- else
- retval = modest_platform_run_alert_dialog (prompt, question);
+ else {
+ modest_platform_run_information_dialog (NULL, prompt, TRUE);
+
+ /* Show the account dialog if it was wrong */
+ if (error->code == TNY_SERVICE_ERROR_CONNECT ||
+ error->code == TNY_SERVICE_ERROR_AUTHENTICATE)
+ show_wrong_password_dialog (account);
+
+ retval = TRUE;
+ }
+
if (prompt)
g_free (prompt);
if (prompt)
g_free (prompt);