aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-01-08 14:09:33 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-01-08 14:09:33 +0800
commit7a65fa93f1161e07356a7cc9e63b976c1ce1453e (patch)
treed58137cb387185d54f9907b79d030b73f4df6450 /mail/em-folder-browser.c
parent722969d52596f78bea02dc81023209c1d8cc0839 (diff)
downloadgsoc2013-evolution-7a65fa93f1161e07356a7cc9e63b976c1ce1453e.tar.gz
gsoc2013-evolution-7a65fa93f1161e07356a7cc9e63b976c1ce1453e.tar.zst
gsoc2013-evolution-7a65fa93f1161e07356a7cc9e63b976c1ce1453e.zip
** See bug #50786
2004-01-08 Not Zed <NotZed@Ximian.com> ** 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
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r--mail/em-folder-browser.c3
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 ();
}