diff options
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/prefs_common.c | 7 | ||||
-rw-r--r-- | libsylph/prefs_common.h | 6 |
2 files changed, 11 insertions, 2 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} }; diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h index f3210630..6c62609c 100644 --- a/libsylph/prefs_common.h +++ b/libsylph/prefs_common.h @@ -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 @@ -330,6 +330,10 @@ struct _PrefsCommon gint addressbook_col_name; gint addressbook_col_addr; gint addressbook_col_rem; + + gchar *prev_open_dir; + gchar *prev_save_dir; + gchar *prev_folder_dir; }; extern PrefsCommon prefs_common; |