From b83ebc30beffa2963f434dcb6640a44d0054727b Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Thu, 26 Jun 2008 08:10:10 +0000 Subject: [PATCH] * Fixes NB#86112: do not show the account dialog if the alert is not an authentication one pmo-trunk-r4784 --- src/modest-tny-account-store.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modest-tny-account-store.c b/src/modest-tny-account-store.c index 264a7f6..78519e3 100644 --- a/src/modest-tny-account-store.c +++ b/src/modest-tny-account-store.c @@ -1131,7 +1131,7 @@ 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); - else { + else if (error->code == TNY_SERVICE_ERROR_AUTHENTICATE) { modest_platform_run_information_dialog (NULL, prompt, TRUE); /* Show the account dialog if it was wrong */ @@ -1142,6 +1142,7 @@ modest_tny_account_store_alert (TnyAccountStore *self, retval = TRUE; } + g_debug ("%s: error code %d (%s", __FUNCTION__, error->code, error->message); if (prompt) g_free (prompt); -- 1.7.9.5