diff options
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/defs.h | 1 | ||||
-rw-r--r-- | libsylph/sylmain.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libsylph/defs.h b/libsylph/defs.h index e80ce08c..0b39d778 100644 --- a/libsylph/defs.h +++ b/libsylph/defs.h @@ -65,6 +65,7 @@ #define TEMPLATE_DIR "templates" #define TMP_DIR "tmp" #define UIDL_DIR "uidl" +#define PLUGIN_DIR "plugins" #define NEWSGROUP_LIST ".newsgroup_list" #define ADDRESS_BOOK "addressbook.xml" #define MANUAL_HTML_INDEX "sylpheed.html" diff --git a/libsylph/sylmain.c b/libsylph/sylmain.c index 6e8ccb80..97e078dd 100644 --- a/libsylph/sylmain.c +++ b/libsylph/sylmain.c @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2009 Hiroyuki Yamamoto + * Copyright (C) 1999-2010 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -299,6 +299,7 @@ gint syl_setup_rc_dir(void) MAKE_DIR_IF_NOT_EXIST(get_mime_tmp_dir()); MAKE_DIR_IF_NOT_EXIST(get_tmp_dir()); MAKE_DIR_IF_NOT_EXIST(UIDL_DIR); + MAKE_DIR_IF_NOT_EXIST(PLUGIN_DIR); /* remove temporary files */ remove_all_files(get_tmp_dir()); |