update donations URI
[claws.git] / src / common / defs.h
index 72422adf9356ed5fc52d2d87ebaa2bda9b097e8a..be7f317f3a7d93d85cf113e45facd59693b95ca3 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2013 Hiroyuki Yamamoto and the Claws Mail team
+ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 1999-2016 Hiroyuki Yamamoto and the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -14,7 +14,6 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
- * 
  */
 
 #ifndef __DEFS_H__
@@ -39,6 +38,7 @@
 #define QUEUE_DIR              "queue"
 #define DRAFT_DIR              "draft"
 #define TRASH_DIR              "trash"
+#define TAGS_DIR               "tagsdb"
 #define RC_DIR                 CFG_RC_DIR
 #define OLD_GTK2_RC_DIR                ".sylpheed-claws"
 #define OLDER_GTK2_RC_DIR      ".sylpheed-gtk2"
@@ -46,7 +46,6 @@
 #define SYLPHEED_RC_DIR                ".sylpheed-2.0"
 #define NEWS_CACHE_DIR         "newscache"
 #define IMAP_CACHE_DIR         "imapcache"
-#define MBOX_CACHE_DIR         "mboxcache"
 #define HEADER_CACHE_DIR        "headercache" 
 #define MIME_TMP_DIR           "mimetmp"
 #define COMMON_RC              "clawsrc"
@@ -61,6 +60,7 @@
 #define MENU_RC                        "menurc"
 #define RENDERER_RC            "rendererrc"
 #define TAGS_RC                        "tagsrc"
+#define PASSWORD_STORE_RC                      "passwordstorerc"
 #define QUICKSEARCH_HISTORY    "quicksearch_history"
 #define SUMMARY_SEARCH_FROM_HISTORY    "summarysearch_from_history"
 #define SUMMARY_SEARCH_TO_HISTORY      "summarysearch_to_history"
 #define ADDRESS_BOOK           "addressbook.xml"
 #define ADDRBOOK_DIR           "addrbook"
 #define MANUAL_HTML_INDEX      "claws-mail-manual.html"
-#define HOMEPAGE_URI           "http://www.claws-mail.org/"
-#define MANUAL_URI             "http://www.claws-mail.org/documentation.php"
-#define FAQ_URI                        "http://www.claws-mail.org/faq/index.php"
-#define PLUGINS_URI            "http://www.claws-mail.org/plugins.php"
-#define DICTS_URI              "http://www.claws-mail.org/win32/dictionaries.php"
-#define BUGZILLA_URI           "http://www.thewildbeast.co.uk/claws-mail/bugzilla/enter_bug.cgi"
-#define THEMES_URI             "http://www.claws-mail.org/themes.php"
-#define TOOLS_URI              "http://www.claws-mail.org/tools.php"
-#define MAILING_LIST_URI       "http://www.claws-mail.org/MLs.php"
+#define HOMEPAGE_URI           "https://www.claws-mail.org/"
+#define MANUAL_URI             "https://www.claws-mail.org/documentation.php"
+#define FAQ_URI                        "https://www.claws-mail.org/faq/index.php"
+#define PLUGINS_URI            "https://www.claws-mail.org/plugins.php"
+#define DICTS_URI              "https://www.claws-mail.org/win32/dictionaries.php"
+#define BUGZILLA_URI           "https://www.thewildbeast.co.uk/claws-mail/bugzilla/enter_bug.cgi"
+#define THEMES_URI             "https://www.claws-mail.org/themes.php"
+#define TOOLS_URI              "https://www.claws-mail.org/tools.php"
+#define MAILING_LIST_URI       "https://www.claws-mail.org/MLs.php"
 #define USERS_ML_ADDR          "users@lists.claws-mail.org"
-#define USERS_ML_URI           "http://lists.claws-mail.org/cgi-bin/mailman/listinfo/users"
-#define GPL_URI                        "http://www.gnu.org/licenses/gpl.html"
-#define DONATE_URI             "http://www.claws-mail.org/sponsors.php"
+#define USERS_ML_URI           "https://lists.claws-mail.org/cgi-bin/mailman/listinfo/users"
+#define GPL_URI                        "https://www.gnu.org/licenses/gpl.html"
+#define DONATE_URI             "https://www.claws-mail.org/donations.php"
+#define CONFIG_VERSIONS_URI    "https://www.claws-mail.org/cvc.php"
 #define RELEASE_NOTES_FILE     "RELEASE_NOTES"
 #define THEMEINFO_FILE         ".claws_themeinfo"
 #define FOLDER_LIST            "folderlist.xml"
 
 #define BUFFSIZE                       8192
 
+#define RFC822_DATE_BUFFSIZE   128
+
 #ifndef MAXPATHLEN
 #  define MAXPATHLEN                   4095
 #endif
 
 #define DEFAULT_PIXMAP_THEME   "INTERNAL_DEFAULT"
 #define PIXMAP_THEME_DIR               "themes"
+#ifdef HAVE_SVG
+#define MIN_PPI 96
+#define MAX_PPI 300
+#endif
+
+#define AVATAR_NONE    0
+#define AVATAR_XFACE   1
+#define AVATAR_FACE    2
 
 #endif /* __DEFS_H__ */