On attaching from remote, be sure we don't create a message that's not
authorJose Dapena Paz <jdapena@igalia.com>
Thu, 14 May 2009 11:28:04 +0000 (13:28 +0200)
committerJose Dapena Paz <jdapena@igalia.com>
Thu, 14 May 2009 11:28:05 +0000 (13:28 +0200)
commit48e7fe284efe9cb1334948accd2fa704dc2c74c5
treeb046a71fbebf240dbf82eb4eb9a18464dda63e24
parentd9eb3162361166eee20ddb8b5a8518c7ea310372
On attaching from remote, be sure we don't create a message that's not
allowed to send because of its size

* src/modest-ui-actions.c (modest_ui_actions_compose_msg): now we check
  the expected size of the message even before showing the editor. If
  message is too big we return an error, and tell we cannot create the
  message. We also check now if the message is bigger than the available
  disk space.
src/modest-ui-actions.c