aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2013-05-14 09:17:37 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2013-05-14 09:17:37 +0000
commit3b87da252f54406f6ded41f0b45f6f6d7dacc15b (patch)
tree0047c8d4b0f462f50e501448eda5772a6dd7a049 /libsylph
parent0efce4ac1ec396cd9d389a607c2a69bbd505dd8a (diff)
added an option to prefer HTML part in multipart/alternative.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3253 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/prefs_common.c1
-rw-r--r--libsylph/prefs_common.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index 0c3de0bc..532d1c6d 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -337,6 +337,7 @@ static PrefParam param[] = {
P_INT},
{"display_header", "TRUE", &prefs_common.display_header, P_BOOL},
{"render_html", "TRUE", &prefs_common.render_html, P_BOOL},
+ {"alt_prefer_html", "FALSE", &prefs_common.alt_prefer_html, P_BOOL},
{"html_only_as_attach", "FALSE", &prefs_common.html_only_as_attach,
P_BOOL},
{"line_space", "2", &prefs_common.line_space, P_INT},
diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h
index 266ae13d..e94bc540 100644
--- a/libsylph/prefs_common.h
+++ b/libsylph/prefs_common.h
@@ -345,6 +345,8 @@ struct _PrefsCommon
gboolean enable_newmsg_notify_window; /* Receive */
gboolean nofilter_junk_sender_in_book; /* Junk Mail */
+
+ gboolean alt_prefer_html; /* Message */
};
extern PrefsCommon prefs_common;