+2001-12-26 [alfons] 0.6.6claws22
+
+ * src/textview.c
+ make reply-on-click work with the account of the selected folder
+ * src/compose.c
+ put a fixme here to remind me to fix finding correct default
+ account for nested folders
+
2001-12-25 [alfons] 0.6.6claws21
* src/summaryview.c
/* select the account for the whole folder (IMAP / NNTP) */
if (!account)
+ /* FIXME: this is not right, because folder may be nested. we should
+ * ascend the tree until we find a parent with proper account
+ * information */
account = msginfo->folder->folder->account;
/* select account by to: and cc: header if enabled */
#include "compose.h"
#include "addressbook.h"
#include "displayheader.h"
+#include "account.h"
#define FONT_LOAD(font, s) \
{ \
g_free(fromaddress);
g_free(fromname);
} else {
+ PrefsAccount *account = NULL;
+ FolderItem *folder_item;
+
+ if (textview->messageview && textview->messageview->mainwin
+ && textview->messageview->mainwin->summaryview
+ && textview->messageview->mainwin->summaryview->folder_item) {
+ folder_item = textview->messageview->mainwin->summaryview->folder_item;
+ if (folder_item->prefs && folder_item->prefs->enable_default_account)
+ account = account_find_from_id(folder_item->prefs->default_account);
+ }
compose_new_with_recipient
- (NULL, uri->uri + 7);
+ (account, uri->uri + 7);
}
} else {
open_uri(uri->uri,