aboutsummaryrefslogtreecommitdiff
path: root/src/summaryview.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-03-10 02:51:15 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-03-10 02:51:15 +0000
commit3803fc8d9845990819eefdcfd6c46c31658aa1b3 (patch)
tree285876dc6d94151e5b3bdfb86972fad5cd9ccff3 /src/summaryview.c
parenta8dd8ec8af07826434cf28bca75b5261528f806d (diff)
printing messages now follows 'Show all headers'.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1038 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/summaryview.c')
-rw-r--r--src/summaryview.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/summaryview.c b/src/summaryview.c
index 14cda4ed..a49864ca 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -3448,6 +3448,7 @@ void summary_print(SummaryView *summaryview)
GSList *mlist, *cur;
const gchar *cmdline;
gchar *msg;
+ gboolean all_headers;
if (gtk_tree_selection_count_selected_rows(summaryview->selection) == 0)
return;
@@ -3471,11 +3472,13 @@ void summary_print(SummaryView *summaryview)
return;
}
+ all_headers = summaryview->messageview->textview->show_all_headers;
+
mlist = summary_get_selected_msg_list(summaryview);
for (cur = mlist; cur != NULL; cur = cur->next) {
msginfo = (MsgInfo *)cur->data;
if (msginfo)
- procmsg_print_message(msginfo, cmdline);
+ procmsg_print_message(msginfo, cmdline, all_headers);
}
g_slist_free(mlist);
}