+2007-05-02 [paul] 2.9.1cvs36
+
+ * src/folder.c
+ * src/common/defs.h
+ rename cache and mark files
+ (data is preserved)
+
2007-04-30 [paul] 2.9.1cvs35
* manual/glossary.xml
( cvs diff -u -r 1.61.2.62 -r 1.61.2.63 src/account.c; cvs diff -u -r 1.56.2.51 -r 1.56.2.52 src/pop.c; cvs diff -u -r 1.105.2.94 -r 1.105.2.95 src/prefs_account.c; cvs diff -u -r 1.49.2.27 -r 1.49.2.28 src/prefs_account.h; ) > 2.9.1cvs33.patchset
( cvs diff -u -r 1.274.2.187 -r 1.274.2.188 src/mainwindow.c; cvs diff -u -r 1.654.2.2617 -r 1.654.2.2618 configure.ac; ) > 2.9.1cvs34.patchset
( cvs diff -u -r 1.1.2.16 -r 1.1.2.17 manual/glossary.xml; cvs diff -u -r 1.1.2.17 -r 1.1.2.18 manual/plugins.xml; ) > 2.9.1cvs35.patchset
+( cvs diff -u -r 1.213.2.143 -r 1.213.2.144 src/folder.c; cvs diff -u -r 1.9.2.36 -r 1.9.2.37 src/common/defs.h; ) > 2.9.1cvs36.patchset
#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 OLD_CACHE_FILE ".sylpheed_claws_cache"
+#define CACHE_FILE ".claws_cache"
+#define OLD_MARK_FILE ".sylpheed_mark"
+#define MARK_FILE ".claws_mark"
#define CACHE_VERSION 24
#define MARK_VERSION 2
{
gchar *path;
gchar *file;
+ gchar *old_file;
g_return_val_if_fail(item != NULL, NULL);
g_return_val_if_fail(item->path != NULL, NULL);
if (!is_dir_exist(path))
make_dir_hier(path);
file = g_strconcat(path, G_DIR_SEPARATOR_S, CACHE_FILE, NULL);
+ old_file = g_strconcat(path, G_DIR_SEPARATOR_S, OLD_CACHE_FILE, NULL);
+
+ if (!is_file_exist(file) && is_file_exist(old_file))
+ move_file(old_file, file, FALSE);
+ g_free(old_file);
g_free(path);
return file;
{
gchar *path;
gchar *file;
+ gchar *old_file;
g_return_val_if_fail(item != NULL, NULL);
g_return_val_if_fail(item->path != NULL, NULL);
if (!is_dir_exist(path))
make_dir_hier(path);
file = g_strconcat(path, G_DIR_SEPARATOR_S, MARK_FILE, NULL);
+ old_file = g_strconcat(path, G_DIR_SEPARATOR_S, OLD_MARK_FILE, NULL);
+
+ if (!is_file_exist(file) && is_file_exist(old_file))
+ move_file(old_file, file, FALSE);
+ g_free(old_file);
g_free(path);
return file;