From 7a65fa93f1161e07356a7cc9e63b976c1ce1453e Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 8 Jan 2004 06:09:33 +0000 Subject: ** See bug #50786 2004-01-08 Not Zed ** See bug #50786 * GNOME_Evolution_Mail.server.in.in: Remove :: from startup wizard iid, and put the mail wizard into the right factory. * mail-component.c (impl_requestCreateItem, impl_handleURI): * em-folder-browser.c (emfb_mail_compose): check we have an account before trying to send mail. svn path=/trunk/; revision=24104 --- mail/em-folder-browser.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/em-folder-browser.c') 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 (); } -- cgit v1.2.3