From: Sergio Villar Senin Date: Wed, 2 Jul 2008 18:05:31 +0000 (+0000) Subject: * Fixes NB#86719, show memory full error when opening messages instead of "message... X-Git-Tag: git_migration_finished~1281 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=f555d670d65664ca5a96499a014d2e33f576579c * Fixes NB#86719, show memory full error when opening messages instead of "message not available on server" which is what tinymail reports pmo-trunk-r4869 --- diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index 074f866..8986d61 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -1026,6 +1026,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) {