[Commits] [SCM] claws branch, master, updated. 3.17.0-136-g4d6cfbf

claws at claws-mail.org claws at claws-mail.org
Thu Oct 25 18:08:27 CEST 2018


The branch, master has been updated
       via  4d6cfbf4564623d041489a61dff4bf6ef04f6096 (commit)
      from  7e15192215003204b5309d8057e960e893394e70 (commit)

Summary of changes:
 src/compose.c |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 4d6cfbf4564623d041489a61dff4bf6ef04f6096
Author: Paul <paul at claws-mail.org>
Date:   Thu Oct 25 17:08:21 2018 +0100

    always use folder pref for save msg location if set

diff --git a/src/compose.c b/src/compose.c
index 64ec15d..e6d9497 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -10137,7 +10137,13 @@ static void account_activated(GtkComboBox *optmenu, gpointer data)
 
 	/* Set message save folder */
 	compose_set_save_to(compose, NULL);
-	if (account_get_special_folder(compose->account, F_OUTBOX)) {
+	if (compose->folder && compose->folder->prefs && compose->folder->prefs->save_copy_to_folder) {
+		gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(compose->savemsg_checkbtn), TRUE);
+		gtk_widget_set_sensitive(GTK_WIDGET(compose->savemsg_combo), TRUE);
+		folderidentifier = folder_item_get_identifier(compose->folder);
+		compose_set_save_to(compose, folderidentifier);
+		g_free(folderidentifier);
+	} else if (account_get_special_folder(compose->account, F_OUTBOX)) {
 		if (compose->account->set_sent_folder)
 			gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(compose->savemsg_checkbtn), TRUE);
 		else

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list