aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2013-05-23 07:09:52 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2013-05-23 07:09:52 +0000
commitd5912ac77825a72104950402c55ec1e9d003e09a (patch)
tree7059a7b7877163b17c26567b15d9294b50b2aa5c /libsylph
parenta3484d5c29988bd7af037fc59a9950ffebf8a053 (diff)
filesel: save selected file type.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3259 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 532d1c6d..d1917818 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -515,6 +515,7 @@ static PrefParam param[] = {
{"filesel_prev_open_dir", NULL, &prefs_common.prev_open_dir, P_STRING},
{"filesel_prev_save_dir", NULL, &prefs_common.prev_save_dir, P_STRING},
{"filesel_prev_folder_dir", NULL, &prefs_common.prev_folder_dir, P_STRING},
+ {"filesel_save_file_type", "0", &prefs_common.save_file_type, P_INT},
{NULL, NULL, NULL, P_OTHER}
};
diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h
index e94bc540..3fafae52 100644
--- a/libsylph/prefs_common.h
+++ b/libsylph/prefs_common.h
@@ -347,6 +347,8 @@ struct _PrefsCommon
gboolean nofilter_junk_sender_in_book; /* Junk Mail */
gboolean alt_prefer_html; /* Message */
+
+ gint save_file_type;
};
extern PrefsCommon prefs_common;