diff options
Diffstat (limited to 'src/prefs_common_dialog.c')
-rw-r--r-- | src/prefs_common_dialog.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/prefs_common_dialog.c b/src/prefs_common_dialog.c index a917fa32..598c6393 100644 --- a/src/prefs_common_dialog.c +++ b/src/prefs_common_dialog.c @@ -162,6 +162,7 @@ static struct Message { GtkWidget *chkbtn_disphdrpane; GtkWidget *chkbtn_disphdr; GtkWidget *chkbtn_html; + GtkWidget *chkbtn_prefer_html; GtkWidget *chkbtn_htmlonly; GtkWidget *spinbtn_linespc; GtkObject *spinbtn_linespc_adj; @@ -463,6 +464,8 @@ static PrefsUIData ui_data[] = { prefs_set_data_from_toggle, prefs_set_toggle}, {"render_html", &message.chkbtn_html, prefs_set_data_from_toggle, prefs_set_toggle}, + {"alt_prefer_html", &message.chkbtn_prefer_html, + prefs_set_data_from_toggle, prefs_set_toggle}, {"html_only_as_attach", &message.chkbtn_htmlonly, prefs_set_data_from_toggle, prefs_set_toggle}, {"line_space", &message.spinbtn_linespc, @@ -1873,6 +1876,7 @@ static GtkWidget *prefs_message_create(void) GtkWidget *chkbtn_disphdr; GtkWidget *button_edit_disphdr; GtkWidget *chkbtn_html; + GtkWidget *chkbtn_prefer_html; GtkWidget *chkbtn_htmlonly; GtkWidget *hbox_linespc; GtkWidget *label_linespc; @@ -1942,6 +1946,8 @@ static GtkWidget *prefs_message_create(void) PACK_CHECK_BUTTON(vbox2, chkbtn_html, _("Render HTML messages as text")); + PACK_CHECK_BUTTON(vbox2, chkbtn_prefer_html, + _("Prefer HTML in multipart/alternative for display")); PACK_CHECK_BUTTON(vbox2, chkbtn_htmlonly, _("Treat HTML only messages as attachment")); @@ -2023,6 +2029,7 @@ static GtkWidget *prefs_message_create(void) message.chkbtn_disphdrpane = chkbtn_disphdrpane; message.chkbtn_disphdr = chkbtn_disphdr; message.chkbtn_html = chkbtn_html; + message.chkbtn_prefer_html = chkbtn_prefer_html; message.chkbtn_htmlonly = chkbtn_htmlonly; message.spinbtn_linespc = spinbtn_linespc; |