sync with sylpheed 0.6.0cvs4
[claws.git] / src / defs.h
index 498a8625202e0ea78bfdfb2be6823ffaba0e8fa9..51d17f1b05791dfe53f9c2355c8b36eb29ddc4b5 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999,2000 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2001 Hiroyuki Yamamoto
  *
  * 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
@@ -32,7 +32,7 @@
 #  include <sys/param.h>
 #endif
 
-#define PROG_VERSION           "Sylpheed version "VERSION
+/* #define PROG_VERSION                "Sylpheed version "VERSION */
 #define INBOX_DIR              "inbox"
 #define OUTBOX_DIR             "outbox"
 #define QUEUE_DIR              "queue"
 #define TRASH_DIR              "trash"
 #define RC_DIR                 ".sylpheed"
 #define NEWS_CACHE_DIR         "newscache"
-#define GROUPLIST_FILE         "grouplist"
 #define IMAP_CACHE_DIR         "imapcache"
+#define MBOX_CACHE_DIR         "mboxcache"
 #define MIME_TMP_DIR           "mimetmp"
 #define COMMON_RC              "sylpheedrc"
 #define ACCOUNT_RC             "accountrc"
 #define FILTER_RC              "filterrc"
+#define CUSTOM_HEADER_RC       "customheaderrc"
+#define DISPLAY_HEADER_RC      "dispheaderrc"
+#define FOLDERITEM_RC           "folderitemrc"
+#define SCORING_RC              "scoringrc"
+#define FILTERING_RC           "filteringrc"
 #define MENU_RC                        "menurc"
+#define NEWSGROUP_LIST         ".newsgroup_list"
 #define ADDRESS_BOOK           "addressbook.xml"
 #define MANUAL_HTML_INDEX      "sylpheed.html"
 #define HOMEPAGE_URI           "http://sylpheed.good-day.net/"
 #define FOLDER_LIST            "folderlist.xml"
 #define CACHE_FILE             ".sylpheed_cache"
 #define MARK_FILE              ".sylpheed_mark"
-#define CACHE_VERSION          17
+#define CACHE_VERSION          19
 #define MARK_VERSION           2
+#define TEMPLATES_DIR          "templates"
 
 #define DEFAULT_SIGNATURE      ".signature"
 #define DEFAULT_INC_PATH       "/usr/bin/mh/inc"
 #define DEFAULT_INC_PROGRAM    "inc"
 /* #define DEFAULT_INC_PATH    "/usr/bin/imget" */
 /* #define DEFAULT_INC_PROGRAM "imget" */
+#define DEFAULT_SENDMAIL_CMD   "/usr/sbin/sendmail -t"
 
 #ifdef _PATH_MAILDIR
 #  define DEFAULT_SPOOL_PATH   _PATH_MAILDIR
 #define CTREE_INDENT                   18
 #define FOLDER_SPACING                 4
 #define COLOR_DIM                      35000
+#define UI_REFRESH_INTERVAL            50000
 
-#define NORMAL_FONT    "-*-helvetica-medium-r-normal--12-*," \
-                       "-*-*-medium-r-normal--12-*-*-*-*-*-*-*,*"
-#define BOLD_FONT      "-*-helvetica-bold-r-normal--12-*," \
-                       "-*-*-bold-r-normal--12-*-*-*-*-*-*-*,*"
-#define SMALL_FONT     "-*-helvetica-medium-r-normal--10-*," \
-                       "-*-*-medium-r-normal--10-*-*-*-*-*-*-*,*"
+#define NORMAL_FONT prefs_common.normalfont
+#define BOLD_FONT   prefs_common.boldfont
+#define SMALL_FONT     prefs_common.smallfont
 
 #endif /* __DEFS_H__ */