From 8d91a9c1c66077eb71a0bdab2bd946be70afa1ac Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Wed, 18 Oct 2000 10:51:55 +0000 Subject: Disable the optionmenu because it is empty. (service_page_item_auth_fill): 2000-10-17 Iain Holmes * mail-config-gui.c (service_page_item_new): Disable the optionmenu because it is empty. (service_page_item_auth_fill): Enable the optionmenu as there's stuff in it now. * mail-callbacks.c (reply_to_sender): Call check_send_configuration when we have the FolderBrowser because if it is done in mail_reply (with passing NULL) it will only be able to continue if the mailer has already been configured. (reply_to_all): Same. svn path=/trunk/; revision=5984 --- mail/mail-callbacks.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'mail/mail-callbacks.c') diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 91afe99a93..f9d625a22e 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -406,10 +406,12 @@ mail_reply (CamelFolder *folder, CamelMimeMessage *msg, const char *uid, gboolea /* FIXME: I just don't feel like implementing the folder-browser-passing * garbage. */ + /* FIXME: We really need some way to get the folder_browser into this + function */ if (!check_send_configuration (NULL) || !folder || !msg || !uid) return; - + psd = g_new (struct post_send_data, 1); psd->folder = folder; camel_object_ref (CAMEL_OBJECT (psd->folder)); @@ -435,6 +437,9 @@ reply_to_sender (GtkWidget *widget, gpointer user_data) { FolderBrowser *fb = FOLDER_BROWSER (user_data); + if (!check_send_configuration (fb)) + return; + mail_reply (fb->folder, fb->mail_display->current_message, fb->message_list->cursor_uid, FALSE); } @@ -443,7 +448,10 @@ void reply_to_all (GtkWidget *widget, gpointer user_data) { FolderBrowser *fb = FOLDER_BROWSER (user_data); - + + if (!check_send_configuration (fb)) + return; + mail_reply (fb->folder, fb->mail_display->current_message, fb->message_list->cursor_uid, TRUE); } -- cgit