2007-04-09 [colin] 2.8.1cvs92
[claws.git] / src / common / defs.h
index 77eee1f65b3bd12198e93215d0c1a58ecbe0e687..63e04892d24b33f35954fdd9906f1489ce884cd1 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2004 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2007 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
 #define DRAFT_DIR              "draft"
 #define TRASH_DIR              "trash"
 #define RC_DIR                 CFG_RC_DIR
+#define OLD_GTK2_RC_DIR                ".sylpheed-claws"
+#define OLDER_GTK2_RC_DIR      ".sylpheed-gtk2"
+#define OLD_GTK1_RC_DIR                ".sylpheed"
 #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              "sylpheedrc"
+#define COMMON_RC              "clawsrc"
+#define OLD_COMMON_RC          "sylpheedrc"
 #define ACCOUNT_RC             "accountrc"
 #define CUSTOM_HEADER_RC       "customheaderrc"
 #define DISPLAY_HEADER_RC      "dispheaderrc"
 #define FILTERING_RC           "filteringrc"
 #define MATCHER_RC             "matcherrc"
 #define MENU_RC                        "menurc"
-#define ACTIONS_RC             "actionsrc"
 #define RENDERER_RC            "rendererrc"
-#define COMMAND_HISTORY                "command_history"
 #define QUICKSEARCH_HISTORY    "quicksearch_history"
+#define SUMMARY_SEARCH_FROM_HISTORY    "summarysearch_from_history"
+#define SUMMARY_SEARCH_TO_HISTORY      "summarysearch_to_history"
+#define SUMMARY_SEARCH_SUBJECT_HISTORY "summarysearch_subject_history"
+#define SUMMARY_SEARCH_BODY_HISTORY    "summary_searchbody_history"
+#define SUMMARY_SEARCH_ADV_CONDITION_HISTORY   "summarysearch_adv_history"
+#define MESSAGE_SEARCH_HISTORY "messagesearch_history"
 #define TEMPLATE_DIR           "templates"
 #define TMP_DIR                        "tmp"
 #define UIDL_DIR               "uidl"
 #define NEWSGROUP_LIST         ".newsgroup_list"
 #define ADDRESS_BOOK           "addressbook.xml"
-#define MANUAL_HTML_INDEX      "sylpheed.html"
-#define FAQ_HTML_INDEX         "sylpheed-faq.html"
-#define HOMEPAGE_URI           "http://claws.sylpheed.org/"
-#define MANUAL_URI             "http://claws.sylpheed.org/manual/"
-#define SYLDOC_URI             "http://sylpheeddoc.sourceforge.net/"
-#define SYLDOC_MANUAL_HTML_INDEX "/manual/manual.html"
-#define SYLDOC_FAQ_HTML_INDEX  "/faq/faq.html"
-#define FAQ_URI                        "http://claws.sylpheed.org/faq.php"
-#define BUGZILLA_URI           "http://www.thewildbeast.co.uk/sylpheed-claws/bugzilla/enter_bug.cgi"
-#define THEMES_URI             "http://claws.sylpheed.org/themes.php"
-#define MAILING_LIST_URI       "http://claws.sylpheed.org/MLs.php"
+#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 BUGZILLA_URI           "http://www.thewildbeast.co.uk/claws-mail/bugzilla/enter_bug.cgi"
+#define THEMES_URI             "http://www.claws-mail.org/themes.php"
+#define MAILING_LIST_URI       "http://www.claws-mail.org/MLs.php"
+#define USERS_ML_ADDR          "claws-mail-users@dotsrc.org"
 #define GPL_URI                        "http://www.gnu.org/licenses/gpl.html"
-#define DONATE_URI             "https://sourceforge.net/donate/index.php?group_id=25528"
-#define THEMEINFO_FILE         ".sylpheed_themeinfo"
+#define DONATE_URI             "http://www.claws-mail.org/sponsors.php"
+#define OPENSSL_URI            "http://www.openssl.org/"
+#define RELEASE_NOTES_FILE     "RELEASE_NOTES"
+#define THEMEINFO_FILE         ".claws_themeinfo"
 #define FOLDER_LIST            "folderlist.xml"
 #define CACHE_FILE             ".sylpheed_claws_cache"
 #define MARK_FILE              ".sylpheed_mark"
 #define MARK_VERSION           2
 
 #ifdef G_OS_WIN32
+#  define ACTIONS_RC           "actionswinrc"
+#  define COMMAND_HISTORY      "command_history_win"
 #  define DEFAULT_SIGNATURE    "signature.txt"
 #else
+#  define ACTIONS_RC           "actionsrc"
+#  define COMMAND_HISTORY      "command_history"
+# ifndef MAEMO
 #  define DEFAULT_SIGNATURE    ".signature"
+# else
+#  define DEFAULT_SIGNATURE    "MyDocs/signature.txt"
+# endif
 #endif
+
 #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 -i"
-#define DEFAULT_BROWSER_CMD    "mozilla-firefox -remote 'openURL(%s,new-window)'"
+#define DEFAULT_BROWSER_CMD    "firefox '%s'"
+#ifndef MAEMO
+#define DEFAULT_EDITOR_CMD     "gedit '%s'"
+#else
+#define DEFAULT_EDITOR_CMD     "leafpad '%s'"
+#endif
 #define DEFAULT_MIME_CMD       "metamail -d -b -x -c %s '%s'"
 #define DEFAULT_IMAGE_VIEWER_CMD "display '%s'"
 #define DEFAULT_AUDIO_PLAYER_CMD "play '%s'"