diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-04-13 02:37:56 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-04-13 02:37:56 +0000 |
commit | 90a9df8d5cf975b9ef0c276f6d951b99d8f8bbc4 (patch) | |
tree | ab690a8ff44344b362f6769740080665994efe84 /libsylph/prefs_common.c | |
parent | ea7c0c909c64e410573c7e50791acd6f6ff61c87 (diff) |
preserve the last selected folders between sessions.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3043 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/prefs_common.c')
-rw-r--r-- | libsylph/prefs_common.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c index c121ecd7..7bcd0cae 100644 --- a/libsylph/prefs_common.c +++ b/libsylph/prefs_common.c @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2011 Hiroyuki Yamamoto + * Copyright (C) 1999-2012 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -497,6 +497,11 @@ static PrefParam param[] = { P_BOOL}, {"io_timeout_secs", "60", &prefs_common.io_timeout_secs, P_INT}, + /* File selector */ + {"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}, + {NULL, NULL, NULL, P_OTHER} }; |