X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-ui-actions.c;h=d143b1d46c88f76215d1b2e499b8ff5933095279;hp=4522f186322e7b07919c21fd1ff64dd0c33bcfb9;hb=a8acfdc26047dce6f8215cf557afbfb75b048308;hpb=6011f47430718f4b1b0fe5fd74484b5153103f53 diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index 4522f18..d143b1d 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -830,6 +830,17 @@ modest_ui_actions_msg_retrieval_check (ModestMailOperation *mail_op, g_object_unref (source); } + if (error && ((error->code == TNY_SERVICE_ERROR_NO_SUCH_MESSAGE) || + error->code == TNY_SERVICE_ERROR_MESSAGE_NOT_AVAILABLE)) { + gchar *subject, *msg; + subject = tny_header_dup_subject (header); + msg = g_strdup_printf (_("emev_ni_ui_imap_message_not_available_in_server"), + subject); + modest_platform_run_information_dialog (NULL, msg, FALSE); + g_free (msg); + g_free (subject); + } + /* Remove the header from the preregistered uids */ modest_window_mgr_unregister_header (modest_runtime_get_window_mgr (), header);