From 3803fc8d9845990819eefdcfd6c46c31658aa1b3 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 10 Mar 2006 02:51:15 +0000 Subject: printing messages now follows 'Show all headers'. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1038 ee746299-78ed-0310-b773-934348b2243d --- src/messageview.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/messageview.c') diff --git a/src/messageview.c b/src/messageview.c index 4365778b..508ff097 100644 --- a/src/messageview.c +++ b/src/messageview.c @@ -242,7 +242,8 @@ static GtkItemFactoryEntry msgview_entries[] = {N_("/_View/---"), NULL, NULL, 0, ""}, {N_("/_View/Mess_age source"), NULL, view_source_cb, 0, NULL}, - {N_("/_View/Show all _header"), NULL, show_all_header_cb, 0, ""}, + {N_("/_View/Show all _headers"), + NULL, show_all_header_cb, 0, ""}, {N_("/_Message"), NULL, NULL, 0, ""}, {N_("/_Message/Compose _new message"), @@ -547,7 +548,7 @@ static void messageview_set_menu_state(MessageView *messageview) messageview->menu_locked = TRUE; ifactory = gtk_item_factory_from_widget(messageview->menubar); menuitem = gtk_item_factory_get_widget - (ifactory, "/View/Show all header"); + (ifactory, "/View/Show all headers"); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), messageview->textview->show_all_headers); messageview->menu_locked = FALSE; @@ -770,7 +771,8 @@ static void print_cb(gpointer data, guint action, GtkWidget *widget) return; } - procmsg_print_message(messageview->msginfo, cmdline); + procmsg_print_message(messageview->msginfo, cmdline, + messageview->textview->show_all_headers); } static void close_cb(gpointer data, guint action, GtkWidget *widget) -- cgit v1.2.3