2 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 * Copyright (C) 1999-2004 Hiroyuki Yamamoto
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 #include <glibconfig.h>
30 # include <glib/gwin32.h>
38 # include <sys/param.h>
41 #define INBOX_DIR "inbox"
42 #define OUTBOX_DIR "sent"
43 #define QUEUE_DIR "queue"
44 #define DRAFT_DIR "draft"
45 #define TRASH_DIR "trash"
46 #define RC_DIR CFG_RC_DIR
47 #define NEWS_CACHE_DIR "newscache"
48 #define IMAP_CACHE_DIR "imapcache"
49 #define MBOX_CACHE_DIR "mboxcache"
50 #define HEADER_CACHE_DIR "headercache"
51 #define MIME_TMP_DIR "mimetmp"
52 #define COMMON_RC "sylpheedrc"
53 #define ACCOUNT_RC "accountrc"
54 #define CUSTOM_HEADER_RC "customheaderrc"
55 #define DISPLAY_HEADER_RC "dispheaderrc"
56 #define FOLDERITEM_RC "folderitemrc"
57 #define SCORING_RC "scoringrc"
58 #define FILTERING_RC "filteringrc"
59 #define MATCHER_RC "matcherrc"
60 #define MENU_RC "menurc"
61 #define ACTIONS_RC "actionsrc"
62 #define RENDERER_RC "rendererrc"
63 #define COMMAND_HISTORY "command_history"
64 #define QUICKSEARCH_HISTORY "quicksearch_history"
65 #define TEMPLATE_DIR "templates"
67 #define UIDL_DIR "uidl"
68 #define NEWSGROUP_LIST ".newsgroup_list"
69 #define ADDRESS_BOOK "addressbook.xml"
70 #define MANUAL_HTML_INDEX "sylpheed.html"
71 #define FAQ_HTML_INDEX "sylpheed-faq.html"
72 #define HOMEPAGE_URI "http://claws.sylpheed.org/"
73 #define SYLDOC_URI "http://sylpheeddoc.sourceforge.net/"
74 #define SYLDOC_MANUAL_HTML_INDEX "/manual/manual.html"
75 #define SYLDOC_FAQ_HTML_INDEX "/faq/faq.html"
76 #define CLAWS_FAQ_URI "http://claws.sylpheed.org/faq.php"
77 #define CLAWS_BUGZILLA_URI "http://www.thewildbeast.co.uk/sylpheed-claws/bugzilla/enter_bug.cgi"
78 #define CLAWS_THEMES_URI "http://claws.sylpheed.org/themes.php"
79 #define THEMEINFO_FILE ".sylpheed_themeinfo"
80 #define FOLDER_LIST "folderlist.xml"
81 #define CACHE_FILE ".sylpheed_claws_cache"
82 #define MARK_FILE ".sylpheed_mark"
83 #define CACHE_VERSION 24
84 #define MARK_VERSION 2
87 # define DEFAULT_SIGNATURE "signature.txt"
89 # define DEFAULT_SIGNATURE ".signature"
91 #define DEFAULT_INC_PATH "/usr/bin/mh/inc"
92 #define DEFAULT_INC_PROGRAM "inc"
93 /* #define DEFAULT_INC_PATH "/usr/bin/imget" */
94 /* #define DEFAULT_INC_PROGRAM "imget" */
95 #define DEFAULT_SENDMAIL_CMD "/usr/sbin/sendmail -t -i"
96 #define DEFAULT_BROWSER_CMD "mozilla-firefox -remote 'openURL(%s,new-window)'"
97 #define DEFAULT_MIME_CMD "metamail -d -b -x -c %s '%s'"
98 #define DEFAULT_IMAGE_VIEWER_CMD "display '%s'"
99 #define DEFAULT_AUDIO_PLAYER_CMD "play '%s'"
102 # define DEFAULT_SPOOL_PATH _PATH_MAILDIR
104 # define DEFAULT_SPOOL_PATH "/var/spool/mail"
107 #define BUFFSIZE 8192
110 # define MAXPATHLEN 4095
113 #define DEFAULT_HEIGHT 460
114 #define DEFAULT_FOLDERVIEW_WIDTH 179
115 #define DEFAULT_MAINVIEW_WIDTH 600
116 #define DEFAULT_SUMMARY_HEIGHT 140
117 #define DEFAULT_HEADERVIEW_HEIGHT 40
118 #define DEFAULT_COMPOSE_HEIGHT 560
119 #define BORDER_WIDTH 2
120 #define CTREE_INDENT 18
121 #define FOLDER_SPACING 4
122 #define MAX_ENTRY_LENGTH 8191
123 #define COLOR_DIM 35000
124 #define UI_REFRESH_INTERVAL 50000 /* usec */
125 #define FOLDER_UPDATE_INTERVAL 1500 /* msec */
126 #define PROGRESS_UPDATE_INTERVAL 200 /* msec */
127 #define SESSION_TIMEOUT_INTERVAL 60 /* sec */
128 #define MAX_HISTORY_SIZE 16
130 #define NORMAL_FONT prefs_common.normalfont
131 #define BOLD_FONT prefs_common.boldfont
132 #define SMALL_FONT prefs_common.smallfont
134 #define DEFAULT_PIXMAP_THEME "INTERNAL_DEFAULT"
135 #define PIXMAP_THEME_DIR "themes"
137 #endif /* __DEFS_H__ */