diff options
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r-- | mail/em-folder-browser.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c index 563baa8071..ea89bd15a7 100644 --- a/mail/em-folder-browser.c +++ b/mail/em-folder-browser.c @@ -602,6 +602,9 @@ emfb_forget_passwords(BonoboUIComponent *uid, void *data, const char *path) static void emfb_mail_compose(BonoboUIComponent *uid, void *data, const char *path) { + if (!em_utils_check_user_can_send_mail((GtkWidget *)data)) + return; + em_utils_compose_new_message (); } |