aboutsummaryrefslogtreecommitdiffstats
path: root/modules
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 /modules
parentcc48354fd5d8380565b112502cf1302dcde0cc74 (diff)
downloadgsoc2013-evolution-f9fee6a584746edf859119142b2f1ec31f5a1198.tar
gsoc2013-evolution-f9fee6a584746edf859119142b2f1ec31f5a1198.tar.gz
gsoc2013-evolution-f9fee6a584746edf859119142b2f1ec31f5a1198.tar.bz2
gsoc2013-evolution-f9fee6a584746edf859119142b2f1ec31f5a1198.tar.lz
gsoc2013-evolution-f9fee6a584746edf859119142b2f1ec31f5a1198.tar.xz
gsoc2013-evolution-f9fee6a584746edf859119142b2f1ec31f5a1198.tar.zst
gsoc2013-evolution-f9fee6a584746edf859119142b2f1ec31f5a1198.zip
Bug #659945 - "New" button in toolbar for new mail message not working
Diffstat (limited to 'modules')
-rw-r--r--modules/mail/e-mail-shell-backend.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/mail/e-mail-shell-backend.c b/modules/mail/e-mail-shell-backend.c
index ce563124c6..b729a00832 100644
--- a/modules/mail/e-mail-shell-backend.c
+++ b/modules/mail/e-mail-shell-backend.c
@@ -160,9 +160,6 @@ action_mail_message_new_cb (GtkAction *action,
shell = e_shell_window_get_shell (shell_window);
- if (!em_utils_check_user_can_send_mail ())
- return;
-
/* Take care not to unnecessarily load the mail shell view. */
view_name = e_shell_window_get_active_view (shell_window);
if (g_strcmp0 (view_name, BACKEND_NAME) != 0)
@@ -268,9 +265,7 @@ mail_shell_backend_handle_uri_cb (EShell *shell,
gboolean handled = FALSE;
if (g_str_has_prefix (uri, "mailto:")) {
- if (em_utils_check_user_can_send_mail ())
- em_utils_compose_new_message_with_mailto (
- shell, uri, NULL);
+ em_utils_compose_new_message_with_mailto (shell, uri, NULL);
handled = TRUE;
}