aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2012-06-20 05:06:37 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2012-06-20 05:06:37 +0000
commitab270568f171f18bdba0e566b726d48db21b3afe (patch)
treec5d31b698428c8f364b92fde2549e46a73f1db89 /libsylph
parenta148c8534ad9eeec008134db45e4eb1bfbfdb587 (diff)
added 'show_attach_tab' option (no UI) which toggles the Attachment tab and toggle button.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3111 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 f696fba0..c27122fe 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -328,6 +328,7 @@ static PrefParam param[] = {
{"convert_mb_alnum", "FALSE", &prefs_common.conv_mb_alnum, P_BOOL},
{"display_header_pane", "TRUE", &prefs_common.display_header_pane,
P_BOOL},
+ {"show_attach_tab", "FALSE", &prefs_common.show_attach_tab, P_BOOL},
{"display_header", "TRUE", &prefs_common.display_header, P_BOOL},
{"render_html", "TRUE", &prefs_common.render_html, P_BOOL},
{"html_only_as_attach", "FALSE", &prefs_common.html_only_as_attach,
diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h
index 31f65b46..47f1c16d 100644
--- a/libsylph/prefs_common.h
+++ b/libsylph/prefs_common.h
@@ -337,6 +337,8 @@ struct _PrefsCommon
gboolean enable_newmsg_notify_sound; /* Receive */
gchar *newmsg_notify_sound; /* Receive */
+
+ gboolean show_attach_tab; /* Message */
};
extern PrefsCommon prefs_common;