2 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 * Copyright (C) 1999-2007 Hiroyuki Yamamoto and the Claws Mail team
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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 OLD_GTK2_RC_DIR ".sylpheed-claws"
48 #define OLDER_GTK2_RC_DIR ".sylpheed-gtk2"
49 #define OLD_GTK1_RC_DIR ".sylpheed"
50 #define NEWS_CACHE_DIR "newscache"
51 #define IMAP_CACHE_DIR "imapcache"
52 #define MBOX_CACHE_DIR "mboxcache"
53 #define HEADER_CACHE_DIR "headercache"
54 #define MIME_TMP_DIR "mimetmp"
55 #define COMMON_RC "clawsrc"
56 #define OLD_COMMON_RC "sylpheedrc"
57 #define ACCOUNT_RC "accountrc"
58 #define CUSTOM_HEADER_RC "customheaderrc"
59 #define DISPLAY_HEADER_RC "dispheaderrc"
60 #define FOLDERITEM_RC "folderitemrc"
61 #define SCORING_RC "scoringrc"
62 #define FILTERING_RC "filteringrc"
63 #define MATCHER_RC "matcherrc"
64 #define MENU_RC "menurc"
65 #define RENDERER_RC "rendererrc"
66 #define QUICKSEARCH_HISTORY "quicksearch_history"
67 #define SUMMARY_SEARCH_FROM_HISTORY "summarysearch_from_history"
68 #define SUMMARY_SEARCH_TO_HISTORY "summarysearch_to_history"
69 #define SUMMARY_SEARCH_SUBJECT_HISTORY "summarysearch_subject_history"
70 #define SUMMARY_SEARCH_BODY_HISTORY "summary_searchbody_history"
71 #define SUMMARY_SEARCH_ADV_CONDITION_HISTORY "summarysearch_adv_history"
72 #define MESSAGE_SEARCH_HISTORY "messagesearch_history"
73 #define TEMPLATE_DIR "templates"
75 #define UIDL_DIR "uidl"
76 #define NEWSGROUP_LIST ".newsgroup_list"
77 #define ADDRESS_BOOK "addressbook.xml"
78 #define MANUAL_HTML_INDEX "claws-mail-manual.html"
79 #define HOMEPAGE_URI "http://www.claws-mail.org/"
80 #define MANUAL_URI "http://www.claws-mail.org/documentation.php"
81 #define FAQ_URI "http://www.claws-mail.org/faq/index.php"
82 #define PLUGINS_URI "http://www.claws-mail.org/plugins.php"
83 #define BUGZILLA_URI "http://www.thewildbeast.co.uk/claws-mail/bugzilla/enter_bug.cgi"
84 #define THEMES_URI "http://www.claws-mail.org/themes.php"
85 #define MAILING_LIST_URI "http://www.claws-mail.org/MLs.php"
86 #define USERS_ML_ADDR "claws-mail-users@dotsrc.org"
87 #define GPL_URI "http://www.gnu.org/licenses/gpl.html"
88 #define DONATE_URI "http://www.claws-mail.org/sponsors.php"
89 #define OPENSSL_URI "http://www.openssl.org/"
90 #define RELEASE_NOTES_FILE "RELEASE_NOTES"
91 #define THEMEINFO_FILE ".claws_themeinfo"
92 #define FOLDER_LIST "folderlist.xml"
93 #define OLD_CACHE_FILE ".sylpheed_claws_cache"
94 #define CACHE_FILE ".claws_cache"
95 #define OLD_MARK_FILE ".sylpheed_mark"
96 #define MARK_FILE ".claws_mark"
97 #define CACHE_VERSION 24
98 #define MARK_VERSION 2
101 # define ACTIONS_RC "actionswinrc"
102 # define COMMAND_HISTORY "command_history_win"
103 # define DEFAULT_SIGNATURE "signature.txt"
105 # define ACTIONS_RC "actionsrc"
106 # define COMMAND_HISTORY "command_history"
108 # define DEFAULT_SIGNATURE ".signature"
110 # define DEFAULT_SIGNATURE "MyDocs/signature.txt"
114 #define DEFAULT_INC_PATH "/usr/bin/mh/inc"
115 #define DEFAULT_INC_PROGRAM "inc"
116 /* #define DEFAULT_INC_PATH "/usr/bin/imget" */
117 /* #define DEFAULT_INC_PROGRAM "imget" */
118 #define DEFAULT_SENDMAIL_CMD "/usr/sbin/sendmail -t -i"
119 #define DEFAULT_BROWSER_CMD "firefox '%s'"
121 #define DEFAULT_EDITOR_CMD "gedit '%s'"
123 #define DEFAULT_EDITOR_CMD "leafpad '%s'"
125 #define DEFAULT_MIME_CMD "metamail -d -b -x -c %s '%s'"
126 #define DEFAULT_IMAGE_VIEWER_CMD "display '%s'"
127 #define DEFAULT_AUDIO_PLAYER_CMD "play '%s'"
130 # define DEFAULT_SPOOL_PATH _PATH_MAILDIR
132 # define DEFAULT_SPOOL_PATH "/var/spool/mail"
135 #define BUFFSIZE 8192
138 # define MAXPATHLEN 4095
141 #define DEFAULT_HEIGHT 460
142 #define DEFAULT_FOLDERVIEW_WIDTH 179
143 #define DEFAULT_MAINVIEW_WIDTH 600
144 #define DEFAULT_SUMMARY_HEIGHT 140
145 #define DEFAULT_HEADERVIEW_HEIGHT 40
146 #define DEFAULT_COMPOSE_HEIGHT 560
147 #define BORDER_WIDTH 2
148 #define CTREE_INDENT 18
149 #define FOLDER_SPACING 4
150 #define MAX_ENTRY_LENGTH 8191
151 #define COLOR_DIM 35000
152 #define UI_REFRESH_INTERVAL 50000 /* usec */
153 #define FOLDER_UPDATE_INTERVAL 1500 /* msec */
154 #define PROGRESS_UPDATE_INTERVAL 200 /* msec */
155 #define SESSION_TIMEOUT_INTERVAL 60 /* sec */
156 #define MAX_HISTORY_SIZE 16
158 #define NORMAL_FONT prefs_common.normalfont
159 #define SMALL_FONT prefs_common.smallfont
161 #define DEFAULT_PIXMAP_THEME "INTERNAL_DEFAULT"
162 #define PIXMAP_THEME_DIR "themes"
164 #endif /* __DEFS_H__ */