From 472ddf895f7d60199d00c772f883bec878a78d48 Mon Sep 17 00:00:00 2001 From: hiro Date: Wed, 15 Aug 2012 05:04:29 +0000 Subject: added an option to specify the position of attach tool button. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3148 ee746299-78ed-0310-b773-934348b2243d --- libsylph/prefs_common.c | 2 ++ libsylph/prefs_common.h | 1 + 2 files changed, 3 insertions(+) (limited to 'libsylph') diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c index b3d5dc48..8652d9c9 100644 --- a/libsylph/prefs_common.c +++ b/libsylph/prefs_common.c @@ -331,6 +331,8 @@ static PrefParam param[] = { {"show_attach_tab", "FALSE", &prefs_common.show_attach_tab, P_BOOL}, {"show_attached_files_first", "TRUE", &prefs_common.show_attached_files_first, P_BOOL}, + {"attach_toolbutton_pos", "0", &prefs_common.attach_toolbutton_pos, + P_INT}, {"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 e8c7f07b..ea31f6fd 100644 --- a/libsylph/prefs_common.h +++ b/libsylph/prefs_common.h @@ -340,6 +340,7 @@ struct _PrefsCommon gboolean show_attach_tab; /* Message - Attachment */ gboolean show_attached_files_first; /* Message - Attachment */ + gint attach_toolbutton_pos; /* Message - Attachment */ }; extern PrefsCommon prefs_common; -- cgit v1.2.3