aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-utils.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-11-10 20:28:38 +0800
committerMilan Crha <mcrha@redhat.com>2011-11-10 20:28:38 +0800
commitf9fee6a584746edf859119142b2f1ec31f5a1198 (patch)
tree66399f09e9b3441aa36d1203b654b7d8f3c46e0e /mail/em-utils.c
parentcc48354fd5d8380565b112502cf1302dcde0cc74 (diff)
downloadgsoc2013-evolution-f9fee6a584746edf859119142b2f1ec31f5a1198.tar.gz
gsoc2013-evolution-f9fee6a584746edf859119142b2f1ec31f5a1198.tar.zst
gsoc2013-evolution-f9fee6a584746edf859119142b2f1ec31f5a1198.zip
Bug #659945 - "New" button in toolbar for new mail message not working
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r--mail/em-utils.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c
index 399e51294b..1423130772 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -219,33 +219,6 @@ em_utils_uids_free (GPtrArray *uids)
g_ptr_array_free (uids, TRUE);
}
-/**
- * em_utils_check_user_can_send_mail:
- *
- * Returns %TRUE if the user has an account configured (to send mail)
- * or %FALSE otherwise.
- **/
-gboolean
-em_utils_check_user_can_send_mail (void)
-{
- EAccountList *account_list;
- EAccount *account;
-
- account_list = e_get_account_list ();
-
- if (e_list_length (E_LIST (account_list)) == 0)
- return FALSE;
-
- if (!(account = e_get_default_account ()))
- return FALSE;
-
- /* Check for a transport */
- if (!account->transport->url)
- return FALSE;
-
- return TRUE;
-}
-
/* Editing Filters/Search Folders... */
static GtkWidget *filter_editor = NULL;