We assume that, if we cannot write temporary file to view, it's that
authorJose Dapena Paz <jdapena@igalia.com>
Tue, 17 Mar 2009 20:46:01 +0000 (20:46 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Tue, 17 Mar 2009 20:46:01 +0000 (20:46 +0000)
disk is full (fixes NB#94954)

pmo-trunk-r8130

src/hildon2/modest-msg-view-window.c

index 49598d3..280a3ff 100644 (file)
@@ -2427,15 +2427,8 @@ on_decode_to_stream_async_handler (TnyMimePart *mime_part,
 
        if (cancelled || err) {
                if (err) {
 
        if (cancelled || err) {
                if (err) {
-                       if ((err->domain == TNY_ERROR_DOMAIN) &&
-                           (err->code == TNY_IO_ERROR_WRITE) &&
-                           (errno == ENOSPC)) {
-                               modest_platform_information_banner (NULL, NULL,
-                                                                   _KR("cerm_device_memory_full"));
-                       } else {
-                               modest_platform_information_banner (NULL, NULL, 
-                                                                   _("mail_ib_file_operation_failed"));
-                       }
+                       modest_platform_information_banner (NULL, NULL,
+                                                           _KR("cerm_device_memory_full"));
                }
                goto free;
        }
                }
                goto free;
        }