diff options
author | Parthasarathi Susarla <sparthasarathi@novell.com> | 2005-11-23 14:46:51 +0800 |
---|---|---|
committer | Parthasarathi Susarla <saps@src.gnome.org> | 2005-11-23 14:46:51 +0800 |
commit | 3c74da6893887b68caa185f6d2eb2a280a0e445e (patch) | |
tree | 75f2cd68d5a2723bebcf3ec4e792ce5e9982d5ad /mail/mail-send-recv.c | |
parent | 02c366550efba502867f625adb288bd42171e189 (diff) | |
download | gsoc2013-evolution-3c74da6893887b68caa185f6d2eb2a280a0e445e.tar.gz gsoc2013-evolution-3c74da6893887b68caa185f6d2eb2a280a0e445e.tar.zst gsoc2013-evolution-3c74da6893887b68caa185f6d2eb2a280a0e445e.zip |
** See bug #315987 Send only if account is enabled
2005-11-23 Parthasarathi Susarla <sparthasarathi@novell.com>
** See bug #315987
* em-composer-utils.c:
(em_utils_composer_send_cb): Send only if account is enabled
(em_utils_composer_save_draft_cb): Save message to server
folder only if the account is enabled, else save it locally
(generate_account_hash): Add default account into the account hash
only if the account none of the account is enabled.
(guess_account): use only enabled account
* mail.error.xml: Add error message for send-no-account-enabled
svn path=/trunk/; revision=30646
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r-- | mail/mail-send-recv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index ad8f79b669..efd0a2f884 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -1064,7 +1064,7 @@ mail_send (void) send_info_t type; transport = mail_config_get_default_transport (); - if (!transport || !transport->url) + if (!transport || !transport->url) return; data = setup_send_data (); |