commit - 8f395db32aa90e2b831f8ae1709e80d09f6e4cdc
commit + aecd382fde51be4e9bb3c68de70bf800a38590f0
blob - d928900c1b4e50afbbf05609ab65b89eef723dd5
blob + 8dff25b7b1f26fbacab1d270d3da339313b4c2df
--- src/common/defs.h
+++ src/common/defs.h
#define TRASH_DIR "trash"
#define TAGS_DIR "tagsdb"
#define RC_DIR ".claws-mail"
-#define OLD_GTK2_RC_DIR ".sylpheed-claws"
-#define OLDER_GTK2_RC_DIR ".sylpheed-gtk2"
-#define OLD_GTK1_RC_DIR ".sylpheed"
-#define SYLPHEED_RC_DIR ".sylpheed-2.0"
-#define NEWS_CACHE_DIR "newscache"
#define IMAP_CACHE_DIR "imapcache"
#define HEADER_CACHE_DIR "headercache"
#define MIME_TMP_DIR "mimetmp"
#define COMMON_RC "clawsrc"
-#define OLD_COMMON_RC "sylpheedrc"
#define ACCOUNT_RC "accountrc"
#define OAUTH2_RC "oauth2rc"
#define CUSTOM_HEADER_RC "customheaderrc"
#define MENU_RC "menurc"
#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 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 COMPOSE_SAVE_TO_HISTORY "compose_save_to_history"
#define ADDRESSBOOK_CUSTOM_ATTRIBUTES "attributesrc"
#define TEMPLATE_DIR "templates"
#define TMP_DIR "tmp"
-#define UIDL_DIR "uidl"
#define ADDRESS_BOOK "addressbook.xml"
#define ADDRBOOK_DIR "addrbook"
#define MANUAL_HTML_INDEX "claws-mail-manual.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 OLD_CACHE_FILE ".sylpheed_claws_cache"
#define CACHE_FILE ".claws_cache"
-#define OLD_MARK_FILE ".sylpheed_mark"
#define MARK_FILE ".claws_mark"
#define TAGS_FILE ".claws_tags"
#define CACHE_VERSION 24
#define MAX_MENU_LABEL_LENGTH 5453
#define DEFAULT_PIXMAP_THEME "INTERNAL_DEFAULT"
-#define PIXMAP_THEME_DIR "themes"
#define AVATAR_NONE 0
#define AVATAR_XFACE 1
blob - 71f8ee79878e6bf2a0fd58fed4ac67ac08edee9c
blob + a4d30d0428a14355078c68d249be6c1b1b71c81f
--- src/common/utils.c
+++ src/common/utils.c
return get_home_dir();
}
-const gchar *get_news_cache_dir(void)
-{
- static gchar *news_cache_dir = NULL;
- if (!news_cache_dir)
- news_cache_dir = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S,
- NEWS_CACHE_DIR, NULL);
-
- return news_cache_dir;
-}
-
const gchar *get_imap_cache_dir(void)
{
static gchar *imap_cache_dir = NULL;
blob - dc119cefc6df2142b35b0ddbe82e20bff5dfe7fe
blob + 9164f098f5713f2a1f0f7cb259c4f9f1b1fe744a
--- src/common/utils.h
+++ src/common/utils.h
void set_rc_dir (const gchar *dir);
gboolean rc_dir_is_alt (void);
const gchar *get_mail_base_dir (void);
-const gchar *get_news_cache_dir (void);
const gchar *get_imap_cache_dir (void);
const gchar *get_mime_tmp_dir (void);
const gchar *get_template_dir (void);
blob - 41a8cb9425926796583bc46093dfc1925c44ce7e
blob + 960e6a479dc008f45984cde0cffe698df7d944bd
--- src/main.c
+++ src/main.c
MAKE_DIR_IF_NOT_EXIST(get_mail_base_dir());
MAKE_DIR_IF_NOT_EXIST(get_imap_cache_dir());
- MAKE_DIR_IF_NOT_EXIST(get_news_cache_dir());
MAKE_DIR_IF_NOT_EXIST(get_mime_tmp_dir());
MAKE_DIR_IF_NOT_EXIST(get_tmp_dir());
- MAKE_DIR_IF_NOT_EXIST(UIDL_DIR);
remove_all_files(get_tmp_dir());
remove_all_files(get_mime_tmp_dir());
blob - c645b0e8647954d6e93271f9c9e0622a55248e2d
blob + 397faf4f3c332ecc7ee8587dfe604e908ff7495c
--- src/prefs_common.c
+++ src/prefs_common.c
prefs_common.mime_open_cmd_history =
prefs_common_read_history(COMMAND_HISTORY);
- prefs_common.summary_quicksearch_history =
- prefs_common_read_history(QUICKSEARCH_HISTORY);
- prefs_common.summary_search_from_history =
- prefs_common_read_history(SUMMARY_SEARCH_FROM_HISTORY);
- prefs_common.summary_search_to_history =
- prefs_common_read_history(SUMMARY_SEARCH_TO_HISTORY);
- prefs_common.summary_search_subject_history =
- prefs_common_read_history(SUMMARY_SEARCH_SUBJECT_HISTORY);
- prefs_common.summary_search_body_history =
- prefs_common_read_history(SUMMARY_SEARCH_BODY_HISTORY);
- prefs_common.summary_search_adv_condition_history =
- prefs_common_read_history(SUMMARY_SEARCH_ADV_CONDITION_HISTORY);
prefs_common.message_search_history =
prefs_common_read_history(MESSAGE_SEARCH_HISTORY);
prefs_common.compose_save_to_history =
prefs_common_save_history(COMMAND_HISTORY,
prefs_common.mime_open_cmd_history);
- prefs_common_save_history(QUICKSEARCH_HISTORY,
- prefs_common.summary_quicksearch_history);
- prefs_common_save_history(SUMMARY_SEARCH_FROM_HISTORY,
- prefs_common.summary_search_from_history);
- prefs_common_save_history(SUMMARY_SEARCH_TO_HISTORY,
- prefs_common.summary_search_to_history);
- prefs_common_save_history(SUMMARY_SEARCH_SUBJECT_HISTORY,
- prefs_common.summary_search_subject_history);
- prefs_common_save_history(SUMMARY_SEARCH_BODY_HISTORY,
- prefs_common.summary_search_body_history);
- prefs_common_save_history(SUMMARY_SEARCH_ADV_CONDITION_HISTORY,
- prefs_common.summary_search_adv_condition_history);
- prefs_common_save_history(MESSAGE_SEARCH_HISTORY,
- prefs_common.message_search_history);
prefs_common_save_history(COMPOSE_SAVE_TO_HISTORY,
prefs_common.compose_save_to_history);
blob - 0ab3af539ad1f8cb76b7f4eea4c3072815f028db
blob + defbfc617c867b547e7a50f294bd22de58886ac7
--- src/prefs_common.h
+++ src/prefs_common.h
gint summary_quicksearch_dynamic;
gint summary_quicksearch_autorun;
- GList *summary_quicksearch_history;
- GList *summary_search_from_history;
- GList *summary_search_to_history;
- GList *summary_search_subject_history;
- GList *summary_search_body_history;
- GList *summary_search_adv_condition_history;
GList *message_search_history;
GList *compose_save_to_history;
blob - 1e3a27d6aee459d85209f903e03116266925cba6
blob + ff3d1b1876ac4a0774b2b5942bb8f64c6a5c09c8
--- src/prefs_themes.c
+++ src/prefs_themes.c
#define IS_SYSTEM_THEME(path) (prefs_themes_is_system_theme(path))
#define PREVIEW_ICONS 7
+#define THEMEINFO_FILE ".claws_themeinfo"
+#define PIXMAP_THEME_DIR "themes"
typedef struct _ThemesPage
{