define tags dir where all the others are
authorPaul <paul@claws-mail.org>
Mon, 19 Oct 2015 16:15:53 +0000 (17:15 +0100)
committerPaul <paul@claws-mail.org>
Mon, 19 Oct 2015 16:15:53 +0000 (17:15 +0100)
src/common/defs.h
src/folder.c

index 7dfed6af03d96c5b50c39424178ad58b26115e01..722f3862802a0be038966965937e24e2d5c863e8 100644 (file)
@@ -39,6 +39,7 @@
 #define QUEUE_DIR              "queue"
 #define DRAFT_DIR              "draft"
 #define TRASH_DIR              "trash"
+#define TAGS_DIR               "tagsdb"
 #define RC_DIR                 CFG_RC_DIR
 #define OLD_GTK2_RC_DIR                ".sylpheed-claws"
 #define OLDER_GTK2_RC_DIR      ".sylpheed-gtk2"
index eef32b02759bc6249ef071683331e57b702db77c..705db376157721420e245a084189537f7fdbfc75 100644 (file)
@@ -4018,7 +4018,7 @@ static gchar *folder_item_get_tags_file(FolderItem *item)
 #endif
 
        path = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S,
-                          "tagsdb", G_DIR_SEPARATOR_S,
+                          TAGS_DIR, G_DIR_SEPARATOR_S,
                           identifier, NULL);
        
        g_free(identifier);