* Fixes NB#86719, merged from r4869 in trunk
authorSergio Villar Senin <svillar@igalia.com>
Mon, 6 Oct 2008 16:35:10 +0000 (16:35 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Mon, 6 Oct 2008 16:35:10 +0000 (16:35 +0000)
pmo-diablo-r5920

src/modest-ui-actions.c

index b60351e..8c89fea 100644 (file)
@@ -1007,6 +1007,11 @@ is_memory_full_error (GError *error)
        gnome_vfs_uri_unref (cache_dir_uri);
 
        if ((error->code == TNY_SYSTEM_ERROR_MEMORY ||
+            /* When asking for a mail and no space left on device
+               tinymail returns this error */
+            error->code == TNY_SERVICE_ERROR_MESSAGE_NOT_AVAILABLE ||
+            /* When the folder summary could not be read or
+               written */
             error->code == TNY_IO_ERROR_WRITE ||
             error->code == TNY_IO_ERROR_READ) && 
            !enough_free_space) {