[Users] Clwas GIT - Automatic Account Selection on compose not working / behaviour changed

Michael Gmelin freebsd at grem.de
Tue Apr 5 11:46:54 CEST 2016


Hi,

Claws GIT always uses the account selected in the lower right corner
when composing messages. Before it would use the sender address of the
currently selected folder, which I find to be a lot more useful.

Seems like this is the change in question, what is the rational for
this change?

commit e7308b6264bf5d3d27c3f8270356b001ab4731c4
Author: Paul <paul at claws-mail.org>
Date:   Tue Feb 2 13:06:03 2016 +0000

    fix Compose account selection when imap folder is selected
    
    don't just select the imap account, ignoring default account et al

diff --git a/src/toolbar.c b/src/toolbar.c
index 0291f20..e7a553e 100644
--- a/src/toolbar.c
+++ b/src/toolbar.c
@@ -2664,7 +2664,7 @@ void compose_mail_cb(gpointer data, guint action,
GtkWidget *widget) 
  if (item) {
    ac = account_find_from_item(item);
-   if (ac && ac->protocol != A_NNTP) {
+   if (ac && ac->protocol != A_NNTP && ac->protocol != A_IMAP4) {
      compose_new_with_folderitem(ac, item, NULL);    /* CLAWS */
      return;
    }

- Michael


-- 
Michael Gmelin



More information about the Users mailing list