Redirect fixes: enable automatic account selection and do not append signature to...
authorPaul Mangan <paul@claws-mail.org>
Wed, 23 Jul 2003 06:34:05 +0000 (06:34 +0000)
committerPaul Mangan <paul@claws-mail.org>
Wed, 23 Jul 2003 06:34:05 +0000 (06:34 +0000)
ChangeLog.claws
configure.ac
src/compose.c

index 03010e981d307292e6d5e9c5ed6dcb1bbf488dbe..b27254c4b65d72a3e73b31d0949556493b323e7e 100644 (file)
@@ -1,3 +1,10 @@
+2003-07-23 [paul]      0.9.3claws42
+
+       * src/compose.c
+               Redirect fixes: enable automatic account selection and
+               do not append signature to message on changing account
+               fixes Bug[s] #248
+
 2003-07-23 [paul]      0.9.3claws41
 
        * sync with 0.9.3cvs16
index 3653a22dfd5f696366032ab122e238209333b75e..06a700b91b2cffce83281ff18208008932018289 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=41
+EXTRA_VERSION=42
 VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws${EXTRA_VERSION}
 
 dnl set $target
index 732385356898fbf4f3d7c1a3f35714e5898aa8d2..0e639c39bfc1907effef6bd67c9413d2b885994e 100644 (file)
@@ -1286,7 +1286,8 @@ Compose *compose_redirect(PrefsAccount *account, MsgInfo *msginfo)
        g_return_val_if_fail(msginfo != NULL, NULL);
 
        if (!account)
-               account = cur_account;
+               account = account_get_reply_account(msginfo,
+                                       prefs_common.reply_account_autosel);
        g_return_val_if_fail(account != NULL, NULL);
 
        compose = compose_create(account, COMPOSE_REDIRECT);
@@ -2902,7 +2903,7 @@ static void compose_select_account(Compose *compose, PrefsAccount *account,
        activate_gnupg_mode(compose, account);          
 #endif /* USE_GPGME */
 
-       if (!init)
+       if (!init && compose->mode != COMPOSE_REDIRECT)
                compose_insert_sig(compose, TRUE);
 }